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

Learning-to-Defer in Non-Stationary Time Series via Switching State-Space Models

Yannis Montreuil, Letian Yu, Axel Carlier, Lai Xing Ng, Wei Tsang OoiarXiv 2026

TL;DR

This paper introduces L2D-SLDS, a novel framework for online "learning-to-defer" (L2D) in non-stationary time-series environments. By modeling expert performance residuals using a switching linear-Gaussian state-space model, the system can infer the accuracy of unqueried experts using only its own internal errors. This allows it to make highly selective, cost-effective routing decisions, deferring to humans less than 2% of the time while outperforming standard bandit baselines.

What Problem Does This Paper Address?

In many real-world AI deployments, a system shouldn't always make the final call. Learning-to-defer (L2D) frameworks decide on the fly whether to trust the AI's internal prediction or route the decision to an external human expert (incurring a query cost).

While traditional L2D works well in static, offline settings, it breaks down completely when applied to streaming time-series data (like financial forecasting or medical triage pipelines). The authors identify three core challenges in these environments:

  1. Non-stationarity: Both the data distribution and the quality of the experts drift over time or switch abruptly across latent environmental regimes.
  2. Dynamic Expert Pools: Experts frequently enter, leave, or return to the system mid-trajectory.
  3. Asymmetric Partial Feedback: Once a true outcome is revealed, the system always knows its own internal model's error. However, it only observes an external expert's prediction if it chose to pay and query them.

Standard multi-armed bandit algorithms struggle here because the internal model is constantly training online, meaning its performance is tightly coupled with past routing decisions rather than acting as a static "arm."

Methods

The authors propose L2D-SLDS, a one-stage probabilistic routing framework based on a factorized switching linear-Gaussian state-space model.

Instead of tracking raw predictions, L2D-SLDS models the residuals (errors) of all potential choices. As shown in the graphical model below, the latent state is factorized into three distinct components:

  • A Discrete Regime ($z_t$): Captures sudden environmental shifts (e.g., seasonal weather changes) that alter system dynamics.
  • A Shared Global Factor ($g_t$): Captures cross-expert correlations. Because the internal model's error is always observed, updating $g_t$ continuously refines the system's beliefs about unqueried experts.
  • Per-Expert Idiosyncratic States ($u_{t,k}$): Absorbs the private, independent quirks and reliability of each individual expert.
Figure 1: L2D-SLDS graphical model with asymmetric feedback. Regime zt (transitions Π) drives the dynamics of the shared factor gt and per-expert states ut,j; each potential residual et,j is a linear-Gaussian emission of αt,j=Bjgt+ut,j through eΦ(xt). The internal residual et,0 is always observed; only et,It is revealed on the external branch (dotted).

To make routing decisions, the system uses an information-directed sampling (IDS) style query score. This score elegantly balances three competing objectives:

  1. Immediate Cost: The predicted loss penalty plus the expert's consultation fee.
  2. Information Gain: How much querying the expert will help identify the current environmental regime and refine the shared global factor.
  3. Learner Improvement: The value of using the expert's prediction as a "teacher signal" to update and improve the internal AI model for future rounds.

Datasets

The framework was evaluated across four distinct time-series benchmarks:

  • Synthetic Data: A controlled environment with 2 regimes and 4 experts designed to stress-test cross-expert information transfer and temporary expert unavailability.
  • Melbourne Daily Temperatures: A real-world weather dataset ($T=3,650$ rounds, 4 experts) with simulated availability shocks.
  • Jena Climate: A highly multi-regime weather dataset ($T=6,000$ rounds, 4 experts) sampled every 4 hours.
  • Daily Delhi Climate: The largest and most volatile benchmark ($T=1,567$ rounds), featuring 24 autoregressive/ARIMA experts with heavy churning (experts arriving as "births" or being pruned due to staleness mid-trajectory).

Key Insights and Ideas

  • The Internal Model as a Probe: The most elegant insight is that the system doesn't need to query an expert to know they are likely failing. Because expert errors are coupled through the shared factor ($g_t$), the always-visible internal residual acts as a continuous probe, propagating updates to unqueried experts under strict partial feedback.
  • Action-Coupled Gated Learning: Querying an expert isn't just a short-term fix; it's an opportunity to upgrade the internal model. L2D-SLDS implements a reliability-weighted teacher update, meaning the internal model only regularizes toward an expert's advice if that expert is proven to be reliable, helpful, and in disagreement with the current model.
  • Modular Regret Guarantees: The authors prove a sublinear realized regret bound against a time-varying oracle. The proof is modular, meaning future researchers can swap out the state-space filter or the internal online learning algorithm independently without breaking the overarching theoretical guarantees.

Key Results

L2D-SLDS consistently outperformed or matched every contextual- and non-stationary-bandit baseline while maintaining an incredibly low deferral footprint on real-world data.

  • Workload Reduction: On the 24-expert Delhi benchmark, L2D-SLDS achieved the lowest overall routing cost while deferring on only 1.70% of rounds. In comparison, the strongest bandit baseline (SharedLinUCB) required a massive 34.8% query rate to achieve similar costs—representing a 20x reduction in human workload/fees.
  • High-Value Deferrals: On the Jena Climate dataset, L2D-SLDS was the only adaptive method to beat a non-deferring predictor, doing so while querying experts on just 0.22% of rounds.
  • Ablation Validation: Removing the shared global factor ($g_t$) consistently degraded performance across all datasets, validating that tracking latent cross-expert correlations is vital for accurate routing under censoring.

Limitations and Future Work

  • Exogenous Environment: The model assumes the data-generating process is exogenous—meaning while routing choices dictate what the system observes, they do not fundamentally alter the environment itself.
  • Theoretical Filter Bounds: The sublinear regret bound relies on the assumption that the predictive-cost error of the SLDS filter scales at a mild rate ($\mathcal{E}_{\mathrm{SLDS}} = \tilde{O}(\sqrt{T})$). While this holds true for non-switching systems and was verified empirically here, proving this bound theoretically for censored, switching linear-Gaussian systems remains an open challenge.
  • Hyperparameter Tuning: Balancing immediate cost against information gain and learner improvement requires tuning scaling factors ($\lambda_{IG}, \lambda_L$), which may vary depending on the specific risk tolerance of the deployment domain.

Summary updated

BibTeX
@misc{montreuil2026learning,
  author = {Yannis Montreuil and Letian Yu and Axel Carlier and Lai Xing Ng and Wei Tsang Ooi},
  title = {{Learning-to-Defer in Non-Stationary Time Series via Switching State-Space Models}},
  year = {2026},
  eprint = {2601.22538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.22538},
}
Figure