Abstract: Composed Image Retrieval (CIR) enables "search by example plus instructions," but traditional approaches face challenges with data scarcity and high computational costs. We present ISA (Image2Sentence based Asymmetric zero-shot CIR), a framework designed for efficient mobile-to-cloud retrieval. ISA utilizes an asymmetric architecture where a lightweight model processes queries while a large vision-language model manages the database. By representing images as sequences of visual tokens—effectively "sentences"—ISA captures complex visual details more effectively than single-token methods. Trained on unlabeled data via distillation, ISA achieves state-of-the-art zero-shot results on CIRR, FashionIQ, and CIRCO benchmarks.
Introduction
Composed Image Retrieval (CIR) is a powerful paradigm where a user provides a reference image and a text modification (e.g., "change the color to red") to find a target image. Despite its potential, CIR deployment is hindered by the need for expensive labeled triplets and the heavy computational requirements of symmetric models like CLIP. Researchers from the University of Science and Technology of China addressed these issues at ICLR 2024 with ISA, an asymmetric zero-shot framework.
The ISA Framework
ISA rethinks the CIR pipeline through three main components: an asymmetric architecture, an adaptive token learner, and a distillation-based training strategy.
Asymmetric Architecture
To support mobile devices, ISA splits the workload. A lightweight encoder (e.g., EfficientNet) resides on the user's device to generate query embeddings, while a powerful Vision-Language (VL) model (e.g., BLIP) remains on the server to handle the gallery. This setup significantly reduces client-side latency and power consumption.
Adaptive Token Learner (Image2Sentence)
A core innovation is the Adaptive Token Learner, which maps images into the word embedding space of the VL model. Unlike previous methods that compress an image into a single token, ISA generates a sequence of tokens $U = [u_1, u_2, ..., u_L]$. This "sentence" representation allows the model to disentangle different visual aspects, such as the subject and background, facilitating more precise text-based modifications.
Zero-Shot Learning with Distillation
ISA is trained on unlabeled image-text pairs (e.g., CC3M) using a teacher-student distillation approach. The framework employs Global Contrastive Distillation (GCD) to align the lightweight query model with the large server model. Additionally, Local Alignment Regularization (LAR) ensures that the generated tokens correspond to distinct visual regions, preventing information collapse.
Experimental Results
ISA was evaluated on CIRR, FashionIQ, and CIRCO benchmarks, setting new state-of-the-art records for zero-shot CIR. On the CIRR test set, ISA achieved a 30.84% Recall@1, surpassing previous methods like SEARLE and Pic2Word. Notably, the EfficientViT M2 variant uses only 1.2% of the FLOPs compared to the standard BLIP visual encoder, reducing query latency by approximately 50% while maintaining high accuracy.
Conclusion
ISA demonstrates that asymmetric architectures and multi-token representations can effectively bridge the gap between high-performance cloud models and resource-constrained mobile devices. By eliminating the need for labeled triplets and optimizing for efficiency, ISA paves the way for scalable, real-world composed image retrieval systems.
Summary updated