FlexNeRFer: A Multi-Dataflow, Adaptive Sparsity-Aware Accelerator for On-Device NeRF Rendering

Seock-Hwan Noh, Banseok Shin, Jeik Choi, Seungpyo Lee, Jaeha Kung, Yeseong Kim

FlexNeRFer: Bringing Photorealistic 3D Worlds to Your AR Glasses

TL;DR

FlexNeRFer is a versatile, energy-efficient hardware accelerator designed to make real-time Neural Radiance Fields (NeRF) rendering a reality on mobile devices. By combining a bit-scalable MAC array with a flexible network-on-chip that adapts to varying dataflows and sparsity, it achieves up to 243x speedup and 520x better energy efficiency than a desktop GPU.

What Problem Does This Paper Address?

Neural Radiance Fields (NeRF) have revolutionized 3D scene reconstruction, allowing us to generate incredibly realistic novel views from a few 2D images. However, NeRF is a computational beast. To run it in real-time for applications like AR/VR glasses, we need hardware that fits within a tiny power envelope (under 10W) and a small physical footprint (less than 100mm²).

Current solutions fall short:

  1. GPUs are too power-hungry and bulky for portable devices.
  2. Existing Accelerators are often "one-trick ponies," optimized for a single NeRF variant (like Instant-NGP) but failing when faced with the diverse architectures (MLPs, CNNs, Transformers) and data types (4-bit to 16-bit precision) used across the evolving NeRF landscape.

The authors introduce FlexNeRFer to bridge this gap, creating a "universal" accelerator that handles the heterogeneity of modern NeRF models.

Methods

The researchers designed FlexNeRFer with three core architectural innovations:

  • Flexible Network-on-Chip (NoC): NeRF models move data in different ways—sometimes broadcasting a single weight to many inputs, other times using unique point-to-point transfers. FlexNeRFer uses a hierarchical mesh with feedback (HMF-NoC) that supports unicast, multicast, and broadcast patterns. This ensures that the compute units stay busy regardless of the model's structure.
  • Bit-Scalable MAC Array: Not every part of a NeRF model needs high precision. FlexNeRFer uses a 2D array of multipliers that can dynamically "fuse" together. It can perform sixteen 4-bit operations, four 8-bit operations, or one 16-bit operation per unit, allowing it to trade off accuracy for massive speed gains where appropriate.
  • Online Sparsity-Aware Compression: NeRF data is often "sparse" (lots of zeros). Interestingly, the authors found that the "best" way to compress this data changes depending on the bit-width and how many zeros there are. FlexNeRFer identifies the sparsity ratio in real-time and chooses the optimal format (COO, CSC/CSR, or Bitmap) to minimize memory traffic.
  • Dedicated Encoding Engines: Beyond the neural network math, NeRF requires "encoding" spatial coordinates. FlexNeRFer includes specialized hardware for both Positional Encoding (PEE) and Hash Encoding (HEE), significantly reducing the bottleneck of these pre-processing steps.

Datasets

The authors evaluated FlexNeRFer across seven representative NeRF models (including the original NeRF, Mip-NeRF, and Instant-NGP) using two standard benchmarks:

  • Synthetic-NeRF: 8 scenes of varying complexity (e.g., Lego, Mic).
  • NSVF Dataset: Specifically the "Palace" scene to test performance on complex, high-detail environments.

Key Insights and Ideas

  • The Sparsity Paradox: There isn't one "perfect" compression format. A format that saves space at 16-bit precision might actually increase the memory footprint at 4-bit precision due to metadata overhead. FlexNeRFer’s ability to switch formats on-the-fly is a major "aha" moment for efficient hardware design.
  • Dense Mapping of Sparse Data: By using a hierarchical NoC, the hardware can "pack" sparse data into the compute array so that almost no cycles are wasted on multiplying by zero, even when the data precision is constantly changing.
  • Hardware-Algorithm Co-design: The authors didn't just build a faster chip; they analyzed the mathematical bottlenecks of seven different NeRF variants to ensure their architecture was truly "future-proof" for the next wave of neural rendering.

Key Results

The results, based on a 28nm CMOS implementation, are striking:

  • Physical Specs: The chip occupies 35.4 mm² and consumes between 7.3W and 9.2W, meeting the strict requirements for AR/VR integration.
  • Vs. Desktop GPU (RTX 2080 Ti): FlexNeRFer is 8.2x to 243.3x faster and 24.1x to 520.3x more energy-efficient.
  • Vs. State-of-the-Art (NeuRex): It demonstrates a 4.2x to 86.9x speedup and 2.3x to 47.5x better energy efficiency than the previous leading NeRF accelerator.
  • Real-time Performance: It successfully brings rendering latency below the critical thresholds (16.8ms for VR) required to prevent motion sickness.

Limitations and Future Work

  • Off-chip Bandwidth: The authors noted that when the batch size exceeds 8192, performance plateaus because the system hits the limits of the LPDDR3 memory bandwidth. Future iterations might explore faster memory interfaces like HBM or LPDDR5.
  • Quantization Sensitivity: While 4-bit precision offers massive speedups, it can degrade image quality (PSNR). The authors suggest using "outlier-aware" quantization in the future to keep the speed while maintaining photorealism.

Summary updated

BibTeX
@inproceedings{noh2025flexnerfer,
  author = {Seock-Hwan Noh and Banseok Shin and Jeik Choi and Seungpyo Lee and Jaeha Kung and Yeseong Kim},
  title = {{FlexNeRFer: A Multi-Dataflow, Adaptive Sparsity-Aware Accelerator for On-Device NeRF Rendering}},
  booktitle = {Isca},
  year = {2025},
  doi = {10.1145/3695053.3731107},
}
Figure