Abstract
Traditional image search systems often struggle to balance the diverse information present in web images, such as visual content and textual metadata. This paper introduces the Attention-guided Multi-modal Correlation (AMC) framework, which utilizes a hierarchical attention architecture to dynamically prioritize relevant information both within and between modalities. By learning to focus on specific image regions and keywords based on user intent, AMC significantly outperforms traditional single-modality and static fusion search methods across multiple large-scale datasets.
Introduction
Web images are inherently "rich-media" objects, typically accompanied by titles, keywords, and visual data. However, not all modalities are equally useful for every query. For a query like "red sunset," visual content is paramount, whereas for "Barack Obama," specific keywords are often more reliable than general visual features. Furthermore, within a single modality, much of the data can be considered "noise," such as the background of an image or irrelevant tags.
The AMC framework addresses the need for a search system that can adaptively "attend" to the most informative parts of an image and its metadata based on the specific intent of the user's query.
The AMC Framework
The authors propose a hierarchical attention architecture consisting of three main components designed to filter noise and emphasize relevant signals:
- Visual Intra-attention Network (VAN): Instead of processing the entire image uniformly, VAN uses the query to generate a spatial attention map. This allows the model to focus on specific regions that match the query intent while ignoring irrelevant backgrounds.
- Language Intra-attention Network (LAN): Images often have dozens of tags, many of which are irrelevant or machine-generated noise. LAN learns a bilinear similarity between the query and each keyword, effectively filtering the tag list to highlight the most relevant words.
- Multi-modal Inter-attention Network (MTN): Acting as a high-level controller, the MTN evaluates the query to decide the relative weight of the visual versus the language modality. It produces a final multi-modal embedding in a shared "AMC space" where the distance between the query and the image is measured.
The entire system is trained end-to-end using a ranking loss (triplet loss), which encourages the model to minimize the distance between a query and a clicked (positive) image while maximizing the distance to non-clicked (negative) images.
Key Insights: Attention as a Dynamic Filter
A core contribution of AMC is the realization that modality importance is query-dependent. The model learns that for some queries, text is a better signal, while for others, pixels are more informative. By applying attention within each modality before fusion, the model reduces the signal-to-noise ratio.
This filtering mechanism is particularly robust against machine-generated noise. The LAN component proved capable of extracting value even from noisy, auto-tagged keywords by prioritizing those that align with the user's search intent.
Experimental Evaluation
The researchers evaluated AMC on three distinct datasets to prove its versatility and performance:
- Clickture: A massive dataset of 23.1 million triplets from real-world web search logs. AMC Full achieved an NDCG@5 of 0.6325, a significant boost over single-modality baselines like DSSM-Img (0.6005).
- Adobe Stock Dataset (ASD): Featuring ~1.5 million images, AMC showed a 3.8% to 7.1% improvement in Recall@k compared to standard deep semantic models.
- COCO (Common Objects in Context): Used for caption ranking, AMC achieved state-of-the-art results (Recall@10 of 87.8%), demonstrating the effectiveness of the learned multi-modal subspace even outside of direct image search.
Conclusion and Future Work
AMC demonstrates that a hierarchy of simple attention mechanisms can outperform complex fusion methods by intelligently filtering noise. While highly effective, the authors note that integrating more complex RNN or CNN-based language models could further improve performance on captioning tasks. Future exploration may also involve scaling the framework to include additional modalities such as audio, location data, or user history.
Summary updated