A Proposal-Based Approach for Activity Image-to-Video Retrieval

Ruicong Xu, Li Niu, Jianfu Zhang, Liqing Zhang

Introduction

Activity Image-to-Video Retrieval (AIVR) is a cross-modal task where the goal is to find videos containing a specific action depicted in a single query image (e.g., "surfing" or "kicking a ball"). The primary challenge in AIVR is the presence of significant background noise. Most videos contain "filler" segments—such as preparation or unrelated movements—that do not depict the target activity. Traditional retrieval methods that aggregate entire videos into single feature vectors often suffer from "pollution" by these irrelevant frames.

Methodology

The proposed APIVR framework addresses these challenges by treating videos as collections of temporal activity proposals rather than monolithic entities.

The APIVR framework architecture, featuring proposal generation, the GMIL module, and multi-loss training.

Proposal Generation and GMIL

The system utilizes the R-C3D model to extract a "bag" of temporal proposals for each video. To filter noise, the authors introduce a Graph Multi-Instance Learning (GMIL) module. Unlike standard attention mechanisms, GMIL employs a Graph Convolutional Layer to model relationships between proposals within a video. This allows the model to assign higher weights to "clean" proposals that are semantically consistent with the video's label, effectively suppressing background noise.

Common Feature Space and Loss Functions

Images (processed via VGG) and video proposals are projected into a shared feature space. The training process optimizes three primary objectives:

  1. Classification Loss: Ensures that features from the same semantic category are clustered together.
  2. Adversarial Loss: Employs a modality classifier to bridge the "modality gap" by making image and video features indistinguishable to the classifier.
  3. Geometry-aware Triplet Loss: Instead of point-to-point comparisons, this loss calculates point-to-subspace distances. It uses a "truncated" bag of the top-$b$ highest-weighted proposals to define the subspace, ensuring the geometric representation is not skewed by irrelevant segments.

Datasets

As no dedicated AIVR benchmarks existed, the authors constructed three datasets by pairing images and video clips from existing public sources:

  • THUMOS’14: 1,500 training and 406 testing pairs (action-based).
  • ActivityNet: 4,800 training and 1,200 testing pairs (action-based).
  • MED2017 Event: 2,200 training and 404 testing pairs (event-based).

Results and Discussion

APIVR consistently outperformed state-of-the-art methods like ACMR and DSCMR across all benchmarks. On the THUMOS’14 dataset, APIVR achieved a mean Average Precision (mAP@10) of 0.3812, a significant improvement over the previous best of 0.3621.

Qualitative retrieval results for "Surfing" and "Kick" queries, demonstrating the weights assigned to relevant vs. irrelevant video segments.

Key Insights

  • Subspace Representation: Representing videos as subspaces captures the structural complexity of activities better than single-vector points.
  • Graph-based Context: The GCN within the MIL module proves that modeling inter-proposal relationships is vital for identifying the most relevant segments.
  • The Power of Truncation: Performance peaks when using a subset of top-ranked proposals (e.g., top-50), confirming that lower-ranked proposals primarily contribute noise that harms retrieval accuracy.

Conclusion

APIVR demonstrates the effectiveness of proposal-based retrieval and graph-based instance weighting in overcoming background noise in video data. While the system's performance is currently linked to the quality of the initial proposal generation, it establishes a robust framework for future cross-modal activity retrieval research. Future work may involve integrating proposal generation into an end-to-end trainable system.

Summary updated

BibTeX
@inproceedings{xu2020proposal,
  author = {Ruicong Xu and Li Niu and Jianfu Zhang and Liqing Zhang},
  title = {{A Proposal-Based Approach for Activity Image-to-Video Retrieval}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6941},
}
Figure