• 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 7 pages
Exam (elaborations)

CS7643 Quiz 7 Exam – Deep Learning Study Guide & Practice Solutions

Document preview thumbnail
Preview 2 out of 7 pages

CS7643 Quiz 7 Exam – Deep Learning Study Guide & Practice Solutions

Content preview

CS7643 Quiz 7 Exam – Deep Learning Study Guide & Practice Solutions




Discriminative vs. Generative Models - (ANSWER)1. Discriminative models model P(y|x)

- NN, SVM, etc.

- No way to handle unreasonable outputs (i.e. if trained on cats and dog images, will always output a
label of cat or dog)



2. Generative Models model P(x)

- Can parameterize our model as P(x, theta) and use Maximum Likelihood Estimation to optimize the
parameters

- Called generative because they can generate samples

- Can "reject" unreasonable inputs as being too unlikely

- Feature Learning without labels



Explicit vs Implicit Density - (ANSWER)Explicit: Explicitly define and solve for Pmodel(x|θ), given an
explicit likelihood that can be maximized



Implicit: Learn a parameterized generation model that can sample from the joint distribution
Pmodel(x|θ) without explicitly defining Pmodel(x|θ)



Tractable Density Estimation - (ANSWER)- Explicit Density

- Simplify joint distribution into factorized model of simpler components and optimize with respect to
simpler components

- PixelRNN/PixelCNN



Approximate Density Estimation - (ANSWER)- Explicit Density

- Learn distributions that approximate true joint distribution

- Variational Autoencoder



Implicit Density Estimation - (ANSWER)- We don't model density itself, but can sample from the
distribution

- GAN

, CS7643 Quiz 7 Exam – Deep Learning Study Guide & Practice Solutions




Factorized Models for Images Downsides - (ANSWER)1. Slow sequential generation process

2. Only considers few context pixels



PixelRNN - (ANSWER)Explicit & Tractable



Uses chain rule to decompose the likelihood of an image x into a product of 1-d distributions



Similar to language models



Requires ordering of variables!



Training: pixel depends implicitly on the pixels above and to the left.



Generating: Generates pixels one at a time, very slow, only considers the pixels immediately adjacent
when generating



Pixel CNN - (ANSWER)Idea: Represent conditional distribution as a convolution layer



- Considers larger context (receptive field)

- Practically can be implemented by applying a mask, zeroing out "future" pixels



Disadvantages:

- Faster training, but still slow generation

- Limited to smaller images



PixelRNN and PixelCNN Recap - (ANSWER)Explicit density model, optimizes exact likelihood, good
samples. But inefficient sequential generation

Document information

Uploaded on
November 6, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$20.99

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.
Belaire
5.0
(752)
Sold
2838
Followers
2
Items
1326
Last sold
5 hours ago


Reviews from verified buyers




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