TL;DR
This paper introduces a novel class-prototype-based supervised contrastive learning framework designed for multi-label, fine-grained video classification. To address the challenge of identifying educational content for young learners, the authors also present APPROVE, a new 193-hour expert-annotated dataset of educational YouTube videos spanning literacy and math concepts.
What Problem Does This Paper Address?
With children spending significant time watching online videos, parents and educators need automated tools to filter and categorize high-quality educational content. However, classifying educational videos introduces two major technical hurdles:
- Fine-Grained Distinctions: Educational concepts can be visually almost identical. For instance, a video teaching "letter names" looks very similar to one teaching "letter sounds" (phonetics), even though the educational objective is entirely different. Distinguishing them requires tightly aligning both visual and audio cues.
- Multi-Label Nature: A single educational video rarely covers just one topic; it might simultaneously teach counting, shapes, and sorting.
Traditional supervised contrastive learning methods (like SupCon) excel at single-label classification by pulling similar samples together and pushing different ones apart. However, they fail in multi-label settings because samples often have partially overlapping labels, making it ambiguous whether a pair should be treated as "positive" or "negative."
Methods
To overcome the multi-label ambiguity, the authors shift the contrastive learning anchor from sample-to-sample to sample-to-prototype.
1. Multi-Label Prototypes Contrastive Learning
Instead of contrasting videos against other videos, the framework learns a distinct embedding representation (a class prototype) for every single category. For any given video sample:
- It is pulled closer to the prototypes of the classes it does contain (positive pairs).
- It is pushed away from the prototypes of the classes it does not contain (negative pairs).
To update these prototypes during training, the authors use a closed-form linear approximation that accounts for label co-occurrences, ensuring that shared features between overlapping labels are properly un-mixed. The prototypes are then smoothed across iterations using an Exponential Moving Average (EMA).
2. Multimodal Fusion Transformer (MTN)
Because audio is critical to understanding educational context, the authors develop a multimodal architecture:
- Audio Processing: Background music and tunes are stripped using an audio separation tool (Spleeter), and the remaining speech is transcribed into text using OpenAI's Whisper ASR.
- Encoders: Video frames are processed via a Vision Transformer (ViT), and text transcripts are processed via a text transformer (DistilBERT or T5).
- Fusion: A Fusion Encoder applies cross-modal attention to blend the visual frame tokens and text word tokens into a unified multimodal representation.
Datasets
The model was evaluated on three distinct datasets:
- APPROVE (New): A newly introduced dataset consisting of 193 hours of YouTube videos curated and annotated by educational researchers. It contains 19 fine-grained classes (7 literacy codes, 11 math codes based on Common Core Standards, and 1 background class). Videos average 3 labels each.
- YouTube-8M (YT-46K subset): A 46,000-video subset featuring 165 diverse classes to test multi-label performance.
- COIN: A dataset of instructional videos (180 classes) used to evaluate how well the prototype method generalizes to single-label video tasks.
Key Insights and Ideas
- Prototypes Solve Multi-Label Ambiguity: Treating classes as static anchor points (prototypes) in the embedding space completely sidesteps the mathematical headache of defining contrastive pairs for samples with overlapping multi-labels.
- Audio is the Differentiator: Relying solely on video frames yields poor results in educational settings. Text transcripts from audio provide the missing semantic layer needed to separate fine-grained classes (e.g., spoken phonetics vs. written letters).
- Isolating Speech Matters: Pre-processing audio to remove background music before running Automatic Speech Recognition (ASR) is a simple but highly effective step for generating clean text tokens.
Key Results
The proposed prototype method consistently outperformed strong multi-label classification baselines (Binary Cross-Entropy, Focal Loss, and Asymmetric Loss):
- On APPROVE: The multimodal model achieved an AUPR of 88.4% and a Recall@80% Precision (R@80) of 85.5%, outperforming the strongest baseline by 3.1% in R@80.
- Math vs. Literacy: Models performed better on the Math subset than the Literacy subset, confirming that literacy concepts (like sounds in words vs. rhyming) possess much higher inter-class similarity and are harder to distinguish.
- On Public Benchmarks: The method achieved state-of-the-art results on YT-46K (70.9% AUPR) and outperformed standard SupCon on the COIN dataset with a 57.5% Top-1 Accuracy.
Limitations and Future Work
While robust, the framework's performance degrades if one of the modalities is highly corrupted or missing (e.g., if a video has no speech or extremely noisy audio where ASR fails). Additionally, the current dataset focuses strictly on kindergarten-level math and literacy. Future work could expand the prototype framework to handle more advanced educational tiers or broader subject matters.
Summary updated