Unit 4: Autoencoders and Pre-trained CNN - Practice Quiz

INT422 — Deep Learning 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the primary goal of an autoencoder?

Introduction to autoencoders Easy
A. To predict future values
B. To classify labeled samples
C. To reconstruct its input
D. To sort input records

2 What type of neural network is an autoencoder?

Introduction to autoencoders Easy
A. A reconstruction network
B. A decision tree
C. A clustering algorithm
D. A rule-based system

3 In a basic autoencoder, the desired output is usually what?

Introduction to autoencoders Easy
A. A random vector
B. The original input
C. A cluster number
D. A class label

4 Which task commonly uses autoencoders?

Need for autoencoders Easy
A. A detailed manual assignment of class names to every sample before the model begins training
B. Dimensionality reduction
C. Program compilation
D. Database indexing

5 Why are autoencoders useful for feature learning?

Need for autoencoders Easy
A. They guarantee perfect classification
B. They remove all input data
C. They manually label samples
D. They learn useful representations

6 How can an autoencoder help remove noise from data?

Need for autoencoders Easy
A. By reconstructing a clean version
B. By increasing the noise level
C. By deleting every feature
D. By converting the input into manually defined labels using a fixed set of human-written rules

7 Which component maps the input to a latent representation?

Architecture of autoencoder Easy
A. Decoder
B. Optimizer
C. Classifier
D. Encoder

8 Which component reconstructs data from the latent representation?

Architecture of autoencoder Easy
A. Decoder
B. Encoder
C. Labeler
D. Sampler

9 What is the compact middle representation of an autoencoder commonly called?

Architecture of autoencoder Easy
A. Output target
B. Latent code
C. A complete collection of all training examples stored without any transformation or dimensional reduction
D. Class label

10 Which loss is commonly used to measure reconstruction error for continuous-valued inputs?

Architecture of autoencoder Easy
A. Classification accuracy
B. Precision score
C. Mean squared error
D. Recall score

11 Which autoencoder is trained to recover clean input from corrupted input?

Types of autoencoders Easy
A. Convolutional classifier
B. Variational autoencoder
C. Sparse autoencoder
D. Denoising autoencoder

12 Which type of autoencoder encourages only a small number of neurons to be active?

Types of autoencoders Easy
A. Sparse autoencoder
B. Denoising autoencoder
C. A network that requires every hidden neuron to remain active at its maximum value for all inputs
D. Basic classifier

13 Which type of autoencoder is especially suitable for image data?

Types of autoencoders Easy
A. Convolutional autoencoder
B. Decision tree
C. Sequence-only decoder
D. Linear regressor

14 What distinguishes an undercomplete autoencoder?

Types of autoencoders Easy
A. Its hidden representation is larger than every input and stores all values without learning useful features
B. Its latent space is smaller than its input
C. Its output contains class labels
D. Its decoder is always removed

15 Which part of an autoencoder stores the compressed representation?

Data compression using autoencoders Easy
A. Bottleneck layer
B. Loss function
C. Training label
D. Output layer

16 During autoencoder-based decompression, what does the decoder receive?

Data compression using autoencoders Easy
A. The compressed code
B. The complete original dataset together with all labels and training settings
C. The class label
D. The loss value

17 What is usually sacrificed when compression greatly reduces the amount of stored information?

Data compression using autoencoders Easy
A. Training order
B. Network name
C. Number of labels
D. Reconstruction accuracy

18 What does a variational autoencoder learn for each latent variable?

Variational autoencoders Easy
A. A probability distribution
B. An exact copy of every training input stored permanently in the hidden layers
C. A sorting rule
D. A fixed class name

19 Which values are commonly predicted by a variational autoencoder's encoder?

Variational autoencoders Easy
A. Minimum and maximum
B. Precision and recall
C. Mean and variance
D. Label and category

20 What is a common use of variational autoencoders?

Variational autoencoders Easy
A. Assigning manual labels
B. Replacing all neural network layers with fixed mathematical rules that never learn from data
C. Sorting database rows
D. Generating new data samples

