Chapter-Llama: Efficient Chaptering in Hour-Long Videos with LLMs

Lucas Ventura, Antoine Yang, Cordelia Schmid, Gül Varol
4/1/2025

No official code found. Best implementation: lucas-ventura/chapter-llama (99 stars, MIT, last commit 2025-06-06).

Abstract

We address the task of video chaptering, i.e., partitioning a long video timeline into semantic units and generating corresponding chapter titles. While relatively underexplored, automatic chaptering has the potential to enable efficient navigation and content retrieval in long-form videos. In this paper, we achieve strong chaptering performance on hour-long videos by efficiently addressing the problem in the text domain with our ‘Chapter-Llama’ framework. Specifically, we leverage a pre-trained large language model (LLM) with large context window, and feed as input (i) speech transcripts and (ii) captions describing video frames, along with their respective timestamps. Given the inefficiency of exhaustively captioning all frames, we propose a lightweight speech-guided frame selection strategy based on speech transcript content, and experimentally demonstrate remarkable advantages. We train the LLM to output timestamps for the chapter boundaries, as well as free-form chapter titles. This simple yet powerful approach scales to processing one-hour long videos in a single forward pass. Our results demonstrate substantial improvements (e.g., 45.3 vs 26.7% F1 score) over the state of the art on the recent VidChapters-7M benchmark. To promote further research, we release our code and models at our project page.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch implementation of the paper "Chapter-Llama: Efficient Chaptering in Hour-Long Videos with LLMs"

9915Shell, PythonApr 1, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ventura2025chapterllama,
  title  = {Chapter-Llama: Efficient Chaptering in Hour-Long Videos with LLMs},
  author = {Lucas Ventura and Antoine Yang and Cordelia Schmid and Gül Varol},
  year   = {2025},
  eprint = {2504.00072},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.00072},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.00072.svg)](https://codeofpaper.com/paper/2504.00072)

Discussion