[Paper Review] Modality-Agnostic Attention Fusion for visual search with text feedback
MAAF fuses image and text tokens via modality-agnostic attention to enable text-modified image retrieval, achieving state-of-the-art results on Fashion IQ and CSS and competitive performance on Fashion200k.
Image retrieval with natural language feedback offers the promise of catalog search based on fine-grained visual features that go beyond objects and binary attributes, facilitating real-world applications such as e-commerce. Our Modality-Agnostic Attention Fusion (MAAF) model combines image and text features and outperforms existing approaches on two visual search with modifying phrase datasets, Fashion IQ and CSS, and performs competitively on a dataset with only single-word modifications, Fashion200k. We also introduce two new challenging benchmarks adapted from Birds-to-Words and Spot-the-Diff, which provide new settings with rich language inputs, and we show that our approach without modification outperforms strong baselines. To better understand our model, we conduct detailed ablations on Fashion IQ and provide visualizations of the surprising phenomenon of words avoiding "attending" to the image region they refer to.
Motivation & Objective
- Motivate fine-grained visual search using image plus natural language feedback beyond simple attributes.
- Develop a fusion mechanism that treats image and text tokens uniformly for attention-based processing.
- Empirically evaluate the approach across multiple fashion-focused and language-rich retrieval datasets.
- Provide ablations and qualitative analyses to understand component contributions and attention behavior.
Proposed method
- Represent both image and text inputs as token sequences extracted per modality (image: ResNet feature maps; text: LSTM embeddings).
- Concatenate image and text tokens and apply self-attention in a modality-agnostic fashion, sharing Q/K/V across modalities.
- Pool token outputs within each token type and average to form a single embedding for nearest-neighbor search.
- Train with a batch-based classification loss over query-target pairs to optimize recall@k.
- Explore variations including cross-attention and multiple attention blocks, and assess different text representations (Embedding, LSTM, Transformer, BERT).
Experimental results
Research questions
- RQ1Can a modality-agnostic attention fusion outperform cross-modal attention variants for text-modified image retrieval?
- RQ2How do image-text token fusion strategies affect retrieval accuracy across datasets with varying text complexity?
- RQ3What are the impacts of different text representations and multi-resolution image tokens on retrieval performance?
- RQ4Do richer language inputs and new benchmarks reveal strengths/limits of the fusion approach?
Key findings
- MAAF achieves the best single-model performance on Fashion IQ validation, outperforming prior single-model methods on the dataset (and approaching state-of-the-art without external data).
- On CSS, MAAF attains 87.8 recall@1, substantially higher than prior methods such as TIRG and FiLM.
- A variety of attention variants show the single-stream modality-agnostic design is superior to several two-stream cross-attention configurations on Fashion IQ.
- Using an LSTM-based text encoder with randomly initialized embeddings often outperforms richer self-attention text encoders for this task.
- Qualitative analyses reveal counter-intuitive attention behavior, where modifying words tend to attend to regions not directly corresponding to their referent.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.