English

Is Cross-modal Information Retrieval Possible without Training?

Machine Learning 2023-04-24 v1 Artificial Intelligence Computation and Language Computer Vision and Pattern Recognition Information Retrieval

Abstract

Encoded representations from a pretrained deep learning model (e.g., BERT text embeddings, penultimate CNN layer activations of an image) convey a rich set of features beneficial for information retrieval. Embeddings for a particular modality of data occupy a high-dimensional space of its own, but it can be semantically aligned to another by a simple mapping without training a deep neural net. In this paper, we take a simple mapping computed from the least squares and singular value decomposition (SVD) for a solution to the Procrustes problem to serve a means to cross-modal information retrieval. That is, given information in one modality such as text, the mapping helps us locate a semantically equivalent data item in another modality such as image. Using off-the-shelf pretrained deep learning models, we have experimented the aforementioned simple cross-modal mappings in tasks of text-to-image and image-to-text retrieval. Despite simplicity, our mappings perform reasonably well reaching the highest accuracy of 77% on recall@10, which is comparable to those requiring costly neural net training and fine-tuning. We have improved the simple mappings by contrastive learning on the pretrained models. Contrastive learning can be thought as properly biasing the pretrained encoders to enhance the cross-modal mapping quality. We have further improved the performance by multilayer perceptron with gating (gMLP), a simple neural architecture.

Keywords

Cite

@article{arxiv.2304.11095,
  title  = {Is Cross-modal Information Retrieval Possible without Training?},
  author = {Hyunjin Choi and Hyunjae Lee and Seongho Joe and Youngjune L. Gwon},
  journal= {arXiv preprint arXiv:2304.11095},
  year   = {2023}
}
R2 v1 2026-06-28T10:13:57.250Z