Exploring Domain Incremental Video Highlights Detection with the LiveFood Benchmark

Sen Pei, Shixiong Xu, Xiaojie Jin

Abstract

Video Highlights Detection (VHD) is essential for modern short-video platforms, yet traditional models struggle with the "open-world" nature of evolving user interests. This paper formalizes the Domain Incremental Video Highlights Detection (DIVHD) task, where models must learn new video domains sequentially without forgetting previous ones. To support this research, the authors introduce LiveFood, a large-scale, high-quality gourmet video dataset. They further propose Global Prototype Encoding (GPE), a novel framework that utilizes learnable prototypes and distance-based logic to maintain stability and plasticity during incremental learning. Experimental results demonstrate that GPE significantly outperforms existing incremental learning baselines.

Introduction

The rise of platforms like TikTok and YouTube Shorts has made Video Highlights Detection (VHD) a critical technology for content curation. However, existing VHD research typically operates in a "closed-world" setting, assuming a static dataset with fixed categories. In reality, new domains emerge constantly, and retraining models from scratch on combined datasets is computationally expensive. Conversely, fine-tuning on new data alone leads to "catastrophic forgetting," where the model loses its ability to recognize highlights in previously learned domains. This paper addresses these challenges by introducing the first framework for incremental VHD.

The Domain Incremental VHD Setting

The authors propose the Domain Incremental Video Highlights Detection (DIVHD) setting. Unlike traditional VHD, DIVHD requires a model to process a continuous stream of video data from different domains sequentially. The goal is to expand the model's knowledge base to include new domains while preserving its performance on all previously encountered ones.

The Domain Incremental VHD setting involves learning from a continuous video stream across multiple domains while maintaining performance on a fixed testing set.

The LiveFood Benchmark

A major hurdle in DIVHD research has been the lack of suitable datasets. Existing benchmarks often lack domain labels or raw video access, making them unsuitable for testing incremental learning. To fill this gap, the authors created LiveFood, a gourmet-focused dataset containing over 5,100 high-resolution videos (approximately 197 hours).

LiveFood provides a diverse set of gourmet videos across domains such as ingredients, cooking, and presentation.

LiveFood is categorized into four distinct but visually related domains: ingredients, cooking, presentation, and eating. This overlap makes it a challenging testbed for incremental learning, as models must distinguish subtle differences between domains while identifying highlights. Each video is finely annotated at the frame level by humans to ensure high-quality ground truth.

Methodology: Global Prototype Encoding (GPE)

To tackle catastrophic forgetting, the researchers developed Global Prototype Encoding (GPE). GPE moves away from standard classification layers in favor of a distance-based approach:

  • Feature Extraction: The model employs a ConvNeXt backbone for spatial features and a Transformer encoder to capture temporal context (how frames relate over time).
  • Learnable Prototypes: Instead of fixed weights, GPE maintains "prototypes"—idealized feature representations of "highlight" and "vanilla" (boring) clips.
  • Distance-Based Logic: Frame classification is determined by the $L_2$ distance to these prototypes. If a frame's features are closer to a "highlight" prototype, it receives a higher score.
  • Constrained Optimization: During incremental steps, the model is allowed to learn new prototypes for new domains. However, it is strictly penalized (using a Lagrange multiplier approach) if it shifts the old prototypes too far, effectively "anchoring" existing knowledge while allowing for growth.

Experimental Results

GPE was evaluated on the LiveFood benchmark and the R-MNIST digit rotation task. On LiveFood, GPE outperformed state-of-the-art incremental learning methods (e.g., SI, oEWC, and DER) by an average of 1.57% mAP (mean Average Precision). Notably, GPE achieved these results without the need for complex memory buffers or replaying raw video frames, making it highly efficient for real-world deployment.

On the 20-task R-MNIST sequence, the dynamic version of GPE achieved a record 90.17% accuracy, establishing a new state-of-the-art for that benchmark and proving its algorithmic scalability.

Conclusion

The introduction of the DIVHD setting and the LiveFood benchmark provides a new foundation for scalable video analysis. By utilizing learnable prototypes, the GPE framework offers a robust solution to the problem of catastrophic forgetting in video highlights detection, paving the way for more adaptive and efficient AI in the open-world video landscape.

Summary updated

BibTeX
@inproceedings{pei2024exploring,
  author = {Sen Pei and Shixiong Xu and Xiaojie Jin},
  title = {{Exploring Domain Incremental Video Highlights Detection with the LiveFood Benchmark}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=d3mDqFX8pp},
}
Figure