Accelerating Reinforcement Learning for Autonomous Driving Using Task-Agnostic and Ego-Centric Motion Skills

Tong Zhou, Letian Wang, Ruobing Chen, Wenshuo Wang, Yu Liu

TL;DR

Reinforcement Learning (RL) for autonomous driving often struggles because exploring raw actions (like tiny steering adjustments) is inefficient. This paper introduces TaEc-RL, which speeds up training by teaching agents to explore a latent space of "motion skills" (like lane changes or turns) rather than raw control signals. By using a task-agnostic library of these skills, the agent learns complex maneuvers in dense traffic significantly faster than standard RL methods, without needing expensive human demonstrations.

What Problem Does This Paper Address?

Standard RL algorithms explore the world through "trial and error" in a continuous action space. In driving, this means the agent randomly tries different steering angles and acceleration values. This often results in "wiggling" behavior that rarely leads to successful maneuvers like overtaking or merging, especially when rewards are sparse (e.g., you only get a "point" for reaching the destination).

While researchers often use expert demonstrations to jumpstart learning, this data is expensive to collect, often biased, and usually specific to one task. If you change the scenario, the expert data might become useless. The authors aim to bridge this gap by creating a system that learns reusable, task-agnostic motion skills that can be applied to any driving situation.

Methods

The authors propose a three-stage pipeline called TaEc-RL (Task-agnostic and Ego-centric RL):

  1. Motion Skill Library Generation: Using traditional sampling-based motion planning (specifically the state-lattice method), they generate a massive library of diverse, physically feasible trajectories. These include lane-following, lane-changing, and various turns.
  2. Latent Skill Space Distilling: They use a Variational Autoencoder (VAE) structure with LSTM networks to compress these complex trajectories into a low-dimensional latent skill space ($z$).
  3. An Encoder maps a trajectory to a point in the latent space.
  4. A Decoder takes a latent point and turns it back into a sequence of control signals ($u$).
  5. Crucially, they integrate a bicycle kinematic model into the decoder to ensure that any "skill" the agent picks is actually physically possible for a car to execute.
  6. RL in Skill Space: Instead of training a policy to output raw steering/gas, they train a Soft Actor-Critic (SAC) policy to output a latent skill $z$. The agent picks a skill, and the decoder executes it for a fixed horizon ($T$ steps) before the agent picks the next one. This turns the problem into a "semi-MDP," allowing for temporal abstraction.

Datasets

The researchers evaluated their method using the MetaDrive simulator, an open-source platform for generalizable autonomous driving. They tested on three distinct, challenging scenarios:

  • Highway: High-speed cruising and overtaking.
  • Intersection: Managing multi-directional traffic flow.
  • Roundabout: Complex merging and yielding maneuvers.

Key Insights and Ideas

  • The "Muscle Memory" Analogy: The authors argue that human driving is "temporally extended." We don't think about individual muscle contractions; we decide to "overtake" and our muscle memory handles the consistent sequence of low-level actions. TaEc-RL mimics this by making "skills" the fundamental unit of exploration.
  • Task-Agnosticism is Key: By building the skill library from a pure motion perspective (ego-centric) rather than a task perspective (object-centric), the skills remain useful whether the car is in a roundabout or on a highway.
  • Temporal Coherence: Exploring in skill space ensures that actions are consistent over time. A random "skill" is still a smooth trajectory, whereas a random "action" is just noise. This leads to much more "informed" exploration.

Key Results

  • Learning Efficiency: TaEc-RL reached a 90% success rate in just 10k iterations in Intersection and Highway scenarios. Standard RL baselines (PPO and SAC) required significantly more data and often failed to reach the same performance ceiling.
  • Success Rates: In the difficult Roundabout scenario, TaEc-RL maintained nearly an 80% success rate, while "Flat" versions (using skills but without temporal abstraction) and standard RL struggled to exceed 50%.
  • Robustness: The method outperformed "Const SAC" (which holds a single action for $T$ steps), proving that it isn't just the timing that matters, but the diversity and expressiveness of the learned skill library.

Limitations and Future Work

  • Fixed Horizon: Currently, the agent executes every skill for a fixed number of steps ($T=10$). The authors acknowledge that a "replanning trigger"—allowing the agent to cut a skill short or extend it based on the environment—would be more optimal.
  • Kinematic Simplicity: The use of a basic bicycle model ensures feasibility but might not capture complex vehicle dynamics (like skidding or high-speed instability) as accurately as a more complex dynamic model.
  • Library Dependency: While task-agnostic, the performance still depends on the diversity of the initial sampled library. If a necessary maneuver isn't represented in the latent space, the RL agent can't perform it.

Summary updated

BibTeX
@inproceedings{zhou2023accelerating,
  author = {Tong Zhou and Letian Wang and Ruobing Chen and Wenshuo Wang and Yu Liu},
  title = {{Accelerating Reinforcement Learning for Autonomous Driving Using Task-Agnostic and Ego-Centric Motion Skills}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10341449},
}
Figure