Introduction
High-performance autonomous driving requires precise mathematical models of vehicle dynamics. While neural networks (NNs) are adept at capturing complex, non-linear physics, they face a significant hurdle in real-world deployment: catastrophic forgetting. When a vehicle encounters new environmental conditions—such as a transition from dry dirt to wet tarmac—and attempts to update its model online, the new data often overwrites previously learned information. This leads to erratic behavior when the vehicle returns to familiar settings. Conversely, stable methods like Locally Weighted Projection Regression (LWPR) are computationally too intensive for high-frequency Model Predictive Control (MPC) loops.
The LW-PR² Architecture
To bridge this gap, researchers have developed Locally Weighted Projection Regression Pseudo-Rehearsal (LW-PR²). This hybrid approach utilizes a "teacher-student" framework to combine the inference speed of neural networks with the stable memory of LWPR.
The system operates through four primary components:
- The Student (Neural Network): A lightweight NN provides the fast predictions (approx. 2,688 FLOPs) required by the MPC controller for real-time decision-making.
- The Teacher (LWPR): An LWPR model serves as a robust global memory, updated incrementally with the robot's experiences. It is immune to forgetting because it builds a global model from many local ones.
- Pseudo-Rehearsal: A Gaussian Mixture Model (GMM) generates "synthetic" inputs representing previously encountered driving states. The LWPR teacher provides labels for these inputs, allowing the student to "rehearse" old knowledge.
- Constrained Gradient Update: The NN is trained on a combination of fresh sensor data and synthetic "remembered" data. A directional constraint ensures that updates do not degrade performance on the original system identification data.
Experimental Evaluation
The method was validated using the AutoRally platform, a 1/5 scale autonomous vehicle. Testing spanned high-fidelity Gazebo simulations and over 4.5 hours (18km) of real-world driving on dirt tracks with varying moisture levels and battery voltages. A "Modified Dynamics" dataset was also used to test adaptation to tarmac surfaces.
Key Results and Discussion
The LW-PR² framework demonstrated superior stability and performance compared to standard adaptation techniques. In simulations, while a standard NN using naive Stochastic Gradient Descent (SGD) crashed after a single lap due to forgetting, the LW-PR² model successfully completed 10 laps with consistently improving times.
As shown in the results, the adaptive model significantly reduced the Mean Squared Error (MSE) of dynamics predictions over time. Computationally, the NN student is roughly 50 times faster than the LWPR teacher (which requires over 141,125 FLOPs), enabling a 40Hz MPC loop that would be impossible with LWPR alone.
Conclusion and Future Work
LW-PR² effectively mitigates catastrophic forgetting in online learning for autonomous systems. By "dreaming" of past scenarios through pseudo-rehearsal, the model maintains its foundational knowledge while adapting to new environments. Future research will focus on dynamic GMMs to better cover newly explored state spaces and reducing the dependency on initial expert-collected system identification data.
Summary updated