Estimating parameters for complex dynamical systems, such as climate and weather models, is notoriously slow. The standard approach requires running computationally heavy simulators thousands of times to match observed data. This paper introduces EMBED & EMULATE, a novel contrastive learning framework that jointly learns to embed high-dimensional dynamics and emulate them in a low-dimensional space. The result is a system that achieves superior accuracy and uncertainty quantification at just ~1% of the computational cost of traditional methods.
The Bottleneck in Inverse Problems
In fields like climate science and engineering, researchers rely on "black-box" simulators to model complex systems. A major challenge is the inverse problem: given observed data (e.g., a time series of atmospheric pressure), what underlying parameters generated it?
Standard derivative-free approaches, such as Ensemble Kalman Inversion (EnKI), require running an expensive simulator for every "particle" in an ensemble across many iterations. Furthermore, these methods typically rely on expert-defined "summary statistics" to compare simulations to observations. If these hand-picked statistics are suboptimal, the resulting parameter estimates will be biased. The authors aim to eliminate both the need for expert-defined statistics and the massive computational overhead of running full-scale simulators during the estimation loop.
The EMBED & EMULATE Framework
To bypass these bottlenecks, the authors propose a framework consisting of two neural networks trained jointly:
- Trajectory Encoder ($f_\theta$): Maps high-dimensional, multichannel time series data into a low-dimensional embedding space (specifically, a unit hypersphere).
- Emulator ($\hat{g}_\theta$): Maps a candidate parameter vector directly to that same low-dimensional embedding space.
Key Methodological Innovations
- Contrastive Learning (CLIP-style): Instead of training the emulator to reconstruct massive raw data—a difficult and noisy task—the authors utilize an InfoNCE loss to "align" the embeddings. This pulls the representation of a parameter set and its corresponding trajectory together while pushing unrelated pairs apart.
- Intra-domain Contrastive Loss: Additional losses ensure that similar parameters result in similar embeddings, and similar trajectories do the same, preserving the underlying manifold structure of the data.
- Regression Head: A simple linear layer maps embeddings back to parameters. This acts as a regularizer, ensuring the learned embedding maintains a functional relationship with the parameters.
- EnKI Integration: Once trained, the fast neural emulator ($\hat{g}_\theta$) replaces the slow numerical simulator in the EnKI loop. This allows for rapid parameter estimation with full uncertainty quantification (posterior distributions).
Key Insights: Alignment over Reconstruction
A core insight of this work is that you do not need to emulate the entire high-dimensional trajectory to estimate parameters. Emulating a "distilled" version (the embedding) is much easier for a neural network to learn, especially with limited data.
By focusing on aligning parameters with dynamics via contrastive learning rather than reconstructing the dynamics via Mean Squared Error (MSE) loss, the model becomes significantly more robust to the chaotic nature of dynamical systems, where tiny changes in initial conditions can lead to vastly different raw outputs.
Performance and Results
The primary benchmark used to evaluate the framework is the multiscale Lorenz 96 (L96) system, a 396-dimensional system designed to mimic atmospheric turbulence. The models were trained on small datasets (500 to 1,000 samples) and tested on 200 unseen instances.
- Massive Speedup: The total time for training and testing EMBED & EMULATE was only 1.19% of the time required by the baseline EnKI method using a classical numerical solver (Runge-Kutta). As shown in the table above, total time dropped from 5.5 days to roughly 1.5 hours.
- Superior Accuracy: On the L96 system, the proposed method achieved a lower Mean Absolute Percentage Error (MAPE) than standard EnKI, Supervised Regression, and other Simulation-Based Inference (SBI) methods like NPE-C and SNL+.
- Better Uncertainty Quantification: Using the Continuous Ranked Probability Score (CRPS), the authors demonstrated that their method provides more reliable "error bars" (uncertainty estimates) than competing neural methods.
- Noise Robustness: The method remained stable even when significant observation noise was added, whereas traditional moment-based methods saw their posterior distributions degrade.
Limitations and Future Work
The method relies on a bijectivity assumption; it works best when the mapping from parameters to dynamics is mostly one-to-one. If many different parameter sets produce identical dynamics, the contrastive loss may struggle to align them properly.
Looking forward, while this paper focuses on EnKI, the learned emulator could theoretically be plugged into other Bayesian inference frameworks like MCMC. The ultimate next step is scaling this approach to full-scale, operational Earth System Models (ESMs) used in actual climate forecasting, which present an even greater dimensional challenge than the L96 system.
Summary updated