seniorComputer Vision
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 pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro