# Enhancing Visual Domain Robustness in Behaviour Cloning via Saliency-Guided Augmentation

Robotics.world

> Vision-based behaviour cloning policies are trained on expensive demonstration data that is usually collected under limited visual conditions, so they break down when the lighting, shadows…

**arXiv**: 2608.11870

**Published**: 2026-08-12

**Authors**: Zheyu Zhuang, Ruiyu Wang, Nils Ingelhag, Ville Kyrki, Danica Kragic

## In plain words

Vision-based behaviour cloning policies are trained on expensive demonstration data that is usually collected under limited visual conditions, so they break down when the lighting, shadows, background or objects in the scene change at test time. Standard augmentations such as Random Crop and Colour Jitter help in-domain but do not cover these broader visual domain shifts.

## AI summary

## Overview

**Research area:** Robot learning — specifically vision-based behaviour cloning (imitation learning) and visual generalisation for manipulation policies.

**Technical level:** Advanced. The paper assumes familiarity with behaviour cloning architectures (BC-MLP, BC-RNN, diffusion policies), visual encoders, gradient-based saliency methods, and image superimposition augmentation.

**Scope:** The paper proposes and evaluates RoboSaGA, a saliency-guided superimposition augmentation that improves the robustness of vision-based behaviour cloning policies to visual domain shifts such as lighting, shadows, distractors and background changes, tested in Robomimic simulation and on a real-world pick-and-place task.

## What This Paper Is About

Vision-based behaviour cloning policies are trained on expensive demonstration data that is usually collected under limited visual conditions, so they break down when the lighting, shadows, background or objects in the scene change at test time. Standard augmentations such as Random Crop and Colour Jitter help in-domain but do not cover these broader visual domain shifts. The paper's goal is to make augmentation aggressive in task-irrelevant parts of an image while leaving task-critical content intact, by using the policy's own visual saliency to decide, pixel by pixel, how strongly to blend in unrelated out-of-domain images.

## Key Contributions

1. **RoboSaGA**, a saliency-guided augmentation within the superimposition family for vision-based behaviour cloning: it uses per-pixel blending factors derived from the policy's visual encoder saliency, rather than a single global blending constant or a fixed-size binary patch.
2. **An encoder-level saliency design** using FullGrad back-propagated from the visual feature output, plus a saliency clipping mechanism (threshold set to 0.8 in all experiments) that caps normalised saliency so task-critical regions still receive a subtle overlay, which the authors report is important for robustness to background change.
3. **A global saliency buffer** that stores saliency maps as 8-bit single-channel images at reduced resolution and updates only a fraction of the batch per step (10% update, 50% of the batch augmented), cutting the per-batch augmentation processing time from 0.70s to 0.22s with no significant performance difference (mean success rate 0.75 with the buffer versus 0.74 without).
4. **A controlled comparison** of conventional augmentations (Random Crop, Colour Jitter), representation-learning-based augmentation (SODA), and superimposition variants (Guided Erase, Random Overlay, RoboSaGA) across three policies (BC-MLP, BC-RNN, Diffusion Policy), four simulated tasks and one real-world task, measured with a "performance gap" metric.

## Main Findings

