Weakly Supervised Disentanglement with Guarantees
Rui Shu
Joint work with Yining Chen, Abhishek Kumar, Stefano Ermon, Ben Poole
Weakly Supervised Disentanglement with Guarantees Rui Shu Joint - - PowerPoint PPT Presentation
Weakly Supervised Disentanglement with Guarantees Rui Shu Joint work with Yining Chen, Abhishek Kumar, Stefano Ermon, Ben Poole Why Decompose data into a set of underlying Explainable models human-interpretable factors of variation What is in
Joint work with Yining Chen, Abhishek Kumar, Stefano Ermon, Ben Poole
Blue sky Pink wall Small purple ball Green floor Decompose data into a set of underlying human-interpretable factors of variation
2
{dark blue wall, green floor, green oval} {green wall, red floor, green cylinder} {red wall, green floor, pink ball} Controllable generation as label-conditional generative modeling green wall, red floor, blue cylinder
3
What kind of glasses? What kind of hairstyle? Generate this guy with this hair
4
Beta-VAE TC-VAE FactorVAE Swivel the chair
5
Z1: Shape Z2: Shading vs
Locatello, et al. Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations, ICML 2019. 6
7
Pink wall Purple ball Green floor
8
Size: ¯\_(ツ)_/¯
Same ground color Real world data: direct intervention to share / change certain factors
9
Which is bigger?
10
a. Consistency b. Restrictiveness
Departure from existing literature: no end-to-end theoretical framework of disentanglement
11
12
1. When z1 is fixed, is size fixed? 2. When we only change z1, does only size change?
13
1. When z1 is fixed, is size fixed? (Consistency) 2. When we only change z1, does only size change? (Restrictiveness)
14
When ZI is fixed, SI is fixed
Oracle encoder Generative model Perturbation-based generation
15
When only ZI is changed, only SI is changed
Equivalently: when Z\I is fixed, S\I is fixed Oracle encoder Generative model Perturbation-based generation
16
ZI is consistent and restricted to SI
17
When only ZI is changed, only SI is changed
Equivalently: when Z\I is fixed, S\I is fixed
18
19
Consistency Union: If fixing ZI fixes SI and fixing ZJ fixes SJ then fixing ( ZI , ZJ ) fixes ( SI , SJ ) Restrictiveness Union: If changing ZI changes only SI and changing ZJ changes only SJ then changing ( ZI , ZJ ) changes only ( SI , SJ )
20
Consistency Intersection: If fixing ZI fixes SI and fixing ZJ fixes SJ then fixing ZV fixes SV Restrictiveness Intersection: If changing ZI changes only SI and changing ZJ changes only SJ then changing ZV changes only SV
21
Disentanglement via Consistency Consistency on all factors implies disentanglement on all factors Disentanglement via Restrictiveness Restrictiveness on all factors implies disentanglement on all factors
22
23
24
25
Distribution Match
ZI will be consistent with SI
26
ZI will be consistent with SI Distribution Match
27
Distribution Match
ZI will be consistent with SI
28
29
Generative model trained via restricted labeling at S5 Evaluated model on consistency of Z0 vs S0
30 Consistency: Restricted Labeling Consistency: Match Pairing (Share 1 factor) Restrictiveness: Match Pairing (Change 1 factor) Consistency: Rank pairing Restrictiveness: Intersection
31
restrictiveness of one factor
consistency vs restrictiveness
32
Observed class label Unobserved style Style Content Only content-consistency is guaranteed Style-content disentanglement not guaranteed (but due to neural net magic)
33
34
single-factor ablation
restrictiveness Elevation Azimuth
35
single-factor ablation
restrictiveness Ground truth factors: floor color, wall color, object color, object size, object type, and azimuth.
36
single-factor ablation
restrictiveness Ground truth factor: object size Ground truth factor: wall color
37
38
Blue sky Pink wall Small purple ball Green floor
39
40
Entangled Disentangled
ruishu@stanford.edu @_smileyball @smiley._.ball