# Mip-NeRF: A Multiscale Representation for Anti-Aliasing Neural Radiance Fields

Mip-NeRF renders anti-aliased cones so scale changes no longer blur or alias

Jonathan T. Barron, Ben Mildenhall, Matthew Tancik, Peter Hedman, Ricardo Martin-Brualla, Pratul P. Srinivasan · arXiv · 2021-3-24

- **Problem** NeRF uses one ray per pixel, so views at different distances blur or alias.
- **Method** Mip-NeRF casts a cone per pixel instead of a ray. It fits a Gaussian to each conical frustum and encodes that Gaussian, so one MLP can represent the scene at every scale.
- **Results** On the multiscale Blender dataset, average error falls to 0.0114 from NeRF's 0.0288, a 60% reduction. Mip-NeRF also matches a supersampled NeRF's accuracy while being 22x faster.

## Why NeRF blurs and aliases across scales

NeRF renders a pixel by sending a single ray through it and compositing samples taken along that ray, so the area the pixel covers is never integrated. That is adequate while training and test views see the scene from a roughly fixed distance, which is the setting NeRF and most of its follow-ups use. Once the camera moves closer and farther, the same model produces blur in close-up views and aliasing in distant ones.

The direct remedy is supersampling with several rays per pixel, but for NeRF each ray already needs hundreds of MLP evaluations and each scene takes several hours to reconstruct.

The method takes its cue from mipmapping, where filtering is moved into a precomputed multiscale representation so that the cost at render time stays low. In view synthesis the scene geometry is not known in advance, so the multiscale representation has to be learned during training rather than prepared from a known asset. Scale also has to be continuous rather than a fixed set of levels, so that one learned model can be queried at arbitrary scales.

## From cones to integrated features

Mip-NeRF replaces the ray with a cone whose apex sits at the camera center and whose axis passes through the pixel center. The cone radius at the image plane is the pixel width in world units scaled by 2 over the square root of 12, which makes the cross-section variance in x and y match the variance of the pixel footprint. The region between two distances t0 and t1 along the cone is a conical frustum, and a point belongs to it when its projection onto the ray lies between those distances and the point falls inside the cone's angular extent.

The ideal feature would average the positional encoding over every point inside the frustum, but that integral has no closed form. The authors therefore fit a multivariate Gaussian to each frustum, which is possible because a circular frustum is fully described by a mean distance along the ray, a variance along the ray and a variance perpendicular to it.

These quantities are computed relative to the midpoint and half-width of the interval, which the authors describe as critical for numerical stability, and the Gaussian is then moved into world coordinates with a covariance built from the ray direction.

The expectation of a sine or cosine under a Gaussian is the function evaluated at the mean, multiplied by an exponential attenuation in the variance, so each encoding channel is damped according to its own variance. The IPE feature is therefore the sines and cosines of the mean in the positional encoding basis, each multiplied by the exponential of minus one half of the diagonal of the covariance.

Only the diagonal of the covariance is needed, because positional encoding treats each dimension independently, and the variance for each frequency is scaled by a power of 4; computing that diagonal directly costs roughly what PE costs.

The effect is that a frequency whose period is shorter than the interval is attenuated toward zero, while a frequency that is constant over the interval passes through largely unchanged. Because this attenuation removes the need to tune the highest frequency, L can be set to a very large value rather than tuned.

## One MLP for every scale

Because cone features encode scale explicitly, one MLP can represent the scene at every scale, whereas NeRF needed two networks because its positional-encoding features tied each network to a single scale. For each pixel the method uses n+1 boundary distances, so each adjacent pair defines one interval whose IPE feature goes into the MLP that outputs density and color, and rendering follows the same compositing as NeRF.

Training minimizes a sum of the coarse and fine losses, with the coarse term weighted by λ equal to 0.1. Coarse samples are stratified, 128 per ray, and fine samples are drawn from the coarse weights by inverse transform sampling, again 128 per ray, so the total number of MLP evaluations matches NeRF's.

Before fine samples are drawn, the coarse weights pass through a max filter and a blur filter, and a constant α of 0.01 is added to the resulting envelope before renormalization. That constant keeps some samples in empty regions of space.

