TL;DR
Researchers from Shandong University and ByteDance have introduced ChapterGen, a large-scale dataset of approximately 10,000 user-generated videos designed to advance automatic video chaptering. They propose a two-stage multi-modal framework utilizing a "skip sliding window" for efficient boundary localization and a cross-attention fusion module to generate concise, thematic chapter titles from both visual and transcript data.
The Challenge of Automatic Video Chaptering
While platforms like YouTube frequently feature "chapters," generating them automatically remains a significant challenge in computer vision and natural language processing. Unlike standard video captioning, which describes immediate actions (e.g., "a person walks to a piano"), chapter generation requires a higher-level semantic summary (e.g., "Memory Promoting Exercise").
Existing datasets are often too short, lack conclusive labels, or focus on low-level actions rather than thematic segments. Furthermore, processing long-form video (10–30 minutes) is computationally expensive. ChapterGen aims to bridge this gap by providing a specialized dataset and a baseline model that handles the unique temporal and semantic complexities of video chapters.
Proposed Framework
The researchers propose a two-stage framework that disentangles the core sub-tasks of localization and title generation.
1. Chapter Localization
The model identifies boundaries using a two-stream network (visual and text) with a sliding window mechanism. To handle long videos efficiently, a skip sliding window is introduced. By allowing a small time offset instead of checking every second, the model significantly speeds up inference without sacrificing accuracy. The visual stream employs a ResNet-50 backbone enhanced with a Temporal Shift Module (TSM) to capture motion efficiently.
2. Chapter Title Generation
This stage utilizes a Transformer encoder-decoder architecture. The core innovation is a cross-attention multi-modal fusion layer. Rather than simple concatenation, the model uses text embeddings as a "query" to attend to relevant visual "keys" and "values." The model is initialized with pre-trained weights from state-of-the-art summarization models like Pegasus and BigBird.
The ChapterGen Dataset
The paper introduces ChapterGen, a dataset of 9,631 videos (averaging 13.6 minutes each) sourced from YouTube via WikiHow categories.
- Scale: It contains roughly 10x more user-generated content with chapter annotations than previous specialized sets.
- Diversity: It covers a wide array of topics, from "Finance and Business" to "Pets and Animals."
- Complexity: To provide a nuanced benchmark, the authors categorized a subset into "Easy" cases (clear temporal structures) and "Hard" cases (vague boundaries).
Key Insights and Results
One of the most significant findings is that narration text (transcripts) is more discriminative for finding chapter boundaries than video frames alone. However, the best results are achieved by combining both modalities. The authors emphasize that chaptering is a conclusive task; the model must ignore play-by-play details to identify the overarching theme.
Performance Metrics
The multi-modal framework significantly outperformed existing baselines:
- Localization: Achieved an Average Precision (AP) of 43.3% and a Recall@5s of 76.1%.
- Title Generation: On the ROUGE-L metric, the "Pegasus + Cross-Attention" model scored 34.0, outperforming text-only models (26.6) and simple concatenation methods (27.8).
- Efficiency: The text-only version of the model is exceptionally fast, reaching an inference speed of nearly 6,000 FPS.
Limitations and Future Directions
Despite these advances, a performance gap remains between "Easy" and "Hard" cases. In Hard cases, ROUGE-L scores drop from 38.6 to 27.0, indicating that models still struggle when segments lack explicit verbal or visual transitions. Future work will focus on expanding the dataset scale and improving long-range temporal modeling for truly long-form content, such as multi-hour livestreams.
Summary updated