+ All Categories
Home > Documents > Path Integral Methods for Light Transport Simulation: Theory & Practice

Path Integral Methods for Light Transport Simulation: Theory & Practice

Date post: 23-Feb-2016
Category:
Upload: ananda
View: 38 times
Download: 0 times
Share this document with a friend
Description:
Path Integral Methods for Light Transport Simulation: Theory & Practice. Introduction to Markov Chain and Sequential Monte Carlo. Markov Chains. Markov Chain. Random walk implies a transition probability for each move - PowerPoint PPT Presentation
Popular Tags:
41
Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this Path Integral Methods for Light Transport Simulation: Theory & Practice Introduction to Markov Chain and Sequential Monte Carlo
Transcript
Page 1: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Path Integral Methods for Light Transport Simulation: Theory &

PracticeIntroduction to Markov Chain and

Sequential Monte Carlo

Page 2: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Markov Chains

Page 3: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

4

Random walk implies a transition probability for each move

At each move the chain forms a posterior distribution over state space– A histogram of all visited states up to move

Detailed balance defined as

Markov Chain

Page 4: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

5

•Posterior converges to the target distribution if the detailed balance obeyed and all states are reachable (ergodicity)

•With “bad” initial state the start-up bias (burn-in phase) can be significant

Markov Chain

𝒙𝟎

𝒙𝟎𝒙𝟎

Burn-in area

Equilibrium

Page 5: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Metropolis-Hastings Algorithm

Page 6: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

7

Goal: Random walk according to a desired function Define conditional rejection sampling probability

– is acceptance probability at state for proposal state

Detailed balance is affected as Posterior distribution is then proportional to

– Accurate to a scaling factor = normalization constant

Metropolis-Hastings (MH) Algorithm

Page 7: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

8

Metropolis-Hastings: Example

𝒙𝟎

Page 8: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

9

Metropolis-Hastings: Example

𝒙𝟏

ℕ(𝒙𝟏)

ℕ(𝒙𝟎)

𝒙𝟎𝑎𝑥0→𝑥1=ℕ(𝑥1)ℕ (𝑥0 )

>1

Page 9: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

10

Metropolis-Hastings: Example

𝒙𝟏𝒙𝟐 ′ 𝑎𝑥1→𝑥2=ℕ(𝑥2)ℕ (𝑥1 )

≪1

Page 10: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

11

Metropolis-Hastings: Example

𝒙𝟑𝒙𝟐

Page 11: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

12

Metropolis-Hastings: Example

𝒙𝟑𝒙𝟒 ′

Page 12: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

13

Metropolis-Hastings: Example

𝒙𝟒 𝒙𝟓 ′

Page 13: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

14

Metropolis-Hastings: Example

𝒏=𝟐𝟎

Page 14: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

15

Metropolis-Hastings: Example

𝒏=𝟐𝟎𝟎

Page 15: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

16

Metropolis-Hastings: Example

𝒏=𝟐𝟎𝟎𝟎

Page 16: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

17

Cannot fetch proposals directly from Generate a proposal from some proposal distribution

– Similar to importance sampling in Monte Carlo

– can depend on the current state :

– New transition probability

Acceptance probability is then (from detailed balance):

Importance Sampling for M-H

Page 17: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

18

Correspondence Table

Ordinary Monte Carlo Markov chain Monte Carlo

Convergence rate, usually Mixing rate, depends on multiple factors,

can be geometric

Convergence to an expected valueConvergence of the posterior to the target distribution (e.g., in total variation)

Importance sampling distribution Proposal distribution

Variance of the estimate Acceptance rate, correlation of samples

Number of samples Number of moves (mutations)

Page 18: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Metropolis Light Transport

Page 19: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

20

Reduce per-pixel integrals to a single integral– Each pixel has an individual filter function then

Compute the distribution over the image plane– Bin this distribution into corresponding pixels

Walk over the image plane

Image Generation

Page 20: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

21

State space = space of full paths, path space What is the function for light transport? Interested in flux arriving at image plane

Metropolis Light Transport

Page 21: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

22

Measurement contribution for -length path

Measurement Contribution

𝜌 𝜌

𝜌 𝜌

𝜌

𝐿e𝑊 e 𝐺 𝐺 𝐺 𝐺 𝐺 𝐺

