Time-Series Forecasting, Knowledge Distillation, and Refinement within a Multimodal PDE Foundation Model

Derek Jollie, Jingmin Sun, Zecheng Zhang, Hayden SchaefferarXiv 2024 · DOI

This paper presents an evolution of multimodal "foundation models" for physical systems, specifically focusing on improving how neural networks understand and predict partial differential equations (PDEs). By automating the translation of equations into machine-readable tokens and adding a "refinement" step based on classical Bayesian filtering, the authors make these models both more flexible and more accurate.

Introduction

Deep Neural Operators (DNOs) have become a cornerstone of Scientific Machine Learning (SciML), allowing for the rapid solution of complex physical systems. However, most DNOs suffer from a lack of generalization, typically being trained to solve one specific operator or equation at a time. To address this, multimodal models like PROSE were developed to take both raw data and symbolic representations of equations as inputs.

Despite their promise, these symbolic inputs are often brittle; mathematically identical equations (e.g., $u_t + u u_x = 0$ vs. $u_t = -u u_x$) can be treated as different inputs if not manually standardized. This paper introduces an automated symbolic encoding method and a Bayesian refinement process to overcome these limitations.

Methodology

The authors introduce two major technical contributions to the PROSE framework: automated SymPy tree encoding and Bayesian particle filter refinement.

The overall architecture of the multimodal PDE foundation model, featuring data and symbol encoders, a fusion module, and a partial filter for refinement.

SymPy Tree Encoding

Instead of manual formatting, the authors leverage the SymPy library to automatically simplify and unify mathematical expressions. This converts any valid mathematical string into a standardized "SymPy tree," which is then flattened into a sequence of tokens. This makes the model invariant to the order of terms and more robust to different notation styles, bridging the gap between human notation and machine tokens.

Bayesian Particle Filter Refinement

Even when a model correctly identifies the structure of an equation, it may struggle with exact numerical coefficients. The authors add a Sequential Monte Carlo (SMC) particle filter as a post-processing step. This module treats predicted coefficients as a distribution, runs steps of a numerical solver, and "nudges" the coefficients to better match the observed data.

Detailed workflow of the Bayesian Particle Filter refinement, illustrating the transition from initial guess to posterior belief through process noise and solver integration.

Datasets and Experiments

The study utilizes a large-scale dataset of 1D conservation laws, including six families of equations such as Inviscid/Viscous Burgers’ and conservation laws with cubic and sine fluxes. The dataset consists of 153.6K separate equations for training and 30.72K for testing, featuring randomized parameters and initial conditions to test the limits of symbolic reordering and noise.

Key Results and Insights

  • Superior Accuracy: The automated SymPy tree method achieved a 1.42% relative $L^2$ error, outperforming the manual "PROSE Tree" method (2.18%) on noise-free data.
  • Robustness to Input Variation: When terms in the testing equations were randomly rearranged, the SymPy-based model remained stable, whereas the original PROSE model's error spiked.
  • Refinement Gains: The particle filter significantly improved results across the board. For equations with sine flux, the filter reduced symbolic error from 0.50% to 0.29% and time-series prediction error from 3.94% to 2.22%.
  • Hybrid Intelligence: The paper demonstrates that neural networks can handle the "heavy lifting" of identifying equation structure, while classical statistical tools like particle filters can handle precision tuning.

Limitations and Future Work

The primary limitation is computational overhead; SymPy tree generation increased training time from 3 hours to 11.5 hours. Additionally, the current work is focused on 1D systems. Extending this to 2D or 3D spatiotemporal systems will introduce significantly more complex symbolic trees and higher computational costs for the refinement step. Future directions include exploring alternative refinement techniques to produce even more stable long-term predictions for chaotic systems.

Summary updated

BibTeX
@misc{jollie2024time,
  author = {Derek Jollie and Jingmin Sun and Zecheng Zhang and Hayden Schaeffer},
  title = {{Time-Series Forecasting, Knowledge Distillation, and Refinement within a Multimodal PDE Foundation Model}},
  year = {2024},
  eprint = {2409.11609},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.11609},
}
Figure