Vision Beyond Classification
- 119Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
Why must computer vision systems go beyond image classification?
Classification provides only a sparse description, while real scenes contain rich information about objects, relationships, poses, spatial layout, and camera viewpoint.
Or swipe the card
119 cards
Why must computer vision systems go beyond image classification?
Classification provides only a sparse description, while real scenes contain rich information about objects, relationships, poses, spatial layout, and camera viewpoint.
What proportion of information about our surroundings is captured through the eyes?
Approximately 80 percent.
Why would classifying an image as “bicycle” and “garden” be insufficient for scene understanding?
The labels do not specify the number of bicycles or people, their poses, their relationships, or the camera viewpoint.
What types of pose information are needed for detailed scene understanding?
The pose of objects relative to the camera and the relative pose of objects with respect to one another.
What is the long-term goal, or “Holy Grail,” of computer vision?
A system that achieves human-level scene understanding.
What applications could human-level scene understanding enable?
Navigation assistance for visually impaired people, virtual and augmented reality, robotics, and autonomous vehicles.
How might progress in computer vision help neuroscience?
Designing human-level vision systems may improve understanding of how the brain and human visual system work.
What major design choices make human-level scene understanding difficult?
Systems must handle many tasks, choose how to order them, accommodate different input and output structures, decide whether to use priors or end-to-end learning, and balance accuracy with efficiency.
What three parts of “supervised image classification” are explored to expand computer vision?
Classification is replaced with other tasks, a single image is replaced with other inputs, and strong supervision is replaced with weaker or self-supervised forms of supervision.
What is image captioning?
A task in which a system generates a language description of an image.
How can image captioning be formulated as classification or generation?
A system can choose one answer from a fixed set, or generate a free-form language description.
What is human pose estimation?
Detecting and tracking key points on the human body to determine people’s positions in a scene.
How are visual tasks ordered from coarse to fine scene understanding?
Classification gives a sparse description, object detection adds object locations, semantic segmentation labels every pixel by class, and instance segmentation separates individual objects.
What two functions are combined in object detection?
Object classification and object localization.
What is the typical input and output of an object detector?
The input is an RGB image; the output includes a class label and a bounding box for every detected object.
How is an object class commonly represented in an object-detection target?
As a one-hot vector with zeroes everywhere except at the index of the object’s class.
How are bounding boxes commonly parameterized?
By the center coordinates, height, and width of the box.
Why is bounding-box prediction treated as regression rather than classification?
Bounding-box coordinates are continuous values with an order, whereas class labels are discrete and unordered.
What is the key difference between classification and regression outputs?
Classification produces discrete outputs from predefined classes; regression produces continuous values.
Why is ordinary classification feedback inadequate for bounding-box coordinates?
Classification does not encode whether one incorrect answer is closer to the correct answer than another, while coordinate errors have meaningful direction and magnitude.
What loss can be used to train bounding-box regression?
A quadratic loss, such as mean squared error between predicted and ground-truth coordinates.
Why is detecting multiple objects more difficult than predicting one bounding box?
The model must determine which predicted box should be compared with which ground-truth box.
What two-stage strategy can simplify multiple-object detection?
First classify candidate regions as containing an object or background, then refine their coordinates through regression.
How can continuous bounding-box values be converted into a classification problem?
Discretize the coordinate space into equally spaced bins and assign a one-hot label to the bin containing each value.
What is the “hot-and-cold” intuition for two-stage detection?
Classification first identifies the approximate region, and regression then makes a precise prediction within that region.
What is the basic structure of Faster R-CNN?
It first proposes promising candidate boxes and then performs classification and bounding-box regression on those candidates.
What is the role of the Region Proposal Network in Faster R-CNN?
It predicts which candidate regions are likely to contain objects.
How are candidate regions generated in a Region Proposal Network?
Uniformly distributed anchor points are combined with candidate boxes having different scales and aspect ratios.
What does the objectness score in a Region Proposal Network represent?
Whether a candidate box contains an object, regardless of the object’s specific class.
Why is the cropping or candidate-selection operation in Faster R-CNN problematic for end-to-end training?
Selecting and keeping top candidate boxes is not differentiable, so gradients cannot pass through that operation.
How is Faster R-CNN generally trained when proposal selection is non-differentiable?
The Region Proposal Network is trained first, and then the remaining detector is trained using the generated proposals.
What is the main difference between Faster R-CNN and RetinaNet?
Faster R-CNN is a two-stage detector, whereas RetinaNet is a one-stage detector trained end-to-end.
How does RetinaNet use hierarchical features?
It makes object-class and bounding-box predictions from feature maps at multiple spatial resolutions.
What do K and A represent in RetinaNet’s classification output of size KimesA?
K is the number of object classes and A is the number of anchors.
What does the 4imesA output of RetinaNet represent?
Four bounding-box coordinates predicted for each of the A anchors.
Why can one-stage detectors suffer from poor learning signals?
Most candidate boxes correspond to background, producing many easy negative examples that overwhelm the useful positive examples.
What is hard-negative mining?
A strategy that trains on positive examples and a subset of negatives, then adds difficult false-positive examples discovered by the model.
What problem does focal loss address?
It reduces the influence of well-classified examples, especially the numerous easy background negatives in one-stage detection.
Why is focal loss useful for RetinaNet?
It provides a simpler alternative to hard-negative-mining procedures while producing strong detection accuracy.
Why can a bounding box be an inadequate representation of an object?
A box may include large amounts of background or other objects, especially when the object has an irregular shape or an extended pose.
What is semantic segmentation?
Assigning a class label to every pixel in an image.
How does semantic segmentation differ from image classification?
Classification produces one or a few labels for an image, whereas semantic segmentation produces a label at every pixel location.
What is the purpose of pooling in convolutional networks?
Pooling reduces spatial resolution while increasing the effective receptive field of deeper units.
How does a pooling operation typically compute an output value?
It applies a window and computes an aggregate such as the mean or maximum over that window.
Why is an upsampling or unpooling operation needed for semantic segmentation?
Pooling reduces resolution, so the network must restore spatial resolution to produce a pixel-level output.
How does nearest-neighbor upsampling work?
It copies each feature-map value into corresponding neighboring locations in a higher-resolution output.
What is unpooling with indices?
It records the locations of maximum values during pooling and uses those indices to place values during upsampling.
What is deconvolution used for in segmentation networks?
It provides a learned method for upsampling by reversing the spatial operation of convolution.
What is the encoder-decoder structure of U-Net?
The encoder progressively extracts features while reducing spatial resolution, and the decoder upsamples them to recover the input resolution.
What is the purpose of U-Net’s long skip connections?
They transfer high-frequency spatial details from encoder layers to decoder layers at corresponding resolutions.
What is the output shape of a semantic-segmentation network?
It has the input image’s spatial dimensions, with a probability distribution over classes at each pixel.
How is a semantic-segmentation network commonly trained?
Using cross-entropy loss averaged over all pixel locations.
How does instance segmentation improve upon semantic segmentation?
It assigns class labels to pixels while also distinguishing separate instances belonging to the same class.
What model is cited as an approach to instance segmentation?
Mask R-CNN.Why is quadratic loss unsuitable as the sole evaluation measure for object localization?
It treats an absolute coordinate error similarly for large and small objects, even though the relative impact differs greatly.
What is intersection over union (IoU)?
The area of overlap between a prediction and ground truth divided by the area of their union.
Why is IoU commonly used to evaluate detection and segmentation?
It measures overlap directly and accounts for the relative size of the predicted and ground-truth regions.
Why is IoU not usually optimized directly during standard detector training?
Its computation includes non-differentiable operations such as maximum operations.
What is top-one accuracy?
The proportion of examples for which the model’s highest-scoring prediction is the correct class.
What is top-five accuracy?
The proportion of examples for which the correct class appears among the model’s five highest-scoring predictions.
What is the purpose of benchmarks such as Cityscapes and COCO?
They provide standardized datasets and evaluation procedures so that different models can be compared objectively.
What is the Cityscapes benchmark designed for?
Semantic segmentation of urban scenes, including images and some videos recorded in German cities.
What types of tasks are supported by the COCO dataset?
Object detection, semantic segmentation, and image captioning, among other scene-understanding tasks.
What is transfer learning?
Reusing knowledge learned for one domain or task to improve learning for another domain or task.
Why are features learned for image classification useful for object detection?
The tasks share visual structure, and object detection includes a classification component along with localization.
How is transfer learning performed from image classification to object detection?
Reuse the classifier’s earlier layers, replace the classification output layer with detection-specific layers, initialize retained weights from the classifier, and train or freeze the reused layers.
What is the difference between fine-tuning and freezing transferred layers?
Fine-tuning continues updating the transferred weights, whereas freezing keeps them fixed during training.
What question does the Taskonomy study investigate?
How knowledge should be transferred among many visual tasks and which tasks should be learned before others.
What is cross-domain transfer learning?
Transferring knowledge from one data domain to another, such as from simulated environments to the real world.
How was simulation used in robotic Rubik’s Cube solving?
The robotic hand was trained in simulation and then transferred to operate in the real world.
What is automatic domain randomization?
A strategy that uses extensive randomized variation and hard-negative mining to identify useful simulated training conditions for transfer to the real world.
What is the role of data augmentation in transfer across domains?
It applies transformations such as cropping, rotation, and jittering to expose the model to a wider range of possible inputs.
Why can videos provide better learning signals than static images?
Motion supplies information about object identity and naturally exposes the model to transformations such as translation, scale change, rotation, camera motion, and lighting change.
What did studies of people recovering sight suggest about visual learning?
Early visual learning relies strongly on contours and color, while motion greatly improves the ability to separate and recognize overlapping objects.
Why did patients recovering sight struggle with overlapping objects?
They could use contours and color but had difficulty parsing objects when their contours overlapped or when depth relationships were required.
How did relative motion affect object recognition in recovering patients?
When overlapping objects moved in different directions, patients became much better at identifying and separating them.
What did experiments with chicks show about temporal smoothness?
Chicks exposed to smoothly moving objects learned representations robust to unseen transformations, whereas chicks exposed to shuffled frames overfit to observed transformations.
What is optical flow estimation?
Estimating where each pixel in one image moves in a second image.
What is the output representation for optical flow?
A dense two-channel field containing the displacement in the x and y directions for each pixel.
What architecture does FlowNet use for optical flow estimation?
An encoder-decoder architecture that receives a pair of images and upsamples features to produce a dense flow field.
How can optical-flow ground truth be generated automatically?
Render 3D models with known motion and overlay them on real images, allowing the exact pixel displacements to be computed.
What is the underlying assumption that makes synthetic training useful for optical flow?
Pixels that move together are likely to belong to the same object.
What is a limitation of applying an image model independently to each video frame?
It ignores temporal relationships and can produce flickering predictions between consecutive frames.
What is a 3D convolution for video?
A convolution whose kernel slides across both spatial dimensions and the temporal dimension of a video volume.
How is a video represented for 3D convolution?
As a volume containing time, height, width, and color-channel dimensions.
Which 2D convolution concepts also apply to 3D convolutions?
Stride, dilation, and padding.
Why are ordinary 3D convolutions non-causal?
A symmetric temporal kernel uses both past and future frames to compute an activation at time t.
When are non-causal 3D convolutions appropriate?
For offline processing, when future frames are available.
How can 3D convolutions be used in real-time systems?
Use masked 3D convolutions that prevent the filter from accessing future frames.
What is action recognition?
Classifying the type of action occurring in a video.
What is the Kinetics dataset?
A large-scale action-recognition dataset containing hundreds of thousands of curated online videos across hundreds of action classes.
What is the two-stream idea in efficient video recognition?
Process a low-frame-rate stream with more features for abstract information and a high-frame-rate stream with fewer features for fast motion.
What type of information does the low-frame-rate stream emphasize?
Stable, abstract information such as object categories.
What type of information does the high-frame-rate stream emphasize?
Rapid changes and motion.
How can an image classifier initialize a 3D convolutional video model?
Replicate or tile the 2D filter weights along the time dimension to create 3D filters.
Why is video processing more computationally demanding than image processing?
Videos require more memory, 3D convolutions require more computation, and the resulting models consume more energy.
What is one proposed way to improve the efficiency of video models?
Increase parallelism across network operations to improve throughput and reduce latency.
Why can video models avoid processing every frame at full resolution?
Neighboring frames in a high-frame-rate video are often highly redundant and visually similar.
Why is strong labeling especially difficult for videos?
A detailed annotation such as segmentation may need to be repeated across hundreds of frames.
How can key-frame labeling reduce annotation effort?
Humans label only selected frames, and models propagate those labels across time using video smoothness.
What is metric learning?
Learning an embedding or distance function that places similar inputs close together and dissimilar inputs far apart.
What is the goal of an embedding for person images?
Images of the same person should cluster together, while images of different people should be separated.
How can metric learning support image retrieval?
Embed a new image and find the nearest neighboring embedding associated with a known identity or category.
How can metric learning be useful for medical data?
It can learn an interpretable embedding of high-dimensional data and reveal differences associated with conditions such as disease.
What is contrastive loss designed to do?
Attract embeddings from matching pairs and repel embeddings from non-matching pairs.
How does contrastive loss treat a matching pair?
It penalizes the distance between the two embeddings, encouraging them to become close.
How does contrastive loss treat a non-matching pair?
It pushes the embeddings apart until their distance exceeds a specified margin.
What limitation does a fixed margin create in contrastive learning?
It forces all classes to satisfy the same separation scale, even when classes differ in variability or difficulty.
What is a triplet loss?
A loss using an anchor, a positive example, and a negative example to make the positive closer to the anchor than the negative by a margin.
Why can triplet loss be more flexible than contrastive loss?
It allows different classes to occupy embedding regions with different radii while enforcing relative ordering between positive and negative examples.
Why is hard-negative mining important for triplet loss?
The choice of informative negative examples strongly affects the quality of the learned embedding.
What is self-supervised “same-image” representation learning?
The model treats different augmentations of one image as matching examples and augmentations of different images as non-matching examples.
Why is same-image self-supervision attractive?
It produces training labels automatically and can learn representations approaching the quality of those learned from fully labeled datasets.
What does it mean to ask whether vision is “solved”?
It requires defining what level of scene understanding counts as success and creating benchmarks that measure it reliably.
Why is it difficult to benchmark human-level scene understanding?
A model may perform well on one dataset but fail on another, and no single existing task captures all aspects of human visual understanding.
Why must future vision systems become multi-task systems?
Humans perform many visual tasks, whereas most current models specialize in one task such as detection or optical-flow estimation.
What developments may be needed to scale vision systems to many tasks?
More model parallelism, improved hardware, and learning methods that require less supervision.
Why may semantic segmentation be insufficient as a representation for action?
Semantic segmentation describes pixel classes but may not capture the information needed for an agent to act and control objects.
What is the central takeaway about learning vision from static images?
Learning exclusively from static images may make visual learning harder than necessary because motion provides important cues and natural variation.

Ask anything
We've read this whole study set, so questions about it get the best answers.