Instance Image Retrieval by Learning Purely From Within the Dataset

Zhongyan Zhang, Lei Wang, Yang Wang, Luping Zhou, Jianjia Zhang, Peng Wang, Fang Chen · DOI

Introduction

The prevailing paradigm in instance image retrieval relies on deep models pre-trained on large-scale labeled datasets like ImageNet. While effective for general classification, this approach suffers from significant domain gaps when applied to specialized retrieval tasks. Furthermore, the scarcity of labeled data in niche domains makes fine-tuning difficult. This paper introduces a "fits-itself-only" framework that bypasses external supervision entirely, learning feature representations directly from the target dataset.

Diverse image domains illustrating the gap between generic classification (top) and specific instance retrieval (bottom).

Methodology

The proposed approach consists of two primary stages designed to capture the intrinsic structure of a dataset without human labels.

Region-based Self-Supervised Learning

Standard self-supervised learning (SSL) methods often fail on complex scenes where the object of interest is not centered. To address this, the authors utilize unsupervised object proposal generators (e.g., Selective Search or Edge Boxes) to extract potential regions of interest. A MoCo-v2 model is then trained on these regions, forcing the network to learn features tailored to the specific objects present in the dataset rather than generic image-level statistics.

Self-Boosting via Similarity Mining

To refine these features for retrieval, the framework implements a self-boosting stage. Using the initial SSL features, similarity mining is performed via a diffusion process to identify "hard positives" (different views of the same object) and "hard negatives." These relationships serve as pseudo-labels for fine-tuning the model with a triplet loss, allowing it to better distinguish between similar-looking but distinct instances.

Experimental Results

The framework was evaluated on the INSTRE, ROxford, and RParis benchmarks. On the INSTRE dataset, which contains various toys and consumer products, the method achieved a remarkable 92.2 mAP, a substantial improvement over the previous state-of-the-art of 69.0 mAP which relied on external fine-tuning.

Example of complex object instances from the INSTRE dataset, where the proposed method achieved significant performance gains.

On landmark datasets (ROxford and RParis), the performance was competitive with, and sometimes exceeded, models trained on large external labeled datasets. This demonstrates that the "fits-itself-only" approach can effectively absorb the intrinsic distribution of a specialized collection without any human-annotated labels.

Conclusion

This research demonstrates that for static datasets, learning representations purely from the target data is not only feasible but can outperform traditional transfer learning. By focusing on object regions and iterative self-refinement, the proposed philosophy provides a robust path forward for specialized image retrieval tasks where labeled data is unavailable or domain gaps are prohibitive.

Summary updated

BibTeX
@misc{zhang2022instance,
  author = {Zhongyan Zhang and Lei Wang and Yang Wang and Luping Zhou and Jianjia Zhang and Peng Wang and Fang Chen},
  title = {{Instance Image Retrieval by Learning Purely From Within the Dataset}},
  year = {2022},
  eprint = {2208.06119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.06119},
}
Figure