StructXLIP: Enhancing Vision-language Models with Multimodal Structural Cues
Zanxi Ruan, Qiuyu Kong, Songqun Gao, Yiming Wang, Marco Cristani
TL;DR
StructXLIP introduces a structure-centric fine-tuning paradigm for vision–language models by extracting edge-based visual structure and filtering captions to emphasize geometry and layout. It augments standard image–text alignment with three losses that align edge maps with structure-centric text, pair local edge regions with textual chunks, and regularize consistency between edge and color images, all within a two-stage extraction–alignment pipeline. The approach is analyzed through an information-theoretic lens and shown to yield robust improvements in cross-modal retrieval across diverse domains, while remaining plug-and-play with existing CLIP-based finetuning frameworks. The results demonstrate stronger, more semantically stable alignment for long, detail-rich captions and offer a scalable path toward broader applications and potential training-from-scratch ventures in the future.
Abstract
Edge-based representations are fundamental cues for visual understanding, a principle rooted in early vision research and still central today. We extend this principle to vision-language alignment, showing that isolating and aligning structural cues across modalities can greatly benefit fine-tuning on long, detail-rich captions, with a specific focus on improving cross-modal retrieval. We introduce StructXLIP, a fine-tuning alignment paradigm that extracts edge maps (e.g., Canny), treating them as proxies for the visual structure of an image, and filters the corresponding captions to emphasize structural cues, making them "structure-centric". Fine-tuning augments the standard alignment loss with three structure-centric losses: (i) aligning edge maps with structural text, (ii) matching local edge regions to textual chunks, and (iii) connecting edge maps to color images to prevent representation drift. From a theoretical standpoint, while standard CLIP maximizes the mutual information between visual and textual embeddings, StructXLIP additionally maximizes the mutual information between multimodal structural representations. This auxiliary optimization is intrinsically harder, guiding the model toward more robust and semantically stable minima, enhancing vision-language alignment. Beyond outperforming current competitors on cross-modal retrieval in both general and specialized domains, our method serves as a general boosting recipe that can be integrated into future approaches in a plug-and-play manner. Code and pretrained models are publicly available at: https://github.com/intelligolabs/StructXLIP.
