




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
Lecture
8:
Generative
Adversarial
Network2November
27,
2019
Artificial
IntelligenceGenerative
Adversarial
Networks
?
Genarative
?
Learn
a
generative
model
?
Adversarial
?
Trained
in
an
adversarial
setting
?
Networks
?
Use
Deep
Neural
NetworksArtificial
Intelligence3Generative
Models
November
27,
2019Artificial
Intelligence4Generative
Models
November
27,
2019Artificial
Intelligence5Why
Generative
Models?
?
Discriminative
models
?
Given
a
image
X,
predict
a
label
Y
?
Estimates
P(Y|X)
?
Discriminative
models
limitations:
?
Can’t
model
P(X)
?
Can’t
generate
new
images
?
Generative
models
?
Can
model
P(X)
?
Can
generate
new
images
November
27,
2019Artificial
Intelligence6Magic
of
GANs
November
27,
2019Artificial
Intelligence7Magic
of
GANs
?
Which
one
is
Computer
generated?
November
27,
2019Artificial
Intelligence8Magic
of
GANs
November
27,
2019Artificial
Intelligence9GAN’s
Architecture
November
27,
2019Artificial
Intelligence10November
27,
2019Adversarial
Training?Adversarial
Samples:????We
can
generate
adversarial
samples
to
fool
a
discriminative
modelWe
can
use
those
adversarial
samples
to
make
models
robustWe
then
require
more
effort
to
generate
adversarial
samplesRepeat
this
and
we
get
better
discriminative
model?GANs
extend
that
idea
to
generative
models:????Generator:
generate
fake
samples,
tries
to
fool
the
DiscriminatorDiscriminator:
tries
to
distinguish
between
real
and
fake
samplesTrain
them
against
each
otherRepeat
this
and
we
get
better
Generator
and
Discriminator
Artificial
Intelligence11Training
Discriminator
November
27,
2019
Artificial
Intelligence12Training
Generator
November
27,
2019
Artificial
Intelligence13Mathematical
formulation
November
27,
2019
Artificial
Intelligence14Mathematical
formulation
November
27,
2019
Artificial
Intelligence15Mathematical
formulation
November
27,
201916November
27,
2019
Artificial
IntelligenceMathematical
formulation
Artificial
Intelligence17Advantages
of
GANs
November
27,
2019
Artificial
Intelligence18Problems
with
GANs
November
27,
2019
Artificial
Intelligence19Problems
with
GANs
November
27,
2019Artificial
Intelligence20November
27,
2019Formulation?Deep
Learning
models
(in
general)
involve
a
single
player????The
player
tries
to
maximize
its
reward
(minimize
its
loss).Use
SGD
(with
Backpropagation)
to
find
the
optimal
parameters.SGD
has
convergence
guarantees
(under
certain
conditions).Problem:
With
non-convexity,
we
might
converge
to
local
optima.Artificial
Intelligence21November
27,
2019Formulation?GANs
instead
involve
two
(or
more)
players????
Discriminator
is
trying
to
maximize
its
reward.
Generator
is
trying
to
minimize
Discriminator’s
reward.SGD
was
not
designed
to
find
the
Nash
equilibrium
of
a
game.Problem:
We
might
not
converge
to
the
Nash
equilibrium
at
all.22November
27,
2019
Artificial
IntelligenceNon-Convergence
Artificial
Intelligence23Problems
with
GANs
November
27,
2019
Artificial
Intelligence24Mode-Collapse
November
27,
2019
Artificial
Intelligence25Some
Real
Examples
November
27,
2019
Artificial
Intelligence26
Some
Solutions?
Mini-Batch
GANs?
Supervision
with
labels?
Some
recent
attempts
:
?
Unrolled
GANs
?
W-GANs
November
27,
2019
Artificial
Intelligence27
Basic
(Heuristic)
Solutions?
Mini-Batch
GANs?
Supervision
with
labels
November
27,
201928November
27,
2019
Artificial
IntelligenceHow
to
reward
sample
diversity??At
Mode
Collapse,??Generator
produces
good
samples,
but
a
very
few
of
them.Thus,
Discriminator
can’t
tag
them
as
fake.?To
address
this
problem,?Let
the
Discriminator
know
about
this
edge-case.?More
formally,??Let
the
Discriminator
look
at
the
entire
batch
instead
of
single
examplesIf
there
is
lack
of
diversity,
it
will
mark
the
examples
as
fake?Thus,?Generator
will
be
forced
to
produce
diverse
samples.Artificial
Intelligence29November
27,
2019Mini-Batch
GANs?Extract
features
that
capture
diversity
in
the
mini-batch?For
e.g.
L2
norm
of
the
difference
between
all
pairs
from
the
batch??Feed
those
features
to
the
discriminator
along
with
the
imageFeature
values
will
differ
b/w
diverse
and
non-diverse
batches?Thus,
Discriminator
will
rely
on
those
features
for
classification?This
in
turn,??Will
force
the
Generator
to
match
those
feature
values
with
the
real
dataWill
generate
diverse
batches
Artificial
Intelligence30
Basic
(Heuristic)
Solutions?
Mini-Batch
GANs?
Supervision
with
labels
November
27,
201931November
27,
2019
Artificial
IntelligenceSupervision
with
Labels32November
27,
2019
Artificial
IntelligenceAlternate
view
of
GANs33November
27,
2019
Artificial
IntelligenceAlternate
view
of
GANs
(Contd.)34November
27,
2019
Artificial
IntelligenceEnergy-Based
GANs35November
27,
2019
Artificial
IntelligenceExamples36November
27,
2019
Artificial
IntelligenceExamples37November
27,
2019
Artificial
IntelligenceExamples38November
27,
2019
Artificial
IntelligenceExamples39November
27,
2019
Artificial
IntelligenceHow
to
reward
Disentanglement?Artificial
Intelligence40November
27,
2019Recap:
Mutual
Information??Mutual
Information
captures
the
mutual
dependence
between
two
variablesMutual
information
between
two
variables
??,
??
is
defined
as:Artificial
Intelligence41November
27,
2019InfoGAN??We
want
to
maximize
the
mutual
information
??
between
??
and
??
=
??(??,
??)Incorporate
in
the
value
function
of
the
minimax
game.
Artificial
Intelligence42Conditional
GANs
November
27,
2019Artificial
Intelligence43November
27,
2019Conditional
GANs??Simple
modification
to
the
originalGAN
framework
that
conditions
themodel
on
additional
information
forbetter
multi-modal
learning.Lends
to
many
practicalapplications
of
GANs
when
wehave
explicit
supervision
available.
Artificial
Intelligence44Conditional
GANs
November
27,
2019Artificial
Intelligence45November
27,
2019Coupled
GAN???Learning
a
joint
distribution
of
multi-domain
images.Using
GANs
to
learn
the
joint
distribution
with
samples
drawn
from
the
marginaldistributions.Direct
applications
in
domain
adaptation
and
image
translation.
Artificial
Intelligence46Coupled
GAN
November
27,
2019
Artificial
Intelligence47Coupled
GAN
November
27,
201948November
27,
2019
Artificial
IntelligenceApplications49November
27,
2019
Artificial
IntelligenceApplications
Artificial
Intelligence50Deep
Convolution
GANs
November
27,
2019
Artificial
Intelligence51Deep
Convolution
GANs
November
27,
2019
Artificial
Intelligence52Deep
Convolution
GANs
November
27,
2019
Artificial
Intelligence53DCGAN(bedroom)
November
27,
2019
Artificial
Intelligence54Image-to-ImageTran
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 科學實驗全解析
- 調酒技藝 課件 項目一 認識酒吧
- 腹主動脈血栓護理查房
- 食品理化檢驗技術題庫(附參考答案)
- 保育員(中級)考試題(含答案)
- 臨床檢驗基礎模擬考試題+參考答案
- 【初中語文】第5課《黃河頌》教學設計 2024-2025學年統(tǒng)編版語文七年級下冊
- 代工代采合同范例
- 校本課程專著讀后感
- 校本課程國學誦讀實施方案.(定稿)
- 某幼兒園食物中毒事故應急預案
- DB61T 5097-2024 強夯法處理濕陷性黃土地基技術規(guī)程
- 南瓜小房子故事課件
- 2024-2030年中國地鐵廣告行業(yè)市場現(xiàn)狀供需分析及投資評估規(guī)劃分析研究報告
- 高等職業(yè)學校人工智能技術應用專業(yè)實訓教學條件建設標準
- 2025年高考生物總復習:減數(shù)分裂和受精作用
- 某大學中西醫(yī)臨床(專升本)學士學位考試復習題
- 運動損傷預測與預防技術
- 教科版科學三年級下冊第一單元《 物體的運動》測試卷含答案【完整版】
- 2024中考百日誓師-家長會
- 19R505-19G540室外管道鋼結構架空綜合管廊敷設
評論
0/150
提交評論