Learning From Biased Soft Labels

Hua Yuan, Yu Shi, Ning Xu, Xu Yang, Xin Geng, Yong Rui

In the field of deep learning, Knowledge Distillation (KD) has become a standard technique for transferring expertise from a large, complex "teacher" model to a smaller, more efficient "student" model. Traditionally, the efficacy of this process was thought to be strictly limited by the teacher's accuracy. However, empirical evidence has frequently challenged this, showing that even mediocre or biased teachers can sometimes yield high-performing students.

In the paper "Learning From Biased Soft Labels," Hua Yuan and colleagues provide a rigorous theoretical framework to explain this phenomenon. By moving the focus from raw accuracy to the structural properties of label distributions, they prove that "bad" teachers can still be excellent instructors under the right conditions.

The Core Problem: Beyond Teacher Accuracy

Most existing theories of knowledge distillation assume that the "soft labels" (probability distributions) provided by a teacher are close approximations of ground-truth labels. This assumption fails to explain why students can often outperform their teachers or why noisy labels sometimes improve generalization.

The authors address this gap by asking: When are biased soft labels actually effective? They argue that the "dark knowledge" within a teacher model—the relative rankings and relationships between classes—is more critical than whether the teacher's top prediction is correct.

Theoretical Framework: Unreliability and Ambiguity

To analyze this, the researchers shifted the problem from a continuous probability space to a discrete "top-$k$" set analysis. They introduced two key indicators to measure the quality of a teacher's soft labels:

  1. Unreliability Degree ($\Delta$): This measures the frequency with which the true ground-truth label is entirely missing from the teacher's top-$k$ predictions.
  2. Ambiguity Degree ($\gamma$): This measures the likelihood that an incorrect label consistently "co-occurs" with the true label in the top-$k$ set, which could potentially mislead the student.

Key Theorems

Using these indicators, the paper establishes two foundational theoretical guarantees:

  • Classifier-Consistency (Theorem 3.1): The authors prove that if the ambiguity ($\gamma$) is sufficiently low relative to the unreliability ($\Delta$), the student model will eventually converge to the optimal Bayesian classifier, regardless of the teacher's initial bias.
  • ERM Learnability (Theorem 3.2): They provide a sample complexity formula that determines exactly how much data is required to guarantee that a student learns effectively from these biased labels.

Experimental Validation

The researchers tested their theory using CIFAR-10 and CIFAR-100 benchmarks. To isolate the effects of bias, they designed "Customized Soft Labels" using a heuristic loss function, allowing them to create teachers with intentionally low accuracy while controlling the $\Delta$ and $\gamma$ indicators.

Surprising Results

  • The 20% Accuracy Teacher: On CIFAR-10, the authors trained a teacher model with only ~20% top-1 accuracy. Despite this seemingly poor performance, the student model trained on its soft labels achieved over 90% accuracy, nearly matching the performance of a student trained on perfect ground-truth labels. This confirms that as long as the true label remains within the "top-$k$" and isn't overshadowed by a specific distractor class, the student can filter out the noise.
  • Robustness on CIFAR-100: Even on the more complex CIFAR-100 dataset, students trained on highly biased labels achieved adequate performance, validating the ERM learnability theory in high-dimensional label spaces.

Unifying Weak Supervision

One of the paper's most significant contributions is the unification of several disparate fields. The authors show that Knowledge Distillation, Label Smoothing, and Partial Label Learning (PLL) are essentially the same problem: learning from soft or candidate labels. Their indicators ($\Delta$ and $\gamma$) provide a universal way to analyze these tasks. In PLL experiments, student performance tracked perfectly with these indicators—as ambiguity or unreliability increased, performance dropped in a predictable, mathematically consistent manner.

Limitations and Future Directions

While the paper provides a robust "safety net" for learning from biased labels, it acknowledges some limitations:

  • Parameter Selection: The theory provides a threshold for effectiveness but does not yet offer a dynamic way to find the optimal $k$ for the top-$k$ set in real-world scenarios where the distribution is unknown.
  • Idealized Functions: The analysis of incomplete data assumes a deterministic accuracy function, which may not fully capture the stochastic nature of real-world optimization.

Conclusion

This research shifts the paradigm of Knowledge Distillation from "accuracy-first" to "structure-first." By proving that students can learn from biased teachers, the authors open the door for more robust training methods in environments where perfect labels are unavailable, such as weakly-supervised learning, self-teaching, and learning from human-annotated data containing natural noise.

Summary updated

BibTeX
@inproceedings{yuan2023learning,
  author = {Hua Yuan and Yu Shi and Ning Xu and Xu Yang and Xin Geng and Yong Rui},
  title = {{Learning From Biased Soft Labels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=gevmGxsTSI},
}
Figure