Experience Recommendation for Long Term Safe Learning-based Model Predictive Control in Changing Operating Conditions

Christopher D. McKinnon, Angela P. SchoelligarXiv 2018 · arXiv

Introduction

Safe learning in robotics typically involves controllers that refine environmental models while ensuring safety constraints are never violated. However, most existing methods struggle with sudden, discrete changes in operating conditions, such as transitioning from pavement to grass or carrying varying payloads. Standard algorithms often either average all experiences—resulting in a suboptimal "jack of all trades" model—or forget old data to adapt to new conditions, losing valuable knowledge. This paper introduces an "experience recommendation" system that allows robots to safely navigate such changing environments by intelligently reusing relevant historical data.

Methodology

The proposed framework builds upon a robust Model Predictive Control (MPC) system that utilizes Gaussian Processes (GPs) to model dynamics disturbances. The core innovation is an asynchronous Experience Recommendation engine.

System architecture for experience-based robust MPC.

The algorithm operates through several key stages:

  1. Data Management: Experiences (input-output pairs) from previous runs are stored and indexed by their spatial location along a path.
  2. Run Rejection: To ensure safety, a binomial test checks if "live" data fits within the $3\sigma$ uncertainty bounds of candidate past runs. Runs that are "too different" are rejected.
  3. Similarity Measure: For the remaining candidates, the system calculates the probability that current dynamics match the past run's "mode."
  4. Recommendation: The most similar historical run is selected to update the controller's GP model for the upcoming path section.
  5. Asynchronous Processing: By running the recommendation engine in a separate thread, the system avoids adding computational latency to the high-frequency control loop.

Experimental Setup

The approach was evaluated using a 900 kg Clearpath Grizzly skid-steer robot in a parking lot environment. Three configurations were tested:

  • Nominal: The base robot.
  • Loaded: Carrying a 180 kg gravel payload.
  • Altered: A software-simulated under-steer condition (rotational commands scaled by 0.7). Localization was provided by a vision-based "Visual Teach and Repeat" system.

Key Results and Discussion

The experience recommendation system demonstrated significant improvements in both accuracy and efficiency. After a change in operating conditions, the multi-step prediction error (M-RMSE) was up to 2.5 times lower than a baseline using only the most recent run's data.

Performance Comparison - Long Term Experiment plot showing Cumulative Cost over 30 runs.

In a long-term experiment spanning 30 runs with frequent configuration swaps, the proposed method achieved a 37% reduction in cumulative control cost. The system successfully identified and recommended relevant past experiences over 89% of the time after an initial adaptation phase.

A key insight was the robot's ability to distinguish between spatial and dynamic similarity. On straight sections where dynamics are similar across configurations, the algorithm borrowed data broadly. However, during sharp turns where physical differences are pronounced, it strictly recommended configuration-specific data. If no match was found, the system reverted to a conservative "safe mode" to collect new data safely.

Conclusion

The experience recommendation system provides a robust way for robots to handle discrete changes in operating conditions by leveraging long-term memory. While the method's effectiveness depends on the quality of the underlying GP model and may experience a brief "transition gap" during sudden changes, it offers a scalable path toward autonomous systems that learn and remember across diverse environments. Future work will explore using visual terrain classification to anticipate changes before they impact robot dynamics.

Summary updated

Abstract

Learning has propelled the cutting edge of performance in robotic control to new heights, allowing robots to operate with high performance in conditions that were previously unimaginable. The majority of the work, however, assumes that the unknown parts are static or slowly changing. This limits them to static or slowly changing environments. However, in the real world, a robot may experience various unknown conditions. This paper presents a method to extend an existing single mode GP-based safe learning controller to learn an increasing number of non-linear models for the robot dynamics. We show that this approach enables a robot to re-use past experience from a large number of previously visited operating conditions, and to safely adapt when a new and distinct operating condition is encountered. This allows the robot to achieve safety and high performance in an large number of operating conditions that do not have to be specified ahead of time. Our approach runs independently from the controller, imposing no additional computation time on the control loop regardless of the number of previous operating conditions considered. We demonstrate the effectiveness of our approach in experiment on a 900\,kg ground robot with both physical and artificial changes to its dynamics. All of our experiments are conducted using vision for localization.
BibTeX
@misc{mckinnon2018experience,
  author = {Christopher D. McKinnon and Angela P. Schoellig},
  title = {{Experience Recommendation for Long Term Safe Learning-based Model Predictive Control in Changing Operating Conditions}},
  year = {2018},
  eprint = {1803.04065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.04065},
}
Figure