StructXLIP: Enhancing Vision-language Models with Multimodal Structural Cues

Zanxi Ruan, Songqun Gao, Qiuyu Kong, Yiming Wang, Marco Cristani

TL;DR

StructXLIP is a plug-and-play fine-tuning framework that significantly improves vision-language models (VLMs) when handling long, detail-rich captions. By isolating and aligning structural cues—such as image edge maps and geometry-focused text—it guides models toward more robust semantic alignment. Crucially, it achieves state-of-the-art cross-modal retrieval performance while introducing zero computational overhead during inference.

What Problem Does This Paper Address?

Modern vision-language models (like CLIP) excel at general tasks but struggle when fine-tuned on long, highly detailed descriptions or specialized domains. Standard fine-tuning paradigms heavily rely on appearance-driven semantic patterns (like color and material) learned during pre-training. When these superficial cues are misleading, scarce, or overly dense, the model's alignment degrades.

While existing approaches try to handle long text by extending token lengths or breaking down captions, they still operate within the same appearance-heavy semantic space. StructXLIP shifts the focus toward a more fundamental and stable signal: visual geometry and spatial structure.

Methods

StructXLIP introduces a two-stage fine-tuning paradigm that extracts and aligns structural primitives across both modalities:

  1. Structure-Centric Multimodal Extraction:
  2. Visual: The framework extracts edge maps from raw images using standard edge detectors (like Canny or Laplacian of Gaussian), treating them as proxies for visual layout and boundaries.
  3. Textual: It applies a "Lexicon Filter." A Large Language Model (LLM) defines an appearance-related vocabulary (colors, materials), which is then filtered out of the original captions. This leaves a "structure-centric" text containing only shapes, geometry, and spatial relationships.
  4. Structure-Centric Multimodal Alignment: The standard image-text contrastive loss is augmented with three auxiliary losses:

  5. Global Structural Alignment ($L_{I',T'}$): Aligns the full edge map with the structure-centric text.

  6. Local Structural Alignment ($L^{local}_{I',T'}$): Uses the Segment Anything Model (SAM) to isolate visual regions and matches them to specific textual phrases.
  7. Consistency Regularization ($L_{I,I'}$): Connects the edge maps back to the original color images to prevent the model from drifting away from the pre-trained VLM semantic manifold.
Overview of the StructXLIP fine-tuning framework showing the extraction and alignment stages.

Zero Inference Overhead: Because these structural representations are only used as auxiliary targets during training, the final fine-tuned model evaluates standard color images and raw text normally during inference.

Datasets

The authors evaluated StructXLIP across both general dense-captioning benchmarks and highly detailed, domain-specific datasets:

  • DCI & DOCCI: General-domain datasets featuring long, human-annotated, highly descriptive captions (averaging up to 1000+ words for DCI).
  • SKETCHY: A specialized fashion dataset containing 46k images rich in structural details like clothing contours, layering, and designs.
  • Insect: A fine-grained biology dataset consisting of 6k images paired with expert morphological descriptions.

Key Insights and Ideas

  • Information-Theoretic Regularization: From a theoretical standpoint, maximizing the mutual information between edge maps and structure-only text ($I(I'; T')$) is a strictly harder optimization problem because these views contain less information than full RGB images and text.
  • Persistent Gradients: As shown in the paper's empirical analysis, this harder auxiliary task acts as an implicit regularizer. It provides a persistent, informative gradient direction even after the main image-text contrastive loss flattens out, steering the model toward more stable, semantically coherent minima.
Empirical analysis showing loss convergence, gradient norms, and inter-task cosine similarity.
  • Universal Booster: Because the framework modifies the loss objective rather than the model architecture, it acts as a universal, plug-and-play booster. It can be seamlessly integrated on top of other fine-tuning methods like LoRA, DoRA, or SigLIP2.

Key Results

  • State-of-the-Art Retrieval: StructXLIP consistently outperformed competitive long-text alignment methods (such as GOAL, Long-CLIP, and SmartCLIP). On the structurally dense SKETCHY fashion dataset, it boosted Recall@1 by +6.65% in Text-to-Image retrieval and +5.78% in Image-to-Text retrieval over the previous best method.
  • High Sample Efficiency: The framework excels in low-data regimes. When trained on just 20% to 50% of the available data, StructXLIP frequently matched or exceeded the performance of competing models trained on the full dataset.
  • Robust to Noise: In ablation studies where incorrect edge maps were intentionally paired with images during training, the model still maintained stable performance, proving the robustness of the structural inductive bias.

Limitations and Future Work

While StructXLIP provides a powerful recipe for fine-tuning, the authors acknowledge that extending this framework to pre-training a VLM completely from scratch remains unexplored. Doing so would require massive structural data extraction pipelines and would be incredibly computationally demanding. Additionally, the training pipeline relies on external dependencies like LLMs (for lexicon filtering) and SAM (for local segmentation), though these are entirely absent during deployment.

Summary updated

BibTeX
@inproceedings{ruan2026structxlip,
  author = {Zanxi Ruan and Songqun Gao and Qiuyu Kong and Yiming Wang and Marco Cristani},
  title = {{StructXLIP: Enhancing Vision-language Models with Multimodal Structural Cues}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=bpfEHa0qX4},
}
Figure