atlas

Research map / Learning theory and algorithms / Prediction and decision losses

Understanding the Impact of Introducing Constraints at Inference Time on Generalization Error

ICML 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Losses for decision-making

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretical analysis of how adding constraints only at inference time (ITV) changes generalization error relative to the best constrained model, showing which loss functions preserve relative error.

Problem

When constraints on model outputs are imposed only at inference time, it is unclear how generalization error changes, especially in non-PAC-learnable settings and across different multi-class loss functions.

Approach

Defines "preservation of relative error" (the gap to the best unconstrained model does not increase after inference-time constraints) and gives conditions under which binary and multi-class surrogate losses (softmax CE, one-versus-rest, pairwise comparison, binary CE for structured outputs) preserve it, while multi-class margin loss does not, with worst-case analysis.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Impose constraints at inference timeBinary classification with a margin-based loss · Binary classificationrelative errorHelped
Impose constraints at inference timeSoftmax cross-entropy loss · Multi-class classificationrelative errorHelped
Impose constraints at inference timeOne-versus-rest loss with a binary surrogate loss · Multi-class classificationrelative errorHelped
Impose constraints at inference time using zero-one, sigmoid, or ramp binary lossPairwise comparison loss · Multi-class classificationrelative errorHelped
Impose constraints at inference timeBinary cross-entropy loss · Structured predictionrelative errorHelped
Combine multi-class margin loss with zero-one, ramp, or sigmoid binary loss and impose constraintsMulti-class margin loss · Multi-class classificationrelative errorHurt
Combine pairwise comparison loss with hinge or logistic loss and impose constraintsPairwise comparison loss · Multi-class classificationrelative errorHurt
Impose constraints in a worst-case constructionMulti-class margin loss with zero-one, ramp, or sigmoid binary loss · Multi-class classificationrelative error: R(h)−R(g⋆) = 0; R(hc)−R(f⋆c) ≥ 1/2Hurt

Surprising findings

Limitations

Experimental setup

Metrics: relative generalization error

Builds on: Nishino et al. (2022) learning with a verifier Sugiyama et al. (2022) classification-calibrated losses

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy