Cluster-based Video Summarization with Temporal Context Awareness

Hai-Dang Huynh-Lam, Ngoc-Phuong Ho-Thi, Minh-Triet Tran, Trung-Nghia LearXiv 2024 · DOI

TL;DR

TAC-SUM is a novel, training-free video summarization framework that injects temporal context into traditional cluster-based methods. By combining self-supervised visual embeddings with a coarse-to-fine clustering and semantic partitioning workflow, it outperforms existing unsupervised methods and rivals supervised state-of-the-art models on the SumMe benchmark without requiring expensive annotations or heavy GPU training.

What Problem Does This Paper Address?

Video summarization—creating a short, impactful preview of a longer video—is a challenging task. Current state-of-the-art methods rely heavily on supervised deep learning (e.g., LSTMs and attention mechanisms). However, these models require massive amounts of human-annotated data, which is expensive to produce and often plagued by subjective human biases.

Unsupervised alternatives like Generative Adversarial Networks (GANs) or Reinforcement Learning (RL) eliminate the need for labels but suffer from notoriously unstable training and high computational costs. On the other end of the spectrum, traditional cluster-based methods (like K-means or DBSCAN) are training-free and highly efficient, but they treat video frames as independent images. By ignoring the chronological, temporal flow of a video, they often produce fragmented, jarring, and incoherent summaries.

The authors introduce TAC-SUM (Temporal-Aware Cluster-based SUMmarization) to bridge this gap, delivering a training-free algorithm that respects the temporal structure of video content.

Methods

TAC-SUM operates via a clean, four-stage pipeline that moves from global video context down to local frame-level importance:

Fig. 1. Pipeline of the proposed approach showcasing four modules and information flow across main stages.
  1. Generating Contextual Embeddings: The video is sampled at a fixed rate (4 frames per second). Frame features are extracted using pre-trained, self-supervised foundation models—specifically DINO or CLIP—to capture rich semantic information.
  2. From Global Context to Local Semantics: To fix the "time-blindness" of traditional clustering, the authors apply a coarse-to-fine clustering approach. Frame embeddings are compressed using PCA and t-SNE, clustered globally using the BIRCH algorithm, and then progressively merged via hierarchical agglomerative clustering.
  3. Semantic Partitioning: This is the core innovation. The frame cluster labels undergo a smoothing operation (majority voting among neighbors) and a refinement step that merges short, outlier frame sequences into larger, continuous "semantic shots" based on a minimum length threshold ($\epsilon$).
  4. Keyframes and Importance Scores: Keyframes are selected from each partition using simple heuristic rules (e.g., selecting the middle and edge frames of a segment). Frame importance scores are initialized based on segment length and then shaped using a keyframe-biasing scheme (like cosine interpolation) to prioritize frames closest to the keyframes.

Finally, the framework treats summary generation as a classic Knapsack problem, using dynamic programming to select the most informative segments within a user-defined length constraint.

Fig. 3. Overall pipeline for the Contextual Clustering step.

Datasets

The model was evaluated on the widely recognized SumMe benchmark dataset. SumMe consists of 25 videos capturing various events from both first-person and third-person perspectives, ranging from 1 to 6 minutes in length. Each video contains human-generated ground-truth summaries to facilitate evaluation via F-measure (F1-score).

Key Insights and Ideas

  • The Power of Foundation Models: TAC-SUM proves that you don't need to train a video-specific network from scratch to understand video structure. Off-the-shelf image embeddings (DINO/CLIP) contain enough latent semantic structure to group related scenes effectively when paired with dimensionality reduction.
  • Post-Clustering Temporal Smoothing is Key: Traditional clustering scatters chronologically adjacent frames if their visual features shift slightly. By enforcing a semantic partitioning step that smooths and merges adjacent frame labels, TAC-SUM successfully reconstructs the chronological narrative of the video.
  • Heuristics Can Rival Deep Learning: Instead of learning complex frame-importance functions, simply initializing scores by segment length and applying a mathematical curve (like cosine interpolation) toward keyframes yields highly competitive results.
Fig. 4. Comparison between cosine-interpolated scores and flat scores are demonstrated for two examples.

Key Results

Evaluated on the SumMe dataset using the F-measure (%) metric, TAC-SUM achieved outstanding results:

  • Top Unsupervised Performance: TAC-SUM achieved an F-score of 54.48% (using DINO embeddings), ranking 1st among all unsupervised methods and outperforming the next best unsupervised model (CSNet) by 3.18%.
  • Competitive with Supervised SOTA: Despite being entirely training-free, TAC-SUM ranked 3rd overall, outperforming several complex supervised deep learning architectures, including VASNet (49.7%) and SUM-DeepLab (48.8%).
  • Ablation Validation: Removing the Temporal Context (TC) component dropped the F-score from 54.48% to 46.00%, proving that the semantic partitioning step is vital to the model's success.

Limitations and Future Work

While highly effective, TAC-SUM relies on naive, predefined rules for keyframe selection (e.g., Middle + Ends) and importance scoring. These rigid mathematical heuristics cannot adapt dynamically to highly unusual or complex video structures. Furthermore, because it is training-free, it lacks data-driven learnability; it cannot improve its performance when exposed to more data.

The authors note that future work will focus on replacing these handcrafted scoring and clustering rules with lightweight, learnable components—such as attention mechanisms or deep neural networks with trainable parameters—to enhance adaptability across diverse video domains.

Summary updated

BibTeX
@misc{huynhlam2024cluster,
  author = {Hai-Dang Huynh-Lam and Ngoc-Phuong Ho-Thi and Minh-Triet Tran and Trung-Nghia Le},
  title = {{Cluster-based Video Summarization with Temporal Context Awareness}},
  year = {2024},
  eprint = {2404.04511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.04511},
}
Figure