Abstract
Many applications ranging from quasi-Monte Carlo integration over optimal control to neural networks benefit from high-dimensional, highly uniform samples. In the case of computer graphics, and more particularly in rendering, despite the need for uniformity, several sub-problems expose a low-dimensional structure. In this context, mastering sampling uniformity over projections while preserving high-dimensional uniformity has been intrinsically challenging. This difficulty may explain the relatively small number of mathematical constructions for such samplers. We propose a novel approach by showing that uniformity constraints can be expressed as an integer linear program that results in a sampler with the desired properties. As it turns out, complex constraints are easy to describe by means of stratification and sequence properties of digital nets. Formalized using generator matrix determinants, our new MatBuilder software solves the set of constraints by iterating the linear integer program solver in a greedy fashion to compute a problem-specific set of generator matrices that can be used as a drop-in replacement in the popular digital net samplers. The samplers created by MatBuilder achieve the uniformity of classic low discrepancy sequences. More importantly, we demonstrate the benefit of the unprecedented versatility of our constraint approach with respect to low-dimensional problem structure for several applications.
Supplemental Material
Available for Download
- Abdalla G. M. Ahmed, Hélène Perrier, David Coeurjolly, Victor Ostromoukhov, Jianwei Guo, Dong-Ming Yan, Hui Huang, and Oliver Deussen. 2016. Low-Discrepancy Blue Noise Sampling. ACM Trans. on Graphics (SIGGRAPH Asia) 35, 6 (2016), 13 pages. Google Scholar
Cross Ref
- Abdalla G. M. Ahmed and Peter Wonka. 2020. Screen-space blue-noise diffusion of Monte Carlo sampling error via hierarchical ordering of pixels. ACM Trans. on Graphics (SIGGRAPH Asia) 39, 6 (2020), 1--15. Google Scholar
Cross Ref
- Abdalla G. M. Ahmed and Peter Wonka. 2021. Optimizing Dyadic Nets. ACM Trans. on Graphics (SIGGRAPH) 40, 4, Article 141 (2021), 17 pages. Google Scholar
Cross Ref
- Pietro Belotti, Christian Kirches, Sven Leyffer, Jeff Linderoth, James Luedtke, and Ashutosh Mahajan. 2013. Mixed-integer nonlinear optimization. Acta Numerica 22 (2013), 1--131. Google Scholar
Cross Ref
- Raj C. Bose and Katherine A. Bush. 1952. Orthogonal arrays of strength two and three. The Annals of Mathematical Statistics 23, 4 (1952), 508--524. Google Scholar
Cross Ref
- Kenneth A. Bush. 1952. Orthogonal arrays of index unity. The Annals of Mathematical Statistics 33, 3 (1952), 426--434. Google Scholar
Cross Ref
- Stelian Coros, Philippe Beaudoin, and Michiel Van de Panne. 2009. Robust task-based control policies for physics-based characters. ACM Trans. on Graphics (SIGGRAPH Asia) 28, 5 (2009), 1--9. Google Scholar
Cross Ref
- Josef Dick and Friedrich Pillichshammer. 2010. Digital Nets and Sequences: Discrepancy Theory and Quasi-Monte Carlo Integration. Cambridge University Press. Google Scholar
Cross Ref
- Henri Faure and Christiane Lemieux. 2016. Irreducible Sobol' sequences in prime power bases. Acta Arithmetica 173 (2016), 59--80. Google Scholar
Cross Ref
- Henri Faure and Christiane Lemieux. 2019. Implementation of irreducible Sobol' sequences in prime power bases. Math. Comput. Simul. 161 (2019), 13--22. Google Scholar
Cross Ref
- Leonhard Grünschloß, Johannes Hanika, Ronnie Schwede, and Alexander Keller. 2008. (t, m, s)-Nets and Maximized Minimum Distance. In Monte Carlo and Quasi-Monte Carlo Methods 2006. Springer, 397--412. Google Scholar
Cross Ref
- Pascal Guehl, Rémi Allegre, Jean-Michel Dischler, Bedrich Benes, and Eric Galin. 2020. Semi-Procedural Textures Using Point Process Texture Basis Functions. Computer Graphics Forum 39, 4 (2020), 159--171. Google Scholar
Cross Ref
- John Halton. 1964. Radical-inverse quasi-random point sequence [G5]. Comm. ACM 7, 12 (1964), 701--702. Google Scholar
Cross Ref
- Yuanzhen He and Boxin Tang. 2013. Strong orthogonal arrays and associated Latin hypercubes for computer experiments. Biometrika 100, 1 (2013), 254--260. Google Scholar
Cross Ref
- Eric Heitz, Laurent Belcour, Victor Ostromoukhov, David Coeurjolly, and Jean-Claude Iehl. 2019. A Low-Discrepancy Sampler that Distributes Monte Carlo Errors as a Blue Noise in Screen Space. In ACM SIGGRAPH Talk. 1--2. Google Scholar
Cross Ref
- Fred Hickernell. 1998. A generalized discrepancy and quadrature error bound. Math. Comp. 67, 221 (1998), 299--322. Google Scholar
Cross Ref
- IBM. 2022. IBM ILOG CPLEX Optimizer. https://www.ibm.com/analytics/cplex-optimizerGoogle Scholar
- Wojciech Jarosz, Afnan Enayet, Andrew Kensler, Charlie Kilpatrick, and Per Christensen. 2019. Orthogonal Array Sampling for Monte Carlo Rendering. Computer Graphics Forum 38, 4 (2019), 135--147. Google Scholar
Cross Ref
- Stephen Joe and Frances Kuo. 2008. Constructing Sobol' sequences with better two-dimensional projections. SIAM J. on Scientific Computing 30, 5 (2008), 2635--2654. Google Scholar
Cross Ref
- Alexander Keller. 2004. Stratification by rank-1 lattices. In Monte Carlo and Quasi-Monte Carlo Methods 2002, Harald Niederreiter (Ed.). Springer, 299--313. Google Scholar
Cross Ref
- Alexander Keller, Simon Premože, and Matthias Raab. 2012. Advanced (Quasi) Monte Carlo Methods for Image Synthesis. In ACM SIGGRAPH 2012 Courses. Article 21. Google Scholar
Cross Ref
- Alexander Keller and Matthijs Van keirsbilck. 2022. Artificial Neural Networks generated by Low Discrepancy Sequences. In Monte Carlo and Quasi-Monte Carlo Methods, MCQMC 2020 (Lecture Notes in Statistics). Springer, to appear.Google Scholar
- Leslie Kish. 1965. Survey Sampling. John Wiley & Sons.Google Scholar
- Thomas Kollig and Alexander Keller. 2002. Efficient Multidimensional Sampling. Computer Graphics Forum (Proc. Eurographics 2002) 21, 3 (Sept. 2002), 557--563. Google Scholar
Cross Ref
- Anass Lasram, Sylvain Lefebvre, and Cyrille Damez. 2012a. Procedural texture preview. In Computer Graphics Forum (Eurographics), Vol. 31. 413--420. Google Scholar
Cross Ref
- Anass Lasram, Sylvain Lefebvre, and Cyrille Damez. 2012b. Scented Sliders for Procedural Textures. In EUROGRAPHICS short papers (Proceedings of the Eurographics conference (short papers)). Cagliari, Italy, 4 pages. https://hal.inria.fr/hal-00748188Google Scholar
- Pierre L'Ecuyer and David Munger. 2016. Algorithm 958: LatticeBuilder: A General Software Tool for Constructing Rank-1 Lattice Rules. https://github.com/umontreal-simul/latnetbuilder. ACM Trans. Math. Software 42, 2, Article 15 (2016).Google Scholar
Digital Library
- Christiane Lemieux. 2009. Monte Carlo and Quasi Monte Carlo Sampling. Springer. Google Scholar
Cross Ref
- Ricardo Marques, Christian Bouville, and Kadi Bouatouch. 2020. Spectral Analysis of Quadrature Rules and Fourier Truncation-Based Methods Applied to Shading Integrals. IEEE Trans. on Visualization and Computer Graphics 26, 10 (2020), 3022--3036. Google Scholar
Cross Ref
- Harald Niederreiter. 1992. Random Number Generation and quasi-Monte Carlo Methods. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, USA. Google Scholar
Cross Ref
- Art B. Owen. 1998. Monte Carlo extension of Quasi-Monte Carlo. In Proceedings of the 1998 Winter Simulation Conference. IEEE Press, 571--577. Google Scholar
Cross Ref
- Art B. Owen. 2013. Monte Carlo Theory, Methods and Examples. https://statweb.stanford.edu/~owen/mc/ Preprint.Google Scholar
- Loïs Paulin, Nicolas Bonneel, David Coeurjolly, Jean-Claude Iehl, Alexander Keller, and Victor Ostromoukhov. 2022. MatBuilder: Mastering Sampling Uniformity over Projections. https://github.com/loispaulin/matbuilderGoogle Scholar
- Loïs Paulin, Nicolas Bonneel, David Coeurjolly, Jean-Claude Iehl, Antoine Webanck, Mathieu Desbrun, and Victor Ostromoukhov. 2020. Sliced optimal transport sampling. ACM Trans. on Graphics (SIGGRAPH) 39, 4 (2020), 99:1--99:17. Google Scholar
Cross Ref
- Loïs Paulin, David Coeurjolly, Jean-Claude Iehl, Nicolas Bonneel, Alexander Keller, and Victor Ostromoukhov. 2021. Cascaded Sobol' Sampling. ACM Trans. on Graphics (SIGGRAPH Asia) 40, 6 (2021), 274:1--274:13. Google Scholar
Cross Ref
- Hélène Perrier, David Coeurjolly, Feng Xie, Matt Pharr, Pat Hanrahan, and Victor Ostromoukhov. 2018. Sequences with Low-Discrepancy Blue-Noise 2-D Projections. 37, 2 (2018), 339--353. Google Scholar
Cross Ref
- Matt Pharr, Wenzel Jakob, and Greg Humphreys. 2016. Physically Based Rendering: From Theory to Implementation. Morgan Kaufmann.Google Scholar
- Adrien Pilleboue, Gurprit Singh, David Coeurjolly, Michael Kazhdan, and Victor Ostromoukhov. 2015. Variance analysis for Monte Carlo integration. ACM Trans. on Graphics (SIGGRAPH) 34, 4 (2015), 124. Google Scholar
Cross Ref
- Robin L. Plackett and J. Peter Burman. 1946. The design of optimum multifactorial experiments. Biometrika 33, 4 (1946), 305--325. Google Scholar
Cross Ref
- Christophe Schlick. 1991. An Adaptive Sampling Technique for Multidimensional Integration by Ray-Tracing. In 2nd Eurographics Workshop on Rendering. Springer, Barcelona, Spain, 21--29. Google Scholar
Cross Ref
- Ilya M. Sobol'. 1967. On the distribution of points in a cube and the approximate evaluation of integrals. Zhurnal Vychislitel'noi Matematiki i Matematicheskoi Fiziki 7, 4 (1967), 784--802. Google Scholar
Cross Ref
- Ilya M. Sobol', Danil Asotsky, Alexander Kreinin, and Sergei Kucherenko. 2011. Construction and comparison of high-dimensional Sobol'generators. Wilmott 2011, 56 (2011), 64--79. Google Scholar
Cross Ref
- Laurence A. Wolsey. 2020. Integer Programming. John Wiley & Sons.Google Scholar
- Xiaohui Yuan, Lijun Xie, and Mohamed Abouelenien. 2018. A Regularized Ensemble Framework of Deep Learning for Cancer Detection from Multi-class, Imbalanced Training Data. Pattern Recognition 77 (2018), 160--172. Google Scholar
Cross Ref
Index Terms
MatBuilder: mastering sampling uniformity over projections
Recommendations
Generalized resampled importance sampling: foundations of ReSTIR
As scenes become ever more complex and real-time applications embrace ray tracing, path sampling algorithms that maximize quality at low sample counts become vital. Recent resampling algorithms building on Talbot et al.'s [2005] resampled importance ...
Cascaded Sobol' sampling
Rendering quality is largely influenced by the samplers used in Monte Carlo integration. Important factors include sample uniformity (e.g., low discrepancy) in the high-dimensional integration domain, sample uniformity in lower-dimensional projections, ...
Latin supercube sampling for very high-dimensional simulations
Special issue on uniform random number generationThis article introduces Latin supercube sampling (LSS) for very high-dimensional simulations such as arise in particle transport, finance, and queueing. LSS is developed as a combination of two widely used methods: Latin hypercube sampling (LHS) and ...





Comments