CNN Retrieval based Unsupervised Metric Learning for Near-Duplicated Video Retrieval

Hao Cheng, Ping Wang, Chun QiarXiv 2021 · arXiv

Abstract

Near-Duplicate Video Retrieval (NDVR) is critical for managing redundant content and protecting copyright in the era of viral media. This paper proposes an unsupervised framework that leverages Convolutional Neural Networks (CNNs) to extract both high-level semantic (Upper-Level) and structural (Low-Level) features. By applying unsupervised metric learning and a semantic-based re-ranking algorithm using Jaccard distance, the system achieves state-of-the-art performance on the CC_WEB_VIDEO benchmark with a mean Average Precision (mAP) of 0.9790.

Introduction

The proliferation of video content on the internet has led to a massive increase in "near-duplicate" videos—clips that are visually identical but differ in resolution, lighting, or minor editing. Traditional retrieval methods often struggle with these variations. Low-level features like color histograms lack robustness, while high-level semantic features may overlook subtle structural similarities. Furthermore, many current high-performing models rely on expensive labeled datasets for supervised training. This research addresses these challenges by introducing an unsupervised metric learning approach that fuses multi-level CNN features.

Methodology

The proposed NDVR pipeline consists of three primary stages: feature representation, unsupervised metric learning, and semantic-based fusion.

Feature Representation

The system first identifies key frames by measuring the distance between adjacent frames using a CNN's fully-connected layer. From these frames, two distinct feature types are extracted:

  1. Upper-Level Features (ULF): Derived from the final fully-connected layer, these capture the broad semantic content of the video.
  2. Low-Level Features (LLF): Extracted from intermediate convolutional layers using Maximum Activation of Convolutions (MAC), preserving structural and textural details.

Unsupervised Metric Learning (FSUML)

To handle high-dimensional data, Kernel Principal Analysis (KPCA) compresses the 4096-dimensional vectors down to 256. The system then employs Simplified SSO, an unsupervised metric learning method that learns a Mahalanobis metric. This allows the system to effectively separate similar and dissimilar videos without requiring human-labeled data.

Semantic-based Fusion via Re-ranking

The final stage involves a two-step fusion process. After finding the $k$-nearest neighbors for both ULF and LLF, the system applies Sparse Contextual Activation (SCA) for re-ranking. By analyzing the intersection (Positive Set) and union (Negative Set) of these neighbor lists and calculating a Jaccard distance, the system refines the results to ensure high precision.

The complete NDVR framework architecture, illustrating the parallel processing of Upper-Level and Low-Level features followed by re-ranking.

Experimental Results

The framework was evaluated using the CC_WEB_VIDEO dataset, a benchmark containing 12,790 videos across 24 categories collected from platforms like YouTube and Google Video.

Performance Comparison

The proposed "CNN-UML" method was compared against several established techniques, including MFH, PPT, and SMVH. The results demonstrate that CNN-UML achieves a superior mAP of 0.9790, surpassing the previous state-of-the-art.

Precision-Recall curves showing (a) the performance of different CNN backbones and (b) the superiority of the proposed CNN-UML method over existing baselines.

Key Insights

  • Feature Synergy: While ULF is excellent for semantic classification, LLF is often more effective at identifying near-duplicates due to its preservation of spatial information. Fusing these features (RankF) provides the most robust results.
  • Unsupervised Viability: The success of the Simplified SSO demonstrates that labeled datasets are not strictly necessary for learning effective distance metrics in the NDVR domain.
  • Efficiency: The integration of modified kd-trees ensures that the retrieval process remains fast enough for large-scale industrial applications.

Conclusion and Future Work

This research presents a highly effective unsupervised framework for NDVR. While the current model excels at identifying full-video duplicates, future work will focus on "partial duplicate video retrieval," where only segments of videos overlap. Additionally, exploring end-to-end supervised frameworks and scaling the system to million-scale datasets are key areas for further development.

Summary updated

BibTeX
@misc{cheng2021cnn,
  author = {Hao Cheng and Ping Wang and Chun Qi},
  title = {{CNN Retrieval based Unsupervised Metric Learning for Near-Duplicated Video Retrieval}},
  year = {2021},
  eprint = {2105.14566},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.14566},
}
Figure