Fast Monte Carlo Rendering via Multi-Resolution Sampling

Qiqi Hou, Zhan Li, Carl S. Marshall, Selvakumar Panneer, Feng Liu

TL;DR

This paper introduces a hybrid rendering method that dramatically speeds up Monte Carlo ray tracing by combining a low-resolution, low-noise image with a high-resolution, noisy one. By fusing these multi-resolution inputs through a specialized deep neural network, the authors achieve high-quality photorealistic results up to 115x faster than current state-of-the-art denoising techniques.

What Problem Does This Paper Address?

Monte Carlo (MC) rendering is the gold standard for creating photorealistic images, but it is computationally expensive. To get a "clean" image, you have to cast thousands of rays per pixel (samples per pixel, or spp) to calculate complex lighting. Low spp counts result in "noise," while high spp counts take too long for real-time applications like games.

Current solutions generally fall into two camps: denoising (taking a noisy high-resolution image and trying to smooth it out) and super-resolution (taking a clean low-resolution image and trying to upscale it). Denoising often blurs away fine details, and super-resolution struggles to "invent" high-frequency textures that weren't in the low-res source. This paper tackles the challenge of producing high-resolution, noise-free images at a fraction of the usual computational cost.

Methods

The core innovation is a multi-resolution sampling strategy. Instead of rendering one standard image, the system generates two "cheap" versions:

  1. LRHS (Low Resolution, High SPP): A small image that is very clean (low noise) but lacks fine detail.
  2. HRLS (High Resolution, Low SPP): A full-sized image that is very noisy but contains the "blueprints" for high-frequency details like edges and textures.

The authors developed a two-encoder, one-decoder convolutional neural network (CNN) to fuse these inputs.

The network architecture takes LRHS and HRLS as inputs to predict a high-quality high-resolution image.

Key technical highlights include:

  • Deshuffle Layers: Instead of standard pooling, the network uses "deshuffle" layers to downscale the HRLS features. This reduces computational load while preserving the critical high-frequency information needed for the final output.
  • Robust Loss Function: Standard training losses (like L1 or L2) struggle with High Dynamic Range (HDR) rendering because "fireflies" (isolated, extremely bright pixels) can bias the network. The authors proposed a robust loss ($\ell_r$) that caps the influence of these outliers.

Datasets

The authors introduced the Blender Cycles Ray-tracing (BCR) dataset, a massive new benchmark for the community.

  • Scale: 2,449 high-quality images from 1,463 distinct scenes.
  • Diversity: Includes complex effects like motion blur, depth of field, and various materials (glass, skin, etc.).
  • Depth: Each image includes 33 auxiliary "render layers" (like albedo, normals, and depth maps) and is rendered at multiple sample rates (from 1 to 4000 spp).

They also evaluated their method on the existing Gharbi dataset to demonstrate generalization across different rendering engines.

Key Insights and Ideas

  • Complementary Inputs: The "Aha!" moment is realizing that LRHS and HRLS provide exactly what the other lacks. LRHS provides reliable color and lighting, while HRLS provides the geometric structure. Fusing them is much more effective than trying to "fix" either one in isolation.
  • Efficiency via Resolution: By performing the bulk of the neural network's computations at the lower resolution of the LRHS input, the method stays incredibly fast without sacrificing the quality of the final high-res output.
  • Handling HDR Tails: The pixel value distribution in raw renders has a "long tail" (Figure 3). Most pixels are dim, but a few are incredibly bright. The robust loss function is essential to prevent the network from over-focusing on these rare bright spots at the expense of overall image quality.
Pixel value distribution showing the long-tail characteristic of the BCR dataset.

Key Results

  • Speed: The method is significantly faster than previous deep-learning denoisers. Depending on the upscaling factor ($\times2, \times4, \text{ or } \times8$), it is 17x to 115x faster than the state-of-the-art Gharbi et al. method.
  • Quality: On the BCR dataset, the $\times4$ upscaling version achieved a PSNR of 34.27 dB, outperforming standard super-resolution models like RCAN (30.73 dB) and traditional MC denoisers.
  • Visual Fidelity: Qualitative comparisons show that this method preserves sharp edges and intricate textures (like the text on a coffee bag or the weave of a fabric) that other methods either blur or fail to reconstruct.

Limitations and Future Work

  • Metric Sensitivity: The authors noted that while their images look better to the human eye and score higher in PSNR, they sometimes score lower on the RelMSE metric. This is because RelMSE is extremely sensitive to small errors in very bright regions (like light sources), which the network occasionally produces.
  • Engine Dependencies: While the model generalizes well, it performs best when it has access to specific auxiliary layers (like variance maps). Performance slightly dips when testing on datasets from different rendering engines that don't provide the exact same metadata.
  • Future Directions: The authors suggest this approach could be extended to video rendering, where temporal consistency (preventing flickering between frames) would be the next major challenge to solve.

Summary updated

BibTeX
@misc{hou2021fast,
  author = {Qiqi Hou and Zhan Li and Carl S. Marshall and Selvakumar Panneer and Feng Liu},
  title = {{Fast Monte Carlo Rendering via Multi-Resolution Sampling}},
  year = {2021},
  eprint = {2106.12802},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12802},
}
Figure