Online Bayesian Calibration under Gradual and Abrupt System Changes

Yang Xu, Chiwoo ParkNeurIPS 2026

TL;DR

Digital twins rely on computer simulations to mirror the real world, but simulations are inherently flawed and real-world systems refuse to sit still—they slowly drift and occasionally jump into entirely new operating regimes. This paper introduces Bayesian Recursive Projected Calibration (BRPC), an online framework that continuously tunes simulator parameters and corrects systematic model bias on streaming data without confusing the two. By pairing smooth tracking with an intelligent "reset button" for sudden shocks, it keeps digital twins accurate in dynamic environments.

What Problem Does This Paper Address?

Every computer simulator has knobs to turn (unknown calibration parameters) and fundamental blind spots where its simplified physics fall short of reality (model discrepancy). Aligning a simulator with real-world measurements requires estimating both.

Classically, if you try to tune the knobs and learn a flexible bias-correction term simultaneously, they step on each other's toes—a well-known headache called parameter–discrepancy confounding, where two different combinations of parameters and bias explain the data equally well. Offline "projected calibration" solves this by strictly prioritizing the simulator fit first, then learning the leftover error. However, offline methods assume the physical system is static.

In modern digital twins, data arrives as a stream, and reality changes. Parts wear down (gradual drift), or a factory suddenly switches production lines (abrupt regime shifts). Existing sequential data assimilation tools (like Kalman or particle filters) update on the fly, but they don't untangle simulator bias from parameters, and they tend to break when the system abruptly jumps, dragging outdated historical baggage into the new regime.

Methods

The authors propose Bayesian Recursive Projected Calibration (BRPC), extending static projected calibration into a streaming, two-stage filtering loop:

  1. Stage 1 (Parameter Filtering): As a new batch of data arrives, a particle filter updates the simulator parameters ignoring any discrepancy model. By forcing the simulator to explain as much of the data as possible on its own via a KL-regularized update, it anchors the parameters and prevents confounding.
  2. Stage 2 (Conditional Discrepancy Filtering): Given those updated parameters, the leftover residuals (reality minus simulator) are fed into a time-varying Gaussian Process (GP), updated recursively using an information-form Kalman filter.

Because smooth KL-regularized updates resist sudden jumps, the authors bolt on three alternative restart mechanisms that monitor predictive surprise (prequential likelihood) and hit the reset button when the calibrated model breaks down:

  • B-BRPC: Uses Bayesian Online Change-Point Detection (BOCPD) to maintain a parallel portfolio of "experts," each initialized at a different potential restart time.
  • C-BRPC: A lightweight, single-model alternative using a window-limited CUSUM statistic to monitor standardized prediction error and trigger hard resets.
  • B-BRPC-RRA (Residual Re-Anchoring): A BOCPD variant that ditches recursive GP updates in favor of refitting an offline GP from scratch on all residuals since the last restart, using the latest parameter estimates.

Datasets

The authors evaluate their methods on two streaming benchmark families, each tested across three nonstationary modes (gradual drift, sudden jumps, and mixed):

  • Synthetic Streaming Benchmark: Adapted from a classic static calibration problem (Gu and Wang, 2018), pairing an imperfect trigonometric simulator against a drifting/jumping physical curve with Gaussian noise.
  • Plant-Simulation Benchmark: A discrete-event simulation of a factory experiencing shifting operating conditions and abrupt structural changes.

Key Insights and Ideas

  • The "Overly Helpful Bias" Trap: There is a fascinating tension between learning model bias and detecting sudden system shocks. Proposition 3 proves mathematically that if your discrepancy GP adapts too quickly, it acts like a shock absorber—quietly soaking up a massive regime shift as "model bias" before the change-point detector realizes anything broke! Conversely, if the discrepancy posterior gets too confident, normal within-regime noise triggers false alarms.
  • Order of Operations Preserves Identifiability: Separating the online update into a discrepancy-free parameter step followed by a conditional residual step successfully carries the identifiability guarantees of static projected calibration into the streaming world.
  • Better Parameters $\neq$ Better Predictions (Always): In a higher-dimensional stress test, accurately tracking the true underlying simulator parameters didn't automatically yield the lowest overall output prediction error—a classic reminder that flexible bias terms in short-window baselines can mask terrible parameter estimates.

