Neural Spline Operators for Risk Quantification in Stochastic Systems

Zhuoyuan Wang, Raffaele Romagnoli, Kamyar Azizzadenesheli, Yorie Nakahira

Introduction: The Challenge of Safety in Dynamic Environments

Quantifying long-term risk in safety-critical systems—such as autonomous drones, robotic manipulators, or self-driving vehicles—is a fundamental challenge in engineering. Specifically, researchers seek to determine the "safety probability": the likelihood that a system will remain within a predefined safe region over a specific time horizon.

Traditionally, this problem is approached through three primary lenses, each with significant drawbacks:

  1. Monte Carlo Sampling: While accurate, it is computationally prohibitive, particularly for "rare events" where failures occur infrequently.
  2. Partial Differential Equation (PDE) Solvers: These are faster than sampling but lack scalability and must be re-solved from scratch whenever the system's underlying dynamics change.
  3. Physics-Informed Neural Networks (PINNs): While they can learn mappings, they are typically restricted to fixed, finite parameters and struggle with "functional variations"—scenarios where the mathematical form of the movement equations itself changes.

To overcome these limitations, this paper introduces Neural Spline Operators (NeSO), a physics-informed framework designed for operator learning. Unlike standard models that map parameters to outputs, NeSO learns to map entire functional descriptions of system dynamics to safety probabilities, offering a significant leap in both speed and flexibility.

The NeSO Framework

The core innovation of NeSO lies in its ability to treat the safety probability problem as an operator learning task. The architecture is composed of two primary modules:

1. Coefficient Neural Functional

This component serves as the model's "brain." It accepts the system dynamics $f$ and safe-set parameters $\alpha$ as inputs. Utilizing a Neural Operator (such as a Fourier Neural Operator), it processes these functional inputs to output a tensor of B-spline control points. This allows the model to generalize across different functional forms of dynamics rather than being tuned to a single set of parameters.

2. B-Spline Layers

Instead of requiring the neural network to directly regress the safety probability, NeSO uses the predicted control points to parameterize a set of B-splines. B-splines are piecewise polynomial functions valued for their smoothness and mathematical properties. This hybrid approach provides two critical advantages:

  • Analytical Derivatives: Training physics-informed models requires calculating derivatives to satisfy the underlying physical laws (the "physics loss"). B-splines possess exact, closed-form derivatives, making the training process significantly more stable and faster than traditional automatic differentiation.
  • Hard-Coded Constraints: Safety probabilities must satisfy specific boundary conditions (e.g., at $t=0$, the probability of being safe is 1). NeSO allows researchers to "lock" specific spline control points to satisfy these conditions exactly, ensuring the model's outputs are physically consistent by design.

Experimental Validation

The authors evaluated NeSO against two complex synthetic benchmarks to test its functional flexibility and scalability:

  • 1D Functional Dynamics: A system where dynamics are defined by varying combinations of sine waves with random amplitudes and frequencies. This benchmark tested the model's ability to generalize to entirely unseen functional forms.
  • 14D Multi-Agent System: A 7-agent mass-spring-damper system. To handle this high-dimensional state space, the authors employed a decomposition strategy, breaking the global safety probability into sub-system probabilities, demonstrating NeSO's utility in complex, multi-agent environments.

Key Results and Performance

NeSO demonstrates a transformative improvement over existing baselines in three key areas:

  • Computational Efficiency: In the 14-dimensional multi-agent test, NeSO achieved an 80x speedup over traditional PDE solvers and was over 100x faster than Monte Carlo sampling for online estimation.
  • High Accuracy: When compared to a standard Fourier Neural Operator (FNO) lacking the spline component, NeSO reduced the Mean Square Error (MSE) by over an order of magnitude (0.285 vs. 5.298) in functional dynamics tasks.
  • Zero-Shot Generalization: The model successfully predicted safety probabilities for multi-agent configurations it had never encountered during training. This confirms that NeSO learns the underlying physics "operator" rather than simply memorizing training data.

Furthermore, the authors provide a formal mathematical proof (Theorem 1) establishing that NeSO can approximate any continuous mapping between relevant Sobolev function spaces, providing a theoretical foundation for its empirical success.

Conclusion and Future Directions

Neural Spline Operators represent a significant advancement in risk quantification, combining the generalization power of Neural Operators with the mathematical rigor of B-splines. While NeSO effectively addresses the efficiency bottleneck of traditional solvers, some challenges remain. The "curse of dimensionality" still poses a hurdle for very high-dimensional coupled systems where decomposition is not straightforward. Additionally, while the current work assumes Gaussian noise, future iterations could expand to handle more complex, non-Gaussian stochastic processes.

By enabling rapid, accurate, and flexible safety assessments, NeSO paves the way for more resilient autonomous systems capable of navigating unpredictable, real-world environments.

Summary updated

BibTeX
@inproceedings{wang2025neural,
  author = {Zhuoyuan Wang and Raffaele Romagnoli and Kamyar Azizzadenesheli and Yorie Nakahira},
  title = {{Neural Spline Operators for Risk Quantification in Stochastic Systems}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312671},
}
Figure