Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

CS 7643 QUIZ 1 UPDATED ACTUAL EXAM QUESTIONS CORRECT ANSWERS GRADED A

Document preview thumbnail
Preview 2 out of 8 pages

CS 7643 QUIZ 1 UPDATED ACTUAL EXAM QUESTIONS CORRECT ANSWERS GRADED A

Content preview

CS 7643 QUIZ 1 UPDATED ACTUAL EXAM QUESTIONS CORRECT ANSWERS GRADED A PLUS




Question:
Equivariance.

Answer:
If the input changes, the output changes in the same way if f(g(x) =g(f(x). If the beak of a bird in a
picture moves a bit, the output values will move in the same way change to input causes equal
change to output



Question:
Invariance.

Answer:
If the input changes, the output stays the same. That is f(g(x)) = f(x) E.g. rotating/scaling a number
will still result in that number being classified the same. change to input does not affect output
Useful if we care more about if a feature is present than exactly where it is



Question:
saliency maps.

Answer:
Instead of using deconvnets, can, instead of taking the error gradient wrt model parameters, take
gradient of class score we're trying to visualize wrt to the image itself (the input of the network) gets
the degree to which a pixel contributed to that class score take absolute value of score because we
care about degree, not direction helps us understand why model gives response they did Another
method to make saliency maps: guided backpropagation algorithm (combination of deconvnet and
gradient of class score wrt input of network) Sensitivity of loss to individual pixel changes, uses
pre-softmax scores (gradient, then absval, then sum across channels)

, Question:
CAM = Class Activation Mapping.

Answer:
use Global Average Pooling layer as final layer to average the activations of each feature map and
run through softmax loss layer to highlight the important regions of the image by projecting back the
weights of the output on the convolutional feature maps



Question:
Grad-CAM.

Answer:
more versatile version of CAM that can produce visual explanations for any arbitrary CNN, even if
the network contains a stack of fully connected layers too let the gradients of any target concept
score flow into the final convolutional layer; then compute an importance score based on the
gradients and produce a coarse localization map highlighting the important regions in the image for
predicting that concept What regions of image is model looking at to make prediction? Which
individual regions have highest class activation as you extract layer from CNN?
Direction/magnitude of gradients to determine which gradients are causing the most updates to the
NN Objective: inspective given layer of CNN and correlate to output Task specific (if asked what is
a dog -> dog pixels are more important)



Question:
Adversarial examples.

Answer:
Inputs formed by applying small but intentionally worst-case perturbations to examples from the
dataset, such that the perturbed input results in the model outputting an incorrect answer with high
confidence.



Question:
Guided Backprop.

Answer:

Document information

Uploaded on
August 12, 2026
Number of pages
8
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.89

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

Sold
1
Followers
0
Items
3236
Last sold
1 week 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