Key Results

Across both benchmarks, BRPC variants substantially outperform sliding-window Bayesian calibration (BC(80)) and data assimilation (DA):

  • Calibration & Prediction Accuracy: On the plant-simulation Mixed regime, C-BRPC slashes parameter estimation error ($\theta$-RMSE) to 1.582 (vs. 4.502 for BC(80) and 9.669 for DA) and response RMSE to 0.561 (vs. 3.034 and 5.646). Even under sudden changes, online BRPC matches or beats an oracle static method that is explicitly handed the true change-point timestamps.
  • Controller Trade-offs: C-BRPC acts as the best all-around default—fast, low memory, with far fewer false restarts than B-BRPC. Meanwhile, B-BRPC-RRA dominates in pure jump-heavy settings, achieving a 1.000 Precision@2 and 1.000 Recall@2 on the Sudden(5) plant benchmark.
  • Real-World Value: In a closed-loop decision study where an Upper Confidence Bound (UCB) policy used the digital twin to choose factory operating settings, online calibration with B-BRPC boosted cumulative net revenue by 18.3% ± 1.5% over a fixed-parameter baseline.

Limitations and Future Work

  • High-Dimensional Scaling: Particle filters struggle as parameter dimensions grow. In an appendix test with 5 calibration parameters and 20 inputs, maintaining and updating particles became computationally heavy, and triggering restarts actually increased parameter error—suggesting resets aren't always helpful in high dimensions.
  • Future Directions: The authors aim to scale BRPC to high-dimensional digital twins, design restart controllers with tighter false-alarm guarantees and softer "partial" memory-reset strategies, and integrate online calibration directly with dual control and reinforcement learning on physical hardware.

Summary updated

Abstract

Bayesian model calibration is central to digital twins and computer experiments, as it aligns model outputs with field observations by estimating calibration parameters and correcting systematic model bias. Classical Bayesian calibration introduces latent parameters and a discrepancy function to capture bias, but suffers from parameter–discrepancy confounding and is typically formulated as an offline procedure under a stationary data-generating assumption. These limitations are restrictive in modern digital twin applications, where systems evolve over time and may exhibit both gradual drift and abrupt regime shifts. While data assimilation methods enable sequential updates, they generally do not explicitly model systematic bias and are not robust to abrupt changes. We propose Bayesian Recursive Projected Calibration (BRPC), an online Bayesian calibration framework for streaming data under simulator mismatch and nonstationarity. BRPC extends projected calibration to the online setting through a two-stage filtering procedure: first, unconditional filtering of the calibration parameters, followed by conditional filtering of the model discrepancy function given the estimated calibration parameters, which mitigates parameter--discrepancy confounding, while the online filtering enables bias-aware adaptation under gradual system evolution. To handle abrupt changes, we integrate BRPC with restart mechanisms that detect regime shifts and reset the calibration process, yielding a unified approach to mixed nonstationarity. We provide theoretical analysis, including a tracking error bound of the model discrepancy estimate under gradual evolution, given accurate calibration parameter estimates and false-alarm and detection behavior of restart mechanisms. Empirical results on synthetic and plant-simulation benchmarks demonstrate that BRPC improves calibration accuracy under gradual changes, while the restart-augmented framework further enhances robustness and predictive performance under abrupt regime shifts, compared to the state-of-the-art approaches.
BibTeX
@inproceedings{xu2026online,
  author = {Yang Xu and Chiwoo Park},
  title = {{Online Bayesian Calibration under Gradual and Abrupt System Changes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Zabh2YskEn},
}
Figure