Scribe
: Heiko ZimmermannScribe Graphs Stochastic Computation 22 : Heiko Zimmermann : - - PowerPoint PPT Presentation
Scribe Graphs Stochastic Computation 22 : Heiko Zimmermann : - - PowerPoint PPT Presentation
Lecture Scribe Graphs Stochastic Computation 22 : Heiko Zimmermann : Auto encoding Variational General Methods View : - weighted Ulp Auto encoding & Importance auto encoders SMC : EI [ IT Replace unbiased estimator Cx )
- weighted
- ftp.#qczixsllogwDsEp..llogpdxiIw=Po&I9pl71X
↳
Wake- sleep
Ulp
) > ,log
poles- Style
- f
& &
! (Ig leg
go ,At
a) (log
Wo ,#
ith ) tbh ) Z "- aaczks
2%5×3
)9¢CZgk,x
) IX ) K =If
dd-plogwo.pk
, eh )duplet
K k- I
Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago )9.
- ,
.gl#gcxifEh*.axflogPf;.1
)
Data qcx ) Encoder golly , 71×7 Decoder pocx , 9,7 )Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
X h , y 9 ¢ Not re parameterized : y n Discrete ( h , ( x , ¢ , ) )Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,qL( 0,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
en =- log
0¥
, = 0¥ Eh ' q ly 1h , ) 24 , 9 X h , y 9 ¢ Not re parameterized : y n Discrete ( h , ( x , to , ) )Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
#\
pepanametvi red : 9 X h , y hz 2- 2- ( hzlx.y.dz ) , E ) to & E E n p ( EsComputation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
em
e . er .- log
4/2
. dl¥z=, ghq;
d Q & EComputation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcs.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
em
e . er .- log
dl¥z=
0¥
ghq;
d Q 19 E+9¥
z%
092Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
(a)
h . g. / 9 n X h , y ha zdlg
I
dot
, Q & EComputation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
Problem . I : Cannot#\
l , take derivative w . n . t . discrete value 9 9 × n . s nit¥
.it
- f
:&
?%÷¥
Q & EComputation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
Problem . I : Cannot#)
l , tame derivative w .- t
:* :*
Q & E Problem 2 : Cannot tale derivative- f
Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) Do ( x , y ,7 ) To ,o, £10,91 = To.gl#gcxsfEtqcy.zixflog+zx )) Idea : Represent loss as stochastic computationgraph
#)#dl×
l×=- leg paths
- log
- log
Computation
Graphs Example : Structured VAE far MNIST (3 lectures ago ) To ,qL( 0,9 ) = To .gl#gcxsfEtlqo,eyixspcesfllxtlztly ))) Idea : Represent loss as stochastic computationgraph
,#dl×
l×=- leg paths
- log
- log
- f
Computation
Graphs Idea : Combine Reinforce- stale
÷
=- E acxiaocsixspcail data
I
× l×=- leg paths
- log
- log
- f
Computation
Graphs Idea : Combine Reinforce- stale
dlx
- =
- E gcxiqocyixspcaif
1¥
=- #
.is#pcqfdel-oxz+dd-ozy }
re Parameterized)dl×
l×=- leg paths
- log
- log
- f
Stochastic
Computation
Graphs Idea : Combine Reinforce- stale
gradients
dlx
daff
=- E
- style
- Eacxiqocsixspcaildoztddoz
]
I
DL
dq
=- #
9ksqcsixspceifddo.bg
9cg 1h , )) ( textlyte
, ) ],#dl×
l×=- leg paths
- log
- h
- log
- f
Computation
Graphs Question ; What happens if we add an extra edge ?- ftp. !
- E
gcxiqocsixspcaifddqlogqcyih
, )) (lxtlytl
, ) ]#)dl×
l×=- leg paths
- log
- to
- log
- f
Computation
Graphs Question ; What happens if we add an extra edge ?Fp
, =- #
gcxsqcsixspcafddo.bg
qcylh , )) (lxtlytl
, )+8,9 +9¥ )
)dl×
l×=- leg paths
- log
- to
- log
- f
Computation
Graphs Question ; What happens if we add an extra edge ? Ideal . Sum- ver
through
y )¥p
, =- #
gcxiqocsixspcaifddo.bg
qcylh , )) (lxtlytl
, ) +ftp.t#yt1(pathsaroId4
))de×
l×=- leg paths
- log
- to
- log
- f
Computation
Graphs Generalrules
: We can compute derivatives- f
- ver
- style
- ther
e.me#l3
q / 9 9 V , d , Vz dz des du L = l , tlztl ,- O
V3
03
- f
Computation
Graphs Sun- ver
IT
; PLY , Veith(
Sum- ver
Epa
.mn/j..o?y.ddoibg9hil/Lta..?aeuado;ea)#.eTl3
q / 9 9 V , d ,Vz
dz des da L = l , tlztl , → O , OzV3
03
- f
Computation
Graphs Sum- ver
IT
, PLY , Veith(
Sum- ver
.mn/j..o?sy.dd-oibg9hil/Lta..?aeuad-oieu
]
Variational Inference Policy Search ( and max likelihood ) ' ( and model- based
Vj
: Latent variables Vj : States and actions lie : Log incremental weights la : Incremental rewardsComputation
Graphs Sum- ver
IT
; PLY , Veith(
Sum- ver
.mn/j..o?sy.dd-oibg9hil/Lta..?aeuadoieu ]
Credit Assignment : The loss L = & eh depends- n
Computation
Graphs Sum- ver
IT
, PLY , Veith(
Sum- ver
.mn/j..o?sy.dd-oibg9hil/Lta..?aeuadoieu ]
I
cific lossLj
Idea : Replace L with a Variable- Spe
Computation
GraphsIE
IL ) = Lj do ; PCY.k.vn m E per ..mn/j..o?y.ddoibg9hilllQiB;lta..?aeuadoieu
]
÷
"T.i.a.e.su
. . . which E I adobe.gg/vj ) ( L- Qj ) ]
- ( Rao
- Blachwellizatian)
Ftfddobogglvj
) Bj ) =- (
- f
- f
- .
such that
Vb f Vj is a baselinee.me#l3
q / 9 9 V , d , dz d3 Vz du→
O ,Vz
Oz O , constant relative ⇐ per , , he , r , ) I ddg log PNzlvzih
) hi IVi,Vz )) to expectation- ver
.vn/Epcvziv..vzyddologPN31VzirillilVi,Vz
))) = O- f
- f
- .
such that
Vb f Vj is a baselinee.me#l3
q / 9 9 V , d , dz d3 Vz du→
O ,Vz
Oz O , Cost- to
- go
↳
= LI
E la = I la ksjhjjsh
Baseline : Loss before ; Critic : Loss after jplat
B ) pc B )÷
E per , fado log pivjl Kj )Lj ]
=Epc I #
ply
. ,fado
log P ' Vj ' Kj ) Etper
, ; , y . ve ; , I Lj )]