Neural graphics primitives, parameterized by fully connected neural networks, can be costly to train and evaluate. We reduce this cost with a versatile new input encoding that permits the use of a smaller network without sacrificing quality, thus significantly reducing the number of floating point and memory access operations. A small neural network is augmented by a multiresolution hash table of trainable feature vectors whose values are optimized through stochastic gradient descent. The multiresolution structure allows the network to disambiguate hash collisions, making for a simple architecture that is trivial to parallelize on modern GPUs. We leverage this parallelism by implementing the whole system using fully-fused CUDA kernels with a focus on minimizing wasted bandwidth and compute operations. We achieve a combined speedup of several orders of magnitude, enabling training of high-quality neural graphics primitives in a matter of seconds, and rendering in tens of milliseconds at a resolution of 1920x1080.
Instant Neural Graphics Primitives with a Multiresolution Hash Encoding
Thomas Müller, Alex Evans, Christoph Schied, Alexander Keller
Please send feedback and questions to Thomas Müller
@article{mueller2022instant,
author = {Thomas M\"uller and Alex Evans and Christoph Schied and Alexander Keller},
title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding},
journal = {ACM Trans. Graph.},
issue_date = {July 2022},
volume = {41},
number = {4},
month = jul,
year = {2022},
pages = {102:1--102:15},
articleno = {102},
numpages = {15},
url = {https://doi.org/10.1145/3528223.3530127},
doi = {10.1145/3528223.3530127},
publisher = {ACM},
address = {New York, NY, USA}
}
We would like to thank
Anjul Patney,
David Luebke,
Jacob Munkberg,
Jonathan Granskog,
Jonathan Tremblay,
Koki Nagano,
Marco Salvi,
Nikolaus Binder,
James Lucas, and
Towaki Takikawa
for proof-reading, feedback, profound discussions, and early testing.
We also thank Joey Litalien for providing us with the framework for this website.
Girl With a Pearl Earring renovation ©Koorosh Orooj (CC BY-SA 4.0)
Tokyo gigapixel image ©Trevor Dobson (CC BY-NC-ND 2.0)
Detailed Drum Set ©bryanajones (CC BY 2.0)
Lego 856 Bulldozer ©Håvard Dalen (CC BY-NC 2.0)
Suzanne's Revenge ship ©gregzaal (CC BY-SA 2.0)
Lucy model from the Stanford 3D scan repository
Factory robot dataset by Arman Toorians and Saurabh Jain
Disney Cloud model ©Walt Disney Animation Studios (CC BY-SA 3.0)
Bearded Man model ©Oliver Laric (CC BY-NC-SA 3.0)