Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 6 MCQsImage Segmentation and Advanced topics in computer vision
Question 1 of 60 · Overview of image segmentation · Easy
What is the primary goal of image segmentation?
Not quite. Try another option.
Answer: To divide an image into meaningful regions or objects
Image segmentation is the process of partitioning a digital image into multiple segments (sets of pixels) to simplify its representation and make it more meaningful and easier to analyze.
Question 2 of 60 · Overview of image segmentation · Easy
Which term describes the process of assigning a class label to every single pixel in an image?
Not quite. Try another option.
Answer: Semantic segmentation
Semantic segmentation involves treating image segmentation as a pixel-wise classification problem, where every pixel is assigned to a specific class (e.g., car, road, sky).
Question 3 of 60 · thresholding based segmentation · Easy
In thresholding based segmentation, how are pixels typically separated into foreground and background?
Not quite. Try another option.
Answer: By comparing each pixel's intensity to a specific threshold value
Thresholding works by evaluating pixel intensities; pixels with values greater than a threshold are separated from those with values less than .
Question 4 of 60 · thresholding based segmentation · Easy
Which well-known method is commonly used to automatically calculate the optimal threshold value?
Not quite. Try another option.
Answer: Otsu's method
Otsu's method is a classic algorithm used to perform automatic image thresholding by maximizing the variance between the foreground and background classes.
Question 5 of 60 · edge-based segmentation · Easy
Edge-based segmentation primarily relies on identifying what property in an image?
Not quite. Try another option.
Answer: Rapid changes or discontinuities in pixel intensity
Edge detection identifies boundaries of objects within images by looking for areas where the image brightness changes sharply or has discontinuities.
Question 6 of 60 · edge-based segmentation · Easy
Which of the following is a widely used operator for detecting edges in an image?
Not quite. Try another option.
Answer: Sobel operator
The Sobel operator is a discrete differentiation operator used to compute an approximation of the gradient of the image intensity function, making it a standard tool for edge detection.
Question 7 of 60 · region based segmentation · Easy
Which segmentation technique starts with a 'seed' pixel and iteratively adds neighboring pixels that share similar properties?
Not quite. Try another option.
Answer: Region growing
Region growing is a pixel-based image segmentation method that begins with one or more seed points and grows regions by appending adjacent pixels that have properties similar to the seed.
Question 8 of 60 · region based segmentation · Easy
What is the fundamental mechanism behind the 'split and merge' segmentation technique?
Not quite. Try another option.
Answer: Dividing the image into quadrants and merging adjacent regions that are homogenous
The split and merge algorithm works by recursively splitting an image into smaller regions if they are not uniform, and then merging adjacent regions that satisfy a similarity criterion.
Question 9 of 60 · clustering based segmentation · Easy
Which standard machine learning algorithm is frequently applied for clustering-based image segmentation?
Not quite. Try another option.
Answer: K-means clustering
K-means clustering is highly popular for image segmentation. It groups pixels into clusters based on their color or intensity similarity.
Question 10 of 60 · clustering based segmentation · Easy
When applying K-means clustering to segment an RGB color image, what do the data points typically represent?
Not quite. Try another option.
Answer: Pixel color values (e.g., R, G, B vectors)
In K-means image segmentation, each pixel is treated as a data point in a color space (like RGB), and the algorithm groups pixels with similar color vectors.
Question 11 of 60 · Generative Models · Easy
What is the primary function of generative models in computer vision?
Not quite. Try another option.
Answer: To create new, synthetic images that resemble the original training data
Generative models learn the underlying distribution of the training data and can be used to generate entirely new samples (e.g., images) that look realistic.
Question 12 of 60 · Generative Models · Easy
Which of the following architectures is a famous example of a generative model?
Not quite. Try another option.
Answer: Generative Adversarial Networks (GANs)
GANs consist of a generator and a discriminator network that compete against each other, making them one of the most prominent frameworks for generating realistic images.
Question 13 of 60 · Vision transformers · Easy
Vision Transformers (ViT) process an input image by first dividing it into what?
Not quite. Try another option.
Answer: Fixed-size patches
Unlike standard CNNs, a Vision Transformer (ViT) divides an image into a sequence of non-overlapping, fixed-size patches, treating them similarly to words in a text sentence.
Question 14 of 60 · Vision transformers · Easy
What core mechanism allows Vision Transformers to determine the relationship and importance of different image patches?
Not quite. Try another option.
Answer: Self-attention mechanism
Transformers rely on the self-attention mechanism, which enables the model to weigh the importance of different patches of the image relative to one another.
Question 15 of 60 · multimodal vision models · Easy
What is the defining characteristic of a multimodal vision model?
Not quite. Try another option.
Answer: It processes and connects multiple types of data modalities, such as images and text
Multimodal models integrate and process information from different modalities (like vision, language, and audio) simultaneously to perform complex tasks.
Question 16 of 60 · multimodal vision models · Easy
Which of the following is a classic example of a task performed by a multimodal vision model?
Not quite. Try another option.
Answer: Image captioning (generating descriptive text from an image)
Image captioning requires the model to understand visual content (vision) and generate natural language descriptions (text), making it a multimodal task.
Question 17 of 60 · large vision models · Easy
Large vision models (LVMs) are primarily characterized by which of the following?
Not quite. Try another option.
Answer: Having a massive number of parameters and being trained on vast datasets
Large Vision Models scale up both the model size (billions of parameters) and the amount of training data, allowing them to learn highly robust and generalizable features.
Question 18 of 60 · large vision models · Easy
What is a major advantage of utilizing large vision models over traditional, smaller models?
Not quite. Try another option.
Answer: Better generalization and strong performance on a wide variety of tasks (zero-shot learning)
Because they are trained on massive datasets, large vision models demonstrate excellent generalization, often performing well on new tasks without task-specific fine-tuning (zero-shot capabilities).
Question 19 of 60 · Vision-Language Models · Easy
CLIP (Contrastive Language-Image Pretraining) is a well-known example of which type of model?
Not quite. Try another option.
Answer: Vision-Language Model
CLIP is a foundational Vision-Language Model developed by OpenAI that learns to connect images and text by predicting which text snippet corresponds to which image.
Question 20 of 60 · Vision-Language Models · Easy
Which of the following is a primary use case for Vision-Language Models?
Not quite. Try another option.
Answer: Searching for specific images using natural language text queries
Vision-Language Models align text and image embeddings in the same space, making them highly effective for cross-modal tasks like text-based image retrieval (searching for images using text).
Question 21 of 60 · Overview of image segmentation · Medium
In an autonomous driving application, a system needs to identify every individual car on the road and label the drivable road surface. Which combination of segmentation techniques is most appropriate?
Not quite. Try another option.
Answer: Instance segmentation for cars, semantic segmentation for the road
Instance segmentation differentiates between individual objects of the same class (like distinct cars), while semantic segmentation categorizes pixels into classes without distinguishing individuals (like the continuous road surface).
Question 22 of 60 · Overview of image segmentation · Medium
Why is generating superpixels often used as a preprocessing step in complex image segmentation tasks?
Not quite. Try another option.
Answer: To group perceptually similar pixels, reducing the complexity of subsequent algorithms
Superpixels group adjacent pixels with similar colors or textures into larger coherent regions. This significantly reduces the number of primitives the subsequent segmentation algorithm must process, improving computational efficiency.
Question 23 of 60 · thresholding based segmentation · Medium
Otsu's method is used to automatically find an optimal threshold value. Which of the following mathematical objectives does Otsu's method optimize?
Not quite. Try another option.
Answer: Minimizing the within-class variance
Otsu's method finds the optimal threshold by minimizing the within-class variance (the spread of pixel intensities within the background and foreground), which is mathematically equivalent to maximizing the between-class variance.
Question 24 of 60 · thresholding based segmentation · Medium
An image of a document has uneven illumination, with the left side heavily shadowed. Applying a global threshold results in the shadowed background being misclassified as text. Which approach best resolves this?
Not quite. Try another option.
Answer: Adaptive (local) thresholding
Adaptive thresholding calculates the threshold for small regions of the image individually. This allows it to handle varying illumination across the image, unlike global thresholding which uses a single value for the entire image.
Question 25 of 60 · edge-based segmentation · Medium
In the Canny edge detection algorithm, what is the primary purpose of the hysteresis thresholding step?
Not quite. Try another option.
Answer: To link fragmented edges and eliminate noise-induced weak edges
Hysteresis uses a high and a low threshold. Strong edges (above high) are kept, and weak edges (between low and high) are only kept if they are connected to a strong edge, effectively linking fragmented edges while discarding noise.
Question 26 of 60 · edge-based segmentation · Medium
After applying an edge detector, a circular object in the image appears as a series of disconnected edge fragments. Which technique is most appropriate to fit a continuous boundary to these fragments?
Not quite. Try another option.
Answer: Hough Transform for circles
The Hough Transform is a feature extraction technique used to find imperfect instances of objects within a certain class of shapes (like lines or circles) by voting in a parameter space, making it ideal for connecting fragmented boundaries.
Question 27 of 60 · region based segmentation · Medium
In a region growing segmentation algorithm, starting from a set of seed points, how does the choice of the homogeneity criterion affect the final output?
Not quite. Try another option.
Answer: A very strict criterion results in small, disjointed regions.
If the homogeneity criterion (e.g., tolerance for color difference) is too strict, the algorithm will stop growing prematurely, leading to over-segmentation and many small, fragmented regions.
Question 28 of 60 · region based segmentation · Medium
The split-and-merge segmentation technique represents an image using which specific data structure?
Not quite. Try another option.
Answer: Quadtree
The split-and-merge algorithm recursively divides the image into four smaller quadrants if a region is non-homogeneous. This hierarchical subdivision is perfectly represented by a quadtree data structure.
Question 29 of 60 · clustering based segmentation · Medium
When using K-means clustering for image segmentation based on color, why is it often advantageous to convert the image from RGB to the CIELAB () color space first?
Not quite. Try another option.
Answer: CIELAB separates luminance () from chrominance (), and its distances are more perceptually uniform.
The space is designed to be perceptually uniform, meaning Euclidean distances in this space match human visual perception. By clustering on and , the algorithm is also more robust to lighting variations.
Question 30 of 60 · clustering based segmentation · Medium
Which of the following is a distinct advantage of Mean Shift clustering over K-means clustering for image segmentation?
Not quite. Try another option.
Answer: Mean Shift does not require specifying the number of clusters in advance.
Unlike K-means, which requires the user to specify , Mean Shift is a non-parametric, density-based algorithm that automatically discovers the number of clusters based on the data distribution and a bandwidth parameter.
Question 31 of 60 · Generative Models · Medium
In a Generative Adversarial Network (GAN) trained to synthesize images, what does the minimax loss function conceptually represent?
Not quite. Try another option.
Answer: The Generator minimizing the Discriminator's accuracy, while the Discriminator maximizes it.
GANs operate on a minimax game framework: the Generator tries to minimize the probability that the Discriminator correctly identifies fake images, while the Discriminator tries to maximize its ability to distinguish real from fake.
Question 32 of 60 · Generative Models · Medium
In Denoising Diffusion Probabilistic Models (DDPMs), what is the primary function of the forward (diffusion) process?
Not quite. Try another option.
Answer: To gradually add Gaussian noise to an image until it becomes pure noise.
The forward process in a diffusion model is a fixed Markov chain that progressively adds Gaussian noise to the data over steps, eventually destroying the structure and resulting in an isotropic Gaussian distribution.
Question 33 of 60 · Vision transformers · Medium
How do Vision Transformers (ViTs) handle the 2D spatial structure of an image when processing it via a standard transformer architecture designed for 1D sequences?
Not quite. Try another option.
Answer: By splitting the image into fixed-size patches, flattening them, and adding 1D positional embeddings.
ViTs divide an image into a grid of non-overlapping patches, flatten each patch into a 1D vector, and linearly project them. Positional embeddings are added to these patch embeddings so the model retains spatial information.
Question 34 of 60 · Vision transformers · Medium
If an image is divided into patches for a Vision Transformer, what is the computational complexity of the self-attention mechanism with respect to ?
Not quite. Try another option.
Answer:
Standard self-attention computes the pairwise relationships between all elements in a sequence. For patches, it computes an attention matrix, resulting in a quadratic complexity .
Question 35 of 60 · multimodal vision models · Medium
In contrastive multimodal models like CLIP, how is the model trained to align images and text?
Not quite. Try another option.
Answer: By maximizing the cosine similarity between the embeddings of paired images and texts while minimizing it for incorrect pairs.
CLIP uses a contrastive loss that pulls the embeddings of matching image-text pairs close together in the latent space (high cosine similarity) and pushes apart the embeddings of mismatched pairs.
Question 36 of 60 · multimodal vision models · Medium
In a multimodal architecture that uses cross-attention to fuse image and text features, which component typically acts as the 'Query' in the cross-attention layer when generating text conditioned on an image?
Not quite. Try another option.
Answer: The text representations
In cross-attention for text generation, the generated text representations act as the Queries, attending to the Keys and Values which are provided by the image representations, allowing the text generation to be guided by the visual context.
Question 37 of 60 · large vision models · Medium
The Segment Anything Model (SAM) is characterized as a 'promptable' segmentation model. What does this mean in practice?
Not quite. Try another option.
Answer: It can output a segmentation mask based on various inputs like points, boxes, or text.
SAM is designed to be interactive and promptable, meaning it takes a visual or text prompt (such as a click, a bounding box, or a descriptive word) and generates a precise segmentation mask corresponding to that prompt.
Question 38 of 60 · large vision models · Medium
Which of the following best describes the 'zero-shot' capability of large vision models?
Not quite. Try another option.
Answer: The ability to perform a task on a dataset or class it was never explicitly trained on, without further fine-tuning.
Zero-shot transfer refers to a model's ability to accurately categorize or process data from classes or tasks it did not explicitly see during training, usually enabled by rich pre-training on massive, diverse datasets.
Question 39 of 60 · Vision-Language Models · Medium
In a standard Visual Question Answering (VQA) system, how are the final predictions typically generated?
Not quite. Try another option.
Answer: By fusing extracted image features and extracted text features, then passing them through a classifier or decoder.
VQA requires understanding both modalities. The standard pipeline extracts features from the image (via a vision encoder) and the question (via a text encoder), fuses them (e.g., via attention or concatenation), and predicts an answer.
Question 40 of 60 · Vision-Language Models · Medium
Which objective function is most commonly used to train the language decoder portion of an Image Captioning model?
Not quite. Try another option.
Answer: Cross-entropy loss for next-token prediction, conditioned on the image and previous tokens.
Image captioning relies on autoregressive language generation. The model is trained using cross-entropy loss to predict the next correct word in the sequence, given the image representation and the previously generated words.
Question 41 of 60 · Overview of image segmentation · Hard
In a complex urban scene containing mutually occluding cars (countable objects) and continuous regions of sky and road (amorphous regions), which of the following formulations perfectly describes the mathematical objective of panoptic segmentation?
Not quite. Try another option.
Answer: Mapping each pixel to a tuple , where uniquely identifies 'thing' instances and is ignored or set to a null value for 'stuff' classes.
Panoptic segmentation unifies semantic and instance segmentation. Every pixel is assigned a semantic label . For 'thing' classes (e.g., cars), an instance ID differentiates individual objects. For 'stuff' classes (e.g., sky), the instance ID is irrelevant.
Question 42 of 60 · Thresholding based segmentation · Hard
Otsu's method determines the optimal threshold by maximizing the between-class variance . Under which of the following conditions does Otsu's method mathematically fail to identify the ideal threshold separating an object and background?
Not quite. Try another option.
Answer: When the variances of the object and background classes are drastically different, and the object occupies a disproportionately small fraction of the image area.
Otsu's method implicitly assumes that the histogram is bimodal and the two classes have approximately equal variances and sizes. When one class is vastly smaller or has a much larger variance, the maximum between-class variance shifts away from the true valley in the histogram.
Question 43 of 60 · Thresholding based segmentation · Hard
When computing a local adaptive threshold for a window of size using the local mean and variance, what is the asymptotic time complexity per pixel if the algorithm utilizes integral images (summed-area tables)?
Not quite. Try another option.
Answer:
An integral image allows the sum (and sum of squares) of pixel values within any rectangular area to be computed using exactly four array references, regardless of the window size . Therefore, calculating local mean and variance takes constant time per pixel.
Question 44 of 60 · Edge-based segmentation · Hard
In the Canny edge detector, hysteresis thresholding uses a high threshold () and a low threshold (). If a continuous edge segment consists of pixels with gradient magnitudes , , and connected in the order , which pixels are retained as strong edges in the final output?
Not quite. Try another option.
Answer: Pixel 1 only.
Pixel 1 is retained because . Pixel 2 is immediately discarded because . Since Pixel 3 is only connected to the strong edge (Pixel 1) via Pixel 2, which has been discarded, the path is broken. Thus, Pixel 3 is not promoted to a strong edge.
Question 45 of 60 · Edge-based segmentation · Hard
The Laplacian of Gaussian (LoG) filter is defined as . In the frequency domain, what is the effect of the parameter on the filter's magnitude response as a function of radial frequency ?
Not quite. Try another option.
Answer: It acts as a band-pass filter where the peak frequency response is inversely proportional to .
The LoG is a band-pass filter. The Gaussian smoothing acts as a low-pass filter (attenuating high frequencies), while the Laplacian acts as a high-pass filter (attenuating low frequencies). The resulting peak response in the frequency domain occurs at , making the peak inversely proportional to .
Question 46 of 60 · Region based segmentation · Hard
In the Split-and-Merge segmentation algorithm, a region is split into four sub-regions if a homogeneity predicate . To prevent the generation of blocky boundaries, which data structure and subsequent process are critical for optimal merging?
Not quite. Try another option.
Answer: A Region Adjacency Graph (RAG) followed by merging adjacent regions if .
While a quadtree is used for the splitting phase, merging only siblings results in blocky artifacts because spatially adjacent regions from different parent nodes are ignored. A Region Adjacency Graph (RAG) allows the algorithm to evaluate and merge any spatially adjacent regions, mitigating blocky boundaries.
Question 47 of 60 · Region based segmentation · Hard
The standard watershed transform often suffers from severe over-segmentation due to local minima caused by noise. In marker-controlled watershed segmentation, how is the topological surface (gradient image) modified to enforce markers as the only regional minima?
Not quite. Try another option.
Answer: By using morphological reconstruction (minima imposition) to modify the gradient image such that local minima only occur at marker locations.
Minima imposition is a morphological operation that alters the topology of an image. It suppresses all local minima in the gradient image that do not fall within the predefined marker sets, ensuring that the subsequent watershed flooding originates strictly from the markers, thereby preventing over-segmentation.
Question 48 of 60 · Clustering based segmentation · Hard
In Mean Shift segmentation, pixels are mapped into a joint spatial-color feature space . If the spatial bandwidth approaches infinity while the range bandwidth remains small, what is the asymptotic behavior of the segmentation?
Not quite. Try another option.
Answer: The algorithm converges to density modes entirely based on color similarity, effectively performing global color quantization.
When the spatial bandwidth , the spatial distance between any two pixels has a negligible penalty in the kernel function. Thus, the Mean Shift vector is computed using all pixels in the image weighted only by their color proximity (controlled by ), acting as a global color clustering algorithm.
Question 49 of 60 · Clustering based segmentation · Hard
When applying Gaussian Mixture Models (GMM) with the EM algorithm for image segmentation, how does the covariance matrix type affect the resulting segment shapes in the color space?
Not quite. Try another option.
Answer: A full covariance matrix allows clusters to model elliptical distributions oriented at any angle.
In a GMM, a full covariance matrix contains off-diagonal elements, allowing the Gaussian distribution to model correlations between color channels. This forms oriented hyper-ellipsoids in the feature space. Spherical constraints restrict clusters to hyperspheres, and diagonal constraints restrict them to axis-aligned ellipsoids.
Question 50 of 60 · Generative Models · Hard
In the context of Denoising Diffusion Probabilistic Models (DDPMs), the forward diffusion process can be formulated as a discrete Markov chain. In the continuous-time limit, this process transforms into which of the following mathematical constructs?
Not quite. Try another option.
Answer: A Stochastic Differential Equation (SDE).
In the continuous-time limit, the sequence of noise injections in the forward diffusion process is rigorously described by a Stochastic Differential Equation (SDE) of the form , where is a standard Wiener process (Brownian motion).
Question 51 of 60 · Generative Models · Hard
Variational Autoencoders (VAEs) optimize the Evidence Lower Bound (ELBO), defined as . What phenomenon occurs if the KL divergence term is heavily penalized (e.g., in a -VAE with )?
Not quite. Try another option.
Answer: The model suffers from posterior collapse, where the latent representation ignores the input and unconditionally matches the prior.
When is very large, the optimization overwhelmingly favors minimizing the KL divergence. The easiest way for the network to achieve a KL divergence of 0 is to set the approximate posterior exactly equal to the prior for all inputs. This means carries no information about , a state known as posterior collapse.
Question 52 of 60 · Generative Models · Hard
To solve the mode collapse issue and vanishing gradients in standard GANs, the Wasserstein GAN (WGAN) introduces the Earth Mover's Distance. What strict constraint must be enforced on the discriminator (critic) for the WGAN formulation to be mathematically valid?
Not quite. Try another option.
Answer: It must be a 1-Lipschitz continuous function.
The Kantorovich-Rubinstein duality used to compute the Wasserstein distance requires the critic (discriminator) function to be 1-Lipschitz continuous. This is typically enforced via weight clipping (in the original WGAN) or a gradient penalty (in WGAN-GP).
Question 53 of 60 · Vision transformers · Hard
A standard Vision Transformer (ViT) splits an image of size into patches of size . What is the computational complexity of the global self-attention mechanism with respect to the input image dimensions, assuming embedding dimension ?
Not quite. Try another option.
Answer:
The number of patches (sequence length) is . The self-attention matrix computation scales quadratically with the sequence length, requiring operations. Substituting yields .
Question 54 of 60 · Vision transformers · Hard
When fine-tuning a Vision Transformer (ViT) on higher-resolution images than it was pre-trained on (keeping patch size constant), the sequence length increases. How is the pre-trained positional embedding typically adapted to handle the new sequence length?
Not quite. Try another option.
Answer: By reshaping the positional embeddings into a 2D grid matching the original patch layout, interpolating to the new grid size, and flattening back to 1D.
Because positional embeddings represent the 2D spatial structure of the image patches, adapting them to a higher resolution requires reshaping the 1D sequence of embeddings back into their 2D spatial grid, performing 2D interpolation (e.g., bicubic), and then flattening them again.
Question 55 of 60 · Vision transformers · Hard
The Swin Transformer computes self-attention within local windows and introduces a shifted window partitioning in alternating layers. Mathematically, what is the primary purpose of this shifted window mechanism?
Not quite. Try another option.
Answer: To provide cross-window connections, expanding the receptive field hierarchically while maintaining linear computational complexity relative to image size.
Local window attention limits computation to isolated regions, which restricts the receptive field. By shifting the window partition by half a window size in successive layers, boundaries are crossed, enabling information flow between adjacent windows and expanding the receptive field hierarchically.
Question 56 of 60 · Multimodal vision models · Hard
CLIP (Contrastive Language-Image Pre-training) is trained using the InfoNCE loss to align image and text representations. If and are -normalized image and text embeddings in a batch of size , and is a learnable temperature parameter, what is the symmetric loss formulation minimized during training?
Not quite. Try another option.
Answer:
CLIP uses a symmetric cross-entropy loss over the similarity matrix. It calculates the contrastive loss in both directions: image-to-text (finding the correct text for an image) and text-to-image (finding the correct image for a text) across the batch, then averages the two.
Question 57 of 60 · Large vision models · Hard
In the Segment Anything Model (SAM), how does the architecture intrinsically handle the ambiguity of a single point prompt (e.g., a point placed on a person's shirt could mean the shirt, or the whole person)?
Not quite. Try another option.
Answer: By predicting multiple valid masks (e.g., whole, part, and subpart) along with a confidence score for each mask.
To resolve ambiguity inherent in prompt-based segmentation, SAM's mask decoder is designed to output multiple masks (usually 3: whole, part, subpart) for a single prompt, each accompanied by an estimated intersection-over-union (IoU) confidence score.
Question 58 of 60 · Large vision models · Hard
DINOv2, a self-supervised large vision model, utilizes a student-teacher knowledge distillation framework without labels. To prevent the notorious feature collapse problem (where the model outputs a constant vector), which two opposing mechanisms are explicitly applied to the teacher's outputs?
Not quite. Try another option.
Answer: Centering (subtracting a moving average) and Sharpening (using a low temperature in the softmax).
In DINO/DINOv2, centering prevents one dimension from dominating (which prevents a form of collapse to a one-hot vector), but it encourages uniform distributions. Sharpening opposes this by forcing the distribution to have distinct peaks. Together, they prevent the student and teacher from collapsing into trivial constant solutions.
Question 59 of 60 · Vision-Language Models · Hard
In Vision-Language Models like Flamingo, how does the Perceiver Resampler module efficiently bridge the high-resolution, variable-length output of the vision encoder to the fixed context window of the Large Language Model?
Not quite. Try another option.
Answer: By taking a fixed number of learnable latent queries and applying cross-attention to the flattened vision features, yielding a fixed number of visual tokens.
The Perceiver Resampler uses a fixed number of learnable latent queries. It performs cross-attention where the queries attend to the flattened, variable-length sequence of visual features. This produces a constant number of output tokens representing the visual input, independent of the original image resolution or video length.
Question 60 of 60 · Vision-Language Models · Hard
Models like BLIP-2 introduce a Q-Former to align visual features with the text space. During the representation learning pre-training stage of the Q-Former, three distinct objectives are optimized simultaneously. Which of the following is NOT one of these objectives?
Not quite. Try another option.
Answer: Masked Image Modeling (MIM)
BLIP-2's Q-Former representation learning stage relies on three objectives: Image-Text Contrastive learning (aligning representations), Image-Text Matching (binary classification of pair validity), and Image-Grounded Text Generation (generating text given the image). Masked Image Modeling (MIM) is a visual self-supervised technique (e.g., used in MAE) but is not part of the Q-Former's alignment objectives.
That's unit 6
Answer a few questions and your score shows up here.
Nearly through. Did unit 6 of INT345 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 6 of INT345 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.