21 An autoencoder is trained on unlabeled images by using each input image as its target. What type of learning setup does this represent?

Introduction to autoencoders Medium
A. Supervised classification
B. Self-supervised learning
C. Adversarial learning
D. Reinforcement learning

22 An autoencoder produces outputs that are nearly identical to its inputs but learns no useful features. Which design choice most likely caused this behavior?

Introduction to autoencoders Medium
A. An excessively powerful identity path
B. An overly restrictive latent layer
C. A normalized input distribution
D. A moderately sized training set

23 Which loss is most appropriate for reconstructing images whose pixel values are real numbers and approximately Gaussian-distributed?

Introduction to autoencoders Medium
A. Triplet loss
B. Hinge loss
C. Mean squared error
D. Categorical cross-entropy

24 A company has thousands of unlabeled sensor records and wants compact features for a later classification task. Why is an autoencoder suitable?

Need for autoencoders Medium
A. It removes the need for a classifier
B. It assigns labels through clustering rules
C. It learns representations without class labels
D. It guarantees perfectly separated classes

25 An autoencoder is trained only on normal machine-operation data. How can it be used to detect equipment faults?

Need for autoencoders Medium
A. Flag samples with low reconstruction error
B. Select samples with the highest class score
C. Flag samples with high reconstruction error
D. Select samples with the smallest gradients

26 Compared with principal component analysis, what is a key reason to use a nonlinear autoencoder for dimensionality reduction?

Need for autoencoders Medium
A. It always finds orthogonal latent features
B. It guarantees a unique representation
C. It can model nonlinear data manifolds
D. It requires no optimization procedure

27 An autoencoder maps to and then reconstructs . Which component creates ?

Architecture of autoencoder Medium
A. The decoder
B. The output target
C. The loss function
D. The encoder

28 For an autoencoder with encoder and decoder , which expression represents the full reconstruction process?

Architecture of autoencoder Medium
A.
B.
C.
D.

29 A grayscale image has pixel values in . Which output activation is a reasonable choice for the decoder?

Architecture of autoencoder Medium
A. Sigmoid
B. Softmax over pixels
C. Leaky ReLU
D. Unbounded linear

30 An autoencoder has input dimension 64 and latent dimension 128. Which technique can still prevent it from learning a trivial identity mapping?

Architecture of autoencoder Medium
A. Fixing every weight to one
B. Duplicating each input feature
C. Removing the reconstruction loss
D. Applying a sparsity constraint

31 A model receives corrupted images as inputs but is trained to reproduce the original clean images. What type of autoencoder is this?

Types of autoencoders Medium
A. Denoising autoencoder
B. Contractive autoencoder
C. Sparse autoencoder
D. Variational autoencoder

32 Which modification most directly creates a sparse autoencoder?

Types of autoencoders Medium
A. Adding noise only to target samples
B. Sampling every latent coordinate
C. Sharing all encoder and decoder weights
D. Penalizing excessive hidden activations

33 A researcher wants the learned representation to change very little when the input is slightly perturbed. Which autoencoder is most suitable?

Types of autoencoders Medium
A. Contractive autoencoder
B. Sequence autoencoder
C. Variational autoencoder
D. Vanilla autoencoder

34 Which autoencoder architecture is generally most suitable for preserving local spatial patterns in images?

Types of autoencoders Medium
A. Convolutional autoencoder
B. Sparse tabular autoencoder
C. Recurrent sequence autoencoder
D. Fully linear autoencoder

35 A grayscale image is represented by 1024 values. An encoder maps it to 64 latent values. Ignoring metadata and numeric precision, what is the compression ratio?

Data compression using autoencoders Medium
A.
B.
C.
D.

36 An autoencoder compresses data effectively on its training set but reconstructs unseen samples poorly. Which change is most likely to improve practical compression?

