Safe Active Learning with Future Viability Guarantees in Time-Series Models

Hyeon-jun Park, Whiyoung Jung, Deunsol Yoon, Sunghoon Hong, Kanghoon Lee, Kyungjae LeeNeurIPS 2026

TL;DR

Imagine driving a car onto an icy patch of road: right now you haven't crashed, so a naive algorithm would call your state "safe"—ignoring the fact that you can no longer brake before hitting the wall ahead. In machine learning for physical systems, checking if an experimental action is safe right now isn't enough if that action traps the system in an inevitable future crash. This paper introduces Future-Aware Safe Active Learning (FA-SAL), an algorithm that looks several steps ahead to safely explore unknown time-series systems without steering them into unrecoverable "dead-ends."

What Problem Does This Paper Address?

When engineers want to model complex physical systems—like chemical reactors, fluid pressure lines, or autonomous vehicles—they need rich, informative data. Active learning automates this by sequentially picking the most informative inputs to test next. However, in the real world, you can't just wildly poke a reactor to see what happens; you have to respect safety constraints.

Existing Safe Active Learning methods solve this by certifying that the very next query won't cross a safety threshold. The catch? Real-world time-series systems have momentum and memory. An input might keep pressure safely below the limit at step $t+1$, while triggering runaway dynamics that guarantee an explosion by step $t+3$, no matter what control inputs you try afterward. Borrowing from planning literature, the authors formalize these traps as $m$-step dead-end inputs: actions that are immediately safe, but eliminate any possibility of safe continuation over the next $m$ steps. Until now, safe active learning lacked a formal way to anticipate and avoid them.

Methods

The authors model time-series dynamics using a standard NARX (Nonlinear Autoregressive Exogenous) setup, where the system's current state is simply a sliding window of recent inputs and outputs. As is standard in safe learning, they use two independent Gaussian Processes (GPs)—nonparametric models that naturally output uncertainty estimates—to learn both the unknown system transition dynamics ($f$) and the unknown safety function ($g$).

What's new is how FA-SAL screens candidate inputs before testing them on the real system:

  1. Hallucinated Rollouts: For a candidate input, FA-SAL simulates ("hallucinates") an $m$-step future trajectory by recursively feeding the transition GP's mean predictions back into itself alongside a planned sequence of future inputs.
  2. Recursive Error Envelopes: Because the transition model is still being learned, hallucinated trajectories drift from reality. Using Lipschitz continuity (a mathematical bound on how fast functions can change), the algorithm computes a growing "error envelope" around the rollout that accounts for compounding GP uncertainty over time.
  3. Margin-Certified Feasibility: Instead of just requiring the predicted future states to be safe, FA-SAL requires them to sit deep enough inside the GP's lower-confidence safe zone to completely absorb the recursive error envelope.

Among the inputs that pass this $m$-step viability test, FA-SAL selects the query that maximizes mutual information (uncertainty reduction) for both the dynamics and safety models.

Datasets

The authors evaluate FA-SAL across three benchmarks:

  • Synthetic NARX Environment (Newly Introduced): A damped double-integrator model augmented with nonlinear drag and runaway drift specifically designed to create deceptive $m$-step dead-end traps (tested in both a "base" and harsher "penalty-stress" variant).
  • Rail-Pressure Fluid System: An existing physical control benchmark where the learner selects short ramp trajectories of rail speed and actuation while keeping fluid pressure below a physical limit.
  • NGSIM Car-Following Benchmark: Built from real-world highway vehicle trajectories. Because NGSIM is an offline dataset, the authors construct a counterfactual simulator (combining kinematic physics with data-driven residuals and an absorbing collision state) where the learner chooses acceleration sequences while maintaining a minimum 8-meter headway.

Key Insights and Ideas

  • Knowing what is safe right now doesn't save you from dead-ends: In the synthetic stress tests, baseline methods recovered nearly 100% of the instantaneous safe set, yet still crashed over 16–22% of the time because they couldn't tell which safe states had viable exits.
  • Conservativeness shrinks with data: Early on, large GP uncertainties make the recursive error envelope huge, causing FA-SAL to cautiously stick to the deep interior of the safe zone. The authors prove theoretically (Theorem 2) that as data accumulates, FA-SAL recovers the true future-safe set up to a shrinking boundary layer, while provably excluding separated dead-end inputs.
  • The horizon trade-off: Propagating uncertainty over $m$ steps causes the required safety margin to grow geometrically with the horizon length—meaning safety over long horizons requires substantially more data to overcome initial conservatism.

Key Results

Across 150 rounds over 10 random seeds, FA-SAL consistently slashed safety violations compared to trajectory-based safe active learning baselines (SAL-NX and Tebbe-ABM):

Synthetic benchmark results comparing FA-SAL against baselines on Base (top) and Penalty-stress (bottom) setups.
  • Synthetic Penalty-Stress: FA-SAL achieved a Safety Violation Rate (SVR) of just 1.8% and a Dead-End Violation Rate (D-SVR) of 3.3%, compared to 22.7% / 31.2% for SAL-NX and 16.7% / 22.4% for Tebbe-ABM. Avoiding crashes also yielded cleaner data, cutting transition model error (RMSE) nearly in half (2.428 vs. 4.168 and 3.971).
  • Rail-Pressure: FA-SAL achieved the lowest RMSE (1.798), lowest SVR (6.1% vs. ~8.5% for baselines), and highest Dead-End IoU (0.962), showing superior recovery of viable trajectories.
  • NGSIM Highway Driving: Under collision-absorbing dynamics, FA-SAL achieved the lowest SVR/D-SVR (29.0%) and best RMSE (2.234) with zero false safety certifications.

Limitations and Future Work

FA-SAL's theoretical guarantees rely on knowing valid GP confidence bounds, fixed GP hyperparameters, and true Lipschitz constants—quantities that in practice have to be estimated empirically. Furthermore, because transition uncertainty compounds at every step of a hallucinated rollout, looking far into the future (large $m$) increases both computational cost and algorithmic conservativeness. Finally, the current theoretical analysis is restricted to finite, discretized candidate domains rather than continuous action spaces. Future work is not explicitly discussed in the paper, though addressing continuous action spaces and adaptive hyperparameters are natural frontiers implied by these limitations.

Summary updated

Abstract

In time-series systems, safe active learning seeks to collect informative data while maintaining safety during data collection. A key challenge is that one-step safety does not guarantee future viability: an input can be immediately safe yet lead the system into a state from which no safe continuation exists. For example, in pressure regulation, an input may keep the current pressure below its limit but still drive the system toward an unsafe pressure spike over the next few steps. We study this problem in nonlinear time-series systems with unknown dynamics and safety constraints. We introduce the notion of $m$-step dead-end inputs and propose a future-aware safe active learning framework (FA-SAL) that enforces finite-horizon safety via margin-certified rollout constraints. Our approach constructs a conservative approximation of the true future-safe set by combining Gaussian process uncertainty with a recursive error bound over predicted trajectories. We show that FA-SAL provides high-probability safety guarantees, recovers interior future-safe inputs as uncertainty decreases, and provably excludes separated dead-end inputs. Experiments on synthetic and real-world benchmarks demonstrate that FA-SAL reduces safety violations and dead-end selections while maintaining competitive model learning performance.
BibTeX
@inproceedings{park2026safe,
  author = {Hyeon-jun Park and Whiyoung Jung and Deunsol Yoon and Sunghoon Hong and Kanghoon Lee and Kyungjae Lee},
  title = {{Safe Active Learning with Future Viability Guarantees in Time-Series Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5HOe7v27vl},
}
Figure