Next Article in Journal
Learning Fine-Grained Video Anomaly Detection from Normal Videos
Previous Article in Journal
Eddy-Current-Induced Waveform Reconstruction by Metallic Probe Carriers in Magnetic Flux Leakage Inspection
Previous Article in Special Issue
Visibility-Guided and Occlusion-Simulated Learning for Robust Person Re-Identification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Q-GrAM: Fine-Grained Image–Text Retrieval via Grouped Query Routing and Conditional Query Modulation

1
School of Computer Science, Wuhan University, Wuhan 430072, China
2
School of Artificial Intelligence, Wuhan University, Wuhan 430072, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(13), 4313; https://doi.org/10.3390/s26134313 (registering DOI)
Submission received: 2 June 2026 / Revised: 29 June 2026 / Accepted: 5 July 2026 / Published: 7 July 2026

Abstract

Existing image–text retrieval methods often compute cross-modal similarity using global single-vector representations. Although efficient for coarse semantic alignment, such compressed representations are limited when textual queries involve fine-grained semantics, including objects, attributes, relations, and their compositional structures. This paper focuses on fine-grained text-to-image retrieval and proposes Q-GrAM, a retrieval-oriented adaptation of the BLIP-2 Q-Former. Instead of treating Q-Former queries as a homogeneous set, Q-GrAM partitions a fixed query budget into semantically differentiated groups. A text-guided router assigns token-level semantic demands to query groups, while query conditional initialization modulates each group according to group-level textual summaries. The resulting grouped visual query features are matched with text tokens through a group-aware late interaction scorer, and auxiliary routing balance and inter-group diversity regularization are introduced to stabilize semantic specialization. Experiments on MS-COCO 5K, Flickr30K, and Flickr30K-CFQ show that Q-GrAM achieves strong text-to-image retrieval performance against both global embedding baselines and representative fine-grained image–text matching methods, while maintaining competitive bidirectional retrieval performance. These results demonstrate the effectiveness of structured, text-conditioned Q-Former query specialization for fine-grained text-driven image search.
Keywords: image–text retrieval; fine-grained retrieval; text-to-image retrieval; grouped query routing; group-aware late interaction; Q-Former image–text retrieval; fine-grained retrieval; text-to-image retrieval; grouped query routing; group-aware late interaction; Q-Former

Share and Cite

MDPI and ACS Style

Gu, G.; Li, H.; Qin, H. Q-GrAM: Fine-Grained Image–Text Retrieval via Grouped Query Routing and Conditional Query Modulation. Sensors 2026, 26, 4313. https://doi.org/10.3390/s26134313

AMA Style

Gu G, Li H, Qin H. Q-GrAM: Fine-Grained Image–Text Retrieval via Grouped Query Routing and Conditional Query Modulation. Sensors. 2026; 26(13):4313. https://doi.org/10.3390/s26134313

Chicago/Turabian Style

Gu, Guihe, Huawei Li, and Hong Qin. 2026. "Q-GrAM: Fine-Grained Image–Text Retrieval via Grouped Query Routing and Conditional Query Modulation" Sensors 26, no. 13: 4313. https://doi.org/10.3390/s26134313

APA Style

Gu, G., Li, H., & Qin, H. (2026). Q-GrAM: Fine-Grained Image–Text Retrieval via Grouped Query Routing and Conditional Query Modulation. Sensors, 26(13), 4313. https://doi.org/10.3390/s26134313

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop