Introduction
Modern scientific simulations generate data at scales that exceed storage capacities. Implicit Neural Representations (INRs) offer a promising solution by compressing data into neural network weights. However, training these models in situ (during the simulation) often leads to "catastrophic forgetting." This paper introduces a novel training protocol using sketch-based regularization to enable high-fidelity in situ compression that matches offline performance.
Addressing the Bottleneck of In Situ Training
High-fidelity simulations in fields like climate science and fluid dynamics produce massive datasets. Saving every time step is often impossible, necessitating on-the-fly compression. INRs represent data as continuous functions, but training them in a streaming fashion—where the model sees time steps sequentially—typically causes the network to forget earlier states. While "replay buffers" are a common fix in machine learning, they require storing historical data, which defeats the purpose of compression in memory-constrained simulation environments.
Methodology: Sketch-Based Regularization and Hypernetworks
The authors propose a dual-strategy approach to solve the forgetting problem without significant memory overhead:
- Hypernetworks: Instead of a single static network, a hypernetwork maps time coordinates to the weights of a target INR. This architecture better handles the multi-task nature of temporal data.
- Sketching as a Regularizer: The core innovation is the use of "sketches"—mathematically compressed versions of historical data snapshots created via randomized dimensionality reduction (e.g., Fast Johnson-Lindenstrauss Transform).
- Surrogate Loss: By maintaining a small buffer of these sketches, the system can optimize the current time step while ensuring the model remains consistent with historical data. The authors provide a theoretical proof that the loss calculated on sketched data serves as a valid surrogate for the true loss on the full historical dataset.
Experimental Datasets
The method was evaluated across three distinct scientific domains: the Ignition 2D gas wave front simulation, the Neuron 3D diffusion process on an unstructured branching tree, and the Channel 3D turbulent flow data.
Key Results and Insights
The proposed protocol achieves a major milestone: in situ training performance that is nearly indistinguishable from "offline" training, where the model has access to the entire dataset simultaneously.
- High Compression Ratios: The models achieved compression rates between 142× and 1,882×.
- Low Reconstruction Error: Relative Frobenius Error (RFE) typically remained between 0.5% and 5%, maintaining the scientific integrity of the data.
- Robustness to Geometry: While simple subsampling fails on complex meshes like the "Neuron" dataset, the FJLT-based sketching "mixes" data before sampling, ensuring stability regardless of the underlying grid structure.
Conclusion
By leveraging hypernetworks and sketch-based regularization, this work provides a memory-efficient path for in situ neural data compression. Future work will focus on incorporating physical constraints (e.g., conservation laws) into the loss function and scaling the training process for massively parallel distributed environments.
Summary updated