• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

CS7643 Quiz 5 - P2 with verified solutions

Document preview thumbnail
Preview 2 out of 6 pages

CS7643 Quiz 5 - P2 with verified solutions

Content preview

CS7643 QUIZ 5 - P2 WITH VERIFIED
SOLUTIONS




Discriminative ovs. oGenerative oModels o- ocorrect oanswers o-1. oDiscriminative omodels
omodel othe oconditional odistribution, oprobability oof olabel ogiven oinput oP(y|x)
- oNN, oSVM, oetc.
- oNo oway oto ohandle ounreasonable ooutputs o(i.e. oif otrained oon ocats oand odog
oimages, owill oalways ooutput oa olabel oof ocat oor odog)


2. oGenerative oModels omodel odistribution oover oinput ospace oP(x)
- oCan oparameterize oour omodel oas oP(x, otheta) oand ouse oMaximum oLikelihood
oEstimation oto ooptimize othe oparameters
- oCalled ogenerative obecause othey ocan ogenerate osamples
- oCan o"reject" ounreasonable oinputs oas obeing otoo ounlikely
- oFeature oLearning owithout olabels

, Explicit ovs oImplicit oDensity o- ocorrect oanswers o-Explicit: oExplicitly odefine oand
osolve ofor oPmodel(x|θ), ogiven oan oexplicit olikelihood othat ocan obe omaximized


Implicit: oLearn oa oparameterized ogeneration omodel othat ocan osample ofrom othe ojoint
odistribution oPmodel(x|θ) owithout oexplicitly odefining oPmodel(x|θ)


Tractable oDensity oEstimation o- ocorrect oanswers o-- oExplicit oDensity
- oSimplify ojoint odistribution ointo ofactorized omodel oof osimpler ocomponents oand
ooptimize owith orespect oto osimpler ocomponents
- oPixelRNN/PixelCNN

Approximate oDensity oEstimation o- ocorrect oanswers o-- oLearn odistributions othat
oapproximate otrue ojoint odistribution
- oVariational oAutoencoder
- oWe odon't omodel odensity oitself, obut ocan osample ofrom othe odistribution
- oGAN

Implicit oDensity oEstimation o- ocorrect oanswers o-- oWe odon't omodel odensity oitself,
obut ocan osample ofrom othe odistribution
- oGAN

Factorized oModels ofor oImages oDownsides o- ocorrect oanswers o-1. oSlow osequential
ogeneration oprocess
2. oOnly oconsiders ofew ocontext opixels

PixelRNN o- ocorrect oanswers o-Explicit o& oTractable

Uses ochain orule oto odecompose othe olikelihood oof oan oimage ox ointo oa oproduct oof
o1-d odistributions


Similar oto olanguage omodels

Requires oordering oof ovariables!

Training: opixel odepends oimplicitly oon othe opixels oabove oand oto othe oleft. o

Generating: oGenerates opixels oone oat oa otime, overy oslow, oonly oconsiders othe
opixels oimmediately oadjacent owhen ogenerating


Pixel oCNN o- ocorrect oanswers o-Idea: oRepresent oconditional odistribution oas oa
oconvolution olayer


- oConsiders olarger ocontext o(receptive ofield)
- oPractically ocan obe oimplemented oby oapplying oa omask, ozeroing oout o"future"
opixels

Document information

Uploaded on
September 29, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.98

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Registerednurse
2.3
(3)
Sold
34
Followers
3
Items
6069
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions