Label Denoising with Large Ensembles of Heterogeneous Neural Networks

Pavel Ostyakov, Elizaveta Logacheva, Roman Suvorov, Vladimir Aliev, Gleb Sterkin, Oleg Khomenko, Sergey I. Nikolenko

TL;DR

The authors present a top-tier solution for the 2nd YouTube-8M video classification challenge, achieving 4th place. Their core strategy involves training a massive ensemble of 115 heterogeneous models to generate "soft labels" that denoise the original dataset, followed by knowledge distillation into a compact model that fits within strict hardware constraints.

What Problem Does This Paper Address?

Large-scale video understanding is notoriously difficult because of the sheer volume of data and the inherent "noise" in automated labeling. In the YouTube-8M dataset, labels are generated by an automated system rather than human experts, resulting in a precision of only ~78.8% and a recall of ~14.5%.

Furthermore, the Kaggle competition imposed a strict 1GB memory limit for the final model. This creates a classic engineering tension: how do you leverage the predictive power of a massive, diverse ensemble while delivering a final product that is small and fast enough for deployment?

Methods

The researchers employed a multi-stage pipeline centered on Knowledge Distillation:

  1. First-Level Models: They trained 115 diverse models, including 95 video-level models (using aggregated features) and 20 frame-level models (using temporal data). Architectures included ResNet-like structures, LSTMs, Attention-based models (Transformers), and VLAD-BoW.
  2. Ensembling & Denoising: These models were combined using a Gradient Boosting model (LightGBM). Instead of using the original "hard" (0 or 1) noisy labels, they used the ensemble's out-of-fold predictions as "soft" labels. This process effectively "denoises" the dataset by providing a more nuanced probability distribution for each video.
  3. Distillation: A final, much simpler fully-connected model was trained using these soft labels. This allowed the team to capture the collective intelligence of the 115-model ensemble within a single model that met the 1GB memory requirement.
  4. Data Augmentation: They utilized Mixup, a technique where "virtual" training samples are created by taking linear combinations of pairs of images and their labels. They also experimented with novel frame subsampling strategies, such as selecting one frame per "scene" based on cosine distance thresholds.

Datasets

The study exclusively uses the YouTube-8M dataset, which contains 5.6 million videos annotated with 3,862 classes. The data consists of pre-computed features (embeddings) for both audio and video frames, rather than raw pixels, to make the scale manageable.

Key Insights and Ideas

  • Video-level vs. Frame-level: Surprisingly, video-level models (which look at averaged features) consistently outperformed frame-level models (which look at temporal sequences). This suggests that for many YouTube categories, the overall "gist" of the video is more informative than the specific temporal order of events.
  • The Power of Mixup: Incorporating Mixup regularization provided a significant boost to the ResNet-like models, improving the Global Average Precision (GAP) from 0.858 to 0.861.
  • Attention is (Almost) All You Need: While LSTMs are traditional for video, the authors found that attention-based models (like the Transformer encoder) performed very well, especially when disregarding position coding. This implies that many labels can be detected by looking at individual frames regardless of their specific timing.
  • Denoising via Soft Labels: The jump in performance from the best single model (GAP ~0.86) to the distilled model (GAP ~0.88) proves that the ensemble's "consensus" is a much better training signal than the original noisy ground truth.

Key Results

  • Competition Rank: 4th place in the 2nd YouTube-8M Video Understanding Challenge.
  • Primary Metric: Achieved a Global Average Precision (GAP@20) of 0.88729.
  • Efficiency: The final model successfully compressed the knowledge of 115 heterogeneous networks into a representation small enough to satisfy the 1GB memory constraint.
  • Modality Performance: Audio-only models reached a GAP of 0.506, while video-only models reached 0.834, highlighting that while audio is useful, visual features remain the primary driver of classification.

Limitations and Future Work

The authors noted that their model's quality is uneven across labels. While it performs exceptionally well on popular categories (like "Arts & Entertainment"), it struggles with rare labels. They suggest that different categories of labels might require fundamentally different architectural approaches.

Additionally, they believe there is still significant untapped potential in frame-level models. Despite their lower standalone performance in this study, these models provided crucial diversity to the ensemble, suggesting that better ways to extract temporal information are still needed.

Summary updated

BibTeX
@inproceedings{ostyakov2018label,
  author = {Pavel Ostyakov and Elizaveta Logacheva and Roman Suvorov and Vladimir Aliev and Gleb Sterkin and Oleg Khomenko and Sergey I. Nikolenko},
  title = {{Label Denoising with Large Ensembles of Heterogeneous Neural Networks}},
  booktitle = {Workshops @ ECCV},
  year = {2018},
  url = {https://openreview.net/forum?id=HyWneq-uZr},
}
Figure