TALK.md — Rethinking the Inception Architecture (Label Smoothing)
Press / Blog Coverage
- “Label Smoothing” — PyTorch official documentation for
torch.nn.CrossEntropyLoss(label_smoothing=...), which implements exactly the technique from this paper: https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html - “What is Label Smoothing? And why does it work?” — Medium article by Nitin Punjabi with visual explanations: https://medium.com/@nitinpunjabi_/label-smoothing-explained-applications-in-deep-learning-1a3d05f9d5c0
- “A Visual Guide to Label Smoothing” — Sasank Chilamkurthy’s blog at Weights & Biases: https://wandb.ai/authors/label-smoothing/reports/Label-Smoothing—Vmlldzo5ODQ4MjU
- “Label Smoothing and Model Calibration” — Sebastian Raschka’s deep-dive on how label smoothing improves calibration: https://sebastianraschka.com/blog/2023/label-smoothing.html
- “Rethinking the Inception Architecture” — Christian Szegedy’s blog post (Google Research) summarizing the Inception-v3 contributions: https://research.google/pubs/pub45919/
Interview-Style Q&A
Q1: Why does label smoothing improve calibration? A: With hard one-hot labels, the cross-entropy loss drives the model to predict probability 1.0 for the correct class — this is only achievable when the logit for that class goes to infinity relative to all others. This pushes models into an overconfident regime where predicted probabilities don’t match empirical accuracy. Label smoothing replaces the target with q’(k) = (1−ε)·δ_{k,y} + ε/K, which caps the maximum target probability at (1−ε + ε/K) ≈ 0.9 for K=10. The model can’t push its confidence to 1.0, so its predicted probabilities stay in a more realistic range that matches actual accuracy.
Q2: What’s the relationship between label smoothing and KL divergence? A: The label smoothing loss H(q’, p) = (1−ε)·H(q, p) + ε·H(u, p), where u is the uniform distribution. Since H(u, p) = D_KL(u ‖ p) + H(u) and H(u) is a constant, the loss is equivalent to (1−ε)·CE + ε·D_KL(u ‖ p) + constant. So label smoothing adds a KL-divergence penalty that pulls the predicted distribution toward the uniform prior, preventing any single class from dominating.
Q3: How does ε (smoothing parameter) affect the result? A: The paper uses ε = 0.1 for ImageNet’s 1000 classes. Larger ε increases regularization but can hurt accuracy if too aggressive — the model underfits because it’s being penalized for high confidence even when it’s correct. Smaller ε has a milder effect. The optimal value depends on the number of classes: with more classes, ε/K becomes very small, so even ε = 0.1 provides a gentle nudge. With fewer classes, the same ε has a stronger relative effect.
Q4: Is label smoothing the same as temperature scaling? A: No. Temperature scaling divides logits by a temperature T before softmax — it’s applied at inference time to calibrate predictions without changing the training objective. Label smoothing changes the training target itself, affecting what the model learns. Temperature scaling is a post-hoc calibration method; label smoothing is a training-time regularizer. They can be combined.
Q5: Why is label smoothing used in knowledge distillation? A: In knowledge distillation (Hinton et al., 2015), a student model learns from a teacher’s soft probability outputs, which are produced by applying a high temperature to the teacher’s softmax. These soft targets implicitly contain a form of label smoothing — the teacher assigns small but non-zero probabilities to incorrect classes, which carries “dark knowledge” about similarity relationships between classes. The label smoothing technique from this paper can be seen as a simpler version where the soft target is a uniform mixture rather than a teacher’s predictions.
Common Misconceptions
-
“Label smoothing always improves accuracy” — Not necessarily. The paper reports ~0.2% improvement on ImageNet, which is marginal. The primary benefit is improved calibration, not raw accuracy. On some tasks, label smoothing can slightly reduce accuracy while improving calibration.
-
“Label smoothing is just adding noise to labels” — No, it’s a principled modification of the target distribution based on a label-dropout model. The paper explicitly derives it from the assumption that ground-truth labels may be wrong with probability ε, and in that case the true label is drawn uniformly from all classes.
-
“You need a large number of classes for label smoothing to work” — While the effect is more pronounced with many classes (because ε/K is smaller, providing a gentler nudge), label smoothing works even with few classes. The calibration benefit is present regardless of K.
-
“Label smoothing and mixup are the same thing” — They’re different. Mixup creates virtual training examples by linearly interpolating both inputs and labels between two random samples. Label smoothing modifies the target distribution for each sample independently without mixing inputs.
-
“Label smoothing makes the model less confident, which is always bad” — The reduction in confidence is the intended effect. Overconfident models are poorly calibrated — they’re wrong more often than their confidence suggests. Label smoothing trades a small amount of confidence for significantly better calibration.
Real Citations
- Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016). Rethinking the Inception Architecture for Computer Vision. CVPR 2016. arXiv:1512.00567
- Szegedy, C., et al. (2015). Going Deeper with Convolutions (GoogLeNet/Inception-v1). CVPR 2015. (Predecessor architecture)
- Ioffe, S., & Szegedy, C. (2015). Batch Normalization. ICML. (Used in Inception-v2/v3)
- Hinton, G., Vinyals, O., & Dean, J. (2015). Distilling the Knowledge in a Neural Network. NeIPS Workshop. (Related: soft targets, temperature scaling)
- Müller, R., Kornblith, S., & Hinton, G. (2019). When Does Label Smoothing Help? NeIPS. (In-depth analysis of label smoothing’s effects)
- Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On Calibration of Modern Neural Networks. ICML. (Calibration analysis, ECE metric)
Citation count: As of 2026, this paper has been cited over 32,000 times (Semantic Scholar), making it one of the most influential computer vision papers. Label smoothing from this paper has become a standard training technique adopted in ResNet, EfficientNet, Vision Transformer, and many modern architectures.