Learning Soft Labels via Meta Learning

Shreyas Saxena, Nidhi Vyas, Thomas Voice

Abstract

Traditional supervised learning typically employs static one-hot labels, which often fail to capture semantic nuances and are highly sensitive to label noise. This paper introduces a novel meta-learning framework that treats training labels as learnable parameters. By utilizing a "look-ahead" optimization strategy—where labels are updated based on the model's performance on a clean validation "meta-set"—the framework generates dynamic soft labels. Our results demonstrate that this method enhances model generalization, provides robustness against label noise, and facilitates the discovery of latent semantic relationships between classes.

Introduction

In the standard supervised learning paradigm, models are trained to map inputs to fixed "one-hot" vectors. While effective, this approach has significant drawbacks. First, it encourages hard decision boundaries that ignore semantic similarities (e.g., a "Husky" is more similar to a "Wolf" than to a "Toaster"). Second, it makes models vulnerable to label noise, as they are forced to memorize incorrect ground truths. Finally, while static regularization techniques like label smoothing exist, they lack the flexibility to adapt to the model's evolving state during training.

Methods: Labels as Learnable Parameters

The core innovation of this work is treating labels ($\alpha$) as dynamic parameters optimized alongside model weights ($\theta$). The framework employs a meta-learning cycle:

  1. Simulated Update: The model performs a trial update on a mini-batch using current soft labels.
  2. Meta-Evaluation: The performance of this updated model is evaluated on a separate, clean "meta-set."
  3. Label Optimization: The training labels are updated via gradient descent based on the meta-set loss. If a label is incorrect or overly restrictive, the meta-gradient shifts the probability mass to improve generalization.
  4. Final Update: The model weights are updated using the refined labels.
Overview of the meta-learning framework showing how labels evolve in supervised and noisy settings.

The authors evaluate two granularities: Class Labels, where all images in a class share a smoothing parameter, and Instance Labels, where each image possesses a unique, learnable soft label.

Experimental Results

The framework was tested on CIFAR-10 and CIFAR-100 datasets, including variants with artificial label noise ranging from 20% to 80%.

Performance and Robustness

On CIFAR-100, the proposed method improved ResNet18 accuracy by 2.1% over standard baselines. In high-noise environments (40% noise), it outperformed state-of-the-art methods like MentorNet by approximately 1-2%, successfully correcting roughly 7% of the noisy samples.

Training dynamics illustrating the progression of class accuracy and target probability over 150+ epochs.

Semantic Discovery

A notable emergent property of "Instance Labels" is the discovery of semantic relationships. Without explicit supervision, the model assigned higher probabilities to semantically related classes (e.g., an "Apple" image might gain probability in the "Pear" class). This suggests the meta-gradient captures the visual ambiguity inherent in complex datasets.

Discussion and Limitations

While the framework offers significant benefits, it introduces certain challenges:

  • Meta-Set Dependency: The requirement for a clean, albeit small (2%), meta-set may be a bottleneck in domains where clean data is scarce.
  • Computational Cost: The "double backpropagation" required for the look-ahead step increases training time, though one-step approximations mitigate this.
  • Hyperparameter Tuning: The learning rate for labels introduces additional complexity to the optimization process.

Future research will focus on scaling this approach to larger datasets like ImageNet and exploring automated schedules for label learning rates.

Summary updated

BibTeX
@misc{saxena2020learning,
  author = {Shreyas Saxena and Nidhi Vyas and Thomas Voice},
  title = {{Learning Soft Labels via Meta Learning}},
  year = {2020},
  eprint = {2009.09496},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.09496},
}
Figure