SPARC: Semantic Calibration with Latent Multimodal Knowledge for Robust Image-Text Retrieval

Zhongkuan Mao, Wenzhuo Zhao, Haidong Chen, Shangze Li, Yidong Wang, Jinhe Bi, Yunpu Ma, Junfeng Fang, Fei Shen, Tat-Seng ChuaarXiv 2026

TL;DR

Vision-language models like CLIP excel at matching clean images with text, yet they easily confuse true matches with plausible-looking distractors when half an image is occluded or key words are missing. Surprisingly, the model hasn't actually "lost" the underlying concepts—its semantic signal just becomes too faint to separate similar candidates. SPARC introduces a lightweight, geometry-aware calibration layer on top of frozen backbones to amplify this latent knowledge, beating even fully fine-tuned models on incomplete queries.

What Problem Does This Paper Address?

Imagine searching an e-commerce catalog using a photo of a product blocked by someone's thumb, or typing fragment keywords like "motorbikes... street" because you forgot the rest. Standard vision-language models (VLMs) embed images and text onto a shared unit hypersphere, ranking matches via cosine similarity.

When queries are incomplete, fine-grained cues vanish. Instead of failing randomly, the model suffers from degraded candidate discrimination—ranking "people riding motorbikes" above the true match "motorbikes parked along a street"—and ranking instability, where attempts to adapt the features accidentally ruin matches the model originally got right.

Cross-Modal Retrieval under Incomplete Queries

Existing defenses typically rely on heavy data augmentation or test-time adaptation to fix overall distribution shifts, overlooking how to coax out the rich multimodal associations already locked inside the pretrained weights without destabilizing good rankings.

Methods

SPARC (Semantic Projection and Alignment with Relational Constraints) keeps the massive pretrained image and text encoders—and the entire target gallery—completely frozen. Instead, it trains lightweight two-layer networks to calibrate only the incoming incomplete query via three novel modules:

Overview of SPARC architecture
  1. Semantic Calibration (SC): Because VLM features live on unit hyperspheres (where angle equals similarity), crudely adding a residual vector distorts their geometry. SC predicts a residual, projects it onto the tangent space orthogonal to the feature vector, steps along that tangent, and re-normalizes back onto the sphere.
  2. Robust Semantic Guidance (RSG): Used only during training, RSG acts as a teacher. It takes complete image and caption features from the frozen encoder and averages them into cross-modal "semantic anchors." Using contrastive learning (InfoNCE), hinge losses, and KL-divergence across anchor neighborhoods, it teaches the calibrator where an incomplete query should land on the sphere.
  3. Matching Relation Constraint (MRC): To prevent over-correction ("if it ain't broke, don't fix it"), MRC blends the original incomplete feature with the newly calibrated one. During training, a soft ranking loss penalizes the model if this blended feature shrinks the similarity margin on queries that already outranked their hardest negatives.

At inference time, all training scaffolding disappears: you simply pass your broken query through its modality-specific calibrator, blend it with the original feature, and search the frozen gallery.

Datasets

The authors evaluate SPARC on standard cross-modal benchmarks—Flickr30K and COCO (following Karpathy splits)—by artificially masking 25%, 50%, or 75% of query image areas (center or random masking) or deleting 25%, 50%, or 75% of query words, while keeping galleries intact. To test broader perturbations (like blur, noise, or character typos), they also evaluate on the Flickr30K-C and COCO-C corruption benchmarks. No new datasets are introduced.

Key Insights and Ideas

  • The Signal is Quiet, Not Gone: Using diagnostic probes and Sparse Autoencoders (SAEs) on frozen CLIP, the authors found that even with 75% of an image's context masked out, local category probes retain 95.7–97.2% of their accuracy! Incomplete queries fail not because the encoder is blind, but because similarity scores for true matches drop faster than for hard negatives, collapsing the decision margin.
Semantic Retention, Expression, and Matching under Incomplete Input
  • Respecting Spherical Geometry Pays Off: Updating features via tangent-space projections rather than naive residual addition directly controls the angular step size, resulting in higher repair rates for broken queries and fewer regressions on working ones.
  • Incomplete Training Boosts Complete Queries: Remarkably, calibrating queries on missing data doesn't hurt clean-data performance—it actually improves retrieval on 100% complete queries compared to frozen and fine-tuned baselines.

Key Results

Tested across 72 incomplete-query conditions spanning four backbones (CLIP ViT-B/32, ViT-B/16, ViT-L/14, and SigLIP2 ViT-B/32), SPARC wins across the board:

  • Strong Gains Over Frozen & Fine-Tuned VLMs: On CLIP ViT-B/32, SPARC improves average Recall@1 (R@1) by 11.34% over frozen CLIP. Even more impressively, despite keeping the backbone frozen, SPARC beats full end-to-end fine-tuning across all four backbones by 1.36% to 4.27% average R@1.
  • Concrete Wins: Under 25% center image masking on Flickr30K (ViT-B/32), image-to-text R@1 jumps from 54.10% (Frozen CLIP) and 66.00% (Fine-tuned CLIP) to 70.90%.
  • Zero-Shot Corruption & Clean Generalization: On COCO-C corruptions, SPARC beats the strongest robustness baseline (RVSE) by nearly 3% R@1. On clean, uncorrupted COCO queries, it boosts text-to-image R@1 by 8.31% over frozen CLIP.

Limitations and Future Work

Not discussed in the paper. (Note: While the text does not include a dedicated limitations section, by design the problem setup assumes gallery items are complete and uncorrupted, and training requires paired complete-input views to build semantic anchors.)

Summary updated

Abstract

Robust image-text retrieval aims to maintain accurate cross-modal matching when image or text queries are incomplete, supporting reliable information access in real-world applications. However, existing methods typically focus on adapting to distribution shifts, without adequately addressing candidate discrimination for incomplete queries and ranking instability. To this end, we propose semantic projection and alignment with relational constraints (SPARC), which elicits latent multimodal knowledge from frozen encoders to improve candidate discrimination and ranking stability. Specifically, we first devise a semantic calibration module on a product of spheres that refines incomplete visual and textual features through tangent-space updates, maintaining the unit-sphere structure used for cosine similarity. Second, we introduce a robust semantic guidance module that combines latent multimodal knowledge encoded in complete image-text features with cross-modal semantic anchors to promote semantic alignment of the calibrated features. Finally, we introduce a matching relation constraint module that fuses original query features with their calibrated counterparts and applies a soft ranking constraint to penalize reductions in initially positive matching margins, thereby limiting ranking perturbations. Extensive experiments on Flickr30K and COCO demonstrate that SPARC outperforms competing methods under various image occlusion and word deletion settings, while achieving consistent gains across different pretrained backbones.
BibTeX
@misc{mao2026sparc,
  author = {Zhongkuan Mao and Wenzhuo Zhao and Haidong Chen and Shangze Li and Yidong Wang and Jinhe Bi and Yunpu Ma and Junfeng Fang and Fei Shen and Tat-Seng Chua},
  title = {{SPARC: Semantic Calibration with Latent Multimodal Knowledge for Robust Image-Text Retrieval}},
  year = {2026},
  eprint = {2611.34344},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34344},
}
Figure