Abstract
Video highlights detection has been long researched as a topic in computer vision tasks, digging the user-appealing clips out given unexposed raw video inputs. However, in most case, the mainstream methods in this line of research are built on the closed world assumption, where a fixed number of highlight categories is defined properly in advance and need all training data to be available at the same time, and as a result, leads to poor scalability with respect to both the highlight categories and the size of the dataset. To tackle the problem mentioned above, we propose a video highlights detector that is able to learn incrementally, namely Global Prototype Encoding (GPE), capturing newly defined video highlights in the extended dataset via their corresponding prototypes. Alongside, we present a well annotated and costly dataset termed LiveFood (also referred to as ByteFood), including more than 5.1k gourmet videos belongs to four different domains which are cooking, eating, food material, and presentation respectively. To the best of our knowledge, this is the first time the incremental learning settings are introduced to video highlights detection, which in turn relieves the burden of training video inputs and promotes the scalability of conventional neural networks in proportion to both the size of the dataset and the quantity of domains. Moreover, the proposed GPE surpasses current incremental learning methods on LiveFood, reporting an improvement of 1.57% mAP at least.
Introduction
Video Highlights Detection (VHD) aims to automatically identify the most "user-appealing" segments within unedited video footage. Traditionally, VHD models are developed under a "closed-world" assumption, where a fixed set of categories (e.g., "slam dunks" or "goals") is defined beforehand, and the model is trained on a static, complete dataset.
However, real-world applications are often "open-ended." User interests evolve, and new content domains emerge over time. Existing models struggle in these scenarios due to catastrophic forgetting, where learning a new domain (e.g., "cooking") causes the model to lose its ability to recognize previously learned ones (e.g., "eating"). Retraining from scratch is computationally prohibitive. This research introduces Global Prototype Encoding (GPE) to address Domain Incremental VHD, enabling models to adapt to a stream of new content domains efficiently without forgetting prior knowledge.
Global Prototype Encoding (GPE)
The GPE framework moves away from standard linear classifiers in favor of learnable prototypes—representative feature vectors for "highlight" and "non-highlight" (vanilla) frames. The architecture consists of three primary stages:
- Feature Extraction: A ConvNeXt backbone extracts high-quality spatial features from video frames.
- Temporal Fusion: A Transformer encoder aggregates context across the video timeline to capture temporal dependencies.
- Prototype Matching: Each frame's feature is compared against two sets of prototypes (highlight vs. vanilla) using $L_2$ distance. A frame's score is determined by its proximity to a "highlight" prototype.
To mitigate forgetting, GPE employs a constrained optimization approach. When a new domain is introduced, the model updates its prototypes but is restricted to stay within a specific geometric distance from their previous states. This balance is managed through a Lagrangian formulation that preserves the structure of old concepts while integrating new ones. The model supports two modes: Fixed ($M_f$), which refines a static number of prototypes, and Dynamic ($M_d$), which expands the prototype set as new domains are encountered.
The LiveFood Dataset
To evaluate incremental VHD, the researchers introduced LiveFood, a large-scale benchmark significantly more robust than previous datasets. It comprises over 5,100 high-resolution gourmet videos totaling 197 hours.
Unlike datasets that provide only pre-extracted features, LiveFood offers raw video and fine-grained, frame-level annotations across four distinct but related domains: ingredients, cooking, presentation, and eating. This domain-relatedness makes it an ideal proxy for real-world incremental learning, as features learned in one phase (like identifying ingredients) often provide a foundation for subsequent phases (like cooking).
Incremental Learning Paradigm
The research introduces a task-based incremental setting where the model encounters a sequence of tasks ($T_1$ to $T_4$), each corresponding to a different domain from the LiveFood dataset.
This setup allows for the evaluation of how well a model scales as the dataset size and the number of domains increase. GPE's prototype-based approach acts as a geometric anchor, making it easier to "nudge" the model toward new concepts without overwriting the underlying feature space.
Experimental Results
GPE consistently outperformed established incremental learning baselines, such as Synaptic Intelligence (SI) and Dark Experience Replay (DER), on the LiveFood benchmark:
- Performance: GPE achieved a mean Average Precision (mAP) of 34.05%, a significant improvement over the "Lower Bound" (no incremental strategy) of 30.52%.
- Scalability: The model showed at least a 1.57% average mAP improvement over other popular domain incremental methods.
- Generalization: To prove its general utility, GPE was tested on the R-MNIST (Rotated MNIST) dataset, achieving 90.17% accuracy and demonstrating its effectiveness as a general-purpose incremental learner.
Conclusion and Future Work
GPE represents a significant step toward scalable, open-world video analysis. By using prototypes as anchors, it achieves state-of-the-art results without the need for massive replay buffers or architectural expansion. Future work will explore expanding the benchmark to more diverse, non-gourmet domains (e.g., sports or travel) and investigating the optimal capacity for dynamic prototype scaling to prevent redundancy as the number of domains grows.
Summary updated