Skip to main content
QUICK REVIEW

[Paper Review] Learning Soft Labels via Meta Learning

Nidhi Vyas, Shreyas Saxena|arXiv (Cornell University)|Sep 20, 2020
Machine Learning and Data ClassificationComputer Science27 references18 citations
TL;DR

This paper proposes a meta-learning framework that treats soft labels as learnable parameters, dynamically adapting them during training to improve generalization and correct noisy annotations. By optimizing labels alongside model parameters using a meta-learning objective, the method achieves state-of-the-art performance on CIFAR100 (2.1% accuracy gain on ResNet18) and outperforms existing methods in noisy data settings.

ABSTRACT

One-hot labels do not represent soft decision boundaries among concepts, and hence, models trained on them are prone to overfitting. Using soft labels as targets provide regularization, but different soft labels might be optimal at different stages of optimization. Also, training with fixed labels in the presence of noisy annotations leads to worse generalization. To address these limitations, we propose a framework, where we treat the labels as learnable parameters, and optimize them along with model parameters. The learned labels continuously adapt themselves to the model's state, thereby providing dynamic regularization. When applied to the task of supervised image-classification, our method leads to consistent gains across different datasets and architectures. For instance, dynamically learned labels improve ResNet18 by 2.1% on CIFAR100. When applied to dataset containing noisy labels, the learned labels correct the annotation mistakes, and improves over state-of-the-art by a significant margin. Finally, we show that learned labels capture semantic relationship between classes, and thereby improve teacher models for the downstream task of distillation.

Motivation & Objective

  • Address the limitations of fixed one-hot labels, which lead to hard decision boundaries and poor generalization.
  • Overcome the suboptimal regularization of static soft labels (e.g., label smoothing) by enabling dynamic adaptation during training.
  • Correct noisy annotations in datasets without human intervention, improving robustness in real-world data settings.
  • Improve knowledge distillation by learning semantic-aware soft labels that enhance teacher model performance.
  • Develop a unified framework that works effectively in both clean and noisy data regimes through end-to-end optimization of labels and model parameters.

Proposed method

  • Treat class-level and instance-level labels as differentiable parameters to be optimized jointly with model weights via gradient descent.
  • Use a meta-learning objective: update labels to maximize model performance on a held-out validation set, ensuring alignment with model state.
  • For class-level labels, apply instance-specific smoothing parameters αᵏᵗ that adjust the soft label distribution per class, with pᵢ,ₖᵗ = 1−αᵧᵢᵗ for target class and αᵧᵢᵗ/(c−1) for others.
  • For instance-level labels, learn unique soft labels per data point using the same meta-optimization strategy, enabling instance-specific regularization.
  • Backpropagate through the label optimization process using implicit differentiation, enabling end-to-end training with both model and label parameters.
  • Leverage the history of optimization to maintain stable label updates, avoiding degenerate solutions common in alternating label-model training.

Experimental results

Research questions

  • RQ1Can soft labels be dynamically optimized during training to improve model generalization beyond static label smoothing?
  • RQ2Can a meta-learning framework effectively correct mislabeled examples in noisy datasets without relying on heuristics or auxiliary models?
  • RQ3Do dynamically learned soft labels capture semantic relationships between classes, improving knowledge distillation?
  • RQ4How does joint optimization of labels and model parameters compare to state-of-the-art methods in terms of accuracy and robustness under varying noise levels?
  • RQ5Can learned soft labels serve as a direct alternative to knowledge distillation by transferring better teacher signals to student models?

Key findings

  • The method improves ResNet18 accuracy by 2.1% on CIFAR100 compared to standard training with one-hot labels.
  • On CIFAR100 with 40% uniform noise, the method achieves 76.9±0.3% test accuracy with WRN28-10, outperforming state-of-the-art methods like MentorNet DD and L2RW.
  • Learned instance-level soft labels correct annotation errors in noisy datasets, significantly improving generalization over baselines.
  • Soft labels learned via meta-learning capture semantic relationships between classes, leading to better performance in knowledge distillation.
  • The framework outperforms existing methods in both clean and noisy settings, with consistent gains across multiple architectures and datasets.
  • The approach achieves competitive performance compared to knowledge distillation, with soft labels directly transferable to other models without requiring a teacher network.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.