Characterizing and Optimizing the Spatial Kernel of Multi Resolution Hash Encodings

Tianxiang Dai, Jonathan Fan

Multi-Resolution Hash Encoding (MHE) is the foundational "secret sauce" behind breakthrough technologies like Instant Neural Graphics Primitives (Instant-NGP). By providing a powerful parameterization for neural fields, MHE has revolutionized the training and rendering speeds of Neural Radiance Fields (NeRFs) and Signed Distance Functions (SDFs).

However, despite its ubiquity, MHE has largely remained a "black box." Its spatial behavior lacks rigorous understanding from a physical systems perspective, leading researchers to rely heavily on trial-and-error heuristics for hyperparameter selection. This paper pulls back the curtain on MHE by treating it as a physical imaging system, analyzing its Point Spread Function (PSF), and introducing a zero-overhead architectural tweak—Rotated MHE (R-MHE)—that eliminates grid-aligned artifacts and boosts reconstruction quality.

The Problem: Anisotropy and Spectral Bias

Without a formal theory governing MHE's spatial behavior, it is difficult to optimize these models for maximum fidelity or to understand the root causes of common visual artifacts like "ghosting" or speckle noise. The authors identify two primary issues stemming from this lack of rigorous physical understanding:

  1. Anisotropy: Because MHE relies on axis-aligned grids, it behaves differently along its primary axes (x, y, z) than it does along its diagonals. This grid bias naturally makes the encoding "sharper" in certain directions, causing directional artifacts in renders.
  2. Spectral Bias: The optimization process inherently favors coarse, low-frequency details over fine ones, causing the effective resolution to spread out more than theoretically expected.

Methodology: Measuring the Point Spread Function

To demystify MHE, the researchers analyze its Point Spread Function (PSF). In physics, a PSF describes how an imaging system responds to a single point source. By optimizing an MHE model to represent an idealized point constraint, the authors can measure the resulting spatial "blur" to quantify the encoding's resolution and fidelity.

Overview of the PSF measurement methodology and the proposed Rotated MHE architecture.

Key methodological steps include:

  • Closed-Form Derivation: The authors derived a mathematical approximation for the collision-free MHE PSF, revealing a logarithmic spatial profile and inherent grid-induced anisotropy.
  • Linearized Decoder Analysis: To isolate the encoding's behavior from the neural network, they analyzed the system in a regime where the MLP decoder is approximated as a linear function.
  • Optimization-Induced Broadening: They quantified how gradient-based optimizers (like Adam) cause the PSF to broaden due to spectral bias. This acts as a spatial broadening factor ($\beta_{opt} \approx 2.5$), making the actual resolution about 2.5x lower than the theoretical limit.
  • Rotated MHE (R-MHE): Leveraging these insights, they proposed a new architecture that applies a unique rotation matrix to the input coordinates at every resolution level. This effectively "averages out" the grid bias, increasing isotropy without adding any new parameters or memory costs.

Key Insights

The PSF analysis yielded several counterintuitive and highly practical insights into how MHE operates:

  • The "Average" Rules: The effective spatial bandwidth—specifically the Full Width at Half Maximum (FWHM)—of an MHE model is determined by the average resolution ($N_{avg}$) across all levels, not the finest resolution ($N_{max}$). Adding finer levels yields diminishing returns if the average resolution isn't adequately shifted.
  • Collisions Manifest as Speckle: When the hash table capacity is finite and too low, hash "collisions" occur. The authors demonstrate that these collisions introduce "ghost" responses and speckle noise, degrading the overall Signal-to-Noise Ratio (SNR).

Empirical Results

The paper validates its theoretical findings across several domains, including 2D Gigapixel Image Regression, 3D NeRFs (Synthetic NeRF dataset), and 3D SDFs (standard benchmark meshes).

  • Isotropy Boost: R-MHE successfully creates a much more circular (isotropic) PSF compared to the "diamond-shaped" PSF of standard MHE.
  • 2D Performance: In high-resolution image regression tasks, R-MHE achieved a peak average PSNR improvement of +0.94 dB over standard MHE.
  • 3D NeRF & SDF: In 3D tasks, R-MHE maintained or slightly improved performance (e.g., reaching 35.48 dB on the Synthetic NeRF dataset). Crucially, the authors' PSF-guided theory allowed them to predict the optimal growth factor ($b$) a priori, perfectly matching the results of exhaustive, computationally expensive grid searches.
  • Zero Overhead: R-MHE provides these structural benefits while maintaining the exact same memory footprint and computational efficiency as the original Instant-NGP implementation.

Limitations and Future Work

While R-MHE significantly improves isotropy, the authors note that quantitative gains in standard 3D benchmarks (like NeRF) can sometimes be marginal. This is largely due to "view averaging"—the process where NeRF integrates features along rays, naturally filtering out some of the grid artifacts. Additionally, at extremely high resolutions, performance often saturates because the grid is already fine enough that anisotropy is no longer the primary bottleneck.

R-MHE is expected to be most critical in memory-constrained environments or scenarios with sparse viewing angles, where interpolation artifacts are highly visible. Future work may involve applying this physically grounded rotation strategy to other grid-based structures, such as TensoRF or K-Planes, moving the field further away from heuristics and toward principled optimization.

Summary updated

BibTeX
@inproceedings{dai2026characterizing,
  author = {Tianxiang Dai and Jonathan Fan},
  title = {{Characterizing and Optimizing the Spatial Kernel of Multi Resolution Hash Encodings}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=q05hC1Pzkr},
}
Figure