NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Commercial film detection and identification based on a dual-stage temporal recurrence hashing algorithm

Xiaomeng Wu, Narongsak Putpuek, Shin’ichi Satoh2010

TL;DR

This paper introduces a novel dual-stage temporal recurrence hashing algorithm for efficiently and accurately detecting and identifying commercial films (CFs) in massive video archives. The method achieves "super-fast" performance by converting video segments into temporal patterns and then using a hashing histogram to pinpoint recurring CFs, enabling unsupervised mining of broadcast content.

What Problem Does This Paper Address?

The ever-increasing volume of broadcast video content makes it challenging to automatically identify and categorize specific types of segments, such as commercial films (CFs). Traditional methods often rely on pre-existing knowledge bases or extensive training data, limiting their applicability and efficiency. The core problem this paper tackles is the need for a highly efficient, unsupervised, and generic method to detect, localize, and identify CFs within large-scale broadcast video archives, where CFs can appear at different times and on various channels.

Methods

The proposed solution is a Dual-Stage Temporal Recurrence Hashing Algorithm.

  • Stage 1: Temporal Occurrence Hashing: This stage uses a luminance-based fingerprinting strategy. Each video frame is normalized, divided into blocks, and its first and second luminance moments are calculated to create a 32-dimensional feature vector. This vector is then binarized into a 32-bit fingerprint. All frames are hashed using their fingerprints, and for each hash bucket, a Bucket-TOP (B-TOP) is generated. A B-TOP is a binary sequence indicating the presence of frames with a specific fingerprint over time, essentially representing temporal occurrences as "peaks."
  • Stage 2: Temporal Recurrence Hashing: This stage focuses on identifying recurring CF segments by analyzing the temporal relationships between these "peaks" within B-TOPs. A peak pair is characterized by its starting position (f) and the interval between peaks (d). These (f, d) pairs are mapped to a 2D hash table, creating a recurrence hashing histogram. Local maxima in this histogram correspond to pairs of identical CF segments. The algorithm then uses these local maxima to detect CF existence, assemble fragmented CF segments, and identify relationships between identical CFs.

The algorithm also incorporates Local Maximum Detection and Post-Processing steps, including morphological filtering to refine detections and ensure CF segment durations fall within predefined limits.

Datasets

The paper evaluates its algorithm on two large-scale broadcast video archives:

  • A10H: A 10-hour sequence, used for initial testing and comparison with baseline methods. This sequence was manually annotated to create ground truth data for 66 CF clusters and 202 CF segments.
  • A1M: A 1-month sequence, used primarily for evaluating the algorithm's efficiency on a much larger scale. Due to the immense data volume, manual annotation was not feasible for this dataset.

Key Insights and Ideas

  • Unsupervised and Generic CF Mining: The algorithm's strength lies in its ability to perform CF detection without requiring any prior training data or reference CF databases. It relies on the inherent temporal recurrence property of CFs.
  • Dual-Stage Hashing for Efficiency: By breaking down the problem into two hashing stages – one for frame-level fingerprints and another for temporal recurrence patterns – the algorithm significantly reduces computational complexity, enabling "super-fast" processing.
  • Hashing Histogram as a Key: The recurrence hashing histogram is the central innovation. It effectively aggregates temporal recurrence information, allowing for the identification of CFs through the detection of local maxima, which represent matching CF segment pairs.
  • Temporal Distribution as a Discriminator: The algorithm leverages the temporal distribution of recurring patterns (represented by peak pairs) as a strong indicator of identical CF segments, even when they appear at different times and channels.

Key Results

  • High Accuracy: On the A10H dataset, the algorithm achieved a detection accuracy (Pa) of 93.19% and a localization accuracy (Fi) of 98.06%.
  • Exceptional Efficiency: The algorithm processed a 10-hour sequence in just 4 seconds. For the much larger 1-month sequence (A1M), it took only 87 minutes. This is significantly faster than existing methods.
  • Scalability: The authors project that their algorithm could process a full year's worth of video data in under 18 hours, even without parallel computation.
  • Performance Comparison: DSTRH outperformed two state-of-the-art baseline algorithms (a hashing-based and a clustering-based approach) in terms of detection, localization, and efficiency on the A10H dataset.

Limitations and Future Work

  • Sensitivity to Temporal Variations: The luminance-based fingerprinting strategy can be sensitive to slight variations in the time display of CF segments, potentially leading to misses. The authors suggest exploring more robust fingerprinting strategies.
  • Audio Domain Extension: The current work focuses on visual (luminance) information. Future work includes extending the algorithm to the audio domain using acoustic fingerprinting strategies.
  • Semantic Analysis: The authors plan to apply data mining techniques to the detected CF clusters to investigate the relationship between temporal distribution and semantic characteristics of CFs, potentially generating more informative insights from broadcast data.

Summary updated

BibTeX
@misc{wu2010commercial,
  author = {Xiaomeng Wu and Narongsak Putpuek and Shin’ichi Satoh},
  title = {{Commercial film detection and identification based on a dual-stage temporal recurrence hashing algorithm}},
  year = {2010},
  doi = {10.1145/1878137.1878144},
}
Figure