What is label smoothing and why is it used in vision classification models?

Updated May 15, 2026

Short answer

Label smoothing softens hard labels to improve generalization and reduce overconfidence.

Deep explanation

Instead of assigning probability 1.0 to correct class and 0.0 to others, label smoothing assigns a small probability to all classes. This prevents the model from becoming overconfident and improves calibration, especially in deep networks like transformers.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Computer Vision interview questions

View all →