-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
554 lines (510 loc) · 20.5 KB
/
index.html
File metadata and controls
554 lines (510 loc) · 20.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description"
content="Deformable Neural Radiance Fields creates free-viewpoint portraits (nerfies) from casually captured videos.">
<meta name="keywords" content="Nerfies, D-NeRF, NeRF">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>On Measuring Fairness in Generative Models (NeurIPS23)</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PYVRSFMDRL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-PYVRSFMDRL');
</script>
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro"
rel="stylesheet">
<link rel="stylesheet" href="./static/css/bulma.min.css">
<link rel="stylesheet" href="./static/css/bulma-carousel.min.css">
<link rel="stylesheet" href="./static/css/bulma-slider.min.css">
<link rel="stylesheet" href="./static/css/fontawesome.all.min.css">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
<link rel="stylesheet" href="./static/css/index.css">
<!--<link rel="icon" href="./static/images/favicon.svg">-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="./static/js/fontawesome.all.min.js"></script>
<script src="./static/js/bulma-carousel.min.js"></script>
<script src="./static/js/bulma-slider.min.js"></script>
<script src="./static/js/index.js"></script>
</head>
<body>
<!--
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start" style="flex-grow: 1; justify-content: center;">
<a class="navbar-item" href="https://keunhong.com">
<span class="icon">
<i class="fas fa-home"></i>
</span>
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
More Research
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://hypernerf.github.io">
HyperNeRF
</a>
<a class="navbar-item" href="https://nerfies.github.io">
Nerfies
</a>
<a class="navbar-item" href="https://latentfusion.github.io">
LatentFusion
</a>
<a class="navbar-item" href="https://photoshape.github.io">
PhotoShape
</a>
</div>
</div>
</div>
</div>
</nav>
-->
<!-- Author info -->
<section class="hero">
<div class="hero-body">
<div class="container is-max-desktop">
<div class="columns is-centered">
<div class="column has-text-centered">
<h1 class="title is-1 publication-title">NeurIPS23: On Measuring Fariness in Generative Models</h1>
<div class="is-size-5 publication-authors">
<span class="author-block">
<a href="-">Christopher T. H. Teo</a><sup>1</sup>,</span>
<span class="author-block">
<a href="-">Milad Abdollahzadeh</a><sup>1</sup>,</span>
<span class="author-block">
<a href="-">Ngai-Man Cheung</a><sup>1</sup>,
</span>
</div>
<div class="is-size-5 publication-authors">
<span class="author-block"><sup>1</sup>Singapore Univeristy of Technology and Design (SUTD),</span>
</div>
<div class="column has-text-centered">
<div class="publication-links">
<!-- PDF Link. -->
<span class="link-block">
<a href="https://proceedings.neurips.cc/paper_files/paper/2023/file/220165f9c7f51163b73c8c7fff578b4e-Paper-Conference.pdf"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fas fa-file-pdf"></i>
</span>
<span>Paper</span>
</a>
</span>
<span class="link-block">
<a href="https://arxiv.org/abs/2310.19297"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="ai ai-arxiv"></i>
</span>
<span>arXiv</span>
</a>
</span>
<!-- Video Link. -->
<!--
<span class="link-block">
<a href="-"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-youtube"></i>
</span>
<span>Video</span>
</a>
</span>
-->
<!-- Code Link. -->
<span class="link-block">
<a href="https://github.com/Bearwithchris/CLEAM_code"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>Code</span>
</a>
</span>
<!-- Dataset Link. -->
<span class="link-block">
<a href="https://drive.google.com/drive/folders/1ENslNLyK6EEG2qj5YLZ3Qu3rFijJWEqB?usp=sharing"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="far fa-images"></i>
</span>
<span>Data</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--
<section class="hero teaser">
<div class="container is-max-desktop">
<div class="hero-body">
<video id="teaser" autoplay muted loop playsinline height="100%">
<source src="./static/videos/teaser.mp4"
type="video/mp4">
</video>
<h2 class="subtitle has-text-centered">
<span class="dnerf">Nerfies</span> turns selfie videos from your phone into
free-viewpoint
portraits.
</h2>
</div>
</div>
</section>
<section class="hero is-light is-small">
<div class="hero-body">
<div class="container">
<div id="results-carousel" class="carousel results-carousel">
<div class="item item-steve">
<video poster="" id="steve" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/steve.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-chair-tp">
<video poster="" id="chair-tp" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/chair-tp.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-shiba">
<video poster="" id="shiba" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/shiba.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-fullbody">
<video poster="" id="fullbody" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/fullbody.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-blueshirt">
<video poster="" id="blueshirt" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/blueshirt.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-mask">
<video poster="" id="mask" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/mask.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-coffee">
<video poster="" id="coffee" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/coffee.mp4"
type="video/mp4">
</video>
</div>
<div class="item item-toby">
<video poster="" id="toby" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/toby2.mp4"
type="video/mp4">
</video>
</div>
</div>
</div>
</div>
</section>
-->
<section class="section">
<div class="container is-max-desktop">
<!-- Abstract. -->
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">Abstract</h2>
<div class="content has-text-justified">
<p>
Recently, there has been increased interest in fair generative models. In this work,
we conduct, for the first time, an in-depth study on fairness measurement, a
critical component in gauging progress on fair generative models. We make three
main contributions. First, we conduct a study that reveals that contrary to prior
work’s assumption the existing fairness measurement framework has considerable
measurement errors, even when highly accurate sensitive attribute (SA) classifiers
are used. For example, a ResNet-18 for Gender with accuracy ≈ 97% could still
result in an measurement error of 4.98%. This oversight raises concerns about the
accuracy reported in previous works, where relative fairness improvement falls
within these error margins. Second, to address this issue, we propose CLassifier
Error-Aware Measurement (CLEAM), a new framework which uses a statisti-
cal model to account for inaccuracies in SA classifiers. Our proposed CLEAM
reduces measurement errors significantly, e.g., 4.98%→0.62% for StyleGAN2
w.r.t. Gender. CLEAM achieves this with minimal additional overhead. Third,
we utilize CLEAM to measure fairness in important text-to-image generator and
GANs, revealing considerable biases in these models that raise concerns about
their applications. Code and reproducibility instructions are included in Supp.
</p>
</div>
</div>
</div>
<!--/ Abstract. -->
<!-- Body -->
<div class="container is-max-desktop">
<div class="columns is-centered">
<!-- Visual Effects. -->
<!-- <div class="column">
<div class="content">
<h2 class="title is-3">Visual Effects</h2>
<p>
Using <i>nerfies</i> you can create fun visual effects. This Dolly zoom effect
would be impossible without nerfies since it would require going through a wall.
</p>
<video id="dollyzoom" autoplay controls muted loop playsinline height="100%">
<source src="./static/videos/dollyzoom-stacked.mp4"
type="video/mp4">
</video>
</div>
</div> -->
<!--/ Visual Effects. -->
<!-- Matting. -->
<!-- <div class="column">
<h2 class="title is-3">Matting</h2>
<div class="columns is-centered">
<div class="column content">
<p>
As a byproduct of our method, we can also solve the matting problem by ignoring
samples that fall outside of a bounding box during rendering.
</p>
<video id="matting-video" controls playsinline height="100%">
<source src="./static/videos/matting.mp4"
type="video/mp4">
</video>
</div>
</div>
</div>
</div> -->
<!--/ Matting. -->
<!-- Animation. -->
<div class="columns is-centered">
<!-- <div class="column is-full-width"> -->
<!-- <h2 class="title is-3">Animation</h2> -->
<!-- Interpolating. -->
<!-- <h3 class="title is-4">Interpolating states</h3>
<div class="content has-text-justified">
<p>
We can also animate the scene by interpolating the deformation latent codes of two input
frames. Use the slider here to linearly interpolate between the left frame and the right
frame.
</p>
</div>
<div class="columns is-vcentered interpolation-panel">
<div class="column is-3 has-text-centered">
<img src="./static/images/interpolate_start.jpg"
class="interpolation-image"
alt="Interpolate start reference image."/>
<p>Start Frame</p>
</div>
<div class="column interpolation-video-column">
<div id="interpolation-image-wrapper">
Loading...
</div>
<input class="slider is-fullwidth is-large is-info"
id="interpolation-slider"
step="1" min="0" max="100" value="0" type="range">
</div>
<div class="column is-3 has-text-centered">
<img src="./static/images/interpolate_end.jpg"
class="interpolation-image"
alt="Interpolation end reference image."/>
<p class="is-bold">End Frame</p>
</div>
</div>
<br/> -->
<!--/ Interpolating. -->
<!-- Re-rendering. -->
<!-- <h3 class="title is-4">Re-rendering the input video</h3>
<div class="content has-text-justified">
<p>
Using <span class="dnerf">Nerfies</span>, you can re-render a video from a novel
viewpoint such as a stabilized camera by playing back the training deformations.
</p>
</div>
<div class="content has-text-centered">
<video id="replay-video"
controls
muted
preload
playsinline
width="75%">
<source src="./static/videos/replay.mp4"
type="video/mp4">
</video>
</div> -->
<!--/ Re-rendering. -->
</div>
</div>
<!-- / Animation. -->
<!-- Overview -->
<div class="columns is-centered">
<div class="column is-full-width">
<h2 class="title is-3">Overview</h2>
<div class="content has-text-justified">
<center>
<table align="center" width="880px">
<tbody><tr>
<td width="260px">
<center>
<img class="round" style="width:880px" src="./resources/Fig1_new_v6.png">
</center>
</td>
</tr>
</tbody></table>
<table align="center" width="880px">
<tbody><tr>
<td>
<p style="text-align:justify; text-justify:inter-ideograph;">
</p><h4 class="title is-5">Contributions</h4>
<b>1: </b>
We conduct a study to reveal that even highly-accurate SA classifiers could still incur significant
fairness measurement errors when using existing framework.
<br> <br>
<b>2: </b>
To enable evaluation of fairness measurement frameworks, we propose new datasets based on
generated samples from StyleGAN, StyleSwin and SDM, with manual labeling w.r.t. SA
<br> <br>
<b>3: </b>
We propose a new and accurate fairness measurement framework, CLEAM, that accounts for SA
classifier inaccuracies and provides point and interval estimates
<br> <br>
<b>4: </b>
Using CLEAM, we reveal considerable biases in several important generative models, prompting
careful consideration when applying them for different applications.
<br>
</td>
</tr>
</tbody></table>
<table align="center" width="880px">
<tbody><tr>
<td width="260px">
<!-- <center>
<img class="round" style="width:880px" src="./resources/method.jpg"/>
</center> -->
</td>
</tr>
</tbody></table>
</center>
</div>
</div>
</div>
<!--/ Overview -->
</div>
<!-- Dataset -->
<div class="columns is-centered">
<div class="column is-full-width">
<h2 class="title is-3">GenData Dataset</h2>
<p>
In our work, we present a new dataset based on generated samples from State-of-the-Art Generative models: StyleGAN2,StyleSwin and Diffusion models.
In this dataset we provide labels for each samples w.r.t. Gender and BlackHair collecting utilizing Amazon MTurk.
More specifically, our dataset contains ≈9k randomly generated samples based on the original saved weights and codes of the respective GANs, and ≈2k
samples for four different prompts inputted in the SDM. These samples are then hand labeled w.r.t. the
sensitive attributes. Then with these labeled datasets, we can approximate the ground-truth sensitive attribute
distribution, p∗, of the respective GANs.
</p>
<div class="content has-text-justified">
<center>
<!--Gender-->
<table align="center" width="660px">
<tbody><tr>
<td width="260px">
<center>
<img class="round" style="width:330px" src="./resources/Gender0_Samples_StyleGAN2.png">
<img class="round" style="width:330px" src="./resources/Gender1_Samples_StyleGAN2.png">
</center>
<h3 class="subtitle has-text-centered" style="font-size:100%";>
Figure 1: Examples of generated samples in GenDataw.r.t Gender i.e., LHS: Female samples and RHS: Male samples.
</h3>
</td>
</tr>
</tbody></table>
<!--Blackhair-->
<table align="center" width="660px">
<tbody><tr>
<td width="260px">
<center>
<img class="round" style="width:330px" src="./resources/Blackhair0_Samples_StyleGAN2.png">
<img class="round" style="width:330px" src="./resources/Blackhair1_Samples_StyleGAN2.png">
</center>
<h3 class="subtitle has-text-centered" style="font-size:100%";>
Figure 2: Examples of generated samples in GenData w.r.t BlackHair i.e., LHS: No-BlackHair samples and RHS: BlackHair samples.
</h3>
</td>
</tr>
</tbody></table>
<!--Rejected-->
<table align="center" width="660px">
<tbody><tr>
<td width="260px">
<center>
<img class="round" style="width:330px" src="./resources/rejected_Samples_StyleGAN2.png">
<img class="round" style="width:330px" src="./resources/rejected_Samples_StyleSwin.png">
</center>
<h3 class="subtitle has-text-centered" style="font-size:100%";>
Figure 3: Examples of rejected generated samples in GenData i.e., LHS: StyleGAN2 samples and RHS: StyleSwin samples.
</h3>
</td>
</tr>
</tbody></table>
</center>
</div>
</div>
</div>
<!--Bibtex-->
<section class="section" id="BibTeX">
<div class="container is-max-desktop content">
<h2 class="title">BibTeX</h2>
<pre><code>
@article{teo2024measuring,
title={On measuring fairness in generative models},
author={Teo, Christopher and Abdollahzadeh, Milad and Cheung, Ngai-Man Man},
journal={Advances in Neural Information Processing Systems},
volume={36},
year={2024}
}
}
</code></pre>
</div>
</section>
<footer class="footer">
<div class="container">
<!-- <div class="content has-text-centered">
<a class="icon-link"
href="./static/videos/nerfies_paper.pdf">
<i class="fas fa-file-pdf"></i>
</a>
<a class="icon-link" href="https://github.com/keunhong" class="external-link" disabled>
<i class="fab fa-github"></i>
</a>
</div> -->
<div class="columns is-centered">
<div class="column is-8">
<div class="content">
<p>
This website is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-ShareAlike 4.0 International License</a>.
</p>
<p>
This project page is constructed using the wonderful template provided by <a href="https://nerfies.github.io/">Nerfies</a>.
</p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>