Safe and Efficient Model-free Adaptive Control via Bayesian Optimization

Christopher König, Matteo Turchetta, John Lygeros, Alisa Rupenyan, Andreas Krause

Abstract

Industrial motion systems, such as those in semiconductor manufacturing, demand extreme precision and the ability to adapt to changing mechanical conditions like wear or varying loads. Traditional adaptive control requires accurate physics models, while model-free methods like Bayesian Optimization (BO) often risk damaging hardware during exploration. This paper presents a safe, model-free adaptive control method based on a modified Goal-Oriented Safe Exploration (GOOSE) algorithm. By integrating multi-task learning and efficient optimization techniques, the proposed framework enables real-time tuning with zero safety violations. Experimental results on physical motor systems demonstrate that the method successfully adapts to environmental changes while maintaining strict safety constraints, outperforming standard constrained BO.

Introduction

In high-performance industrial applications, controllers must maintain precision despite evolving conditions such as component wear, thinning lubricants, or varying payloads. While traditional adaptive control handles these changes by updating parameters on the fly, it typically necessitates a highly accurate mathematical model of the system. Data-driven alternatives, such as standard Bayesian Optimization, can tune controllers without a model but face a critical "safety vs. efficiency" dilemma: finding optimal settings requires experimentation that may lead to violent vibrations or excessive tracking errors, potentially damaging the equipment. This work addresses the need for an efficient adaptation mechanism that guarantees safety throughout the learning process.

Methodology

The proposed framework builds upon the GOOSE algorithm, introducing several innovations to facilitate real-time adaptive control:

  1. Multi-task Bayesian Optimization: To avoid treating every environmental change as a new problem, the authors utilize a "task parameter" ($\tau$). This allows the Gaussian Process (GP) model to correlate controller performance across different conditions, such as varying loads.
  2. Computational Efficiency via PSO: To meet real-time requirements, the original grid-based discretization of GOOSE is replaced with Particle Swarm Optimization (PSO), enabling rapid identification of optimal controller settings within the safe region.
  3. Local Lipschitz Approximation: Safety-aware BO requires knowing the system's smoothness (Lipschitz constant). The authors estimate this locally using the GP's own gradients, resulting in more realistic and less conservative safety bounds.
  4. Safety Constraints: Safety is defined through measurable metrics: the Fast Fourier Transform (FFT) of torque measurements to detect dangerous vibrations and the infinity norm of position tracking error.
Block diagram of the adaptive control architecture featuring the GoOSE-based agent.

The algorithm operates on a "pessimistic" safety principle: it maintains a set of parameters where safety is statistically certain and only expands into "optimistic" regions if it can prove the next step is likely safe. This process requires a "safe seed"—an initial, conservative controller known to be stable.

Experimental Setup

The method was validated using two setups:

  • Simulated Rotational Axis Drive: A damped single-mass system model incorporating non-linear cogging effects.
  • Physical Rotational Axis Drive: A real-world synchronous 3-phase AC motor system, providing a testbed for performance under sensor noise and hardware constraints.

Key Results

The experimental evaluation highlighted the robustness of the GoOSE-based approach:

  • Zero Safety Violations: In stationary tests, GoOSE achieved optimal performance without a single safety violation. In contrast, standard Constrained Bayesian Optimization (CBO) violated safety constraints in 27.8% of its iterations.
  • Rapid Adaptation: In simulations where the load (moment of inertia) was suddenly doubled, the algorithm leveraged prior task knowledge to find a new optimal controller within just a few iterations.
  • Hardware Validation: On physical hardware, the system successfully adapted to changes in feed-forward gains and external friction (simulated via elastic bands) without losing stability.
Performance comparison between GoOSE and standard CBO regarding tracking error convergence and safety violations.

Conclusion

This work demonstrates that safe, model-free adaptive control is achievable by combining Bayesian Optimization with rigorous safety constraints and multi-task learning. While the method requires an initial "safe seed" and involves computational overhead that scales with data points, it provides a reliable path for tuning industrial systems in dynamic environments. Future research will focus on scaling these techniques to high-dimensional controllers and optimizing computational performance for extremely high-speed applications.

Summary updated

BibTeX
@inproceedings{konig2021safe,
  author = {Christopher König and Matteo Turchetta and John Lygeros and Alisa Rupenyan and Andreas Krause},
  title = {{Safe and Efficient Model-free Adaptive Control via Bayesian Optimization}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  doi = {10.1109/icra48506.2021.9561349},
}
Figure