## A multiscale variant of Blender

In the original Blender dataset every camera shares one focal length and resolution and sits at the same distance from the object, which makes the task easier than most captured data. The multiscale variant box-downsamples each Blender image by factors of 2, 4 and 8, adjusts the camera intrinsics to match, and merges the originals with the three downsampled sets.

The authors describe this as similar to re-rendering the scene with the camera moved farther away by factors of 2, 4 and 8.

Area Loss scales each pixel's training loss by the area of its footprint in the original image, so pixels from the 1/4 images are scaled by 16 and low-resolution pixels carry comparable influence to the high-resolution ones. The average metric used more generally is the geometric mean of MSE computed as 10 to the power of minus PSNR over 10, the square root of one minus SSIM, and LPIPS.

Runtimes are reported as medians with median absolute deviations, and the JaxNeRF and Mip-NeRF experiments were trained on a TPU v2 with 32 cores.

## Multiscale benchmark results and ablations

On the multiscale benchmark, NeRF's average error is 0.0288 and Mip-NeRF's is 0.0114, a 60% reduction. Mip-NeRF has higher PSNR and SSIM and lower LPIPS than NeRF at each of the four scales in Table 1.

Adding only the Area Loss to NeRF raises its average error to 0.0305 from 0.0288, so the loss change alone does not help NeRF in this table. Adding centered pixels on top of the area loss brings NeRF to 0.0191, and the Misc changes bring it to 0.0190. Replacing IPE with PE, so that the model casts centered rays as NeRF does, gives an average of 0.0186, close to the centered NeRF results.

The authors state that removing IPE brings performance back to the level of centered NeRF, so cone casting with IPE is the main driver, while the area loss contributes substantially.

Removing the area loss from Mip-NeRF raises its average error to 0.0139, which is consistent with that contribution. The two-network variant, w/o Single MLP, reaches an average of 0.0115 with 1,191K parameters and 3.40 hours, against 0.0114, 612K parameters and 2.84 hours for Mip-NeRF. The authors attribute the extra time mainly to sorting t values and to tensor sizes that change between the coarse and fine scales, and they report it as nearly 20% slower.

## Single-scale Blender results

The authors report this as about 17% lower average error than NeRF.

The authors say the improvement is most visible on small or thin structures. Area Loss is not used for this task.

## Comparison with supersampling

The supersampled baseline is a NeRF trained on full-resolution images only, rendered at full resolution and then downsampled, which gives it an advantage because the low-resolution images have been removed by hand. On the multiscale dataset, this baseline reaches a mean PSNR of 34.56 with a render time of 55.52 seconds per megapixel, while Mip-NeRF reaches a mean PSNR of 34.46 with a render time of 2.48.

The paper describes Mip-NeRF as nearly matching the accuracy of the supersampled NeRF while being about 22 times faster. Supersampling Mip-NeRF as well raises its mean PSNR to 35.03.

## Limitations

The single-scale Blender data systematically avoids the aliasing failure mode, so NeRF performs well on it despite its tendency to alias. The supersampled baseline depends on removing low-resolution images by hand, which the authors note is usually not possible on real datasets because it is hard to know in advance which images show which scale.

The multiscale benchmark is built by downsampling the same Blender images, so it is a controlled stand-in for scale variation rather than captured multi-distance data. The reported comparisons cover the two Blender-based datasets only. The Single MLP variant pays a speed cost from sorting and changing tensor sizes, as the authors explain.

The paper sets λ to 0.1 and α to 0.01 in all experiments.

## Paper info

