Perceptual error optimization for Monte Carlo animation rendering

Miša Korać, Corentin Salaün, Iliyan Georgiev, Pascal Grittmann, Philipp Slusallek, Karol Myszkowski, Gurprit SingharXiv 2023 · DOI

TL;DR

Monte Carlo rendering inherently introduces distracting noise into animations. By optimizing random sampling patterns using a joint model of how the human eye perceives space and time simultaneously, this paper distributes rendering error as high-frequency "blue noise" across both domains. This significantly reduces perceived flicker and noise, delivering visually cleaner animations at extremely low sample counts.

What Problem Does This Paper Address?

Monte Carlo ray tracing is the gold standard for producing photorealistic graphics, but it relies on stochastic sampling, which introduces visible noise. While we can reduce noise by taking more samples, doing so is computationally expensive. A clever alternative is to distribute the unavoidable error in a way that the Human Visual System (HVS) is less sensitive to—specifically, as high-frequency "blue noise."

While blue-noise sampling works wonders for static images, animations introduce a challenging temporal dimension. Simply reusing the same spatial blue-noise pattern across frames causes a distracting "shower-door effect," where the noise feels frozen in place like a dirty pane of glass while objects move behind it. Previous attempts to create spatio-temporal blue noise separated the spatial and temporal dimensions into independent, heuristic optimization steps. This paper addresses the lack of a unified, perceptually grounded framework that optimizes noise across space and time simultaneously.

Methods

The authors introduce a unified spatio-temporal perceptual error model. They combine an image-space Gaussian kernel (representing the spatial point spread function of the eye) with a temporal perception model that accounts for how the human eye integrates light over time. Crucially, their framework can also incorporate explicit temporal filters, such as Temporal Anti-Aliasing (TAA), directly into the optimization objective.

To find the optimal sample sequences a priori (creating scene-independent patterns that can be precomputed and tiled over any animation), they minimize an upper bound of the perceptual error. They achieve this by leveraging filtered optimal transport and the sliced Wasserstein distance, optimizing the sample distributions via stochastic gradient descent using the Adam optimizer.

Spatio-temporal error spectrum optimization compared to white noise and 2D blue noise

Datasets

The method was evaluated using standard computer graphics test scenes rendered via PBRTv3 at 60Hz, typically using 1 sample per pixel (spp):

  • Chopper (a motorcycle scene with complex geometry)
  • Utah Teapot
  • Modern Hall
  • Living Room
  • Dragon
  • Veach MIS

No new dataset benchmarks were introduced; standard graphics scenes were used to compare the proposed method against existing state-of-the-art sampling techniques.

Key Insights and Ideas

  • The Window of Visibility: By optimizing for a joint spatio-temporal kernel, the algorithm effectively pushes the error energy out of the HVS's "window of visibility" into high-frequency spatial and temporal zones where humans cannot perceive it.
  • Sustained vs. Transient Channels: Human temporal vision is not a simple low-pass filter; it responds differently to slow and fast changes. Incorporating this nuanced impulse response curve (which combines sustained and transient channels) is key to accurate error modeling.
Temporal perception impulse response curve combining sustained and transient channels
  • Co-designing with TAA: Instead of treating rendering and post-processing as isolated steps, incorporating the TAA kernel directly into the sample optimization loop yields significantly better results than optimizing for rendering alone.

Key Results

  • Quantitative Improvement: The proposed method consistently achieves the lowest perceptual relative mean squared error (pRelMSE) across all tested scenes. For instance, on the Chopper scene with TAA, the pRelMSE ratio drops to 0.48x compared to the uncorrelated baseline, noticeably outperforming prior state-of-the-art spatio-temporal masks (which achieved 0.69x).
  • Qualitative Clarity: The error distribution exhibits a much cleaner blue-noise profile, eliminating both the white-noise graininess of uncorrelated sampling and the structured temporal artifacts of previous methods.
Fig. 1. We propose an optimization framework to obtain perceptually pleasing error distribution in Monte Carlo animation rendering. The output of our algorithm is a sample set spanning multiple image pixels and frames. Here we show an image of a 30-frame sequence rendered with 1 sample/pixel per frame. We display a version of the animation filtered temporally using the kernel of Mantiuk et al. [2021], to mimic its perception at one time instant. On the right we a show spatial (XY) crop and a spatio-temporal (XT) slice, along with the power spectra (DFT) of their corresponding error images. Our error distribution exhibits better blue-noise properties than that of previous work [Wolfe et al. 2022], also reflected in the perceptual error metric reported on the left (see Section 5). To fully appreciate these results, please refer to the supplemental video and HTML viewer.

Limitations and Future Work

  • Signal Constancy Assumption: The a priori optimization assumes the underlying scene signal is locally constant. In areas with extreme spatial or temporal variation—such as very fast-moving objects or intricate, thin shadow penumbrae—the perceptual error increases. Incorporating motion vectors into the optimization could mitigate this.
  • High Dimensionality in Path Tracing: Precomputed a priori masks struggle to scale to complex light-transport algorithms like path tracing due to the explosion of sampling dimensions. While the authors demonstrated that an a posteriori (scene-dependent) approach can handle this, a practical, real-time a posteriori method remains an open challenge.
  • Computation Cost: Generating the optimized sample sets is slow, taking 1–2 days on a CPU due to the 1D optimal transport sorting operations required at each gradient-descent iteration.

Summary updated

BibTeX
@misc{korac2023perceptual,
  author = {Miša Korać and Corentin Salaün and Iliyan Georgiev and Pascal Grittmann and Philipp Slusallek and Karol Myszkowski and Gurprit Singh},
  title = {{Perceptual error optimization for Monte Carlo animation rendering}},
  year = {2023},
  eprint = {2310.02955},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.02955},
}
Figure