TL;DR
This paper introduces a novel method for compressing large volumetric scalar fields by representing them as implicit neural networks. This approach achieves state-of-the-art compression ratios while preserving essential visual features, offering a more efficient way to store and process scientific data.
What Problem Does This Paper Address?
Visualizing and analyzing large-scale volumetric scalar fields, common in scientific simulations, presents significant challenges due to their massive data sizes. This leads to issues with storage, bandwidth, accessibility, and interactivity. While lossy compression methods are crucial for enabling analysis, existing techniques often rely on specific assumptions about the data (e.g., smoothness, spectral properties) which can limit their effectiveness and lead to artifacts, especially at high compression ratios. The paper aims to develop a more general and robust compression method that can handle diverse volumetric data without strong prior assumptions.
Methods
The core of the proposed method, dubbed "neurcomp," is to represent a volumetric scalar field as a learned function using an implicit neural representation. Specifically, a neural network is trained to map a 3D coordinate (x, y, z) to the scalar value at that point in the field. The key to compression lies in limiting the network's capacity: the number of network weights is intentionally kept smaller than the total number of data points in the original volume. This frames compression as a function approximation problem.
The neural network architecture is based on SIREN (Sinusoidal Representation Networks), which uses fully-connected layers with sinusoidal activation functions. This choice is motivated by their ability to represent continuous functions and their C∞ differentiability, which is beneficial for tasks like gradient preservation. To further enhance compression and robustness, the authors incorporate:
- Weight Quantization: Intermediate layer weights are quantized to a small number of bits (9 bits were found to be optimal) to reduce storage requirements, with minimal impact on performance.
- Residual Connections: These are added to improve training stability and performance across different network depths.
- Gradient Regularization: The loss function is augmented to encourage the network's spatial gradients to match the target field's gradients. This helps preserve important features like isosurface normals and reduces high-frequency noise.
The "encoding" process involves training this neural network, and the "decoding" process is simply evaluating the trained network at desired coordinates, allowing for on-demand reconstruction or direct use in applications like volume rendering.
Datasets
The paper evaluates its method on a variety of volumetric scalar fields from scientific simulations, including:
- Johns Hopkins Turbulence Database (JHTD):
mhd_p(pressure field),mhd_bx(x-coordinate magnetic field), andisotropic_p(pressure field from forced isotropic turbulence). - Ionization Volume: Temperature field from an ionization front instability simulation.
- Jet Volume: Mixture fraction from a simulation of jet flames.
- Magnetic Volume: From a magnetic reconnection simulation.
- Rayleigh-Taylor Instability (rt) Volume.
- Time-varying Datasets:
isabel(hurricane Isabel's "QVapor" field) andasteroid(deep water asteroid impact simulation).
These datasets cover diverse physical phenomena and resolutions, allowing for a comprehensive evaluation of the compression method.
Key Insights and Ideas
- Neural Networks as Compressed Representations: The fundamental idea that a neural network's weights can be the compressed representation of a scalar field is powerful. This shifts the paradigm from traditional transform-based compression to function approximation.
- Implicit Representations for Compression: Implicit neural representations, which map coordinates to values, are surprisingly effective for compression. Their continuous nature and ability to represent fine details without being tied to grid resolution are key advantages.
- SIREN's Suitability: The choice of SIREN architecture, with its periodic activations, proves beneficial not only for smooth function representation but also for enabling gradient regularization, which is crucial for preserving visual fidelity.
- Quantization Trade-offs: While weight quantization is essential for high compression, finding the right balance (e.g., 9 bits) is critical to avoid significant performance degradation. The paper demonstrates that this balance can be found empirically.
- Gradient Regularization for Visual Quality: Explicitly optimizing for gradient preservation significantly improves the visual quality of reconstructed isosurfaces, reducing noise and artifacts that plague other methods at high compression.
- Direct Neural Rendering: The trained neural network can be used directly for volume rendering without explicit reconstruction, enabling efficient on-demand evaluation during ray marching.
Key Results
- State-of-the-Art Compression: The proposed method, "neurcomp," generally outperforms the state-of-the-art compression technique tthresh [BRLP19] across various datasets and compression ratios, especially at higher compression levels.
- High Compression Ratios: The method achieves compression ratios ranging from hundreds to over a thousand to one, while maintaining visually perceptible features. For example, the
rtdataset was compressed by 2151:1 with a PSNR of 36.6 dB. - Improved Visual Quality: At high compression ratios, neurcomp gracefully degrades, producing smoother surfaces and preserving features better than tthresh, which tends to reproduce high-frequency noise.
- Gradient Preservation: Gradient regularization leads to a small decrease in scalar field PSNR but a significant improvement in gradient PSNR, resulting in visually superior isosurfaces.
- Time-Varying Data: The method demonstrates comparable or superior performance to tthresh for time-varying datasets, showing stability across time steps.
- Resolution Independence: The network's capacity is not strictly tied to spatial resolution, meaning it can capture dominant features even for larger volumes with the same network size-to-volume ratio.
Limitations and Future Work
- High Training Time: The primary limitation is the significant computation time required for training the neural networks. This makes it less suitable for interactive compression scenarios but potentially viable for large-scale simulations on supercomputers.
- Lack of Generalization (Per-Volume): The learned function is specific to a single volume. While this specificity contributes to high performance, the authors suggest future work could explore incorporating multiple fields or simulation parameters into the network design for broader generalization.
- Handling Noise: The method struggles with noisy volumes (e.g., from medical imaging) as it's challenging to preserve noise itself, and noise can interfere with gradient regularization. Future work could explore higher-order numerical schemes or other differential expressions for regularization.
The authors are optimistic about the future of neural networks for scientific data compression, highlighting their flexibility in designing constraints for data preservation and their potential to better preserve the underlying physics of simulations.
Summary updated