Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Identify features and capabilities of computer vision and image-generation models

A worked example

Single answer

A museum wants an AI model for its collection website. The training data is a large set of photographs, each paired with a text description.

Requirements:

  1. The model must accept a photograph as input and recognize the visual features in it.
  2. The model must output a full natural-language sentence that describes the photograph, for example "A person standing beside a vintage computer".
  3. The model must describe new photographs that were not in its training data.

Which type of model meets all the requirements?

Choose one answer
Why

The model must take an image as input and produce a sentence of descriptive language, so it needs both visual and language encoding. A multimodal model combines a vision encoder and a language encoder, trained on images paired with text descriptions, in a shared embedding space. It recognizes visual features in a new image and finds the language associated with them, so it can describe images it has never seen. A language-only transformer cannot process the photograph. A CNN classifier or a vision-only transformer cannot produce a sentence.

  • Not correct: A convolutional neural network image classification model. A CNN classifier extracts feature maps and predicts a probability for each class in a fixed set of labels. It does not produce a descriptive sentence.
  • Not correct: A language transformer trained on text. A language transformer encodes text tokens as embeddings. On its own it does not extract or encode visual features from photographs.
  • Not correct: A vision transformer trained on photographs. A vision transformer on its own builds a visual vocabulary of embeddings for visual features. Without a language encoder, it cannot link those features to descriptive language.
  • Correct: A multimodal model that combines vision and language encoders. A multimodal model trained on images with text descriptions links visual features to language. This lets it predict descriptions for images it has not seen before, so it meets all three requirements.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free