Page 22: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

23

– Flux through all differential areas of a path

Measurement Contribution

𝑑𝐴

𝑑𝐴

𝑑𝐴

𝑑𝐴

𝑑𝐴

𝑑𝐴

𝑑𝐴

Page 23: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

24

MH needs to compare two states (paths)

– Use flux through the infinitesimal path beam

Directly comparable for equal-length paths– Compare flows of energy through each path

For different lengths the measure is different– Always compare fluxes going through each path

Comparing Paths

Page 24: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

25

For path of length : Combine all path lengths into a single integral

– Use unified measure for all paths

– Compare paths of different length

– Compare groups of paths

Use in Metropolis-Hastings!

Path Integral

Page 25: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

26

1. Generate initial path using PT/BDPT

2. Mutate with some proposal distribution

3. Accept new path with probability

4. Accumulate contribution to the image plane

5. Go to step 2

Metropolis Light Transport

𝑥0𝑥1

𝑥2

Page 26: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

27

More robust to complex light paths– Remembers successful paths

Utilizes coherence of image pixels– Explores features faster

Cheaper samples– Correlated

Flexible path generators (mutations)

Advantages

Page 27: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

28

Run many short Markov chains for each seed Adaptive number of chains according to path energy In spirit of Veach’s lens mutation

Energy redistribution path tracing [Cline05]

Page 28: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Normalizationand Start-up Bias in MLT

Page 29: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

31

We do have a good alternative sampler– Path tracer / bidirectional path tracer

– Easy to compute normalization constant

No start-up bias, start within the equilibrium– Start many chains stratified over path space

– Scales well with massively parallel MLT

Differences to MCMC

Page 30: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Mutation Strategies and Their Properties

Page 31: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

33

Lightweight mutation: change a few vertices Low correlation of samples

– Large steps in path space

Good stratification over the image plane– Hard to control, usually done by re-seeding

It’s OK to have many specialized mutations

Good Mutation Criteria

Page 32: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Existing Mutation Strategies

Page 33: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

35

Minimal changes to the path– Lens, caustics, multi-chain perturbations

Large changes to the path– Bidirectional mutation

• BDPT-like large step

– Lens mutation

• stratified seeding on the image plane

Veach Mutations

Lensperturbation

Causticsperturbation

Bidirectionalmutation

Page 34: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

36

Mutate a “random” vector that maps to a path Symmetric perturbation of “random” numbers Use the “random” vector for importance pdfs

– Primary space: importance function domain

– Assume the importance sampling is good

Kelemen Mutation

Page 35: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

37

Acceptance probability – Easy to compute: just take values from PT/BDPT

Large step: pure PT / BDPT step– Generate primary sample (random vector) anew

Kelemen Mutation, Part II

Page 36: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

38

Works in the local parameterization of current path Can connect through a specular chain Freezes integration dimensions

– Tries to keep constant by obeying constraints

Manifold Exploration Mutation

S

Page 37: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

39

Manifold exploration can be combined– With Veach mutation strategies in MLT

– With energy redistribution path tracing

Combine Kelemen’s and Veach’s mutations?– Possible, yet unexplored option

Combinations

Page 38: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Population Monte CarloLight Transport

Page 39: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

41

Use a population of Markov chains– Can operate on top of Metropolis-Hastings

Rebalance the workload– Weakest chains are eliminated

– Strongest chains are forked into multiple

Use mixture of mutations, adapt to the data– Select optimal mutation on the fly

Population Monte Carlo Framework

Page 40: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

42

Spawn a population of chains with paths– Do elimination and reseeding based on path energy

Use many mutations with different parameters– Reweight them on-the-fly based on the efficiency

– Lens and caustics perturbations in the original paper

We will show PMC with manifold exploration

Population Monte Carlo ERPT [Lai07]

Page 41: Path Integral Methods for  Light Transport Simulation: Theory &  Practice

Edit this text to create a Heading This subtitle is 20 points Bullets are blue They have 110% line spacing, 2 points before & after Longer bullets in the form of a paragraph are harder

to read if there is insufficient line spacing. This is the maximum recommended number of lines per slide (seven). Sub bullets look like this

Part one questions?Thank You for Your attention.


Recommended