Abstract
Visual Imitation Learning (IL) is a powerful paradigm for robotic skill acquisition but is often limited by data scarcity and causal confusion, where agents overfit to task-irrelevant environmental features. While human gaze data can guide attention, it is expensive and difficult to scale. We introduce AutoFocus-IL, a framework that leverages Vision-Language Models (VLMs) to automatically generate temporal saliency maps. These maps guide the agent's attention toward task-critical objects without requiring human intervention. AutoFocus-IL achieves a 104% performance boost in driving simulations and a 50% improvement in real-world robotic tasks, effectively overcoming causal confusion in complex environments.
Introduction
Visual Imitation Learning allows robots to learn by observing human experts. However, two primary challenges persist: data scarcity and causal confusion. Collecting high-quality expert demonstrations is resource-intensive, and models often learn spurious correlations—such as associating a specific background object with a control action—rather than understanding the underlying task logic.
To address these issues, researchers have traditionally integrated human gaze data to supervise the model's attention. While effective, this approach requires specialized eye-tracking hardware and significant human effort. AutoFocus-IL provides a scalable alternative by leveraging the zero-shot reasoning capabilities of VLMs to identify and track important objects, creating a "saliency" signal that replaces the need for human-in-the-loop supervision.
Methodology
AutoFocus-IL employs a multi-stage pipeline to automate saliency map generation and integrate it into the training process.
1. Context-Aware VLM Filtering
The system samples frames from expert demonstrations and uses a high-capacity VLM (e.g., Qwen2.5-VL) to generate a global context summary. The VLM identifies a "vocabulary" of task-relevant objects (e.g., "pedestrians," "traffic lights") based on the specific mission (e.g., "turn left at the intersection").
2. Detection and Temporal Tracking
Using the VLM-generated vocabulary, an open-set detector (Grounding DINO) identifies relevant objects across all frames. These detections are linked over time using the Hungarian method to maintain consistent focus on moving entities, ensuring temporal coherence.
3. Temporal Multi-Peak Saliency Modeling
Rather than binary masks, the framework generates Gaussian heatmaps centered on key objects. A temporal decay mechanism is applied, where recent detections are weighted more heavily than older ones, mimicking sustained human-like attention and handling intermittent occlusions.
4. Saliency-Guided Regularization
During training, a saliency-guided loss function is added to the standard behavior cloning objective. This loss penalizes the policy network if its internal activation maps deviate from the VLM-generated saliency maps, forcing the model to ignore background distractors like the sky or irrelevant buildings.
Experimental Results
The framework was evaluated in both simulated driving (CARLA) and real-world robotic manipulation (WidowX).
Driving Simulation (CARLA)
In the Bench2Drive benchmark, AutoFocus-IL significantly outperformed standard Behavior Cloning (BC). On seen routes, it achieved a driving score of 62.36% (vs. 47.83% for BC). More importantly, on unseen routes, it demonstrated superior generalization, scoring 30.17% compared to BC's 12.20%, effectively doubling the performance.
Real-World Robotics
In manipulation tasks like Pull Pot, the researchers introduced "confounded" variants with colorful background distractors. While standard BC failed completely (0% success rate) due to causal confusion, AutoFocus-IL maintained a 60% success rate by successfully filtering out irrelevant visual noise.
Conclusion
AutoFocus-IL demonstrates that VLMs can serve as effective, zero-shot annotators for robotic attention. By automating the generation of temporal saliency maps, the framework mitigates causal confusion and improves data efficiency without the overhead of human gaze collection. Future work will explore extending this regularization to Vision Transformer (ViT) architectures and enhancing VLM reasoning for highly dynamic physical interactions.
Summary updated