Unicom: Universal and Compact Representation Learning for Image Retrieval

Xiang An, Jiankang Deng, Kaicheng Yang, Jaiwei Li, Ziyong Feng +3 more
2/12/2026

No official code found. Best implementation: deepglint/unicom (703 stars, MIT, last commit 2025-12-08).

Abstract

Modern image retrieval methods typically rely on fine-tuning pre-trained encoders to extract image-level descriptors. However, the most widely used models are pre-trained on ImageNet-1K with limited classes. The pre-trained feature representation is therefore not universal enough to generalize well to the diverse open-world classes. In this paper, we first cluster the large-scale LAION400M into one million pseudo classes based on the joint textual and visual features extracted by the CLIP model. Due to the confusion of label granularity, the automatically clustered dataset inevitably contains heavy inter-class conflict. To alleviate such conflict, we randomly select partial inter-class prototypes to construct the margin-based softmax loss. To further enhance the low-dimensional feature representation, we randomly select partial feature dimensions when calculating the similarities between embeddings and class-wise prototypes. The dual random partial selections are with respect to the class dimension and the feature dimension of the prototype matrix, making the classification conflict-robust and the feature embedding compact. Our method significantly outperforms state-of-the-art unsupervised and supervised image retrieval approaches on multiple benchmarks. The code and pre-trained models are released to facilitate future research https://github.com/deepglint/unicom.

View on arXivView PDF

Code Implementations(1)

deepglint/unicomCommunity100%
MIT

Large-Scale Visual Representation Model

70334Shell, PythonFeb 15, 202310 months agoMIT
embodied-artificial-intelligencelaion400mlarge-language-modelslarge-sacle-pretrained-modelmultimodal-large-language-models+1 more

Similar Papers

Cite this paper

@article{an2026unicom,
  title  = {Unicom: Universal and Compact Representation Learning for Image Retrieval},
  author = {Xiang An and Jiankang Deng and Kaicheng Yang and Jaiwei Li and Ziyong Feng and Jia Guo and Jing Yang and Tongliang Liu},
  year   = {2026},
  eprint = {2304.05884},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2304.05884},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.05884.svg)](https://codeofpaper.com/paper/2304.05884)

Discussion