Data compression using autoencoders Medium
A. Increase capacity without changing the data
B. Train until the training error reaches zero
C. Store the original samples with each code
D. Use regularization and more representative data

37 Why must a decoder or its equivalent be available when distributing data compressed by an autoencoder?

Data compression using autoencoders Medium
A. The latent code is always human-readable
B. The encoder automatically stores all original inputs
C. The reconstruction loss contains the original sample
D. The latent code requires learned reconstruction rules

38 In a variational autoencoder, the encoder outputs and instead of one fixed code. What do these values describe?

Variational autoencoders Medium
A. A reconstruction-error distribution
B. A set of class probabilities
C. A decoder weight distribution
D. A latent probability distribution

39 Which formula represents the reparameterization trick used to sample a VAE latent variable?

Variational autoencoders Medium
A.
B.
C.
D.

40 What is the main role of the KL-divergence term in the VAE objective?

Variational autoencoders Medium
A. Convert continuous codes into class labels
B. Maximize differences between input samples
C. Align the latent posterior with the prior
D. Force every reconstruction to be identical

41 An autoencoder is trained with input-target pairs . After training, which property most directly distinguishes a useful autoencoder from a trivial identity mapping?

Introduction to autoencoders Hard
A. The reconstruction loss is evaluated only on the latent code
B. The output layer uses a different dimension from the input layer
C. The latent representation preserves task-relevant structure under a constraint
D. The decoder has more parameters than the encoder

42 A dataset contains high-dimensional sensor vectors with strong nonlinear correlations. PCA reconstruction is poor, but increasing the PCA dimension is computationally expensive. Why might an autoencoder provide a better compression model?

Need for autoencoders Hard
A. It removes the need to select a compression dimension
B. It estimates correlations without using an objective function
C. It learns nonlinear manifolds through parameterized transformations
D. It guarantees lossless reconstruction at every code dimension

43 For an autoencoder with encoder and decoder , suppose the latent dimension is larger than the input dimension and no regularization is used. Which failure mode is most likely?

Architecture of autoencoder Hard
A. The model may memorize the training examples
B. The reconstruction error must equal the input variance
C. The encoder is forced to become linear
D. The decoder must produce a constant output

44 An autoencoder uses sigmoid outputs and binary cross-entropy reconstruction loss for images whose pixels are scaled to . A reconstruction has predicted value for a target pixel of . What is the principal training consequence?

Architecture of autoencoder Hard
A. The pixel contributes a large penalty and gradient
B. The pixel reverses the sign of every encoder gradient
C. The pixel contributes no penalty because sigmoid saturates
D. The pixel is ignored because its target is exactly zero

45 A convolutional autoencoder downsamples an image by a factor of three times. The decoder uses three stride- transposed convolutions. If padding and output padding are chosen inconsistently, which issue can occur?

Architecture of autoencoder Hard
A. The encoder loses all channel information
B. The output spatial dimensions differ from the input
C. The reconstruction loss becomes invariant to scale
D. The latent variables become statistically independent

46 A denoising autoencoder receives generated by corrupting , but its target remains the clean sample . What representation is it explicitly encouraged to learn?

Types of autoencoders Hard
A. A representation with maximum latent variance
B. A representation dependent only on pixel ordering
C. A representation that reproduces noise exactly
D. A representation invariant to the selected corruption

47 A sparse autoencoder adds an activation penalty to the reconstruction loss. If is increased substantially while model capacity remains fixed, what trade-off is most likely?

Types of autoencoders Hard
A. Identical codes with guaranteed better generalization
B. Denser codes with strictly lower reconstruction error
C. Random codes with unchanged reconstruction quality
D. Sparser codes with potentially worse reconstruction

48 A contractive autoencoder penalizes the Frobenius norm of the encoder Jacobian . What behavior does this penalty primarily encourage near training samples?

Types of autoencoders Hard
A. Sensitivity to small input perturbations
B. Local insensitivity of the code to input changes
C. Uniformly distributed activation magnitudes
D. Exact orthogonality between encoder layers

