CaLa: Complementary Association Learning for Augmenting Comoposed Image Retrieval

Xintong Jiang, Yaxiong Wang, Mengjian Li, Yujiao Wu, Bingwen Hu, Xueming Qian

Introduction

Composed Image Retrieval (CIR) is a challenging vision-language task where a user seeks a target image based on a reference image and a modifying text (e.g., "be the same breed dog with its puppy running"). Traditional methods typically treat this as a query-target matching problem, where the reference image and text are fused into a single query vector to search for the target. However, this "one-sided" approach often fails to capture the intricate latent relationships within the (Reference, Text, Target) triplet.

Complementary Association Learning

The core innovation of CaLa (Complementary Association Learning) is the conceptualization of the CIR triplet as a graph structure consisting of a Head (Reference), a Relation (Text), and a Tail (Target). By moving beyond simple matching, CaLa mines hidden associations within this triplet to improve retrieval accuracy.

Conceptual framework of CaLa: (a) Explicit Association, (b) Text-Bridged Image Alignment, and (c) Complementary Text Reasoning.

As shown in the figure above, CaLa introduces two auxiliary learning tasks to complement the standard query-target matching:

  1. Text-Bridged Image Alignment (TBIA): Treats text as a semantic pivot to align the reference image with the target image.
  2. Complementary Text Reasoning (CTR): Reverses the logic by using the image pair (reference and target) to "reason" or deduce the modifying text.

Architecture and Implementation

The CaLa framework is designed to be "plug-and-play," compatible with state-of-the-art backbones like CLIP or BLIP-2. It consists of a Multimodal Branch and an Image Branch, as detailed in the architecture diagram below.

Detailed architecture of CaLa featuring the Hinge-based Cross-Attention (HCA) and Twin Attention-based vision Compositor (TAC) modules.

Key Modules

  • Hinge-based Cross-Attention (HCA): Used in the TBIA task, this module allows the model to attend to specific patches in the target image that correspond to the textual modifications.
  • Twin Attention-based vision Compositor (TAC): Used in the CTR task, it fuses features from both images to reconstruct the textual relation, ensuring the model understands the semantic difference between the two visual states.

A significant advantage of this approach is that these modules and their associated losses ($L_{TBIA}$ and $L_{CTR}$) are only utilized during the training phase. During inference, they are discarded, allowing the model to achieve superior performance with zero additional computational or memory overhead.

Experimental Results

CaLa was evaluated on the CIRR and FashionIQ benchmarks, setting new state-of-the-art records.

  • CIRR: Achieved a Recall@1 of 49.11% and a Recall_subset@1 of 76.27% using a BLIP-2 backbone, representing a 2-3% improvement over previous methods.
  • FashionIQ: Reached a Challenge Metric (CM) of 57.96, demonstrating its effectiveness in fine-grained domain-specific retrieval.

Qualitative analysis via attention maps confirms that the HCA module successfully identifies visual regions relevant to the text, such as focusing on specific objects or actions mentioned in the query.

Conclusion

CaLa reimagines CIR by leveraging the internal symmetries of the query-target triplet. By treating text as a bridge and image pairs as reasoning tools, it provides a "free lunch" performance boost—improving retrieval accuracy without increasing inference latency. Future work may explore the use of Large Language Models to generate synthetic triplets, further scaling the training process.

Summary updated

BibTeX
@inproceedings{jiang2024cala,
  author = {Xintong Jiang and Yaxiong Wang and Mengjian Li and Yujiao Wu and Bingwen Hu and Xueming Qian},
  title = {{CaLa: Complementary Association Learning for Augmenting Comoposed Image Retrieval}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2024},
  doi = {10.1145/3626772.3657823},
}
Figure