Abstract
In autonomous vehicle (AV) control, allowing mistakes can be quite dangerous and costly in the real world. For this reason we investigate methods of training an AV without allowing the agent to explore and instead having a human explorer collect the data. Supervised learning has been explored for AV control, but it encounters the issue of the covariate shift. That is, training data collected from an optimal demonstration consists only of the states induced by the optimal control policy, but at runtime, the trained agent may encounter a vastly different state distribution with little relevant training data. To mitigate this issue, we have our human explorer make sub-optimal decisions. In order to have our agent not replicate these sub-optimal decisions, supervised learning requires that we either erase these actions, or replace these action with the correct action. Erasing is wasteful and replacing is difficult, since it is not easy to know the correct action without driving. We propose an alternate framework that includes continuous scalar feedback for each action, marking which actions we should replicate, which we should avoid, and how sure we are. Our framework learns continuous control from sub-optimal demonstration and evaluative feedback collected before training. We find that a human demonstrator can explore sub-optimal states in a safe manner, while still getting enough gradation to benefit learning. The collection method for data and feedback we call "Backseat Driver." We call the more general learning framework ReNeg, since it learns a regression from states to actions given negative as well as positive examples. We empirically validate several models in the ReNeg framework, testing on lane-following with limited data. We find that the best solution is a generalization of mean-squared error and outperforms supervised learning on the positive examples alone.
Introduction
Training an autonomous vehicle (AV) typically relies on either Imitation Learning (Behavioral Cloning) or Reinforcement Learning (RL). However, both approaches face significant hurdles: Imitation Learning suffers from "covariate shift," where the agent fails when encountering states outside its narrow expert training data, while RL requires dangerous real-world exploration. This paper introduces ReNeg, a framework that allows AVs to learn from both positive and negative human demonstrations safely. By using a novel feedback method called Backseat Driver, the authors show that training an agent to avoid bad behaviors—not just mimic good ones—significantly improves its ability to recover from mistakes.
The ReNeg Framework
Standard supervised learning uses Mean Squared Error (MSE) to pull an agent's predicted action toward a label. ReNeg generalizes this by adding a scalar feedback value ($f$) to the loss function:
$$Loss = f * (\theta - \hat{\theta})^2$$
In this framework, if $f$ is positive, the agent is "pulled" toward the action (standard MSE). If $f$ is negative, the agent is "pushed" away from the action. This allows the model to learn from mistakes without needing to know the exact "correct" action for every sub-optimal state.
One challenge identified is the "Push vs. Pull" problem: a state with only negative examples might cause the model's predictions to diverge toward infinity. Balancing negative feedback with positive reinforcement is critical for stability.
Backseat Driver Feedback
Labeling driving data with absolute steering angles is difficult for humans. Instead, the authors developed "Backseat Driver," where a human provides differential feedback. If a car is turning left but should be turning more sharply, the human turns their wheel further left to indicate the error. This intuitive input is converted into a scalar score between -1 and 1, marking actions as "good to replicate" or "important to avoid."
Data Collection and Results
To address covariate shift, the researchers collected data in a Unity-based simulator, intentionally including sub-optimal maneuvers like "swerving" to expose the agent to the edges of the road.
Empirical tests on lane-following tasks showed that the ReNeg model using continuous scalar feedback performed 1.5 times better than standard behavioral cloning. Furthermore, the ReNeg approach demonstrated significantly less performance variance, suggesting a more robust and stable policy.
Conclusion
ReNeg demonstrates that knowing what not to do is as important as knowing what to do. By leveraging human intuition through the Backseat Driver method, AVs can learn to navigate the boundaries of safe driving without the risks of autonomous exploration. Future work will focus on refining loss functions to prevent divergence and ensuring policy continuity across similar states.
Summary updated