TL;DR
Reconstructing diverse, unrelated dynamical systems from sparse data is a major bottleneck for building scientific foundational models. This paper introduces MixER (Mixture of Expert Reconstructors), a novel sparse top-1 Mixture of Experts layer that replaces unstable gradient-based routing with an unsupervised $K$-means and least-squares routing protocol. MixER successfully untangles and learns multiple independent families of ordinary differential equations (ODEs) simultaneously, paving the way for more generalized scientific AI.
What Problem Does This Paper Address?
Dynamical System Reconstruction (DSR) focuses on learning the underlying physical laws (like differential equations) directly from observed time-series data. While modern meta-learning approaches excel at adapting to variations within a single system family (e.g., a pendulum with varying lengths), they break down when forced to learn across multiple, unrelated system families simultaneously.
While Mixture of Experts (MoE) architectures seem like a natural fit to handle this structural diversity, standard MoEs fail here. Their gradient-descent-based gating mechanisms suffer from slow updates and routing conflicts, frequently collapsing to a state where a single expert is forced to handle all data, destroying the benefits of specialization.
Methods
The authors propose MixER (Mixture of Expert Reconstructors), which introduces two key architectural innovations to fix MoE routing for dynamical systems:
- Context-Based Routing: Instead of routing based on individual, pointwise state inputs ($x_t$), MixER routes data using environment-specific context vectors ($\xi$). A single snapshot of a system doesn't tell you its global family, but its context vector does.
- Discrete Gating via $K$-Means & Least Squares: To avoid the pitfalls of gradient-based gating updates, MixER uses an explicit, unsupervised optimization loop. It clusters the context vectors using $K$-means, pairs clusters with the best-performing experts based on validation loss, and solves a least-squares problem to directly update the gating network's weights.
Datasets
The framework was evaluated across a diverse set of synthetic and real-world benchmarks:
- ODEBench (2, 10A, and 10B): Subsets extracted and modified from the standard ODEBench benchmark, scaling from 2 to 10 distinct parametric ODE families (e.g., Harmonic Oscillators, Van der Pol oscillators, Duffing equations) with up to 160 total environments.
- Classical DSR Benchmarks: Lotka-Volterra (LV), Glycolytic Oscillator (GO), and the Sel’kov Model (SM).
- Time Series Classification: Synthetic Control Chart Time Series (SCCTS) and Epilepsy2 (real-world neuroscientific EEG data).
Key Insights and Ideas
- Gating Collapse in Naive MoEs: The authors show that vanilla MoEs update too slowly during DSR training, causing the router to lazily assign all environments to a single expert, leading to poor generalization.
- The Double-Edged Sword of Partitioning: MixER works by cleanly segmenting the data space so experts can specialize. However, if the dataset consists of highly related systems that share underlying physics (like the classical DSR benchmarks), this partitioning actually hurts performance. Restricting an expert's exposure to only a fraction of a highly related dataset prevents it from learning shared global dynamics.
- Structure Matters: MixER's ability to generate high-quality, interpretable contextual representations is strictly tied to the presence of clear, hierarchical boundaries in the data.
Key Results
- Overcoming Gating Deadlocks: On the ODEBench-2 dataset, naive MoEs failed to specialize. MixER successfully routed separate families to separate experts, dropping the Relative $L^2$ error from over $1.0$ down to 0.045 for CoDA and 0.142 for GEPS backbones.
- Scalability: MixER successfully scaled to handle 10 distinct parametric ODE families simultaneously (ODEBench-10A/B), outperforming single-expert baselines on training evaluation sets.
- Downstream Interpretability: When tested on the SCCTS classification dataset, the unsupervised clusters formed by MixER's routing mechanism cleanly aligned with the ground-truth system families, outperforming standard vanilla $K$-means.
Limitations and Future Work
- High-Data, Low-Hierarchy Regimes: MixER underperforms state-of-the-art flat meta-learners when applied to datasets that are ambiguous or tightly interconnected (such as noisy neuroscientific EEG data or closely related physics problems).
- Computational Overhead: Because MixER evaluates multiple experts during its routing optimization phase, all experts must be held in memory simultaneously, increasing the hardware footprint compared to single meta-learners.
- Future Directions: The authors suggest exploring MixER for continual learning scenarios (since cluster-expert pairings shift dynamically during training) and mixing experts of entirely different neural architectures.
Summary updated