How do generative tasks like text or image generation differ from predictive tasks like classification or regression?

Quick Overview

Asks how generative tasks such as text or image generation differ from predictive tasks such as classification and regression. Tests understanding of what each model learns, the size of the output space, how evaluation works without one correct answer, and typical failure modes.

How do generative tasks like text or image generation differ from predictive tasks like classification or regression?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How does a generative task such as text or image generation differ from a predictive task like classification or regression? ```hint Count the right answers For one input, ask how many outputs would be acceptable in each kind of task, and what that does to how you train and evaluate the model. ``` ### What a Strong Answer Covers - What each kind of model learns, in probability terms - How the output spaces differ in size and structure, and how outputs are produced - How evaluation changes when many outputs are acceptable - The typical failure modes of each - Where the two overlap, such as language models trained with a classification loss ### Follow-up Questions - Why is perplexity alone a weak measure of a chat model's quality? - Naive Bayes is called a generative classifier. Is classifying with Naive Bayes a generative task? - How do decoding settings such as temperature or top-p change what a generative model outputs? - How would you evaluate an image captioning model before launch?

Overview: Asks how generative tasks such as text or image generation differ from predictive tasks such as classification and regression. Tests understanding of what each model learns, the size of the output space, how evaluation works without one correct answer, and typical failure modes.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

How does a generative task such as text or image generation differ from a predictive task like classification or regression?

What a Strong Answer Covers Guidance

  • What each kind of model learns, in probability terms
  • How the output spaces differ in size and structure, and how outputs are produced
  • How evaluation changes when many outputs are acceptable
  • The typical failure modes of each
  • Where the two overlap, such as language models trained with a classification loss

Follow-up Questions Guidance

  • Why is perplexity alone a weak measure of a chat model's quality?
  • Naive Bayes is called a generative classifier. Is classifying with Naive Bayes a generative task?
  • How do decoding settings such as temperature or top-p change what a generative model outputs?
  • How would you evaluate an image captioning model before launch?