Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control

Urban Fasel, J. Nathan Kutz, Bingni W. Brunton, Steven L. Brunton · DOI

Abstract: Sparse model identification enables the discovery of nonlinear dynamical systems purely from data; however, this approach is sensitive to noise, especially in the low-data limit. In this work, we leverage the statistical approach of bootstrap aggregating (bagging) to robustify the sparse identification of the nonlinear dynamics (SINDy) algorithm. First, an ensemble of SINDy models is identified from subsets of limited and noisy data. The aggregate model statistics are then used to produce inclusion probabilities of the candidate functions, which enables uncertainty quantification and probabilistic forecasts. We apply this ensemble-SINDy (E-SINDy) algorithm to several synthetic and real-world datasets and demonstrate substantial improvements to the accuracy and robustness of model discovery from extremely noisy and limited data. For example, E-SINDy uncovers partial differential equations models from data with more than twice as much measurement noise as has been previously reported. Similarly, E-SINDy learns the Lotka Volterra dynamics from remarkably limited data of yearly lynx and hare pelts collected from 1900 to 1920. E-SINDy is computationally efficient, with similar scaling as standard SINDy. Finally, we show that ensemble statistics from E-SINDy can be exploited for active learning and improved model predictive control.

Introduction

In the quest to find mathematical equations (like $F=ma$) directly from experimental data, the Sparse Identification of Nonlinear Dynamics (SINDy) algorithm has emerged as a powerful tool. By identifying the simplest combination of functions from a library that explains observed motion, SINDy uncovers the underlying physics of a system. However, standard SINDy faces two critical challenges: extreme sensitivity to noise and failure in data-scarce regimes. Calculating derivatives from noisy data often leads to amplified errors, causing the algorithm to "hallucinate" incorrect terms. Furthermore, when only a few snapshots of a system are available, optimization often fails to converge on the true physics.

Researchers at the University of Washington have introduced Ensemble-SINDy (E-SINDy) to address these canonical failure points. By integrating "bagging" techniques from classical statistics, E-SINDy robustifies model discovery, making it viable for messy, real-world datasets such as ecological records or high-noise fluid simulations.

Methodology: The E-SINDy Framework

The core innovation of E-SINDy is the application of Bootstrap Aggregating (Bagging) to the sparse regression process. Instead of training a single model on the entire dataset, the framework creates an ensemble of $q$ models, each trained on a random subset of the data sampled with replacement.

Overview of the Ensemble-SINDy (E-SINDy) framework, showing the transition from noisy data to an aggregated ensemble model.

Key Components of the Ensemble Approach:

  • b(r)agging E-SINDy: Models are aggregated using either the mean (bagging) or the median (bragging). Bragging has proven particularly robust against extreme outliers or heavy-tailed noise.
  • Library Bagging: In addition to data bootstrapping, the algorithm can subsample the library of candidate functions. This identifies which terms are truly essential across different "views" of the problem.
  • Inclusion Probabilities: This metric quantifies the likelihood that a candidate term is part of the true physics. If a term appears in 95% of the ensemble models, it has a high inclusion probability; if it appears in only 5%, it is likely a noise-induced artifact.
  • Weak Formulation: For Partial Differential Equations (PDEs), ensembling is combined with the "weak form"—integrating equations over small volumes—to further dampen noise and improve stability.

Results and Uncertainty Quantification

E-SINDy provides built-in uncertainty quantification by producing a distribution of coefficients rather than a single point estimate. This allows researchers to establish "error bars" for discovered physics, indicating how much trust to place in a specific equation.

Uncertainty in coefficients, inclusion probabilities, and the impact of ensemble size on forecasting accuracy.

Performance Highlights:

  • High Noise Tolerance: For PDEs, E-SINDy identified correct equations with over twice the measurement noise previously reported, handling up to 100% noise levels in specific cases.
  • Extreme Data Scarcity: The algorithm successfully identified Lotka-Volterra (predator-prey) dynamics from the famous Hudson Bay Company lynx and hare pelt data (1900–1920). Despite having only 21 data points, E-SINDy provided probabilistic forecasts that outperformed standard SINDy.
  • Active Learning: The variance within the ensemble can act as a compass for data collection. By identifying regions of the phase space where models disagree most, researchers can target those areas for new experiments, drastically increasing data efficiency.
  • Improved Control: In Model Predictive Control (MPC) applications, E-SINDy models led to significantly lower cost functions in low-data regimes, providing better real-time stabilization for chaotic systems like the Lorenz attractor.

Conclusion and Future Directions

E-SINDy represents a significant upgrade to automated model discovery, offering a computationally efficient path to finding governing equations in challenging environments. While it remains dependent on the quality of the initial function library, its ability to quantify uncertainty and guide active learning opens new doors for data-driven physics.

Future work aims to integrate E-SINDy with deep learning architectures, such as SINDy-autoencoders, to simultaneously discover optimal coordinates and dynamics within an ensemble framework. Additionally, the researchers are exploring task-agnostic models for more robust reinforcement learning applications.

Summary updated

BibTeX
@inproceedings{fasel2022ensemble,
  author = {Urban Fasel and J. Nathan Kutz and Bingni W. Brunton and Steven L. Brunton},
  title = {{Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control}},
  booktitle = {Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences},
  year = {2022},
  doi = {10.1098/rspa.2021.0904},
}
Figure