Interactive Volume Visualization via Multi-Resolution Hash Encoding Based Neural Representation

Qi Wu, David R. Bauer, Michael J. Doyle, Kwan‐Liu Ma

TL;DR

This paper introduces a novel method for real-time, interactive volume visualization using neural representations. By combining multi-resolution hash encoding with efficient GPU acceleration and out-of-core training, they achieve high-fidelity rendering of massive datasets with significantly reduced training times and memory footprints, enabling online training and interactive exploration.

What Problem Does This Paper Address?

Visualizing large-scale, high-resolution volumetric data from scientific simulations and experiments is a significant challenge. Traditional methods often struggle with the sheer size of these datasets, leading to slow, non-interactive rendering. While implicit neural networks offer a promising avenue for compressing this data into compact representations, their high training and inference costs have historically limited them to offline processing. This paper aims to bridge this gap by enabling real-time, interactive visualization of these neural representations, even for terascale datasets, and by making the training process itself interactive and efficient.

Methods

The core of the proposed solution lies in several key innovations:

  • Multi-Resolution Hash Grid Encoding: Instead of traditional MLPs that map spatial coordinates directly to volume values, this method uses a hash grid encoding. This technique, inspired by NeRF, allows for efficient representation of high-frequency details by storing trainable parameters in a multi-resolution hash table. This significantly reduces the MLP size and accelerates training.
  • GPU Tensor Core Acceleration: Leveraging modern GPU tensor cores and a custom CUDA implementation of the Tiny-CUDA-NN framework, the authors achieve highly optimized training and inference speeds.
  • Sample Streaming Rendering: To enable real-time rendering, they developed a "sample streaming" technique. This method iteratively streams sample coordinates to the neural network for inference, allowing for interactive ray tracing with advanced global illumination effects like ray marching and path tracing. This is shown to be significantly faster than in-shader inference.
  • Out-of-Core Training: For extremely large datasets that exceed GPU memory, an efficient out-of-core sampling strategy is introduced. This method maintains a buffer of data in system memory and asynchronously streams it for training, decoupling data streaming from network training and regularizing data access patterns for better performance.
  • Online Training: Remarkably, the authors demonstrate that the entire training step can fit within a rendering loop, enabling "online training." This means users can visualize the training progress in real-time, allowing for interactive debugging and exploration of datasets.
  • Macro-Cell Optimization: To further accelerate rendering, a macro-cell acceleration structure is employed. This structure partitions the volume into macro-cells and stores pre-computed value ranges and maximum opacities, allowing the renderer to quickly skip transparent regions and reduce the number of neural network inferences.

Datasets

The paper evaluates their method on a variety of datasets, including:

  • RM-T60
  • Skull
  • 1atmTemp
  • 10atmTemp
  • 1atmHR
  • 10atmHR
  • Chameleon
  • MechHand
  • SuperNova
  • Instability
  • PigHeart
  • DNS (double precision)
  • PH-LDR (PigHeart Low Dynamic Range)

The DNS dataset is highlighted as an example of an extreme-scale dataset (950GB on disk) that their out-of-core method can handle.

Key Insights and Ideas

  • Interactive Training is Possible: The most striking insight is that training a neural representation for volume visualization can be done interactively, fitting within a rendering loop. This fundamentally changes how users can explore and refine models.
  • Hash Grids are Key for Efficiency: The multi-resolution hash grid encoding is crucial for both reducing model size and accelerating training, outperforming other encoding methods in terms of reconstruction quality and training time.
  • Sample Streaming Outperforms In-Shader: The sample streaming rendering approach offers a significant speedup over in-shader inference, making real-time interactive rendering feasible.
  • Out-of-Core Training Scales to Terabytes: The proposed out-of-core training strategy effectively handles datasets that are orders of magnitude larger than available GPU memory, opening up visualization of previously intractable data.
  • Online Macro-Cell Construction Works: The ability to construct macro-cell value ranges online during training, rather than pre-computing them, maintains good rendering quality while enabling interactive training.

Key Results

  • Compression: Achieved compression ratios of up to three orders of magnitude (10-1000x) compared to original data.
  • Quality: Reached peak signal-to-noise ratios (PSNR) exceeding 30 dB, with some datasets achieving over 40 dB.
  • Speed:
    • Sample streaming rendering achieved up to 60 fps.
  • Out-of-core training was demonstrated to be over 10x faster than virtual memory implementations.
  • Macro-cell optimization provided speedups of 2-10x for in-shader methods and up to 40x for sample streaming.
  • Training Time: Significantly reduced training times compared to state-of-the-art methods like fV-SRN.
  • Scalability: Demonstrated successful training of terascale datasets on a single workstation.

Limitations and Future Work

  • Distributed Data: The current method does not directly support distributed data, which is common in scientific simulations. Extending the method to handle distributed and multi-resolution data structures is a key future direction.
  • Other Visualization Methods: While the method is designed for direct volume rendering, exploring its application to other visualization techniques like isosurfaces is suggested.
  • Understanding Learned Knowledge: Further research is needed to understand the knowledge learned by the hash-table encoding and its potential use as a macro-cell grid or latent representation.
  • Adaptive Sampling: Investigating how advanced optimization techniques like adaptive sampling can improve data reconstruction quality when the neural representation is limited in size is a promising avenue.
  • Online Training Potential: The authors believe the potential of online training in scientific visualization is not yet fully explored and warrants further investigation.

Summary updated

BibTeX
@article{wu2023interactive,
  author = {Qi Wu and David R. Bauer and Michael J. Doyle and Kwan‐Liu Ma},
  title = {{Interactive Volume Visualization via Multi-Resolution Hash Encoding Based Neural Representation}},
  journal = {IEEE Transactions on Visualization and Computer Graphics},
  year = {2023},
  doi = {10.1109/tvcg.2023.3293121},
}

Loading related content...

Figure