Bernstein Bounds for Caustics

Zhimin Fan, Chen Wang, Yiming Wang, Boxuan Li, Yuxuan Guo, Ling-Qi Yan, Yanwen Guo, Jie Guo · DOI

Abstract

Systematically simulating specular light transport requires an exhaustive search for primitive tuples containing admissible paths. Given the extreme inefficiency of enumerating all combinations, we propose to significantly reduce the search domain by sampling such tuples. The challenge is to design proper sampling probabilities that keep the noise level controllable. Our key insight is that by bounding the range of irradiance contributed by each primitive tuple at a given position, we can sample a subset of primitive tuples with potentially high contributions. Although low-contribution tuples are assigned a negligible probability, the overall variance remains low. Therefore, we derive vertex position and irradiance bounds for each primitive tuple, introducing a bounding property of rational functions on the Bernstein basis. When formulating position and irradiance expressions into rational functions, we handle non-rational components through remainder variables to maintain validity. Finally, we carefully design the sampling probabilities by optimizing the upper bound of the variance, expressed only using the position and irradiance bound. The proposed primitive sampling is intrinsically unbiased. It can be seamlessly combined with various unbiased and biased root-finding techniques within a local primitive domain. Extensive evaluations show that our method enables fast and reliable rendering of complex caustic effects.

The Challenge of Specular Transport

Caustics—the intricate, concentrated patterns of light created by curved mirrors or glass—are a significant hurdle for physically based rendering. In technical terms, these represent "specular-diffuse-specular" (SDS) paths. Finding these paths is a "needle in a haystack" problem because only a tiny fraction of possible light paths satisfy the laws of reflection and refraction to reach a specific pixel.

Traditional approaches struggle with this:

  • Deterministic methods attempt to find every single path, which is computationally exhausting.
  • Stochastic methods (like standard Monte Carlo) often miss these paths entirely, leading to "fireflies" or extreme noise.
  • Manifold sampling techniques help but often rely on point-sampling, which can miss high-energy regions if the initial "guess" is poor.

Bound-Driven Sampling with Bernstein Polynomials

The core innovation of this work is the use of Bernstein Bounds to create a "bound-driven" stochastic sampler. The method shifts the paradigm from "searching for paths" to "sampling regions" by mathematically determining where light could go and how bright it could be before sampling begins.

The pipeline consists of three main stages:

  1. Rational Formulation: Vertex positions and the Jacobian (determining irradiance) are expressed as rational functions. To handle non-rational components like square roots in Snell’s Law, the authors introduce "remainder variables" to ensure bounds remain conservative.
  2. Bernstein Basis: Unlike standard interval arithmetic, the Bernstein basis treats functions like Bézier surfaces, allowing for much tighter min/max values for light-surface intersections.
  3. Sampling Pipeline: The system queries a precomputed grid of these bounds. Instead of checking every triangle in the scene, it only samples "triangle tuples" mathematically capable of contributing light to the current shading point.
The proposed sampling pipeline: from configurations to a candidate set of triangle tuples, followed by root-finding to identify valid light paths.

Performance and Visual Fidelity

The authors evaluated their method on complex 3D scenes like the high-poly Dragon (0.35M triangles) and scenes featuring water-like refraction (Slab & Pool).

The results demonstrate that the method performs up to an order of magnitude faster than existing unbiased sampling approaches like Manifold Path Guiding (MPG) or Specular Manifold Sampling (SMS) in equal-time comparisons. In the "Dragon" scene, the proposed method achieved a Relative Mean Squared Error (RelMSE) of 0.0098 in 23 minutes, significantly outperforming deterministic baselines like Path Cuts.

Comparison of the proposed method against various baselines on the Dragon scene. Our method achieves significantly lower error (RelMSE) and higher visual quality in equal time.

Insights and Future Work

A key insight is that tighter bounds lead to better sampling. By using the Bernstein basis, the authors achieve bounds significantly tighter than traditional interval arithmetic, preventing the sampler from wasting time on non-contributing geometry. Furthermore, using implicit differentiation allows the system to handle "singularities" (focal points) where irradiance math typically becomes unstable.

Currently, the method is most practical for 1 or 2 specular bounces due to the growing complexity of the rational functions. Future work includes extending this to volumetric caustics (like light shafts in fog) and exploring more complex "long-chain" specular transport.

Summary updated

BibTeX
@article{fan2025bernstein,
  author = {Zhimin Fan and Chen Wang and Yiming Wang and Boxuan Li and Yuxuan Guo and Ling-Qi Yan and Yanwen Guo and Jie Guo},
  title = {{Bernstein Bounds for Caustics}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3731145},
}
Figure