- **Traditional augmentations fall short under broad visual domain shifts.** Averaged over all policies, Random Crop leaves a gap of 0.60 for distractors and backgrounds and 0.48 for lighting and shadows. Colour Jitter reduces the lighting gap to 0.10, but under shadows it still leaves a gap of 0.33, and it only lowers the distractor/background gap from 0.60 to 0.55 — described as an 8% relative improvement.
- **Overlay beats erase for background, erase beats overlay for distractors.** In the BC-MLP ablation, Guided Erase reduces the background gap from Random Crop's 0.84 to 0.55 but achieves 0.06 on distractors; Random Overlay achieves 0.21 on backgrounds but 0.31 on distractors.
- **RoboSaGA combines both strengths.** It reduces Random Overlay's distractor gap from 0.31 to 0.06 and Guided Erase's background gap from 0.55 to 0.13, for a BC-MLP mean gap of 0.10 versus 0.68 (Random Crop), 0.31 (Guided Erase) and 0.26 (Random Overlay).
- **Random Overlay alone is already a strong, computation-free baseline.** Averaged across all policies, it reduces the gap from Random Crop + Jitter's 0.55 to 0.24 for distractors and backgrounds and from 0.21 to 0.06 for lighting and shadow; in real-world tests it reduces the gap from 0.71 to 0.18.
- **RoboSaGA improves on Random Overlay.** It lowers those simulation gaps to 0.14 and 0.03 (relative improvements of 41.6% and 50.0%), and in the real-world Toy task from 0.18 to 0.05, a 72% improvement over Random Overlay.
- **Lighting and shadow results across all policies.** Mean gaps: Random Crop 0.48, Colour Jitter 0.21, SODA 0.07, Random Overlay 0.05, RoboSaGA 0.03, with RoboSaGA best in every lighting/shadow row (0.01 for lighting, 0.05 for lighting and shadow).
- **Direct training on augmented images is sufficient.** Compared with SODA's student-teacher consistency approach, direct training with augmented samples was marginally better, reducing the gap by an average of 0.04 under distractor and background variations and 0.02 under lighting and shadows — suggesting representation-learning machinery is not necessary when action labels are available.
- **Gains transfer across policy classes, but Diffusion Policy degrades least.** Real-world mean gaps on the Toy task: BC-MLP 0.68 with Random Crop, 0.12 with Random Overlay, −0.08 with RoboSaGA; BC-RNN 0.78 / 0.22 / 0.07; Diffusion Policy 0.68 / 0.20 / 0.15; average 0.71 / 0.18 / 0.05. Negative gaps mean the augmented model under domain shift outperformed the in-domain Random Crop baseline.
- **Saliency does not always match human intuition.** In multi-view BC-RNN execution, saliency sometimes highlights the gripper and object area and sometimes shifts away from the object or toward the peg and hole. The authors hypothesise this arises because the policy integrates proprioception, observation history and multiple views, and note that history-independent BC-MLP produces more human-interpretable saliency maps.
- **Overhead and scope limits.** Saliency computation with a ResNet18 encoder on 84×84 inputs takes about 1.5 times longer than training, and BC-MLP and BC-RNN gain comparatively little on the Transport task, which the authors attribute to the second-person view being dominated by two manipulators.

## Methodology in Plain English

The starting point is a standard behaviour cloning setup: camera images and robot state go into a visual encoder, and a policy maps the resulting features to actions. The authors keep that architecture unchanged and intervene only in the training data.

For each training image, they compute a saliency map by running FullGrad backwards from the encoder's feature output — essentially asking which pixels the encoder currently considers important. That map is normalised and clipped at 0.8, so even the most important pixels get a small amount of blending rather than being fully protected.

The clipped map is then used as a per-pixel blending mask: important pixels stay close to the original in-domain image, unimportant pixels are largely replaced by an unrelated out-of-domain image. Out-of-domain images come from 5,000 MSCOCO images plus 1,000 synthetic images (plain colours, grids, gradients, chess and Perlin patterns), with random rotations and brightness adjustments.

To keep compute manageable, saliency maps are cached in a global buffer. Each step, 10% of the batch has its saliency recomputed and refreshed, while 50% of trajectories are drawn from the buffer and actually augmented; saliency values are stored as 8-bit single-channel images at reduced resolution (10,000 samples at 84×84 takes about 67 MB of graphics memory). For the first 10 epochs the buffer returns all-ones maps, so encoders develop task knowledge before strong augmentation begins.

Evaluation uses a "performance gap": the in-domain mean success rate of the Random Crop baseline minus the success rate of the augmented model under a visual domain shift, so a smaller gap (including negative values) means more robustness. Simulations use Robomimic's Lift, Can, Square and Transport tasks with human demonstrations and vary lighting intensity/colour, shadow toggling, distractor category/quantity/location, and surface textures (textiles, wood, ceramics). The real-world task is a 3-DoF Toy pick-and-place. Success rates in simulation come from the top three checkpoints out of 600 training epochs saved every 50 epochs, with 50 rollouts per checkpoint; real-world results use the final checkpoint after 500 epochs with 20 trials per data point.

## Why This Matters

**Impact on research.** The paper shows that a large part of the benefit attributed to representation learning in augmentation-heavy robot learning can be obtained by simply training directly on aggressively augmented images when action labels exist. It also reframes superimposition augmentation — well established in computer vision — as a viable and cheap tool for behaviour cloning, provided task-critical semantics are protected. The performance-gap metric and the Guided Erase / Random Overlay decomposition give the community a clean way to attribute robustness gains to erasing versus overlaying.

