NeRF
The paper represents a 3D scene as a continuous neural radiance field and renders images by differentiable volume rendering along camera rays.
Metadata
| Field | Value |
|---|---|
| Paper | NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis |
| Authors | Ben Mildenhall, Pratul P. Srinivasan, Matthew Tancik, Jonathan T. Barron, Ravi Ramamoorthi, Ren Ng |
| Year | 2020 |
| Venue | ECCV 2020 |
| arXiv | 2003.08934 |
| Project | NeRF project page |
| Code | bmild/nerf |
| Status | full note started |
One-Line Takeaway
NeRF represents a scene with a neural function:
where is a spatial coordinate, is a viewing direction, is volume density, and is view-dependent color.
Images are rendered by sampling points along camera rays and integrating color/density with differentiable volume rendering.
Question
Given multiple images of a scene with known camera poses:
can a model synthesize a new view from a novel camera pose?
The architecture question is:
Instead of explicit meshes, voxels, or point clouds, NeRF uses an implicit continuous field:
Main Claim
A fully connected neural network can represent a continuous volumetric scene function that supports photorealistic novel view synthesis when optimized through differentiable volume rendering.
The compact architecture claim:
This is not a classifier or a conventional image generator. It is a scene-specific representation trained to reproduce observed views and render unseen views.
Architecture Contract
| Item | Contract |
|---|---|
| Input data | posed RGB images of a scene |
| Query input | 3D point and viewing direction |
| Neural function | MLP radiance field |
| Output | density and color |
| Rendering | differentiable volume rendering along rays |
| Supervision | pixel reconstruction from known camera poses |
| Main task | novel view synthesis |
| Representation type | continuous implicit neural field |
| Main bottleneck | many MLP evaluations per rendered image |
NeRF is an architecture for representing a scene, not a generic object detector or image classifier.
Radiance Field
The neural field maps:
Here:
| Symbol | Meaning |
|---|---|
| spatial position in scene coordinates | |
| viewing direction | |
| volume density or opacity-like quantity | |
| emitted color for that point and view direction |
Density depends mainly on position:
while color can depend on both position and direction:
This allows view-dependent appearance such as specular effects.
Ray Parameterization
A camera ray is:
where is the camera origin and is the ray direction.
The rendered color for a ray is:
The transmittance is:
Interpretation:
- high density contributes opacity;
- color contributes where the ray terminates or passes through density;
- transmittance downweights points behind dense regions.
Discrete Rendering Approximation
In practice, sample points along the ray:
Let:
and:
The accumulated transmittance before sample is:
The rendered color is approximated by:
This equation is the bridge between the neural field and image pixels.
Training Objective
For a set of camera rays with ground-truth pixel colors , NeRF minimizes photometric reconstruction:
The model learns geometry and appearance indirectly from images and camera poses.
No explicit 3D mesh supervision is required:
Positional Encoding
A plain MLP can struggle to represent high-frequency detail. NeRF applies positional encoding to coordinates:
For a 3D coordinate:
This gives the MLP access to multiple spatial frequencies:
The architecture lesson is that coordinate networks often need input feature maps that expose high-frequency variation.
Coarse And Fine Sampling
NeRF uses hierarchical sampling:
| Stage | Role |
|---|---|
| coarse network | sample broadly along the ray |
| fine network | resample more around likely occupied regions |
The coarse pass estimates where density lies. The fine pass allocates more samples to important ray intervals.
This is an efficiency and quality mechanism:
Relation To PointNet And 3D Structure
PointNet consumes a finite unordered point set:
NeRF represents a continuous field:
that can be queried at arbitrary coordinates.
| Axis | PointNet | NeRF |
|---|---|---|
| object | point set | continuous scene field |
| input unit | points | coordinate and direction queries |
| output | class or per-point labels | density and view-dependent color |
| supervision | labels or point annotations | posed images |
| task | classification/segmentation | novel view synthesis |
For molecular or protein structures, NeRF is not directly a chemistry model. But the broader idea of coordinate-to-field representation is relevant to implicit surfaces, density fields, and differentiable rendering-style losses.
Relation To Generative Models
NeRF is often used inside generative systems, but the original paper is not primarily a distribution model:
It is usually optimized per scene from posed images.
This differs from models like Latent Diffusion Models, which learn a generative distribution over many images.
The reading boundary:
| Claim | NeRF Original Paper? |
|---|---|
| continuous scene representation | yes |
| differentiable novel view synthesis | yes |
| distribution over scenes | no, not the core original claim |
| text-to-3D generation | no, later systems |
Why It Belongs In Architecture Papers
NeRF is a canonical architecture paper because it reframes scene representation:
It also establishes a reusable pattern:
| Component | Function |
|---|---|
| coordinate MLP | stores continuous scene properties |
| positional encoding | enables high-frequency detail |
| ray sampling | queries the field along camera rays |
| volume rendering | maps field values to pixels |
| photometric loss | trains from posed images |
This pattern appears in many later neural field, 3D reconstruction, view synthesis, avatar, robotics, and 3D-aware generation papers.
Evidence Pattern
The paper supports the architecture with:
| Evidence | What It Supports |
|---|---|
| novel view synthesis benchmarks | rendered views match held-out camera views |
| comparisons to prior neural rendering | continuous radiance field improves fidelity |
| ablations on positional encoding | high-frequency coordinate encoding matters |
| coarse/fine sampling ablations | hierarchical sampling improves quality |
| qualitative video results | view consistency and photorealism are visible |
The core evidence is held-out view reconstruction, not generic image classification accuracy.
Practical Reading Checks
| Question | Why |
|---|---|
| Are camera poses known or estimated? | pose errors can dominate quality |
| Is the model trained per scene or generalized across scenes? | changes the claim |
| How many samples per ray are used? | controls speed and quality |
| Is positional encoding used? | affects high-frequency detail |
| Are views sparse or dense? | sparse-view setting is harder |
| Are dynamic objects present? | static scene assumption may break |
| What metric is reported? | PSNR/SSIM/LPIPS measure different properties |
Limits
- Original NeRF is slow because rendering requires many MLP evaluations.
- It assumes known camera poses.
- It is primarily a static scene representation.
- Sparse views can be underconstrained.
- It can produce artifacts under pose errors, reflections, transparency, or dynamic scenes.
- It does not directly provide editable semantic structure.
- It is not inherently a generative model over scene distributions.
The concise limitation:
What To Remember
- NeRF maps 5D coordinate-plus-view direction queries to density and color.
- Images are produced by differentiable volume rendering along camera rays.
- Training uses posed images and pixel reconstruction loss.
- Positional encoding is crucial for high-frequency detail.
- NeRF is an implicit neural field, not a point cloud or mesh.
- The paper created a major architecture pattern for neural scene representations.