Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Instant Neural Graphics Primitives with a Multiresolution Hash Encoding

Hash table input encoding trains neural graphics primitives in seconds

  • Problem Dense trainable grids spend memory on empty space, since only 2.57% of cells touch the visible surface. Sparse structures need pruning or splitting during training, which complicates training and runs poorly on GPUs.
  • Method Multiresolution hash encoding stores trainable features in one hash table per resolution level. Coarse levels map grid points one to one, while fine levels let colliding points share entries, so the small MLP stays fixed in size.
  • Results On NeRF, the hash encoding averaged 33.176 dB after 5 minutes, compared to 33.090 dB for mip-NeRF.

Why existing input encodings are costly

A neural graphics primitive is a small MLP that maps coordinates to a quantity such as color, distance or density. The input encoding in front of that MLP strongly shapes how much detail the network can represent. Learned data structures can carry much of that work, which lets the MLP stay small. But they usually need pruning, splitting or merging during training, which complicates the training process.

They also run poorly on GPUs, where control flow and pointer chasing are expensive.

Dense trainable grids avoid structural changes, but they spend memory on empty space. Only 2.57% of those cells touch the visible surface, while the parameter count grows as O(N^3) and the surface area only as O(N^2). Octree and sparse-grid methods can cull unused features, but in NeRF the surfaces only emerge during training, so NSVF prunes its grid progressively.

That pruning makes the training process more complex, because the sparse structure has to be updated again and again.

Hash tables as the trainable encoding

The authors store the trainable features in a stack of hash tables, one per resolution level, each holding a fixed number of feature vectors. Coarse levels map grid points one to one into their array, while fine levels hash the grid points into the same array, so several points share an entry. Because the arrays have fixed size, the encoding needs no structural updates while training runs.

Only two values configure it: the table size T and the finest resolution N_max.

The authors expected collisions to be tolerable because colliding gradients average, so the largest gradients, which matter most for the loss, dominate the shared entry. This makes the hash tables prioritize sparse regions that carry important fine detail.

One lookup, step by step

For each level, the coordinate is scaled by that level's resolution and rounded down and up, which gives the corners of an enclosing voxel with 2^d integer vertices. The resolutions form a geometric progression between N_min and N_max, with \[ N_l = \left\lfloor N_{\min}\, b^{l} \right\rfloor, \qquad b = \exp\!\left(\frac{\ln N_{\max}-\ln N_{\min}}{L-1}\right) \] A level whose dense grid fits in T entries, that is (N_l + 1)^d at most T, maps its corners one to one into the array.

Each corner's feature vector is weighted by the fractional position of x inside the voxel, so the interpolated features change continuously with the input. The interpolated vectors of all L levels are concatenated with auxiliary inputs ξ, such as an encoded view direction, to form the MLP input y. With L = 16 and F = 2 in all results, the trainable encoding parameters are bounded by T times 16 times 2.

Gradients flow back through the MLP, the concatenation and the interpolation into the looked-up entries, so the table and the network train together.

Training and storage choices

The hash entries are stored at half precision, while a full-precision master copy supports stable mixed-precision updates. The hash tables are evaluated level by level across the batch, so only a few tables need to sit in cache at any time. On the RTX 3090, throughput stays roughly constant up to T = 2^19, which the authors link to the 6 MB L2 cache.

Why colliding entries still train

Fine levels capture small features but collide, and the authors note that collisions are pseudo-randomly scattered across space. So two points rarely collide at every level at once, which lets the levels cover for one another. The authors argue that the gradients of high-weight samples, such as points on a visible surface, dominate the shared entry.

The levels span from N_min to N_max, and the number of levels needed grows only with the logarithm of that ratio, so N_max can be picked conservatively large. The authors treat this as implicit collision resolution, handled by the network rather than by probing, bucketing or chaining.

Controlled NeRF comparison in Figure 2

Figure 2 keeps the NeRF pipeline fixed and varies only the input encoding and the MLP size, with each configuration trained for 11 000 steps. The frequency encoding reached 22.90 dB after 12:45 (mm:ss), while the single-resolution dense grid reached 22.35 dB after 1:09. The MLP keeps about 10 k weights in all the hash configurations, so the comparison is not a comparison of network size.

The authors report that the hash configuration trains over 8× faster than the frequency configuration with a similar total parameter count. They credit this to sparse updates to the parameters and the smaller MLP. The authors also report that the hash encoding reaches the quality of the dense grid with 20× fewer parameters.

Table size, levels and feature width

Across three primitives, a larger T improves test error over training time, while the memory footprint grows linearly with T. Beyond T = 2^19 the GPU cache becomes oversubscribed, and training slows, most visibly for SDF and NeRF. Holding F times T times L at a fixed value, the authors found F = 2 and L = 16 to be a favorable Pareto point in all their applications.

F = 1 is slow on the RTX 3090, because atomic half-precision accumulation only suits 2D vectors.

Results on the four tasks

On the Tokyo panorama, ACORN reached 38.59 dB after 36.9 h of training. The authors attribute part of this speed to their fully fused CUDA kernels, which they estimate at about a factor of 10. For SDFs the comparison baseline is NGLOD, whose octree is a collision-free counterpart to the hash tables. The hash encoding scored an IoU of 0.9777 on the first model of Figure 7, compared to 0.9812 for NGLOD.

In neural radiance caching at 1920×1080, the hash encoding ran at 133 FPS, compared to 147 FPS for the triangle wave encoding. That cost is a 0.7 ms overhead, which includes both training and runtime costs. Averaged over the eight NeRF scenes, the hash encoding scored 33.176 dB after 5 minutes, compared to 33.090 dB for mip-NeRF and 31.005 dB for NeRF.

After 15 seconds the hash encoding averaged 31.407 dB, which the authors describe as competitive with NeRF and NSVF. Replacing the MLP with a single linear transformation lowered NeRF quality, while the MLP was only about 15% more expensive.

Limitations and open questions

On learned SDFs the hash collisions leave grainy surface roughness that the MLP does not fully compensate for. The authors suggest that filtering the lookups or adding a smoothness prior might fix it, but they have not tested either. On the Materials scene, mip-NeRF and NSVF scored higher than the hash encoding, which the authors attribute to the much smaller MLP.

The offline NeRF baselines were not re-run here, because their scores are taken from the respective papers. The contribution of advanced ray marching was not separated from the encoding and the network, and the generative setting is left for future work.

Paper info

Authors
Thomas Müller, Alex Evans, Christoph Schied, Alexander Keller
Venue
arXiv · Preprint
First published
2022-1-16
Added
2026-11-12
Updated
2022-5-4
Version
v2
arXiv
2201.05989
DOI
10.1145/3528223.3530127
Category
cs.CV · cs.GR · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Thomas Müller, Alex Evans, Christoph Schied, Alexander Keller (2022). Instant Neural Graphics Primitives with a Multiresolution Hash Encoding. arXiv:2201.05989v2. https://doi.org/10.1145/3528223.3530127

BibTeX
@article{mller2022instant,
  title = {{Instant Neural Graphics Primitives with a Multiresolution Hash Encoding}},
  author = {Thomas Müller and Alex Evans and Christoph Schied and Alexander Keller},
  year = {2022},
  eprint = {2201.05989},
  archivePrefix = {arXiv},
  doi = {10.1145/3528223.3530127},
  url = {https://arxiv.org/abs/2201.05989v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up