Abstract
We propose a multi-time-scale predictive representation learning method to efficiently learn robust driving policies in an offline manner that generalize well to novel road geometries, and damaged and distracting lane conditions which are not covered in the offline training data. We show that our proposed representation learning method can be applied easily in an offline (batch) reinforcement learning setting demonstrating the ability to generalize well and efficiently under novel conditions compared to standard batch RL methods. Our proposed method utilizes training data collected entirely offline in the real-world which removes the need of intensive online explorations that impede applying deep reinforcement learning on real-world robot training. Various experiments were conducted in both simulator and real-world scenarios for the purpose of evaluation and analysis of our proposed claims.
Introduction
Reinforcement Learning (RL) has shown great promise for robotics, but its reliance on "online exploration"—where a robot learns through trial and error—presents significant safety and cost barriers in real-world applications. While offline RL (learning from pre-recorded datasets) offers a safer alternative, it often struggles with generalization. Models frequently fail when encountering novel scenarios, such as sharp turns or faded lane markings, or overfit to visual noise like shadows and debris.
This paper introduces a method to overcome these challenges by learning to predict future lane positions across multiple time scales. This creates a robust "predictive representation" that allows a robot to drive smoothly even on novel roads with damaged or distracting lane markings.
Methodology: GVF-BCQ
The proposed approach, GVF-BCQ, utilizes a two-stage pipeline to decouple visual perception from decision-making:
- Representation Learning (The Predictive State): Instead of feeding raw images directly to the agent, a network is trained to predict "counterfactuals." These are General Value Functions (GVFs) that answer: "If I maintain my current action, what will my lane centeredness and road angle be in the future?" These predictions are learned across multiple temporal horizons using a density ratio trick to account for diverse data sources (human and algorithmic).
- Policy Learning: The agent uses Batch Constrained Q-learning (BCQ) to train the driving policy. BCQ ensures the model stays close to actions seen in the training data, preventing dangerous, untested maneuvers. The RL agent operates on the low-dimensional predictive representation ($\psi$) rather than raw pixels.
Key Insights
- Predictive State Hypothesis: An agent that understands the future consequences of its actions generalizes better. By focusing on geometry (lane centeredness) rather than raw pixels, the model learns the underlying structure of the task.
- Robustness to Visual Noise: Because the policy relies on predicted lane states, it is less susceptible to distractions like trash or gaps in lane markings. The predictive model can "see through" these gaps based on the road's trajectory.
- Temporal Horizons: Using different discount factors ($\gamma$) allows the agent to balance immediate steering needs with long-term curve anticipation, resulting in smoother control.
Experimental Results
The system was evaluated using a Clearpath Jackal robot (40 hours of real-world data) and the TORCS simulator. Key findings include:
- Superior Generalization: On a rectangular test track, GVF-BCQ achieved 0% "out of lane" events, significantly outperforming the state-of-the-art E2E-BCQ baseline, which failed up to 54% of the time.
- Outperforming Classical Control: GVF-BCQ provided more stable driving at higher speeds (0.4 m/s) than standard Model Predictive Control (MPC), which was hampered by noisy localization.
- Real-World Robustness: The system successfully navigated roads with damaged lane markings never seen during training, proving the representation captures the "essence" of lane-keeping.
Conclusion
GVF-BCQ demonstrates that robust driving policies can be learned entirely offline by leveraging multi-scale predictive representations. While the current work focuses on static environments and requires ground truth labels (e.g., from LiDAR) during training, it paves the way for scaling RL to complex real-world tasks without the risks of online exploration.
Summary updated