Neural radiance field (NeRF)

A neural radiance field is a neural network trained on photos of a scene taken from known positions, so that it can render realistic new views of that scene from angles no camera captured.

NeRF was introduced in March 2020 by Ben Mildenhall, Pratul Srinivasan, Matthew Tancik, Jonathan Barron, Ravi Ramamoorthi and Ren Ng, and presented at the ECCV conference that year. The idea is to store a whole 3D scene inside a small neural network. You give the network a point in space and a viewing direction; it returns how dense the scene is at that point and what colour light leaves it in that direction.

To draw a pixel, the system traces a ray from a virtual camera through the scene, asks the network about many points along the ray, and blends the answers using classic volume rendering from computer graphics. Training needs only ordinary photographs and the position each was taken from, usually worked out with structure-from-motion software. Because the rendering step is differentiable, the system can compare its rendered pixels with the real photos and adjust the network until they match.

A typical use: walk around an object or a room taking photos, train a NeRF on them, then produce a smooth camera move through the scene, including shine and reflections that change as the viewpoint moves. The network has learned this particular scene and nothing else; a new scene means training a new NeRF.

The original method was slow to train, needed accurate camera positions, and struggled with moving objects and changes in lighting between photos, which show up as ghosting. Its geometry is also not dimensionally accurate, so it suits visuals better than measurement. A wave of follow-up work tackled these limits: Mip-NeRF in 2021 reduced aliasing, Google researchers' NeRF in the Wild (2021) handled uncontrolled photo collections, Nvidia's Instant-NGP in 2022 made training fast enough for real time, and Plenoxels matched NeRF quality with no neural network at all.

In 2023 a different technique, 3D Gaussian splatting, represented scenes as clouds of small fuzzy blobs instead of a network, and it can beat NeRF on rendering speed and quality. NeRF remains an important idea: it showed that a neural network can serve as a compact, photorealistic model of a real place, a building block for 3D capture, virtual reality and generative 3D tools.

Common questions

What is NeRF used for?

NeRFs turn a set of photos into a 3D scene that can be viewed from new angles, which is useful for virtual tours, visual effects, games, virtual and augmented reality, and robotics research. Researchers have also applied the idea to medical imaging, reconstructing 3D views from a small number of X-rays.

What is the difference between NeRF and Gaussian splatting?

A NeRF stores a scene inside a neural network that must be queried at many points along every ray, which is slow. Gaussian splatting, introduced in 2023, stores the scene as millions of small 3D blobs that can be drawn directly, which usually renders much faster. Both are trained from photos with known camera positions.

Is NeRF generative AI?

Not in its original form. A NeRF reconstructs a real scene from photographs rather than inventing new content from a prompt. Later research has combined NeRF-style representations with generative models, for example to edit scenes from text instructions.

Do you need special equipment to make a NeRF?

No. Ordinary cameras and phones can work, provided there are enough photos from different angles and the position of each photo can be worked out, usually with structure-from-motion software. Results suffer when the scene changes between shots or the lighting varies.

Finding more

Search for "NeRF view synthesis", "Instant-NGP" or "NeRF vs Gaussian splatting" to follow the technique and its successors. The best sources are the original paper and its project page, follow-up papers on arXiv, and encyclopedia articles that cite them. Demo videos are chosen to show methods at their best, so look for results on scenes similar to your own before judging how well a method will work.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.