English

Leaner and Faster: Two-Stage Model Compression for Lightweight Text-Image Retrieval

Computer Vision and Pattern Recognition 2022-05-02 v1 Computation and Language

Abstract

Current text-image approaches (e.g., CLIP) typically adopt dual-encoder architecture using pre-trained vision-language representation. However, these models still pose non-trivial memory requirements and substantial incremental indexing time, which makes them less practical on mobile devices. In this paper, we present an effective two-stage framework to compress large pre-trained dual-encoder for lightweight text-image retrieval. The resulting model is smaller (39% of the original), faster (1.6x/2.9x for processing image/text respectively), yet performs on par with or better than the original full model on Flickr30K and MSCOCO benchmarks. We also open-source an accompanying realistic mobile image search application.

Keywords

Cite

@article{arxiv.2204.13913,
  title  = {Leaner and Faster: Two-Stage Model Compression for Lightweight Text-Image Retrieval},
  author = {Siyu Ren and Kenny Q. Zhu},
  journal= {arXiv preprint arXiv:2204.13913},
  year   = {2022}
}

Comments

Accepted by NAACL 2022 main conference

R2 v1 2026-06-24T11:02:18.187Z