Abstract
Embodied visual tracking is to follow a target object in dynamic 3D environments using an agent's egocentric vision. This is a vital and challenging skill for embodied agents. However, existing methods suffer from inefficient training and poor generalization. In this paper, we propose a novel framework that combines visual foundation models (VFM) and offline reinforcement learning (offline RL) to empower embodied visual tracking. We use a pre-trained VFM, such as "Tracking Anything", to extract semantic segmentation masks with text prompts. We then train a recurrent policy network with offline RL, e.g., Conservative Q-Learning, to learn from the collected demonstrations without online interactions. To further improve the robustness and generalization of the policy network, we also introduce a mask re-targeting mechanism and a multi-level data collection strategy. In this way, we can train a robust policy within an hour on a consumer-level GPU, e.g., Nvidia RTX 3090. We evaluate our agent on several high-fidelity environments with challenging situations, such as distraction and occlusion. The results show that our agent outperforms state-of-the-art methods in terms of sample efficiency, robustness to distractors, and generalization to unseen scenarios and targets. We also demonstrate the transferability of the learned agent from virtual environments to a real-world robot.
Introduction
In robotics, embodied visual tracking (EVT) is the ability of an agent—such as a drone or mobile assistant—to follow a specific target through a complex, dynamic 3D environment using only its own egocentric vision. Traditionally, training these agents has been a slow, data-hungry process. Most current methods rely on online reinforcement learning, where an agent learns through millions of trial-and-error interactions. This is computationally expensive and often results in "brittle" policies that fail when encountering new targets or environments. This paper proposes a framework to build robust trackers efficiently by combining Visual Foundation Models (VFMs) with Offline Reinforcement Learning.
Methodology
The proposed framework decomposes the tracking problem into three distinct stages: semantic abstraction, mask re-targeting, and offline policy training.
Semantic Abstraction via VFMs
Instead of processing raw RGB images, which are often noisy and contain irrelevant details, the framework utilizes a pre-trained VFM (e.g., Tracking Anything or DEVA). By providing a text prompt such as "track the person, ignore obstacles," the VFM generates a clean, color-coded semantic segmentation mask. This abstraction allows the reinforcement learning agent to focus on the geometry of the task rather than learning visual features from scratch.
Mask Re-targeting
To enhance domain invariance and simplify the learning task, the authors introduced a "re-targeting" mechanism. Regardless of the target's actual appearance, it is rendered as a white silhouette in the mask. Obstacles are assigned distinct colors, and the background remains black. This ensures that the representation remains consistent across different simulators and real-world environments.
Offline RL with Recurrent Networks
The policy is trained using Conservative Q-Learning (CQL) on a dataset of "imperfect" demonstrations collected via a simple PID controller with added noise. The network architecture employs a CNN-LSTM structure. The Long Short-Term Memory (LSTM) component is crucial for maintaining a temporal memory of the target's trajectory, allowing the agent to handle momentary occlusions effectively.
Experimental Results
The agent was trained in the "Complex Room" environment (Unreal Engine) and evaluated across five unseen virtual environments, including "Urban City" and "Snow Village."
- Efficiency: Training was completed in under 60 minutes on a single NVIDIA RTX 3090, a significant improvement over the 12–24+ hours typically required for online RL.
- Generalization: The agent demonstrated "zero-shot" generalization to unseen targets, such as animals (horses, dogs, pigs), by simply updating the VFM text prompt.
- Robustness: The inclusion of temporal memory allowed the agent to outperform state-of-the-art methods like AD-VAT+ in scenarios involving heavy occlusion and distractors.
- Sim-to-Real Transfer: The policy, trained entirely in simulation, was successfully deployed on a physical DJI RoboMaster EP robot. It navigated real-world corridors and handled dynamic obstacles without additional fine-tuning.
Conclusion
By leveraging the semantic power of VFMs and the efficiency of offline RL, this framework provides a robust and scalable solution for embodied visual tracking. While the system's performance is currently tied to the VFM's segmentation accuracy, it represents a major step toward creating agents that can "track anything, anywhere" with minimal training overhead.
Reference: Zhong, F., et al. "Empowering Embodied Visual Tracking with Visual Foundation Models and Offline RL." arXiv:2404.09857v2, 2024.
Summary updated