**Real-world applications:**

- Warehouse and logistics picking, where lighting, shadows and clutter change between training and deployment cells.
- Home service robots operating across rooms with different surfaces, textiles, backgrounds and household clutter.
- Agricultural or outdoor manipulators facing shifting daylight, shadows and changing terrain textures.
- Laboratory automation and small-batch assembly, where re-collecting demonstrations for every new lighting or background condition is impractical.

**Industry relevance.** The method requires no architectural change, no new learnable modules and no new loss functions, and its out-of-domain images are generic (MSCOCO plus cheap synthetic patterns), so it can be dropped into existing behaviour cloning pipelines. The reported buffer-based speedup (0.70s to 0.22s per batch) matters for teams training on limited hardware, while the roughly 1.5× saliency overhead over training time is a real cost that must be budgeted.

## Future Directions

- **Cheaper saliency.** The authors propose approximating saliency at mid-feature layers, trying alternative saliency extractors, or distilling a smaller encoder and computing saliency offline in later epochs to build the buffer in advance.
- **Extending beyond simple tasks.** Real-world validation covers a single 3-DoF pick-and-place task with the Toy setup; broader task families and more degrees of freedom remain untested.
- **Diagnosing the Transport gap.** Why BC-MLP and BC-RNN benefit far less than Diffusion Policy on Transport — possibly because the second-person view is dominated by two manipulators and carries little target information — is left open, as is whether task-related pixel density should drive augmentation scheduling.
- **Better understanding of policy saliency.** Saliency maps deviate from human notions of task relevance in history-dependent policies; clarifying how multi-view, proprioceptive and history inputs shape saliency could yield more interpretable and more effective augmentation masks.

## Target Audience

Robotics and imitation-learning researchers and graduate students working on visuomotor policies; practitioners deploying vision-based manipulation systems that must survive lighting, background and clutter changes; and computer-vision researchers interested in how saliency-guided augmentation transfers from classification to sequential decision-making with task-critical spatial-temporal structure.

## Authors’ abstract

In vision-based behavior cloning (BC), conventional image augmentations such as Random Crop and Color Jitter often fall short under substantial visual domain shifts, including changes in shadows, distractors, and backgrounds. Superimposition-based augmentations, which blend in-domain and out-of-domain images, have shown promise for improving generalization in computer vision, but their suitability for BC remains uncertain because task-critical semantics, spatiotemporal…

[The full abstract on arXiv](https://arxiv.org/abs/2608.11870)

[Read the original paper](https://arxiv.org/abs/2608.11870)

## Related papers

- [Localized Visual Feature Aggregation via Focus Pooling for Visuomotor Policies](https://robotics.world/paper/localized-visual-feature-aggregation-via-focus-pooling-for-visuomotor-2609.08408) 2026-09-08 · cs.RO · Also by Danica Kragic, Ruiyu Wang +1
- [Attention from Action, for Action: Emergent Visual Bottlenecks for Policy Learning](https://robotics.world/paper/attention-from-action-for-action-emergent-visual-bottlenecks-for-policy-2608.13422) 2026-08-13 · cs.RO · Also by Danica Kragic, Ruiyu Wang +1
- [Physics Residual Dynamics and Reduced Order Whole-Body Planning for Obstacle Aware Human Robot Cloth CoTransportation](https://robotics.world/paper/physics-residual-dynamics-and-reduced-order-whole-body-planning-for-2610.06641) 2026-10-05 · cs.RO · Also by Ville Kyrki
- [TacClaw-Infinity: A Large-Scale Vision-Tactile-Language-Action Dataset for Dexterous Manipulation](https://robotics.world/paper/tacclaw-infinity-a-large-scale-vision-tactile-language-action-dataset-2610.20320) 2026-10-14 · cs.RO · Also by Danica Kragic
- [DevGRU: Depth-guided Visual Navigation using a Collision-aware Recurrent Model](https://robotics.world/paper/devgru-depth-guided-visual-navigation-using-a-collision-aware-recurrent-2608.18470) 2026-08-19 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/enhancing-visual-domain-robustness-in-behaviour-cloning-via-saliency-2608.11870