49 An undercomplete autoencoder achieves nearly zero training reconstruction error even though its latent dimension is much smaller than the input dimension. Which explanation is most plausible?

Types of autoencoders Hard
A. The bottleneck guarantees a semantically meaningful code
B. The decoder has learned a training-set lookup behavior
C. The latent dimension automatically expands during optimization
D. The reconstruction target has been removed during training

50 An autoencoder maps each -dimensional input to a -dimensional floating-point code. Ignoring model weights and metadata, what is the nominal code-size reduction relative to storing the input using the same precision?

Data compression using autoencoders Hard
A.
B.
C.
D.

51 A compressed latent vector is quantized from 32-bit floating-point values to 8-bit integers before storage. Which additional issue must be considered when evaluating reconstruction quality?

Data compression using autoencoders Hard
A. Quantization guarantees a lower reconstruction error
B. Quantization always increases the latent dimension
C. Quantization makes the decoder independent of its weights
D. Quantization introduces distortion not present during training

52 Two autoencoders use the same latent dimension and achieve the same mean squared reconstruction error. Model A preserves rare but safety-critical events poorly, while Model B preserves them well. Which evaluation is more appropriate for selecting Model B?

Data compression using autoencoders Hard
A. Use an application-weighted distortion measure
B. Use the number of decoder parameters alone
C. Use only the average latent activation
D. Use a uniformly weighted pixel error

53 A decoder reconstructs an image from a code that was produced by an encoder trained only on natural images. The code is used to compress medical images containing structures absent from the training set. What is the main risk?

Data compression using autoencoders Hard
A. The decoder may remove out-of-distribution structures
B. The decoder will become a lossless universal compressor
C. The code will necessarily use more bits than the input
D. The latent representation will have no numerical values

54 An autoencoder has reconstruction loss . If every input is multiplied by a constant but the architecture and learning rate are unchanged, why can optimization behavior change substantially under MSE?

Introduction to autoencoders Hard
A. MSE becomes independent of the target scale
B. MSE scales approximately by
C. MSE changes only when the latent dimension changes
D. MSE is converted automatically into cross-entropy

55 In a VAE, the encoder outputs and , and sampling uses with . Why is this reparameterization useful?

Variational autoencoders Hard
A. It removes stochasticity from the latent variable
B. It permits gradients to pass through the sampling operation
C. It forces the posterior variance to equal one
D. It replaces the reconstruction objective with classification

56 For a VAE with posterior and prior , which term is the KL divergence?

Variational autoencoders Hard
A.
B.
C.
D.

57 A VAE's KL term is weighted by a very large coefficient relative to the reconstruction term. Which outcome is most likely if optimization is stable?

Variational autoencoders Hard
A. The decoder becomes unnecessary for reconstruction
B. The posterior becomes highly input-specific
C. The posterior remains close to the standard normal
D. The latent variables become deterministically unique

58 Suppose a VAE reconstructs training examples well, but samples generated from are implausible. Which diagnosis best explains this result?

Variational autoencoders Hard
A. The reconstruction loss must be exactly zero
B. The decoder has no dependence on latent variables
C. The input dimension is necessarily larger than the code
D. The aggregated encoded distribution may not match the prior

59 A VAE uses binary cross-entropy summed over all pixels and a KL divergence averaged over the batch. If image resolution is doubled in both dimensions without retuning weights, what effect is likely?

Variational autoencoders Hard
A. Both terms remain identically scaled
B. The latent prior changes from Gaussian to uniform
C. The KL term gains relative dominance
D. The reconstruction term gains relative dominance

60 An adversarial autoencoder matches the aggregated latent distribution to a prior using a discriminator, while an ordinary autoencoder uses only reconstruction loss. What does the adversarial constraint primarily provide?

Types of autoencoders Hard
A. A proof that the prior is the true data distribution
B. A replacement for the encoder network
C. A mechanism for shaping the latent distribution
D. A guarantee of pixel-perfect reconstruction