- **Authors**: Jonathan T. Barron, Ben Mildenhall, Matthew Tancik, Peter Hedman, Ricardo Martin-Brualla, Pratul P. Srinivasan
- **Venue**: arXiv · Preprint
- **First published**: 2021-3-24
- **Added**: 2026-11-12
- **Updated**: 2021-8-14
- **Version**: v3
- **arXiv**: 2103.13415
- **Category**: cs.CV · cs.GR
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2103.13415v3) · [PDF ↗](https://arxiv.org/pdf/2103.13415v3)

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

Jonathan T. Barron, Ben Mildenhall, Matthew Tancik, Peter Hedman, Ricardo Martin-Brualla, Pratul P. Srinivasan (2021). Mip-NeRF: A Multiscale Representation for Anti-Aliasing Neural Radiance Fields. arXiv:2103.13415v3. https://arxiv.org/abs/2103.13415v3

**BibTeX**

```
@misc{barron2021nerf,
  title = {{Mip-NeRF: A Multiscale Representation for Anti-Aliasing Neural Radiance Fields}},
  author = {Jonathan T. Barron and Ben Mildenhall and Matthew Tancik and Peter Hedman and Ricardo Martin-Brualla and Pratul P. Srinivasan},
  year = {2021},
  eprint = {2103.13415},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13415v3}
}
```

## Other paper commentary

- [World Models](https://refivu.com/en/papers/69defaf1-9e14-4e62-a47b-93dd3012554e-world-models.md)
- [Open3D: A Modern Library for 3D Data Processing](https://refivu.com/en/papers/d0e7cf62-d439-416d-a785-974f817c8a48-open3d-a-modern-library-for-3d-data-processing.md)
- [PCT: Point cloud transformer](https://refivu.com/en/papers/54b01448-d153-4635-92bf-22ab3866d1ae-pct-point-cloud-transformer.md)
- [Mip-NeRF 360: Unbounded Anti-Aliased Neural Radiance Fields](https://refivu.com/en/papers/fc238283-69fa-4599-9425-b610ae8df74c-mip-nerf-360-unbounded-anti-aliased-neural-radiance.md)
- [PoseCNN: A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes](https://refivu.com/en/papers/66e8eadd-21d7-4e03-a7bb-1fbeda963ac8-posecnn-a-convolutional-neural-network-for-6d-object.md)
- [Deep Learning for 3D Point Clouds: A Survey](https://refivu.com/en/papers/ac14ada0-64c3-463e-b921-6ac08239ba22-deep-learning-for-3d-point-clouds-a-survey.md)
- [Graph Neural Networks for Social Recommendation](https://refivu.com/en/papers/3f172e45-3e51-4657-9b43-76ed2fb286e9-graph-neural-networks-for-social-recommendation.md)
- [Complex Embeddings for Simple Link Prediction](https://refivu.com/en/papers/d25530db-c5cb-4ff1-b0b6-d2231ef2615f-complex-embeddings-for-simple-link-prediction.md)
- [PennyLane: Automatic differentiation of hybrid quantum-classical computations](https://refivu.com/en/papers/7de2ab55-3dd6-408b-8267-8c552d218275-pennylane-automatic-differentiation-of-hybrid-quantum.md)
- [4D Spatio-Temporal ConvNets: Minkowski Convolutional Neural Networks](https://refivu.com/en/papers/bb10cb3b-b1cc-4119-9de1-8503fdbd27ff-4d-spatio-temporal-convnets-minkowski-convolutional-neural.md)
- [Mixed Precision Training](https://refivu.com/en/papers/65eb5ae7-5d07-475b-869d-fe6a7fb2c613-mixed-precision-training.md)
- [Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks](https://refivu.com/en/papers/12afca27-3173-4d16-a76b-cb72a4fa0438-feature-squeezing-detecting-adversarial-examples-in-deep.md)

## Terms in this paper

- [PSNR](https://refivu.com/en/terms/fcbb9b8276a7-psnr)
- [SSIM](https://refivu.com/en/terms/a5c530b66e8d-ssim)
- [LPIPS](https://refivu.com/en/terms/21dda2beca88-lpips)
- [positional encoding](https://refivu.com/en/terms/4544e2c25b3b-positional-encoding)
- [NeRF](https://refivu.com/en/terms/3a72e6d9737b-nerf)
- [Multilayer Perceptron](https://refivu.com/en/terms/0892ee9508d3-multilayer-perceptron)
- [Mip-NeRF](https://refivu.com/en/terms/6a7871334389-mip-nerf)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/25ba5d73-b97f-4cb0-b129-b565ef426ff8-mip-nerf-a-multiscale-representation-for-anti-aliasing)
