Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 7643 - Quiz 2 Questions and Answers Already Passed Latest Update

Beoordeling
-
Verkocht
-
Pagina's
7
Cijfer
A+
Geüpload op
02-10-2025
Geschreven in
2025/2026

CS 7643 - Quiz 2 Questions and Answers Already Passed Latest Update Convolution Features - Answers edges colors textures motifs (corners, shapes) Receptive field - Answers A region of an image (image patch) from which the node receives input. Usually denoted by a K1 x K2 matrix. Convolution vs Cross-correlation - Answers Convolution: flip the kernel (rotate 180) and take the dot product with image patch Cross-correlation: do not flip the kernel to take the dot product with image patch Advantage of using image patch - Answers 1./ Reduces the input parameters to K1 x K2 + 1 (bias) for each output node. Thus, the total number of input parameters: N x (K1 + K2 + 1) 2./ Explicitly maintains spatial information Weight sharing - Answers The weights will represent what types of features we will extract. The weights (W) will be the same for each output node with respect to a specific kernel, regardless of the specific image patch we are looking at. The total number of input parameters: K1 x K2 + 1 Input parameters with multiple feature extractions - Answers (K1 x K2 + 1) x M where M is the number of features Relationship between convolution and cross-correlation - Answers Duality: If cross-correlation is the forward pass (which is the easier operation), the convolution operation is going to be the backward pass to calculate gradients (vice versa) Valid convolution - Answers When the kernel is fully on the image. (No padding) Output size of the vanilla convolution, given H, W, K1, K2 - Answers (H - K1 + 1) x (W - K2 + 1) How to add padding - Answers Increases the size of the image with P in both directions (top & bottom, left & right) -- (H + 2P) x (W + 2P) Can be filled with zeros or mirror the image Stride and its consequences - Answers Number of pixels moving forward when parsing the patch through images. Loss of information Used for dimensionality reduction Effect of channels on output size - Answers It doesn't have effect on the output size: we perform the dot product for each channels and summing them up. Effect of channels on parameters - Answers Each channel might have its own weights with respect to the same kernel. M x (Ch x K1 x K2 + 1) Effect of multiple kernels (feature extraction) on output size. - Answers The kernel size should be equal (K1 x K2) for each kernel within the layer. The output size: (H - K1 + 1) x (W - K2 + 1) x Number of Kernels Effect of multiple kernels (feature extraction) on parameters - Answers Each kernel, each channel has its own set of weights, but each kernel has only 1 bias term. (K1 x K2 x Channels + 1) x M where M is the number of kernels What is the purpose of pooling layer? - Answers Dimensionality reduction How many learned parameters does a max pooling layer have? - Answers None Invariance - Answers If the feature changes, moves or rotates slightly on the image, the output value remains the same. (For example, we classify the image of a cat regardless of where the cat is in the image) Equivariance - Answers If the feature translates or moves a little bit, the output values move by the same translation and can be detected in the new location. Why different kernels would learn different features? - Answers Because we initialize them to different values, and the local minima on the weight space will different, and so the gradient will be different -- kernels are learning different features. If cross-correlation is the forward pass, then gradient w.r.t. the input is ... - Answers CONVOLUTION between the upstream and the kernel weights

Meer zien Lees minder
Instelling
CS 7643
Vak
CS 7643

Voorbeeld van de inhoud

CS 7643 - Quiz 2 Questions and Answers Already Passed Latest Update 2025-2026

Convolution Features - Answers edges

colors

textures

motifs (corners, shapes)

Receptive field - Answers A region of an image (image patch) from which the node receives
input. Usually denoted by a K1 x K2 matrix.

Convolution vs Cross-correlation - Answers Convolution: flip the kernel (rotate 180) and take the
dot product with image patch

Cross-correlation: do not flip the kernel to take the dot product with image patch

Advantage of using image patch - Answers 1./ Reduces the input parameters to

K1 x K2 + 1 (bias)

for each output node. Thus, the total number of input parameters:

N x (K1 + K2 + 1)

2./ Explicitly maintains spatial information

Weight sharing - Answers The weights will represent what types of features we will extract. The
weights (W) will be the same for each output node with respect to a specific kernel, regardless
of the specific image patch we are looking at.

The total number of input parameters:

K1 x K2 + 1

Input parameters with multiple feature extractions - Answers (K1 x K2 + 1) x M

where M is the number of features

Relationship between convolution and cross-correlation - Answers Duality: If cross-correlation is
the forward pass (which is the easier operation), the convolution operation is going to be the
backward pass to calculate gradients (vice versa)

Valid convolution - Answers When the kernel is fully on the image. (No padding)

Output size of the vanilla convolution,

given H, W, K1, K2 - Answers (H - K1 + 1) x (W - K2 + 1)

, How to add padding - Answers Increases the size of the image with P in both directions (top &
bottom, left & right)

--> (H + 2P) x (W + 2P)

Can be filled with zeros or mirror the image

Stride and its consequences - Answers Number of pixels moving forward when parsing the
patch through images.

Loss of information

Used for dimensionality reduction

Effect of channels on output size - Answers It doesn't have effect on the output size: we
perform the dot product for each channels and summing them up.

Effect of channels on parameters - Answers Each channel might have its own weights with
respect to the same kernel.

M x (Ch x K1 x K2 + 1)

Effect of multiple kernels (feature extraction) on output size. - Answers The kernel size should
be equal (K1 x K2) for each kernel within the layer. The output size:

(H - K1 + 1) x (W - K2 + 1) x Number of Kernels

Effect of multiple kernels (feature extraction) on parameters - Answers Each kernel, each
channel has its own set of weights, but each kernel has only 1 bias term.

(K1 x K2 x Channels + 1) x M

where M is the number of kernels

What is the purpose of pooling layer? - Answers Dimensionality reduction

How many learned parameters does a max pooling layer have? - Answers None

Invariance - Answers If the feature changes, moves or rotates slightly on the image, the output
value remains the same. (For example, we classify the image of a cat regardless of where the
cat is in the image)

Equivariance - Answers If the feature translates or moves a little bit, the output values move by
the same translation and can be detected in the new location.

Why different kernels would learn different features? - Answers Because we initialize them to
different values, and the local minima on the weight space will different, and so the gradient will
be different --> kernels are learning different features.

Geschreven voor

Instelling
CS 7643
Vak
CS 7643

Documentinformatie

Geüpload op
2 oktober 2025
Aantal pagina's
7
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
joshuawesonga22 Liberty University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
99
Lid sinds
1 jaar
Aantal volgers
1
Documenten
14163
Laatst verkocht
14 uur geleden
Tutor Wes

Hi there! I'm Tutor Wes, a dedicated tutor with a passion for sharing knowledge and helping others succeed academically. All my notes are carefully organized, detailed, and easy to understand. Whether you're preparing for exams, catching up on lectures, or looking for clear summaries, you'll find useful study materials here. Let’s succeed together!

3.9

9 beoordelingen

5
4
4
1
3
3
2
1
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen