A New Evaluation Protocol and Benchmarking Results for Extendable Cross-media Retrieval

Ruoyu Liu, Yao Zhao, Liang Zheng, Shikui Wei, Yi YangarXiv 2017 · arXiv

Introduction

Cross-media retrieval aims to bridge the semantic gap between different data modalities, such as images and text, by mapping them into a shared common feature space. Traditionally, these systems are evaluated using a "non-extendable" protocol, where the categories present in the testing phase are identical to those seen during training. However, this assumption fails to account for real-world scenarios where a search engine must handle queries from entirely novel categories. This paper identifies this critical gap and proposes a more rigorous evaluation framework: Extendable Cross-media Retrieval.

The Extendable (XTD) Retrieval Protocol

The core contribution of this work is the Extendable (XTD) Retrieval protocol. Unlike traditional benchmarks that assume a static set of categories, XTD tests a model's ability to generalize to unseen content.

Comparison between (a) Non-extendable and (b) Extendable retrieval protocols.

As illustrated in the figure above, the dataset is split by category rather than just by instance. In the XTD setting, 50% of the categories are reserved for training, while the remaining 50% are used exclusively for the database and query sets. This ensures that the model must rely on learning universal cross-modal alignments rather than simply memorizing category-specific features.

To highlight the flaws in existing benchmarks, the authors also introduced a "Trivial Solution" (TS) baseline. This method uses a standard classifier to assign labels and retrieves items with matching labels. While highly effective in non-extendable settings, its performance collapses in the XTD setting, proving that many current models are inadvertently rewarded for classification accuracy rather than true cross-media alignment.

Experimental Setup

The authors re-evaluated several state-of-the-art methods across three standard datasets:

  • Wikipedia: 2,866 image-article pairs across 10 categories.
  • Pascal Sentence: 1,000 images across 20 categories, each paired with 5 sentences.
  • NUS-WIDE: A subset of ~68,000 images from the 10 most frequent categories.

The benchmarked methods included real-valued representation techniques like Canonical Correlation Analysis (CCA) and Deep Semantic Matching (deep-SM), as well as binary hashing methods like Cross-View Hashing (CVH).

Results and Analysis

The experimental results reveal a significant "generalization gap." When moving from seen to unseen classes, performance metrics drop drastically across all tested models.

Performance comparison (CMC curves) between Non-XTD and XTD retrieval settings for Image-to-Text (I→T) and Text-to-Image (T→I) tasks.

As shown in the Cumulative Matching Characteristics (CMC) curves, the matching rates for XTD retrieval (plots b and d) are substantially lower than those for the non-extendable setting (plots a and c). For instance, on the Wikipedia dataset, the Semantic Matching (SM) method's Mean Average Precision (MAP) plummeted from 60.7% to 29.4%. Even deep learning models were not immune; deep-SM saw a drop from 66.8% to 26.5% MAP.

These findings suggest that current state-of-the-art models are heavily biased toward the specific categories they encounter during training. The "trivial solution" trap further confirms that traditional benchmarks have been overestimating the progress of cross-media retrieval by conflating it with closed-set classification.

Conclusion and Future Directions

This study exposes the limitations of current cross-media retrieval evaluation and provides a more realistic benchmark for future research. The massive performance hit observed in the XTD setting underscores the need for models that can achieve true knowledge transfer.

Future work should focus on developing methods that can adapt learned cross-modal mappings to novel distributions and leveraging massive, diverse datasets to build models that are inherently category-agnostic. By adopting the Extendable Retrieval protocol, the community can move toward building search systems that are truly capable of handling the open-ended nature of the real world.

Summary updated

Abstract

This paper proposes a new evaluation protocol for cross-media retrieval which better fits the real-word applications. Both image-text and text-image retrieval modes are considered. Traditionally, class labels in the training and testing sets are identical. That is, it is usually assumed that the query falls into some pre-defined classes. However, in practice, the content of a query image/text may vary extensively, and the retrieval system does not necessarily know in advance the class label of a query. Considering the inconsistency between the real-world applications and laboratory assumptions, we think that the existing protocol that works under identical train/test classes can be modified and improved. This work is dedicated to addressing this problem by considering the protocol under an extendable scenario, \ie, the training and testing classes do not overlap. We provide extensive benchmarking results obtained by the existing protocol and the proposed new protocol on several commonly used datasets. We demonstrate a noticeable performance drop when the testing classes are unseen during training. Additionally, a trivial solution, \ie, directly using the predicted class label for cross-media retrieval, is tested. We show that the trivial solution is very competitive in traditional non-extendable retrieval, but becomes less so under the new settings. The train/test split, evaluation code, and benchmarking results are publicly available on our website.
BibTeX
@misc{liu2017new,
  author = {Ruoyu Liu and Yao Zhao and Liang Zheng and Shikui Wei and Yi Yang},
  title = {{A New Evaluation Protocol and Benchmarking Results for Extendable Cross-media Retrieval}},
  year = {2017},
  eprint = {1703.03567},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.03567},
}
Figure