convergence analysis for anisotropic monte carlo sampling
play

Convergence Analysis for Anisotropic Monte Carlo Sampling Spectra - PowerPoint PPT Presentation

Convergence Analysis for Anisotropic Monte Carlo Sampling Spectra Gurprit Singh Wojciech Jarosz Thank you for being here. Today, I will be presenting our work on convergence analysis for Monte Carlo integration that is done in


  1. Variance of Monte Carlo Estimator in Polar Coordinates h i ˜ P f ( ρ n ) P S N ( ρ n ) Z ∞ Z ρ d − 1 Var( I N ) = d n d ρ × 0 S d − 1 Pilleboue et al. [2015] 17

  2. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra h i ˜ P f ( ρ n ) P S N ( ρ n ) Z ∞ Z ρ d − 1 Var( I N ) = d n d ρ × 0 S d − 1 Pilleboue et al. [2015] 18 …in polar coordinates, where the inner integral [CLICK] is over all the directions and the outer integral is over all the radial frequencies. They simplified this formulation further for [CLICK] isotropic sampling spectra [CLICK] which has the same energy in all directions for a given radial frequency,. As a result, the sampling spectrum does not depend on directions, and we can safely take it out of the inner integral…

  3. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P f ( ρ n ) P S N ( ρ ) Z ∞ Z ρ d − 1 Var( I N ) = d n d ρ S d − 1 0 Pilleboue et al. [2015] 19 …for any one direction. Now, The integral [CLICK] over the integrand spectrum can be rewritten…

  4. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P f ( ρ n ) P S N ( ρ ) Z ∞ Z ρ d − 1 Var( I N ) = d n d ρ S d − 1 0 Pilleboue et al. [2015] 19

  5. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P f ( ρ n ) P S N ( ρ ) Z ∞ ρ d − 1 Var( I N ) = × d ρ 0 Pilleboue et al. [2015] 20 … as a radial average over all the directions, which results in a…

  6. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P S N ( ρ ) P f ( ρ ) Z ∞ ρ d − 1 Var( I N ) = × d ρ 0 Pilleboue et al. [2015] 21 …1D radial function. This allowed Pilleboue and colleagues to represent variance as 1D integral just over the radial frequencies. They used this formulation to derive convergence rates…

  7. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P S N ( ρ ) P f ( ρ ) Z ∞ ρ d − 1 Var( I N ) = × d ρ 0 Samplers Worst Case Best Case Random Poisson Disk CCVT Pilleboue et al. [2015] 22 …of di ff erent samplers [CLICK], including random, poisson disk and CCVT. This was done under the assumption that the sampling spectra are [CLICK] isotropic. In practice, however, the samplers that we use are highly anisotropic in nature. For example,..

  8. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P S N ( ρ ) P f ( ρ ) Z ∞ ρ d − 1 Var( I N ) = × d ρ 0 Samplers Worst Case Best Case O ( N − 1 ) O ( N − 1 ) Random O ( N − 1 ) O ( N − 1 ) Poisson Disk O ( N − 1 . 5 ) O ( N − 3 ) CCVT Pilleboue et al. [2015] 22

  9. Variance of Monte Carlo Estimator for Isotropic Sampling Spectra ˜ P S N ( ρ ) P f ( ρ ) Z ∞ ρ d − 1 Var( I N ) = × d ρ 0 Isotropic Spectrum Poisson Disk Samplers Worst Case Best Case O ( N − 1 ) O ( N − 1 ) Random O ( N − 1 ) O ( N − 1 ) Poisson Disk O ( N − 1 . 5 ) O ( N − 3 ) CCVT Pilleboue et al. [2015] 22

  10. Latin Hypercube Sampler (N-rooks) 23 …a Latin hypercube sampler, that uses well 1D stratified samples, which are then randomly permuted to form [CLICK] 2D samples, has an…

  11. Latin Hypercube Sampler (N-rooks) 24 …a Latin hypercube sampler, that uses well 1D stratified samples, which are then randomly permuted to form [CLICK] 2D samples, has an…

  12. Latin Hypercube Sampler (N-rooks) Initialize 24

  13. Latin Hypercube Sampler (N-rooks) Shuffle rows 25 …a Latin hypercube sampler, that uses well 1D stratified samples, which are then randomly permuted to form [CLICK] 2D samples, has an…

  14. Latin Hypercube Sampler (N-rooks) Shuffle rows 25

  15. Latin Hypercube Sampler (N-rooks) 26 …a Latin hypercube sampler, that uses well 1D stratified samples, which are then randomly permuted to form [CLICK] 2D samples, has an…

  16. Latin Hypercube Sampler (N-rooks) Shuffle columns 27

  17. Latin Hypercube Sampler (N-rooks) Shuffle columns 27

  18. Latin Hypercube Sampler (N-rooks) 28

  19. Latin Hypercube Sampler (N-rooks) 29

  20. Anisotropic Sampling Power Spectra N-rooks / N-rooks Latin Hypercube Spectrum 30 … anisotropic power spectrum with hairline structures visible as a dark cross in the middle. These hairline anisotropies are there due to the denser stratification along the X…

  21. Anisotropic Sampling Power Spectra N-rooks / Spectrum Latin Hypercube 31 … anisotropic power spectrum with a dark cross in the middle. These hairline anisotropies are there due to the denser stratification along the X…

  22. Anisotropic Sampling Power Spectra N-rooks / N-rooks Latin Hypercube Spectrum 32 …and the Y-axis. It is also possible to directly obtain good 2D stratified samples…

  23. Anisotropic Sampling Power Spectra N-rooks / N-rooks Jitter Latin Hypercube Spectrum 33 …which has a power spectrum [CLICK] with a dark region around the center. Chiu and colleagues, optimized these samples…

  24. Anisotropic Sampling Power Spectra N-rooks / Jitter N-rooks Jitter Latin Hypercube Spectrum Spectrum 33

  25. Anisotropic Sampling Power Spectra N-rooks / Multi-Jitter N-rooks Multi-Jitter Latin Hypercube Spectrum Spectrum Chiu et al. [1993] 34 …to obtain denser stratification…

  26. Anisotropic Sampling Power Spectra N-rooks / Multi-Jitter N-rooks Multi-jitter Latin Hypercube Spectrum Spectrum Chiu et al. [1993] 35 …along the horizontal…

  27. Anisotropic Sampling Power Spectra N-rooks / Multi-Jitter N-rooks Multi-jitter Latin Hypercube Spectrum Spectrum Chiu et al. [1993] 36 …and vertical axis, on top of 2D stratification, which results in multi-jittered samples with a hairline anisotropy along the canonical axes that is visible as a cross in the middle of it’s spectrum. The same ideas extend to…

  28. Sampling in Higher Dimensions 37 …to higher dimensions. For example, in 4D…

  29. 4D Sampling Y V X U Rob Cook [1986] 38 …instead of directly sampling the full 4D space, Rob Cook in [1986] proposed to sample [CLICK] the lower 2D subspaces first, UV and XY here, and then randomly permute these 2D samples to form [CLICK] 4D tuples, which can then be used to evaluate an underlying 4D integrand. In practice…

  30. 4D Sampling 2D 2D ( x 1 , y 1 ) ( u 1 , v 1 ) ( x 2 , y 2 ) ( u 2 , v 2 ) ( x 3 , y 3 ) ( u 3 , v 3 ) ( x 4 , y 4 ) ( u 4 , v 4 ) Y . . . . V . . X U Rob Cook [1986] 38

  31. 4D Sampling 2D 2D ( x 1 , y 1 ) ( u 1 , v 1 ) ( x 2 , y 2 ) ( u 2 , v 2 ) ( x 3 , y 3 ) ( u 3 , v 3 ) ( x 4 , y 4 ) ( u 4 , v 4 ) Y . . . . V . 4D . ( x 1 , y 1 , u 3 , v 3 ) ( x 2 , y 2 , u 1 , v 1 ) ( x 3 , y 3 , u 4 , v 4 ) X ( x 4 , y 4 , u 2 , v 2 ) U . Rob Cook [1986] . . 38

  32. 4D Sampling 2D 2D ( x 1 , y 1 ) ( u 1 , v 1 ) Uncorrelated Jitter ( x 2 , y 2 ) ( u 2 , v 2 ) ( x 3 , y 3 ) ( u 3 , v 3 ) ( x 4 , y 4 ) ( u 4 , v 4 ) Y . . . . V . 4D . ( x 1 , y 1 , u 3 , v 3 ) ( x 2 , y 2 , u 1 , v 1 ) ( x 3 , y 3 , u 4 , v 4 ) X ( x 4 , y 4 , u 2 , v 2 ) U . Rob Cook [1986] . . 39 …rendering systems tend to use jittered samples on these 2D subspaces. It is, however, beneficial to use…

  33. 4D Sampling 2D 2D ( x 1 , y 1 ) ( u 1 , v 1 ) Uncorrelated Poisson Disk ( x 2 , y 2 ) ( u 2 , v 2 ) ( x 3 , y 3 ) ( u 3 , v 3 ) ( x 4 , y 4 ) ( u 4 , v 4 ) Y . . . . V . 4D . ( x 1 , y 1 , u 3 , v 3 ) ( x 2 , y 2 , u 1 , v 1 ) ( x 3 , y 3 , u 4 , v 4 ) X ( x 4 , y 4 , u 2 , v 2 ) U . Rob Cook [1986] . . 40 …rendering systems tend to use jittered samples on these 2D subspaces. It is, however, beneficial to use…

  34. 4D Sampling Spectra along Projections Poisson Disk Spectra UV XY Poisson Disk Samples 41 …power spectrum in these 2D projections, it has hairline anisotropy along the [CLICK] canonical axes on top of the [CLICK] big dark region that corresponds to 2D jittered sampling. However, If we look at the XU projection…

  35. 4D Sampling Spectra along Projections Poisson Disk Spectra UV XY Poisson Disk Samples 41

  36. 4D Sampling Spectra along Projections Poisson Disk Spectra UV XY XU Poisson Disk Samples 42 42 …power spectrum in these 2D projections, it has hairline anisotropy along the [CLICK] canonical axes on top of the [CLICK] big dark region that corresponds to 2D jittered sampling. However, If we look at the XU projection…

  37. 4D Sampling Spectra along Projections Poisson Disk Spectra UV XY XU Poisson Disk Samples 42 42

  38. 4D Sampling Spectra along Projections Poisson Disk Spectra UV XY XU YV Poisson Disk Samples 43 …power spectrum in these 2D projections, it has hairline anisotropy along the [CLICK] canonical axes on top of the [CLICK] big dark region that corresponds to 2D jittered sampling. However, If we look at the XU projection…

  39. How can we perform Convergence Analysis for Anisotropic Sampling Spectra ? 44 …to higher dimensions. For example, in 4D…

  40. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ν ) P f ( ν ) Z Var( I N ) = d ν × Ω N-rooks spectrum Integrand spectrum S N ( ~ x ) f ( ~ x ) N-rooks 45 …for N-rooks sampler as a product of sampling and integrand spectra. As before, we rewrite this formulation in polar coordinates…

  41. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ n ) P f ( ρ n ) Z ∞ Z ρ d − 1 Var( I N ) = d n d ρ × S d − 1 0 46 …as a double integral. By switching the order of the integration…

  42. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ n ) P f ( ρ n ) Z ∞ Z ρ d − 1 Var( I N ) = d ρ d n × S d − 1 0 47 …the inner integral now represents the integration over the radial frequencies…

  43. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ k n k ) P f ( ρ k n k ) Z ∞ Z 0 ρ d − 1 Var( I N ) = d ρ d n × S d − 1 48 … for a given k-th direction. Since the outer integral…

  44. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ k n k ) P f ( ρ k n k ) Z ∞ Z 0 ρ d − 1 Var( I N ) = d ρ d n × S d − 1 48

  45. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ k n k ) P f ( ρ k n k ) Z ∞ Z 0 ρ d − 1 Var( I N ) = d ρ d n × S d − 1 49 … is over all the directions, using Reimann summation, we can rewrite the outer integral…

  46. Variance Formulation for Anisotropic Sampling Spectra h i P S N ( ρ k n k ) P f ( ρ k n k ) Z ∞ m X 0 ρ d − 1 Var( I N ) = lim ∆ n k d ρ × m →∞ k =1 50 …as a summation over an infinite directional cones. After slight rearrangement, we obtain the variance formulation…

  47. Variance Formulation for Anisotropic Sampling Spectra Z ∞ m X h i 0 ρ d − 1 Var( I N ) = lim P S N ( ρ k n k ) ∆ n k P f ( ρ k n k ) d ρ × m →∞ k =1 51 …as a summation over an infinite directional cones. After slight rearrangement, we obtain the variance formulation…

  48. Variance Formulation for Anisotropic Sampling Spectra m Z ∞ X lim h i ρ d − 1 P S N ( ρ k n k ) Var( I N ) = P f ( ρ k n k ) d ρ ∆ n k m →∞ 0 k =1 52 … for anisotropic samplers. One thing to note about this formulation is that, the inner integral…

  49. Variance Formulation for Anisotropic Sampling Spectra m Z ∞ X h lim i ρ d − 1 P S N ( ρ k n k ) Var( I N ) = P f ( ρ k n k ) d ρ ∆ n k m →∞ 0 k =1 h i P S N ( ρ k n k ) P f ( ρ k n k ) 53 …considers the radial behavior of both the sampling and the integrand spectra for a given k-th direction, which when [CLICK] added up for all the directional cones, gives the variance. This shows that, unlike previous work, our formulation not only [CLICK] handles anisotropic sampling spectra but also intimately couples the anisotropic structures present in the integrand spectrum with that of the sampling spectrum. We will see shortly how this impacts the convergence rate but first, lets analyze the anisotropic structures of N-rooks spectrum more closely.

  50. Variance Formulation for Anisotropic Sampling Spectra m Z ∞ X h lim i ρ d − 1 P S N ( ρ k n k ) Var( I N ) = P f ( ρ k n k ) d ρ ∆ n k m →∞ 0 k =1 h i P S N ( ρ k n k ) P f ( ρ k n k ) 53

  51. Variance Formulation for Anisotropic Sampling Spectra m Z ∞ X h lim i ρ d − 1 P S N ( ρ k n k ) Var( I N ) = P f ( ρ k n k ) d ρ ∆ n k m →∞ 0 k =1 h i P S N ( ρ k n k ) P f ( ρ k n k ) 53

  52. Variance Formulation for Anisotropic Sampling Spectra m Z ∞ X h lim i ρ d − 1 P S N ( ρ k n k ) Var( I N ) = P f ( ρ k n k ) d ρ ∆ n k m →∞ 0 k =1 h i P S N ( ρ k n k ) P f ( ρ k n k ) 53

  53. Convergence Analysis for Anisotropic Sampling Spectra Power Spectrum Radial Power Spectrum 54 N-rooks power spectrum has [CLICK] jittered radial profile along the canonical axes, and [CLICK] a constant radial profile along all other directions. For the convergence rate, we only need…

  54. Convergence Analysis for Anisotropic Sampling Spectra Power Spectrum Radial Power Spectrum Along canonical axes Power Frequency Jittered Spectrum Profile 54

  55. Convergence Analysis for Anisotropic Sampling Spectra Power Spectrum Radial Power Spectrum Along canonical axes Power Frequency Jittered Spectrum Profile Other directions Power Frequency Random Spectrum Profile 54

  56. Convergence Analysis for Anisotropic Sampling Spectra Power Spectrum Radial Power Spectrum Along canonical axes Power Frequency Jittered Spectrum Profile Other directions Power Frequency Random Spectrum Profile 54

  57. Convergence Analysis for Anisotropic Sampling Spectra Power Spectrum Radial Power Spectrum Along canonical axes Power Frequency Jittered Spectrum Profile Other directions Power Frequency Random Spectrum Profile 55 … one of the canonical direction (shown in purple) and one of the direction from the rest of the spectrum (shown in green) since the behavior is the same in all other directions. Now, depending on the integrands…

  58. Convergence Analysis for Anisotropic Sampling Spectra h i P S N ( ν ) Spectrum f ( ~ x ) f ( ~ x ) Along canonical axes Power Spectrum Radial Other directions Power 56 …we can get di ff erent convergence rates from the same sampler. For example, the step function in magenta box has [CLICK] a power spectrum with all its energy along the horizontal axis. As a result, only the horizontal axis [CLICK] with jittered profile would overlap with the integrand spectrum and will result in a convergence rate of [CLICK] O(N^-2). Since the other directions doesn't overlap with this integrand spectrum, they won’t [CLICK] impact the convergence behavior. However, if we have an integrand with a [CLICK] power spectrum having energy along all the directions, we may see [CLICK] two di ff erent convergence behavior in its variance plot as we go toward higher sample count. However, asymptotically only the worse of the two would dominate, and we will see a convergence rate of O(N^-1). To understand this mathematically, lets look at the variance formulation, which is the product…

  59. Convergence Analysis for Anisotropic Sampling Spectra h i P S N ( ν ) P f ( ν ) Spectrum f ( ~ x ) f ( ~ x ) Along canonical axes Power Spectrum Radial Other directions Power 56

  60. Convergence Analysis for Anisotropic Sampling Spectra h i P S N ( ν ) P f ( ν ) Spectrum f ( ~ x ) f ( ~ x ) Along canonical axes Power Spectrum Radial Other directions Power 56

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend