NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Guided Multi-Fidelity Bayesian Optimization for Data-driven Controller Tuning with Digital Twins

Mahdi Nobar, Jürg Keller, Alessandro Forino, John Lygeros, Alisa Rupenyan

TL;DR

This paper introduces Guided Multi-Fidelity Bayesian Optimization (GMFBO), a framework that significantly speeds up controller tuning by intelligently combining expensive real-world experiments with "corrected" digital twin simulations. By dynamically adjusting how much it trusts simulation data based on real-time accuracy estimates, GMFBO reduces the number of physical trials needed by up to 44% compared to standard methods.

What Problem Does This Paper Address?

Tuning controllers for complex robotic systems is a balancing act. You can run real-world experiments (High Fidelity), which are accurate but slow, expensive, and cause wear and tear. Alternatively, you can use Digital Twins (Low Fidelity), which are fast and cheap but often suffer from "model mismatch"—they don't perfectly capture real-world friction, backlash, or environmental changes.

Existing Multi-Fidelity Bayesian Optimization (MFBO) methods try to use both, but they often assume the simulation's inaccuracy is constant. In reality, a simulator might be very accurate at low speeds but completely wrong at high accelerations. This paper addresses the challenge of how to exploit imperfect simulations without being misled by them, especially when the system dynamics change over time.

Methods

The authors propose a "Guided" approach that treats the Digital Twin (DT) not just as a static data source, but as a model that can be refined on the fly. Key components include:

  • The Corrected Digital Twin (IS3): When a real-world measurement is taken, the framework trains a local correction model ($GP_c$). This model learns the mapping between the DT's predicted output and the actual system output. It then generates "augmented" data points—simulated results that have been "fixed" by the correction model—to guide the optimizer.
  • Adaptive Multi-Source Kernel: The Gaussian Process (GP) surrogate model uses a custom kernel that explicitly includes a fidelity variable. Crucially, the "correlation" between the simulation and the real world is not fixed; it scales based on a real-time mismatch metric ($e_{IS2}$). If the DT starts performing poorly, the model automatically "downweights" its influence.
  • Cost-Aware Acquisition Function (caEI): The algorithm decides whether to run a real experiment or a simulation by weighing the Expected Improvement against a dynamic sampling cost. As the DT's error increases, its "cost" in the algorithm's eyes also increases, discouraging over-reliance on bad simulations.

Datasets & Experimental Setup

The researchers validated their approach using two primary setups:

  1. Numerical Study: A high-fidelity simulation of a Maxon motor served as the "ground truth," while a version with 50% added noise acted as the low-fidelity Digital Twin.
  2. Hardware Validation: They used a Maxon HEJ 90 drive system (a high-torque motor/gearbox combo) controlled by an EPOS4 controller. The task was to tune a position-velocity-torque (JPVT) controller.
  3. Non-Stationary Scenario: They tested the algorithm's ability to adapt to a system where the motor friction suddenly doubles during the tuning process.

Key Insights and Ideas

  • Selective Correction: Instead of trying to make the Digital Twin perfect everywhere (which is hard), GMFBO focuses on correcting it only in the parameter regions that look promising for the optimization goal.
  • Trust but Verify: The framework treats the Digital Twin as a "guide." By using the corrected DT (IS3) to provide local "hints" to the GP, the optimizer explores the parameter space much more effectively than it could with real data alone.
  • Handling Non-Stationarity: Because the mismatch metric is updated online, the system can detect when a Digital Twin has become "stale" (e.g., due to hardware wear or environmental changes) and pivot to relying more on real-world data or re-correcting the simulation.

Key Results

  • Efficiency Gains: In hardware experiments, GMFBO reached the optimal controller settings in just 5 real-world trials on average, compared to 9 trials for standard Bayesian Optimization—a 44% improvement in data efficiency.
  • Superiority over Baselines: GMFBO outperformed other multi-fidelity variants (like those using Knowledge Gradient) which often got "polluted" by inaccurate simulation data.
  • Robustness: In the "changing friction" test, GMFBO successfully adapted and found the new optimum in 10 trials, whereas standard BO required 18.

Limitations and Future Work

  • Input-Dependent Fidelity: While the model adapts to overall DT accuracy, the authors note that future versions could benefit from even more granular "input-dependent" fidelity models (e.g., knowing the DT is only bad at specific high-velocity ranges).
  • Computational Overhead: Training the correction models and the multi-fidelity GP adds computational complexity, though this is usually negligible compared to the time saved by avoiding physical experiments.
  • Safety Constraints: While the paper mentions safety can be enforced via barrier functions, the current study focused primarily on tuning efficiency rather than formal safety guarantees during the exploration phase.

Summary updated

BibTeX
@article{nobar2026guided,
  author = {Mahdi Nobar and Jürg Keller and Alessandro Forino and John Lygeros and Alisa Rupenyan},
  title = {{Guided Multi-Fidelity Bayesian Optimization for Data-driven Controller Tuning with Digital Twins}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2026},
  doi = {10.1109/lra.2026.3671557},
}
Figure