In multinomial (softmax) logistic regression, how are class probabilities constrained?

Quick Overview

Asks how multinomial logistic regression turns per-class linear scores into probabilities and what constraints those probabilities satisfy. It tests the softmax formula, the coupling between classes, over-parameterization with a reference class and the link to binary logistic regression.

In multinomial (softmax) logistic regression, how are class probabilities constrained?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

In multinomial (softmax) logistic regression, how are class probabilities constrained? ```hint Follow one input through the model Trace an input from its per-class scores, through the exponential, to the division by the total, and ask what each step guarantees about the outputs. ``` ### What a Strong Answer Covers - The formula that maps class scores to probabilities - The range of each probability and the constraint across classes, and which step of the formula produces each - How the probabilities depend on each other when one class's score changes - Why the parameters are not unique and how a reference class fixes that - How the two-class case relates to ordinary logistic regression ### Follow-up Questions - How do you compute softmax without overflow when the scores are large? - How would the outputs differ if you trained K separate one-vs-rest logistic regressions instead? - When is softmax the wrong output, for example when an item can belong to several classes at once?

Overview: Asks how multinomial logistic regression turns per-class linear scores into probabilities and what constraints those probabilities satisfy. It tests the softmax formula, the coupling between classes, over-parameterization with a reference class and the link to binary logistic regression.

General logo
General
Nov 25, 2026
easyData ScientistOtherMachine Learning
0
0

In multinomial (softmax) logistic regression, how are class probabilities constrained?

What a Strong Answer Covers Guidance

  • The formula that maps class scores to probabilities
  • The range of each probability and the constraint across classes, and which step of the formula produces each
  • How the probabilities depend on each other when one class's score changes
  • Why the parameters are not unique and how a reference class fixes that
  • How the two-class case relates to ordinary logistic regression

Follow-up Questions Guidance

  • How do you compute softmax without overflow when the scores are large?
  • How would the outputs differ if you trained K separate one-vs-rest logistic regressions instead?
  • When is softmax the wrong output, for example when an item can belong to several classes at once?