Abstract
Neural networks have shown great potential in compressing volume data for visualization. However, due to the high cost of training and inference, such volumetric neural representations have thus far only been applied to offline data processing and non-interactive rendering. In this paper, we demonstrate that by simultaneously leveraging modern GPU tensor cores, a native CUDA neural network framework, and a well-designed rendering algorithm with macro-cell acceleration, we can interactively ray trace volumetric neural representations (10-60fps). Our neural representations are also high-fidelity (PSNR > 30dB) and compact (10-1000x smaller). Additionally, we show that it is possible to fit the entire training step inside a rendering loop and skip the pre-training process completely. To support extreme-scale volume data, we also develop an efficient out-of-core training strategy, which allows our volumetric neural representation training to potentially scale up to terascale using only an NVIDIA RTX 3090 workstation.
Introduction
Visualizing massive scientific datasets—such as climate simulations or high-resolution medical scans—traditionally forces a compromise between high fidelity, interactive speeds, and low memory footprint. Modern simulations generate terascale data that exceeds the capacity of GPU VRAM and even system memory. While Implicit Neural Representations (INRs) offer a promising path for compression by mapping coordinates to data values, standard Multi-Layer Perceptrons (MLPs) are often too slow for real-time ray tracing.
This work introduces a system that achieves real-time ray tracing of terascale datasets on a single consumer GPU. By combining multi-resolution hash encoding with a novel "sample streaming" architecture, the researchers enable high-fidelity (30dB+ PSNR) interactive rendering at up to 60 FPS, supporting "online training" where the model learns the data during active visualization.
Methodology
The system's performance stems from three architectural pillars: multi-resolution hash encoding, sample streaming rendering, and out-of-core training.
Multi-Resolution Hash Encoding
Instead of a memory-intensive dense grid, the system utilizes a hash table to store trainable features across multiple resolutions. This allows the network to capture high-frequency details with a minimal memory footprint, significantly accelerating convergence compared to traditional coordinate-based MLPs.
Sample Streaming Rendering
A core innovation is the "sample streaming" approach. Standard "in-shader" inference is often inefficient as it fails to fully utilize GPU tensor cores. The proposed architecture uses a "wavefront" approach: the ray tracing loop is interrupted to batch thousands of sample coordinates. These are processed simultaneously through the neural network using optimized frameworks like Tiny-CUDA-NN, and the results are streamed back to the shader for final rendering.
Out-of-Core Training
To handle datasets exceeding physical memory, the researchers implemented a "random block buffer" strategy. The system streams small 64KB blocks from an NVMe SSD into a shuffle buffer, ensuring the neural network receives a representative, randomized subset of the terascale volume during training.
Experimental Results
The method was evaluated on diverse benchmarks, including standard volumes (Skull, Chameleon), scientific simulations (Flame, SuperNova), and extreme-scale data like the 0.95 TB DNS turbulent flow volume.
Performance and Fidelity
The system achieves rendering speeds 3–8x faster than previous in-shader neural methods, reaching interactive rates even with advanced global illumination. Compression ratios range from 10x to 1,000x. For the nearly 1 TB DNS dataset, the representation fits into a manageable size while maintaining high fidelity (PSNR > 30 dB).
Online Training Adaptivity
A key finding is the viability of online training. Due to the rapid convergence of hash encoding, users can start rendering immediately. The visualization begins at a lower resolution and sharpens into high fidelity within seconds as the model trains in the background.
Discussion and Conclusion
The proposed system demonstrates that neural representations can scale to terascale data on a single-GPU workstation. Key insights include the superiority of neural interpolation over standard trilinear methods and the continued importance of spatial acceleration structures (macro-cells), which provided up to a 40x speedup.
Future work includes extending the representation to multivariate data (e.g., simultaneous temperature and pressure) and developing distributed support for exascale datasets. Additionally, improving the extraction of sharp isosurfaces from these neural representations remains an open challenge.
Reference: Wu, Q., Bauer, D., Doyle, M. J., & Ma, K.-L. (2023). Interactive Volume Visualization via Multi-Resolution Hash Encoding based Neural Representation. arXiv:2207.11620v3 [cs.GR].
Summary updated