Organizations: Sichuan University · National University of Singapore · North China University of Technology · Nanjing University of Science and Technology · Peking University · Ludwig-Maximilians-Universität München
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.
Figures & tables
Figure 1: Cross-Modal Retrieval under Incomplete Queries : incomplete queries can rank distractors above true matches.
Figure 2: Semantic Retention, Expression, and Matching under Incomplete Input. (A) Local probe AP normalized to complete inputs. (B1–B3) SAE/pre-TopK attenuation, excess SAE loss over matched controls, and category cosine loss. (C1) Readable But Mismatched rates from global features in initially readable, correctly retrieved cohorts. (C2) Similarity drops for positives and hardest negatives. (C3) Excess match-margin loss for semantic versus matched random removal. (C4) Probe AP and pair accuracy for full, cue-kept, and cue-erased inputs.
Figure 3: Overview of SPARC. Semantic calibration maps gv and gt refine frozen CLIP features and construct calibrated anchors a~i . Complete features and anchors ai provide fixed training references for robust semantic guidance. Feature mixing and soft ranking constraint constrain query–gallery matching relations. Only the observed query and its modality-specific map are required for calibration at inference.
(a) R@1 (%)
25%
50%
75%
Method
CM
RM
WD
CM
RM
WD
CM
RM
WD
Flickr30K [ 48 ]
AlignCLIP [ 9 ]
51.00
50.30
41.54
30.40
33.30
24.38
14.00
15.60
9.12
HiMo-CLIP [ 36 ]
51.00
54.90
49.22
34.20
35.50
28.64
12.20
14.40
10.96
CalibCLIP [ 19 ]
53.90
59.20
37.32
35.60
39.70
21.18
16.90
17.60
8.14
Frozen CLIP [ 34 ]
54.10
59.20
41.24
36.70
39.80
23.90
17.50
17.50
9.26
Table 1: Evaluation Using CLIP ViT-B/32. For image-to-text retrieval (I → T) , CM and RM denote center masking and random masking of image queries. For text-to-image retrieval (T → I) , WD denotes word deletion from text queries. Best results are bold .
(a) Complete inputs
Flickr30K [ 48 ]
COCO [ 29 ]
R@1 (%)
RSum
R@1 (%)
RSum
Method
I → T
T → I
I → T
T → I
I → T
T → I
I → T
T → I
CLIP-Adapter [ 12 ]
74.40
56.56
265.40
226.92
46.40
24.13
196.12
127.38
AlignCLIP [ 9 ]
74.70
58.28
260.00
232.10
34.28
22.86
164.02
128.40
Fine-tuned CLIP
78.00
62.54
269.80
241.44
51.30
34.64
210.18
168.12
CalibCLIP [ 19 ]
78.20
54.60
272.30
221.46
50.16
26.84
208.48
140.80
Table 2: Complete Input and Corruption Robustness Results Using CLIP ViT-B/32. Robustness results average image or text corruption conditions for I → T or T → I, respectively. RSum sums R@1, R@5, and R@10. Best results are bold .
(a) R@1 (%)
25%
50%
75%
Method
CM
RM
WD
CM
RM
WD
CM
RM
WD
Flickr30K [ 48 ] – CLIP ViT-B/16
Frozen CLIP
59.30
65.50
44.70
42.80
44.10
26.66
24.60
25.70
10.02
Fine-tuned CLIP
75.40
76.80
53.20
60.70
60.60
34.60
39.00
40.00
13.12
SPARC (Ours)
77.40
78.20
55.52
60.80
61.40
35.18
42.40
41.70
13.92
Flickr30K [ 48 ] – CLIP ViT-L/14
Table 3: Results with CLIP ViT-B/16, CLIP ViT-L/14, and SigLIP2 ViT-B/32. CM and RM denote center and random masking for image-to-text (I → T) retrieval. WD denotes word deletion for text-to-image (T → I) retrieval. Best results are bold .
Modules
Flickr30K
COCO
Setting
SC
RSG
MRC
mR@1
mRSum
mR@1
mRSum
CLIP ViT-B/32
Baseline
✗
✗
✗
33.24
150.56
14.86
84.28
FD
✗
✗
✗
42.03
179.03
21.18
120.07
Joint FD
✓
✗
✓
44.74
187.12
25.07
126.34
A1
✓
✗
✗
40.24
172.40
20.91
108.77
Table 4: Module Ablation of SPARC. mR@1 (%) and mRSum average nine incomplete-query conditions with equal weights. FD denotes feature distillation. Best results within each backbone are bold .
Figure 4: Qualitative Analysis. Orange and blue backgrounds denote Frozen CLIP and ours, respectively. Green and red text or image borders indicate correct matches and distractors.
Figure 5: Semantic Recovery and Blocking. Left: category margin gains and matched gains (logits). Right: excess top-1 loss versus random span and tangent controls.
Figure 6: Embedding Analysis on COCO Using CLIP ViT-B/32. Baseline features (left) and SPARC features (right).
Figure 7: Calibration Geometry and Match Preservation. Relative improvements (%) over Direct from equal-weight averages across nine conditions. Deg. and Rep. denote correct-to-incorrect rate reductions and incorrect-to-correct rate gains on frozen-query cohorts. Axes are normalized by their annotated limits.
Perturbation group
Types
Settings per type
Conditions
Image perturbations
17
5
85
Text: character level
6
5
30
Text: word level
5
5
25
Text: sentence level
5
1
5
Text total
16
Mixed
60
Table S1 : Common-Corruption Condition Inventory. Counts follow the original multimodal robustness benchmark [ 33 ] . The 16 text perturbation types have unequal numbers of severity settings.
mR@1 (%)
mRSum
Dataset
Backbone
Base
FT
SPARC
Base
FT
SPARC
Flickr30K [ 48 ]
CLIP ViT-B/32 [ 34 ]
33.24
43.47
45.17±0.14
150.56
181.16
188.43±0.31
CLIP ViT-B/16 [ 34 ]
38.15
50.38
51.84±0.02
167.44
201.12
204.85±0.08
CLIP ViT-L/14 [ 34 ]
42.20
53.54
57.20±0.32
180.14
207.59
218.06±0.83
SigLIP2 ViT-B/32 [ 42 ]
34.16
41.94
43.65±0.22
150.99
176.42
182.35±0.58
COCO [ 29 ]
CLIP ViT-B/32 [ 34 ]
14.86
23.83
25.61±0.09
84.28
120.81
127.30±0.03
Table S2 : Multi-Seed Retrieval Summary across Datasets and Backbones. Base denotes the original frozen backbone and FT denotes its fine-tuned counterpart. mR@1 and mRSum average the nine incomplete-query conditions with equal weights. SPARC entries additionally report the sample standard deviation across three training seeds. Best mean results within each dataset, backbone, and metric are bold.
25%
50%
75%
R@1 (%)
RSum
R@1 (%)
RSum
R@1 (%)
RSum
CM
RM
WD
CM
RM
WD
CM
RM
WD
CM
RM
WD
CM
RM
WD
CM
RM
WD
Dataset
Method
I → T
I → T
T → I
I → T
I → T
T → I
I → T
I → T
T → I
I → T
I → T
T → I
I → T
I → T
T → I
I → T
I → T
T → I
Flickr30K [ 48 ]
SPARC (seed 42)
70.60
72.00
51.94
254.70
256.30
215.70
52.50
53.60
32.80
216.10
215.80
158.14
30.20
29.70
12.74
145.20
150.10
82.08
SPARC (seed 43)
70.80
71.60
51.50
255.80
255.20
216.36
52.50
53.70
32.52
215.90
216.80
157.42
30.00
29.70
13.30
145.40
149.20
82.38
SPARC (seed 44)
71.30
72.10
51.90
254.80
256.50
216.48
52.50
54.10
32.84
216.90
216.90
159.76
30.40
30.00
12.78
145.60
150.10
82.08
Table S3 : Per-Seed SPARC Results with CLIP ViT-B/32. CM and RM denote center and random masking for I → T retrieval, and WD denotes word deletion for T → I retrieval. For each condition, the mean over the three seeds equals the corresponding SPARC entry in Table 1 of the main paper.
Incomplete queries mR@1 (%)
Complete queries I → T R@1 (%)
Setting
Flickr30K [ 48 ] B/32
COCO [ 29 ] B/32
Flickr30K [ 48 ] L/14
COCO [ 29 ] L/14
Flickr30K [ 48 ] B/32
COCO [ 29 ] B/32
Full SPARC
45.17±0.14
25.61±0.09
57.20±0.32
34.59±0.38
80.40±0.20
54.58±0.21
w/o Reference Consistency
44.55±0.19
25.28±0.14
56.71±0.30
34.04±0.33
80.25±0.14
54.46±0.25
w/o Anchor-Relation KL
44.91±0.17
25.45±0.16
56.95±0.33
34.36±0.37
80.32±0.28
54.53±0.24
w/o Complete-Input Identity
45.10±0.20
25.57±0.05
57.11±0.40
34.52±0.36
79.50±0.28
53.73±0.20
Table S4 : RSG Component Ablations. Incomplete-query mR@1 (%) averages the nine incomplete-query conditions with equal weights. Complete-query I → T R@1 (%) uses CLIP ViT-B/32. All values are means ± sample SD across three training seeds. B/32 and L/14 denote CLIP [ 34 ] backbones. Best means are bold.
Variant
Update
Mixing Weight β
Ranking Constraint
Direct (= A2)
Tangent Update
1.0
Off
Normalized Residual
Residual then Normalization
0.6
On
Mixed
Tangent Update
0.6
Off
Ranking Regularized
Tangent Update
1.0
On
SPARC
Tangent Update
0.6
On
Table S5 : Controlled Calibration Variants. The remaining RSG, network, and training settings are shared. Ranking constraint refers to the soft ranking term of LMRC ; feature mixing is controlled separately by β .
Dataset
Variant
mR@1 (%) ↑
mRSum ↑
Deg. (%) ↓
Rep. (%) ↑
Flickr30K [ 48 ]
Direct
44.33±0.10
186.24±0.34
7.00±0.19
22.84±0.13
Normalized Residual
44.65±0.17
187.10±0.20
6.20±0.09
22.88±0.31
Mixed
44.73±0.07
187.10±0.28
5.80±0.08
22.84±0.13
Ranking Regularized
44.99±0.13
187.95±0.16
5.30±0.03
22.88±0.21
SPARC
45.17±0.14
188.43±0.31
5.00±0.08
22.99±0.18
COCO [ 29 ]
Direct
25.10±0.11
125.87±0.15
8.00±0.21
14.20±0.10
Table S6 : Calibration Geometry and Match Preservation, CLIP ViT-B/32. Means ± sample SD over three training seeds. mR@1 and mRSum are higher-is-better; Deg. is lower-is-better and Rep. is higher-is-better. All four metrics average the nine incomplete-query conditions within each seed. Direct coincides with A2 in Table 4, and SPARC with Table S2 . Best means are bold.
Panel
Feature location
Annotations and records
A: local category readability
Final CLIP [ 34 ] visual patch states before ln_post and projection; overlap-area pooling and normalization
Target category, target box (Flickr30K Entities [ 32 ] or COCO [ 29 ] ), and patch indices after preprocessing
B1: SAE / pre-TopK responses
Projected, normalized global image features input to the fixed Top- K SAE [ 11 ] ; pre-activations and Top- K codes
Category-associated unit lists and fixed unit-selection rules
B2: semantic specificity
Exactly the same features and SAE as B1
Semantic units, matched control units, and the matching criteria
B3: category-direction response
Projected, normalized global image features
Fixed category directions determined from clean training data
C1: readable but mismatched
Global retrieval features; final EOT retrieval features for natural text missingness
Category labels, frozen readability thresholds, and true-pair IDs
C2: positive/negative similarity decline
The same global query features against the fixed complete gallery
Positive IDs and the hardest-negative selection rule
Table S7 : Feature Locations and Annotation Records for Fig. 2. B1 and B2 share the same frozen SAE on projected, normalized global image features. The natural word-deletion extension of C1 uses global EOT retrieval features. Region boxes and patch indices refer to the preprocessed image coordinates.
Item
Configuration
Category / fine-grained probes
Separate linear one-vs-rest logistic regressions with ℓ2 regularization; C∈{0.01,0.1,1,10} selected by validation AP
Readability thresholds
Class-specific thresholds selected on validation data and frozen before testing; AP itself does not require these thresholds
SAE inputs
Projected, normalized global image features from clean training images; separate SAE for each dataset and backbone
SAE architecture
Top- K SAE [ 11 ] ; expansion factor 8; 4,096 latent units for ViT-B/32 and 6,144 for ViT-L/14; Top- K=32
SAE optimization
Adam, learning rate 10−3 , batch size 256, at most 50 epochs; checkpoint selected by validation reconstruction error
Data separation
Captions, regions, and corrupted views from one source image remain in the same split; test data are excluded from hyperparameter selection
Table S8 : Probe and SAE Configurations. Hyperparameters are selected on validation data.
Panel
Flickr30K [ 48 ] B/32
Flickr30K [ 48 ] L/14
COCO [ 29 ] B/32
COCO [ 29 ] L/14
Counting unit
A
800
800
4,000
4,000
Images / target regions
B1
800
800
4,000
4,000
Images
B2
800
800
4,000
4,000
Images, with controls paired to the original samples
B3
800
800
4,000
4,000
Images
C1
620
650
1,600
2,000
Queries readable and correctly retrieved under complete input
C2
620
650
1,600
2,000
The same query cohort as C1
Table S9 : Panel-Specific Sample Counts for Fig. 2. Counts for the target-preserving diagnostics. B/32 and L/14 denote CLIP [ 34 ] backbones. A dash indicates that the panel is not evaluated in that setting. Units and cohort reuse are stated explicitly.
Panel
Statistic recomputed in every replicate
Pairing or aggregation
A
100×APpartial/APcomplete
Both AP values are recomputed before taking their ratio
B1
Attenuation of SAE and pre-TopK responses
Fixed semantic units are aggregated within each image before image clusters are resampled
B2
Semantic-response loss minus matched-control loss
Semantic and control records stay paired; the training-set SD used for standardization is fixed
B3
Category-direction cosine difference between complete and partial features
Paired by image and fixed category direction
C1
Readable-but-mismatched count divided by the initial eligible-cohort count
Original eligibility flags fixed; numerator and denominator reaggregated in each replicate
C2
Positive and negative similarity declines, and their difference
Query–candidate pairing preserved; gallery and candidate-selection rule fixed
Table S10 : Statistics Recomputed in Each Bootstrap Replicate for Fig. 2.
Dataset
Query and condition
Initial cohort n0
Still readable
Readable but mismatched
RBM rate (%)
95% CI
Flickr30K [ 48 ]
I → T, 50% CM
700
490
155
22.14
[19.14%, 25.23%]
T → I, 50% WD
2,500
1,800
662
26.48
[24.61%, 28.39%]
COCO [ 29 ]
I → T, 50% CM
1,250
900
359
28.72
[26.27%, 31.21%]
T → I, 50% WD
6,000
3,900
1,869
31.15
[29.93%, 32.38%]
Table S11 : Readable-but-Mismatched Cohort Summaries, Frozen CLIP ViT-B/32. Rates use the initial-cohort denominator n0 . The 95% intervals are paired image-cluster bootstrap intervals (Section 10.4 ) computed from the query-level labels. CM denotes center masking and WD denotes word deletion.
Item
Definition
Original cohort
Frozen CLIP retrieves an incorrect Top-1 candidate for the incomplete query
Recovered group
SPARC’s calibrated query retrieves a correct Top-1 candidate
Unrecovered group
The calibrated query still retrieves an incorrect Top-1 candidate
Strata
Matching is separate by dataset, backbone, query modality, perturbation type, and severity
Match covariates
Frozen-feature retrieval margin and category-readout margin
Algorithm
1:1 nearest-neighbor matching without replacement; fixed query ordering and tie-breaking rules
Table S12 : Matched-Cohort Protocol for Fig. 5 (Left). Match covariates are measured before calibration. Cohort counts, pair IDs, matching failures, and postmatch balance are kept in the matching records rather than inferred from aggregate retrieval scores.
Figure S1 : Semantic Readability and Functional Use of Retained Semantics in the Retrieval Features. (a) Global category AP for complete inputs, incomplete inputs, and SPARC under 50% center masking without target protection (the condition of Table S11 ). Solid and dashed lines denote ViT-B/32 and ViT-L/14; orange labels give SPARC AP and its gain over incomplete inputs in percentage points. (b) Excess reduction in calibration benefit, in fixed-gallery matching-margin units of 10−3 , when the incomplete input is weakened along its target-semantic direction before calibration, relative to equal-angle random-direction and other-category controls. (c) SPARC candidate accuracy on the Flickr30K CLIP ViT-B/32 two-caption task for complete, cue-kept, and cue-erased inputs. The corresponding frozen-CLIP accuracies (86.0%, 71.0%, and 54.5%) and fine-grained probe AP are shown in Fig. 2C4 of the main paper. The cue interaction is the difference between the SPARC gains on cue-kept and cue-erased inputs, 9.50−1.50=8.00 percentage points. (d) Fine-grained probe AP on the global features (top) and the calibration-induced candidate-margin benefit B in units of 10−3 (bottom; Eq. ( S16 )) after pre-calibration interventions on cue-kept inputs: none, matched random direction, unrelated semantic direction (Other), and target semantic direction. Candidate accuracy is distinct from full-gallery R@1. All values are aggregate point estimates.
Figure S2 : Selected Recovered Matches under Image Masking. Upper: four center-masked queries. Lower: four random-position-masked queries. Each panel compares the first-ranked captions from Frozen CLIP and SPARC for the same partial image: the former is non-paired, while the latter is benchmark-paired, marked by GT. Headers give the best true-caption rank before and after calibration. The seed-42 corruption patterns are reused. These are selected recoveries; a non-paired caption may still be semantically compatible with the image.
Figure S3 : Selected Recovered Matches under Word Deletion. Four validation captions use their original seed-42 deletion patterns. Each panel compares the first-ranked images for the identical remaining words: Frozen CLIP retrieves a non-paired image, while SPARC retrieves the benchmark-paired image, marked by GT. Headers report the true-image rank before and after calibration. Only selected successful recoveries are displayed.
Cross-modal retrieval has been advanced by vision-language pre-trained models that encode images and texts into a shared dense embedding space. While dense representations effectively capture overall semantic similarity, they often obscure fine-grained visual-textual information needed for precise cross-modal matching. Recent methods introduce a learned sparse branch to complement dense matching with lexical evidence, but they rely on a redundant language-model token space and lack explicit grounding for sparse dimensions. We propose GRASP, a compact and grounded sparse learning framework that mines visual-textual concepts from the corpus. A lightweight sparse head is trained to predict concepts relevant to each image or text, yielding interpretable concept-level evidence that complements dense semantic matching. Extensive experiments show that GRASP improves retrieval accuracy over the state-of-the-art dense-sparse baselines while yielding a more compact and grounded sparse space.
Yoonseo Kim, Jungwoo Choi, Cheonyoung Park +3
Sungkyunkwan University South Korea · KT Corporation South Korea
In text-to-image person retrieval tasks, the diversity of natural language expressions and the implicitness of visual semantics often lead to the problem of Expression Drift, where semantically equivalent texts exhibit significant feature discrepancies in the embedding space due to phrasing variations, thereby degrading the robustness of image-text alignment. This paper proposes a semantic compensation framework (MVR) driven by Large Language Models (LLMs), which enhances cross-modal representation consistency through multi-view semantic reformulation and feature compensation. The core methodology comprises three components: Multi-View Reformulation (MVR): A dual-branch prompting strategy combines key feature guidance (extracting visually critical components via feature similarity) and diversity-aware rewriting to generate semantically equivalent yet distributionally diverse textual variants; Textual Feature Robustness Enhancement: A training-free latent space compensation mechanism suppresses noise interference through multi-view feature mean-pooling and residual connections, effectively capturing "Semantic Echoes"; Visual Semantic Compensation: VLM generates multi-perspective image descriptions, which are further enhanced through shared text reformulation to address visual semantic gaps. Experiments demonstrate that our method can improve the accuracy of the original model well without training and performs SOTA on three text-to-image person retrieval datasets.
Remote sensing (RS) image-text retrieval plays a critical role in understanding massive RS imagery. However, the dense multi-object distribution and complex backgrounds in RS imagery make it difficult to simultaneously achieve fine-grained cross-modal alignment and efficient retrieval. Existing methods either rely on complex cross-modal interactions that lead to low retrieval efficiency, or depend on large-scale vision-language adaptation, which requires massive data and computational resources. To address these issues, we develop a fast-then-fine (FTF) retrieval framework centered on interaction-free multi-granular recall and parameter-free text-guided cross-modal reranking with the Balanced Text-guided Interaction Block (BTIB). Specifically, interaction-free multi-granular recall pre-computes gallery embeddings and matches them with the corresponding query embedding without full-gallery token-level text-image interaction, while text-guided cross-modal reranking with BTIB refines local semantic correspondence within the top-K candidate set. Furthermore, an inter- and intra-modal loss is designed to jointly optimize cross-modal alignment across multi-granular representations. Extensive experiments on public benchmarks demonstrate that the FTF achieves competitive retrieval accuracy while significantly improving retrieval efficiency compared with existing methods.
Xi Chen, Xu Chen, Xiamgyang Jia +3
School of Computer Science, Wuhan University, China · Beijing Institute for General Artificial Intelligence (BIGAI), China