PhysSAE: Mechanistic Interpretability of PINNs with Sparse Autoencoders
Abstract
Physics-informed neural networks (PINNs) solve PDEs by minimising the equation residual, yet what their hidden layers represent is largely unknown. We present PhysSAE, which trains sparse autoencoders (SAEs) on PINN activations, aligns the learned atoms with physical fields computed from independent reference solutions, and tests them by editing the frozen network's hidden state. Across 12 PDEs and 36 PINNs, atoms form readable shock, interface, soliton and front features (best |r| up to 0.98), and removing an atom changes the solution mostly where its concept lives. Comparing every statistic with untrained networks and with PINNs trained on other equations shows that trained PINNs encode the individual terms of their own PDE operator. A pre-registered test on three unseen equations confirmed all five predictions (Burgers diffusion term: probe against for the null networks). PINNs that fail to train lose this structure, which makes PhysSAE a diagnostic of what a PINN has learned.
Create a lesson
Metadata
- Categories
- cs.LG, physics.comp-ph
- Comments
- 27 pages, 10 figures, 17 tables
Related papers
A Time Series is Worth 24 Features: Reading Time Series Shapes with Sparse Autoencoders
Shared title terminologycs.LGIlya Kuleshov, Artyom Sabitov, Alexey Zaytsev
Learning interpretable Schur forms of recurrent weight matrices
Shared title terminologycs.LGAlexander Lanine, Liana Akobian, N Alex Cayco-Gajic
Interpretable generative graph attention for representation learning and reconstruction of multimodal neuroimaging data
Shared title terminologycs.LGMeenu Ajith, Ishaan Batta, Vince Calhoun
PickPack: Scaling Context Extension To Millions Of Tokens With Sparse Attention
Shared title terminologycs.LGKumar Krishna Agrawal, Vihaan Thaker, Keshaw Ranjan et al.
TrajRoformer: Learning-based Sparse Trajectory Recovery without Dense Training Data
Shared title terminologycs.LGYan Lin, Liwei Deng, Jilin Hu et al.
Distribution-Consistent Inference for Dynamic Sparse Mixture-of-Experts
Shared title terminologycs.LGDohyeon Kim, Bedionita Soro, Sung Ju Hwang