In Situ Training of Implicit Neural Compressors for Scientific Simulations via Sketch-Based Regularization
Cooper Simpson, Stephen Becker, Alireza Doostan
TL;DR
This work tackles the challenge of compressing and storing data from large-scale simulations in situ by leveraging implicit neural representations (INRs) paired with a time-aware hypernetwork. A sketch-based regularization, justified via a Johnson-Lindenstrauss-type argument, mitigates catastrophic forgetting while enabling high compression rates on unstructured meshes. The authors provide theoretical bounds showing that the sketch loss serves as a surrogate to the full loss and demonstrate empirically that in situ training with FJLT sketching closely matches offline performance across multiple datasets, with a memory-efficient buffer design (full snapshots $T_f=1$ and sketch snapshots $T_s=T-1$). They further discuss extensions to more sketching strategies, adaptive buffering, and physics-informed objectives, highlighting practical pathways to deploy neural compression in distributed, real-time simulations.
Abstract
Focusing on implicit neural representations, we present a novel in situ training protocol that employs limited memory buffers of full and sketched data samples, where the sketched data are leveraged to prevent catastrophic forgetting. The theoretical motivation for our use of sketching as a regularizer is presented via a simple Johnson-Lindenstrauss-informed result. While our methods may be of wider interest in the field of continual learning, we specifically target in situ neural compression using implicit neural representation-based hypernetworks. We evaluate our method on a variety of complex simulation data in two and three dimensions, over long time horizons, and across unstructured grids and non-Cartesian geometries. On these tasks, we show strong reconstruction performance at high compression rates. Most importantly, we demonstrate that sketching enables the presented in situ scheme to approximately match the performance of the equivalent offline method.
