Manuscript Offprint
arXiv:2611.00784ConstraintMatch: Compositional Image-Text Matching through Constrained Regional Evidence Selection
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Local image-text matching can find strong evidence for individual concepts yet favor captions with incorrect attribute-entity bindings. We introduce ConstraintMatch, a training-free inference method that turns entity-level regional consistency into an explicit matching cost. On the same frozen condition-region similarity matrix, it compares independent crop selection for each category and attribute with a shared crop choice within each entity. Their gap quantifies the score advantage obtained by relaxing the shared-region constraint. Spatial references from the same image calibrate this gap by keeping category evidence fixed while jointly shifting an entity's attribute maps. Per-entity clipping prevents cancellation across residuals, and the scaled mean cost is subtracted from global similarity. ConstraintMatch uses pooled embeddings, and spatial calibration requires no additional encoder calls. With parameters fixed per backbone across tasks, ConstraintMatch improves over global matching by 7.70 percentage points on full ARO Attribute and 5.63 points on held-out SugarCrepe++ attribute swaps, averaged across Qwen 2B and CORE 2B. Against SGI adapted to the same 13-crop budget, the respective gains are 4.85 and 3.51 points. Controlled analyses distinguish the effects of shared-region matching and candidate score calibration. The results establish entity-level evidence selection as a practical scoring principle for compositional multimodal retrieval.
1. Introduction
Recognizing the objects and attributes in a scene does not by itself establish whether a caption assigns them correctly. In Fig. 1, a brown horse with a white mane and a white horse with a brown mane contain the same concepts but specify different bindings. The restaurant example makes the same distinction across objects: red stools and a blue table versus blue stools and a red table. Distinguishing these descriptions requires evidence for the relationship between an attribute and its entity, making attribute binding a central challenge in compositional image-text matching [19, 27, 35].
Global embeddings summarize scene content but can overlook correspondences between individual conditions [10, 18, 23, 35]. Recent approaches address this issue through phrase-level crop selection (SGI) [19], refinement of object and attribute representations (ABE-CLIP) [39], and explicit constraint execution over concept evidence (LCSE) [1]. These approaches motivate a closer look at evidence selection within an entity. We ask how much the matching score increases when category and attribute conditions may select regions independently instead of sharing one region, and whether this advantage can inform compositional matching.
The distinction matters because strong individual matches can support an incorrect composition. For the phrase blue stools in Fig. 1, category evidence could come from the stools while color evidence comes from the table. Rewarding these separate matches does not establish that the stools are blue. Comparing the two selection rules on identical evidence quantifies the advantage of allowing such separate choices, without attributing differences to a changed encoder or a different crop pool.
We introduce ConstraintMatch, a training-free method that turns this selection advantage into an entity-level correction to global similarity. Frozen encoders produce a condition-region similarity matrix from fixed image crops and separate category and attribute descriptions. Independent selection finds the best crop for each condition before averaging; shared selection averages condition evidence before choosing a crop. Sharing applies within an entity, while different entities retain separate choices. Their difference measures the score advantage obtained by relaxing the shared-region requirement, giving the correction an explicit interpretation in terms of evidence selection.
Fixed crops provide an approximation to object consistency: a crop can contain multiple objects, and an object's
Corresponding author.
Horse and mane

(a)
Stools and table

(b)
Figure 1. Attribute binding in SCPP [6]. Checks/crosses mark positive/swapped captions with the same entities and colors. Text is shortened; (b) is cropped for display.
conditions can favor different crops. ConstraintMatch calibrates this variation using spatial references from the same image. Category score maps remain fixed while an entity's attribute maps shift together, preserving their mutual alignment. The reference adjusts the observed gap, and each entity's residual is clipped at zero before averaging, with zero-cost entities retained. The scaled mean cost is subtracted from global similarity (Figure 2). All operations use standard pooled embeddings; spatial calibration reuses existing similarities without further encoder calls.
With one parameter setting fixed per backbone, ConstraintMatch improves over global matching by 7.70 percentage points on full ARO Attribute and 5.63 points on held-out SugarCrepe++ (SCPP) attribute swaps, averaged across Qwen 2B and CORE 2B. It also outperforms SGI at the same regional budget on these binding tasks. COLA is used in development; we reevaluate the previously analysed ARO and held-out SCPP benchmarks with the method and parameters fixed. We additionally examine bidirectional matching, broader task families and inference cost to relate the gains to task structure and the evidence available to the method.
Our contributions are:
- An entity-level correction that compares independent and shared selection on identical frozen evidence, calibrates their gap with same-image spatial references, and retains nonnegative entity costs without additional training.
- An analysis separating shared-region discrimination from candidate score calibration, and clarifying how the independent reference, spatial adjustment, entity aggregation and parsing support shape compositional matching.
- Attribute-binding gains from ConstraintMatch over global matching and budget-matched SGI on two backbones, with evaluations of bidirectional matching, transfer and computational tradeoffs.
Compositional matching and attribute binding. Compositional evaluation separates concept recognition from structural matching. ARO probes attributes, relations and word order [35], while VL-CheckList separates object, attribute and relation tests [40]. Caption-based tests address linguistic shortcuts through SugarCrepe's controlled negatives [7] and SugarCrepe++'s semantic changes and equivalent lexical variations [6]. Winoground and COLA test structure through contrasting image-caption combinations [24, 27], and EqBen emphasizes minimal visual changes [30]. VALSE examines linguistic grounding [20], CREPE tests systematicity and productivity [18], and related analyses examine composition within visual embeddings [3].
Training strengthens composition through hard negatives in NegCLIP [35], language-structured augmentation in SVLC [5], synthetic negative captions and images in TripletCLIP [21], scene graphs in Structure-CLIP [8], and improved caption guidance [26]. Our intervention operates at inference time with fixed representations.
Local alignment and object-centric binding. Region-word retrieval models learn local alignments through cross-attention, regional reasoning and similarity filtering [4, 12, 13, 16]. During pretraining, FILIP uses token-wise maximum patch similarity [33], whereas FLAIR learns text-conditioned attention pooling from detailed descriptions and sub-captions [31]. Multigranular alignment in X-VLM [36] and the detailed captions, region supervision and fine-grained negatives in FG-CLIP [32] shape local evidence.
Object-centric methods model binding explicitly. OC-CLIP aligns caption scene graphs with visual slots through competitive attention and a learned structured similarity [2]; CORA composes attributes and relations through scene-graph attention with global and local alignment losses [22]. In scene-memory retrieval, FRAME learns attribute read-outs over stored object representations and aggregates them by query [9]. ConstraintMatch imposes an entity-level shared-selection constraint on fixed crop embeddings without learning a binding module. A shared crop approximates object consistency and may contain several objects. Con-straintMatch forms its score correction by comparing independent and shared region selection within each entity.
Structured inference and score correction. Inference methods differ in their evidence and decision rules. Com-CLIP combines weighted subject/object/action subimage embeddings with the global representation without further training [11]. Grounding CLIP uses an open-vocabulary detector to localize entities and relations before fusing local and global embeddings [29]. SGI averages best-crop similarities for complete object-attribute phrases and the full caption [19]; its paper separately trains an alignment transformer over frozen patch and token features. SGI preserves binding within each composed phrase when selecting a crop. ConstraintMatch instead encodes category and attribute conditions separately and ties their crop choices in the shared score. Comparing independent and shared choices on this matrix measures the score advantage obtained by allowing conditions to select regions independently.
Representation refinement and logical execution provide related routes to score correction. ABE-CLIP refines object and attribute text representations, uses token-patch alignment, and combines the refined local score and its absolute change from the original score with global similarity [39]. LCSE separates evidence extraction from constraint execution in a framework extending beyond Boolean constraints [1]; its implementation corrects global similarity using the logit difference between logical aggregation of calibrated concept evidence and ordinary averaging. We compare selection constraints on identical condition-region evidence, calibrate their gap with spatial references, and analyse when the independent term cancels between candidates. We use SGI (13 regions) for matched-backbone quantitative comparisons, and ABE-CLIP and LCSE to contrast representation refinement and logical score correction.
3. Method
ConstraintMatch compares independent and shared region selection on fixed evidence, calibrates their gap with spatial references from the same image, and averages nonnegative entity costs to correct global similarity (Figure 2). All encoders remain frozen.
3.1. Representations and Entity Evidence
For an image and caption , the frozen encoding interfaces and return -normalized pooled vectors in . Their global similarity is , using the whole image and full effective caption.
Fixed dependency-parsing rules extract supported entities , with . Each entity contains an object category and its directly modifying attributes, represented by atomic descriptions .
Category and attribute descriptions are encoded separately with fixed prompts and equal within-entity weights. This exposes their individual region preferences while preserving modifier relationships: black jacket and red motorcycle in Figure 2 form distinct entities. The global branch retains caption content outside these groups. Appendix A.1 specifies the prompts, input policy and parsing rules.
A caption-independent grid and grid provide crops . Keeping the whole image outside this local set reduces the chance that a view containing several objects masks disagreement among region choices. The condition-crop evidence for each entity is
Rows index conditions and columns index crops. All selection and calibration operations reuse this matrix and the same fixed representations.
3.2. Shared-Region Gap Correction
For a fixed pair , we omit its arguments from entity-level scores. With region indices , independent and shared selection are
(2)
Independent selection chooses a region for each condition before averaging; shared selection averages condition evidence before choosing a region. Sharing applies within each entity: different entities may select different crops or reuse a crop.
Their gap measures the cost of requiring an entity's conditions to share regional evidence. For , we correct global similarity by its entity average:
(3)
A small gap indicates that a common region nearly matches the separate optima; larger gaps record the advantage of independent choices. The correction rewards shared compatibility while calibrating it against the independently attainable score. Both use the same atomic similarities, isolating the selection constraint from the representation. Appendix A gives the equivalent score decomposition. We use equal entity weights and . Captions with no supported entity, or triggering predefined caption-level fallbacks, retain .

Figure 2. ConstraintMatch overview. Frozen category and attribute evidence is aggregated under independent and shared selection. The expanded computation follows the swapped candidate's red jacket entity ; the second residual row, black motorcycle, uses its own gap and reference. Bold cells mark maxima in the selection panels and track a permuted score entry in the spatial-reference panels. Photo frames are actual fixed-grid crops; purple grids show cosine similarities. Residuals are clipped per entity before averaging, including zeros. In this Qwen 2B candidate pair, subtracting the swapped caption's cost reverses the ranking; the positive caption has zero cost. Bottom phrases are abbreviated, while Global uses the whole image and full effective captions. Checks/crosses indicate dataset positive/negative annotations.
3.3. Spatial Reference and Per-Entity Adjustment
Spatial references. We calibrate each gap using spatial shifts of the same evidence. Within an grid, a cyclic shift adds an offset to the region coordinates modulo . Excluding the zero offset separately at each scale leaves three shifts for the grid and eight for the grid. Their Cartesian product defines a fixed set of 24 transformations, each permitting indices only within its scale.
Let row 1 of contain category evidence and the remaining rows contain attributes. For the region permutation induced by , define
All attributes of an entity use the same transformation, preserving their mutual alignment and each row's score distribution while changing their correspondence with the fixed category evidence. Row maxima are preserved, so is unchanged and only shared compatibility must be recom-
puted. Shifting all conditions together would merely relabel regions and leave both scores unchanged; anchoring the category makes the reference sensitive to category-attribute correspondence.
Calibrated entity costs. We recompute shared scores and average their gaps from :
Each reference uses the same atoms, weights and similarities as its observed gap . Computing these references requires only matrix indexing and aggregation, with no additional image or atomic-text encoding.
We subtract a fraction of the reference from each entity's gap, clip its residual, and average the nonneg-ative costs:
(6)
Here . Clipping each entity before averaging prevents negative residuals from offsetting positive costs. All supported entities remain in the denominator, including those assigned zero cost, preserving their equal weights. Clipping after averaging permits cancellation when residuals have mixed signs; the two orders coincide for a single entity.
At , the score recovers , with . At , the adjusted cost measures the shortfall of observed shared compatibility relative to its mean under spatial shifts. Calibration thus depends on the image and entity: equal observed gaps need not receive equal relief. Appendix A derives these identities and the exact penalty reduction. Uniform-weakening and mean-matched controls test whether this dependence adds value beyond reducing average penalty strength. The same and global fallback rules apply. We fix for Qwen 2B and for CORE 2B across tasks; Section 4.1 specifies the development protocol.
The mixed-sign residuals in Figure 2 illustrate the aggregation order: clipping retains the positive entity cost and sets the other cost to zero, with both entities included in the mean. Averaging signed residuals first would allow cancellation. For this pair, the resulting penalty reverses the swapped caption's initial ranking advantage.
3.4. Inference and Computational Cost
We cache one global and 13 regional vectors per image; identical atomic prompts share vectors while retaining entity memberships and weights. Text-to-image retrieval pre-computes image vectors and parses and encodes the query caption and atoms, holding its groups fixed across images. Image-to-text retrieval precomputes caption and atomic vectors and groups, then constructs the query's global and regional image vectors once for all candidates, using each caption's groups. Both directions use the same score and retain the benchmark's candidate pools and tie rules. Fixed parsing and representations also permit reuse of across calibration settings.
Once condition–crop similarities are available, the 24 spatial references are computed by reindexing and aggregating these scores, without further image or atomic-text encoding. This adds scoring work but no additional image-vector storage. At equal dimension and precision, the global and regional image-vector cache occupies 14 times the global-only image-vector footprint. Table 3 reports measured latency and storage for the base configuration; cached
spatial-reference computation is reported separately in Appendix F. Appendix B provides the operation counts and full storage accounting.
4. Experiments
We test whether constrained evidence selection improves attribute binding, distinguish the roles of its independent and spatial references, and examine the resulting behavior across task families and retrieval directions. All encoders remain frozen.
4.1. Experimental Setup
Benchmarks. Our main binding evaluations are full ARO Attribute [35] and the source-held-out partition of Sugar-Crepe++ (SCPP) [6]. We report both full and official macro accuracy for ARO, and both attribute-swap and overall accuracy for SCPP. The mechanism analysis uses a separate source-filtered ARO population. COLA multi-object matching [24] evaluates two images and two captions: I2T and T2I require both matches within a direction, while all-four requires all four strict inequalities. Broader evaluations cover ARO Relation and order sensitivity, COLA single-object retrieval, and Flickr30k [34]. Appendix C gives the population sizes, splits and metric rules.
Backbones and controls. We use Qwen3-VL-Embedding-2B [17] (Qwen 2B) and CORE-Embedding-2B [25] (CORE 2B), with SigLIP 2 L/16-384 [28] in additional mechanism and budget studies. Global uses whole-image and full-caption embeddings. Our matched-budget adaptation of SGI [19] shares the backbone, 13 local crops and global view with ConstraintMatch. This fixes the available visual observations while retaining each method's text decomposition and aggregation; it does not equate their text-encoding or scoring costs. Shared fusion additionally fixes the condition-region similarities, providing a more focused control for the selection rule. Reported two-backbone means are arithmetic averages.
Selection and uncertainty. We fix one parameter setting per backbone across tasks. The coefficient was selected on SCPP development swaps. Spatial calibration is selected from : eligible values must match or exceed base accuracy on both the full development partition and its attribute-swap subset, after which we maximize COLA I2T and break ties toward smaller . This gives for Qwen 2B and for CORE 2B. We then freeze these settings across tasks and reevaluate the previously analysed ARO and held-out SCPP benchmarks; COLA remains development evidence. We report pointwise 95% source-group bootstrap intervals from 2,000 resamples. Paired comparisons use the same resampled groups
| Backbone | Method | ARO Attribute | SCPP held-out | COLA | ||||
|---|---|---|---|---|---|---|---|---|
| Full | Macro | Attr. swap | All | I2T | T2I | All four | ||
| Qwen 2B | Global | 68.71 | 67.56 | 54.80 | 74.51 | 49.52 | 25.24 | 19.05 |
| SGI (13 regions) | 70.28 | 71.52 | 58.49 | 70.60 | 40.95 | 30.95 | 22.38 | |
| Shared fusion | 71.07 | 71.04 | 59.04 | 68.71 | 32.38 | 24.76 | 13.33 | |
| ConstraintMatch (base) | 75.89 | 76.80 | 62.92 | 75.01 | 39.05 | 28.10 | 15.71 | |
| ConstraintMatch | 74.65 | 74.47 | 59.96 | 75.24 | 48.10 | 26.19 | 20.00 | |
| CORE 2B | Global | 67.21 | 66.72 | 65.68 | 79.73 | 48.57 | 32.38 | 23.81 |
| SGI (13 regions) | 71.34 | 73.21 | 66.24 | 75.96 | 47.62 | 40.95 | 29.52 | |
| Shared fusion | 72.27 | 73.38 | 66.61 | 72.84 | 35.71 | 32.86 | 16.19 | |
| ConstraintMatch (base) | 76.23 | 77.41 | 71.03 | 79.62 | 50.48 | 32.86 | 25.71 | |
| ConstraintMatch | 76.67 | 78.16 | 71.77 | 80.07 | 50.95 | 35.24 | 27.62 | |
Table 1. Comparison at a matched regional budget. Accuracy (%). Exact pointwise 95% bootstrap intervals are given in Appendix C.3. Regional methods use 13 crops; our controls and full method use . The full method fixes for Qwen 2B/CORE 2B. COLA is used in development. Bold denotes the best displayed accuracy per backbone.

Figure 3. Shared selection and independent-reference calibration. Accuracy on source-filtered ARO for the base configuration (, , 13 crops). Left: 9,295 pairs with identical weighted atoms; right: all 26,598 filtered pairs. Within each method, bars show Qwen 2B then CORE 2B. Whiskers show pointwise 95% source-group percentile bootstrap intervals (2,000 resamples). Methods are compared within each population and backbone; the left panel is a subset of the right.
for both methods. Evaluation is deterministic, so these intervals measure resampling uncertainty rather than training-seed variation. Appendix C.2 provides the complete protocol and paired results.
4.2. Attribute Binding and Bidirectional Matching
ConstraintMatch improves attribute binding on both backbones relative to Global, shared fusion and matched-budget SGI (Table 1). Averaged across Qwen 2B and CORE 2B, ConstraintMatch gains 7.70 percentage points on full ARO Attribute and 5.63 points on held-out SCPP attribute swaps over Global. Improvements also hold under ARO's official macro-average, which uses its eligible attribute-pair subset and weights groups equally. The same scoring rule thus retains gains under both aggregate and group-balanced evalu-
| Backbone | Variant | ARO | SCPP | COLA |
|---|---|---|---|---|
| Qwen 2B | w/o spatial ref. | 75.89 | 62.92 | 15.71 |
| Uniform weakening | 68.71 | 54.80 | 19.05 | |
| Mean-matched | 73.77 | 56.64 | 18.57 | |
| w/o clipping | 77.00 | 63.47 | 18.57 | |
| Post-mean clip | 74.07 | 59.59 | 20.00 | |
| ConstraintMatch | 74.65 | 59.96 | 20.00 | |
| CORE 2B | w/o spatial ref. | 76.23 | 71.03 | 25.71 |
| Uniform weakening | 76.17 | 70.85 | 25.71 | |
| Mean-matched | 76.17 | 70.85 | 25.71 | |
| w/o clipping | 77.21 | 71.96 | 27.62 | |
| Post-mean clip | 76.87 | 72.14 | 27.14 | |
| ConstraintMatch | 76.67 | 71.77 | 27.62 |
Table 2. Component ablations. Accuracy (%). ARO: full ARO Attribute; SCPP: held-out attribute swaps; COLA: all-four matching. All variants use 13 crops and ; spatial variants use the fixed from Table 1. Without spatial references, . Uniform weakening and Mean-matched rescale the original gap. Removing clipping retains signed entity residuals; Post-mean clip clips after entity averaging, allowing cancellation; ConstraintMatch clips each entity before averaging. COLA is used in development. Bold denotes the best displayed value per backbone and metric; paired comparisons appear in Appendix C.4.
ation. Its advantage over SGI at the same crop budget further indicates that access to regional views alone does not account for the improvement: how their evidence is selected and compared matters.
These comparisons probe different aspects of the score. Global tests whether the correction helps beyond whole-scene similarity; matched-budget SGI tests whether the improvement is explained by adding the same regional views;
the base method versus shared fusion tests the independent reference while fixing atomic similarities. This distinction matters for attribute swaps, where both candidates can match the image's inventory of concepts. Recognizing each concept alone does not establish which entity it modifies: the score must respond to how the conditions are grouped.
Bidirectional matching reveals a different balance between configurations. Spatial calibration raises COLA all-four accuracy over the base method and Global on both backbones, while SGI remains stronger on this criterion. Relative to Global, CORE 2B improves in both retrieval directions, whereas Qwen 2B remains slightly lower on I2T. Requiring all four matches tests the joint ranking of both images and captions, rather than only a single positive-negative caption decision. The joint-ranking improvement comes with lower attribute accuracy than the base configuration on Qwen 2B, whereas CORE 2B improves on both binding tasks. These are development observations, and the paired all-four gains over Global have intervals that include zero. We therefore use COLA to characterize the observed tradeoff, with the fixed-configuration ARO and SCPP reevaluations providing the evidence for attribute-binding gains.
4.3. Mechanism and Ablations
Shared selection and its reference. Shared compatibility and the independent reference have distinguishable roles. Figure 3 compares shared fusion with the base score , where C and U are entity averages. When two captions have identical atomic prompts and cumulative weights, U is identical and cancels from their ranking. Shared fusion and the base method then make exactly the same decisions across all three encoders, and both improve over Global. Attribute reassignment can change which conditions must share a region even when this independent evidence is unchanged.
The independent reference contributes when weighted atomic compositions differ. Across the full source-filtered population, subtracting improves over shared fusion by 4.67 percentage points on Qwen 2B and 3.81 points on CORE 2B. The advantage persists in the subset where both captions have parsing support but different weighted atoms. It is therefore not solely explained by one candidate receiving a correction while the other falls back to Global. Together, the two populations distinguish compatibility under a common-region constraint from calibration against the score available under independent choices. All comparisons reuse the same fixed-crop evidence; complete estimates and paired intervals appear in Appendix C.4.
Spatial calibration. The spatial controls test whether the reference helps only by weakening the penalty (Table 2). Uniform weakening rescales every gap by the same factor.
Mean-matched weakening instead matches the average adjusted penalty on unlabeled development inputs, while discarding its image- and entity-specific allocation. It therefore controls for average penalty strength on those inputs, allowing the comparison to examine where penalty relief is applied. Under either scalar control, equal original gaps receive equal adjusted costs, even when the underlying spatial alignments differ. The spatial reference can distinguish these cases by comparing each entity's observed alignment with its own shifted alignments. Mean matching fixes a common multiplier from development-set averages, so it cannot retain this entity-specific reference. This comparison therefore examines the allocation of penalty relief after controlling its average strength on development inputs.
After mean matching, spatial calibration improves ARO accuracy on both backbones. The paired analysis also supports the SCPP gain on Qwen 2B; the CORE 2B SCPP and both COLA intervals include zero. The ARO results thus support image- and entity-dependent calibration beyond matching the development-set mean penalty. These controls reuse the same atomic similarities and crops, so their differences do not rely on a stronger visual representation or additional regional evidence. The references preserve the independent optima while changing shared compatibility. Appendix D gives the control definitions, fixed matching coefficients and complete paired comparisons.
Entity-level clipping. Clipping determines whether calibration acts only as a nonnegative inconsistency cost or can also reward an entity. Retaining signed residuals yields stronger attribute accuracy in Table 2. ConstraintMatch instead preserves the cost interpretation: an entity with a negative residual contributes zero and cannot offset another entity's positive cost. Clipping after averaging permits this cancellation; clipping each entity first prevents it while retaining zero-cost entities in the denominator.
The accuracy effect of this ordering depends on the backbone and task. Compared with Post-mean clip, entity-level clipping improves Qwen 2B ARO accuracy but reduces CORE 2B ARO accuracy, and the two orders have the same mean SCPP swap accuracy. Their COLA comparison does not establish a positive gain. Together, these variants separate spatial calibration from the choice to aggregate nonnegative entity costs. The latter prevents cross-entity cancellation, while the measured tradeoffs identify how that constraint affects each task. Appendix C.4 reports the corresponding intervals.
The base correction's binding gains also persist across the tested crop budgets and nonzero penalty coefficients on all three encoders. This sensitivity analysis tests whether the result depends on a single regional pool or coefficient choice. Appendix D gives the complete sensitivity results and paired intervals.
4.4. Task Structure and Transfer
ConstraintMatch improves overall held-out SCPP accuracy on both backbones, with the largest gain concentrated in attribute swaps. Other SCPP task families change by less than one percentage point in the two-backbone mean. The overall score retains the benchmark's broader mixture of replacements and swaps, showing how that targeted improvement contributes to aggregate performance.
The difference between replacement and swapping makes this concentration interpretable. A replacement can change whether a concept is present, whereas an attribute swap preserves the concepts and challenges their assignment. Strong atomic matches can therefore support both the original caption and its attribute-swapped counterpart. Entity grouping allows shared-region compatibility to differ even when the independent score remains unchanged. This connects the task's construction to the selection constraint, explaining why attribute-swap accuracy is informative alongside the broader benchmark score.
We separately evaluate the base configuration on broader task families (Appendix E). ARO Relation predictions co-incide with Global, primarily because both captions trigger the unchanged fallback. Word-order accuracy decreases on COCO-Order and Flickr-Order. The error transitions identify an important interaction with parsing support: a supported positive can receive a penalty while a negative retains its uncorrected global score. This asymmetry affects candidate comparability as well as coverage and helps explain why binding gains do not automatically transfer to order-sensitive negatives. Single-object COLA and Flickr retrieval show smaller losses. These broader-task results concern the base configuration; Table 1 evaluates ConstraintMatch with spatial calibration.
A common-protocol SigLIP 2 comparison further separates the selection rule from crop count. The base method exceeds SGI with larger view budgets on source-filtered ARO and SCPP swaps, while SGI remains stronger on COLA and official ARO macro accuracy (Appendix E.1). These results connect the value of the correction to task structure and available local evidence, rather than suggesting that increasing the regional budget resolves all compositional errors.
4.5. Computational Cost
Regional evidence construction adds image encoding and index storage beyond global matching (Table 3). The method stores one global and 13 regional vectors per image. Spatial calibration then reuses their condition–region similarities: it changes the reductions over existing evidence and requires neither further encoder calls nor additional image-vector copies. This distinction separates the cost of constructing regional representations from the cost of applying the calibrated score.
| Backbone | Method | I2T | T2I | Index |
|---|---|---|---|---|
| Qwen 2B | Global | 58.89 | 26.87 | 7.81 |
| ConstraintMatch (base) | 192.43 | 44.70 | 109.38 | |
| CORE 2B | Global | 58.65 | 29.13 | 7.81 |
| ConstraintMatch (base) | 193.51 | 60.09 | 109.38 |
Table 3. Measured inference cost. Median (p50) request latency (ms) and FP32 image-vector index size (MiB) for 1,000 images. I2T ranks 5,000 captions; T2I ranks 1,000 images using the cache-reset-pass protocol in Appendix F. ConstraintMatch uses ; spatial-reference updates are measured separately.
We measure the base method's end-to-end request latency and visual-index storage on one A800 SXM4 80GB GPU. The two retrieval directions follow their respective cache protocols, so their measured overheads need not be identical. We report cached spatial-reference updates separately to distinguish their matrix-level cost from end-to-end request latency. Appendix F specifies the timing boundaries, numerical precision and cache handling, and reports the cached updates and larger-view SGI comparisons.
The retrieval direction determines where regional evidence is constructed. In image-to-text retrieval, regional vectors belong to the query image; in text-to-image retrieval, they belong to database images and are precomputed in the visual index. Reversing the direction therefore changes the query-time work while leaving the pairwise scoring rule unchanged. Request latency measures that workflow under the stated cache protocol. Index size instead measures the visual representations retained across requests, so it captures a storage requirement that latency alone does not describe. The index measurement includes image embeddings and excludes model weights, text caches and temporary working memory.
5. Conclusion
ConstraintMatch makes shared regional support for an entity's conditions an explicit component of image-text scoring. It compares independent and shared region choices on fixed evidence, then calibrates their gap using spatial references from the same image. Controlled analyses distinguish the use of a shared region to compare attribute assignments from the independent-reference correction used to calibrate candidate scores. On Qwen 2B and CORE 2B, ConstraintMatch improves attribute binding over global matching and budget-matched SGI, with the same scoring rule applicable in both retrieval directions. These findings show how structured evidence selection can complement frozen representations in compositional image-text matching without retraining the encoders.
References
[1] Sultan Alshehri, Zhantao Yang, Han Zhang, and Marios Savvides. Similarity Is Not Logic: Factored Inference for Dual-Encoder Vision-Language Models. arXiv preprint arXiv:2607.23052, 2026. 1, 3
[2] Rim Assouel, Florian Bordes, Pietro Astolfi, Michal Drozdzal, and Adriana Romero-Soriano. Object-centric Binding in Contrastive Language-Image Pretraining. arXiv preprint arXiv:2502.14113, 2025. 2
[3] Davide Berasi, Matteo Farina, Massimiliano Mancini, Elisa Ricci, and Nicola Strisciuglio. Not Only Text: Exploring Compositionality of Visual Representations in Vision-Language Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 24917–24927, 2025. 2
[4] Haiwen Diao, Ying Zhang, Lin Ma, and Huchuan Lu. Similarity Reasoning and Filtration for Image-Text Matching. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 1218–1226, 2021. 2
[5] Sivan Doveh, Assaf Arbelle, Sivan Harary, Eli Schwartz, Roei Herzig, Raja Giryes, Rogerio Feris, Rameswar Panda, Shimon Ullman, and Leonid Karlinsky. Teaching Structured Vision & Language Concepts to Vision & Language Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023. 2
[6] Sri Harsha Dumpala, Aman Jaiswal, Chandramouli Sastry, Evangelos Milios, Sageev Oore, and Hassan Sajjad. SUG-ARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical Alterations. arXiv preprint arXiv:2406.11171, 2024. 2, 5
[7] Cheng-Yu Hsieh, Jieyu Zhang, Zixian Ma, Aniruddha Kembhavi, and Ranjay Krishna. SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionality. In Advances in Neural Information Processing Systems, 2023. 2
[8] Yufeng Huang, Jiji Tang, Zhuo Chen, Rongsheng Zhang, Xinfeng Zhang, Weijie Chen, Zeng Zhao, Zhou Zhao, Tangjie Lv, Zhipeng Hu, and Wen Zhang. Structure-CLIP: Towards Scene Graph Knowledge to Enhance Multi-Modal Structured Representations. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 2417–2425, 2024. 2
[9] Woosang Jeon, Sanghyeok Choi, Minwoo Kim, Taehyun Jung, and Taehyeong Kim. FRAME: Factored Retrieval via Attribute Readouts for Object-Centric Scene Memory. arXiv preprint arXiv:2609.08886, 2026. 2
[10] Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision. In International Conference on Machine Learning, pages 4904–4916, 2021. 1, 2
[11] Kenan Jiang, Xuehai He, Ruize Xu, and Xin Wang. ComCLIP: Training-Free Compositional Image and Text Matching. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2024. 3
[12] Andrej Karpathy and Li Fei-Fei. Deep Visual-Semantic Alignments for Generating Image Descriptions. In Proceed-
ings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3128–3137, 2015. 2
[13] Kuang-Huei Lee, Xi Chen, Gang Hua, Houdong Hu, and Xiaodong He. Stacked Cross Attention for Image-Text Matching. In Proceedings of the European Conference on Computer Vision, 2018. 2
[14] Junnan Li, Ramprasaath Selvaraju, Akhilesh Gotmare, Shafiq Joty, Caiming Xiong, and Steven Chu Hong Hoi. Align before Fuse: Vision and Language Representation Learning with Momentum Distillation. In Advances in Neural Information Processing Systems, 2021. 2
[15] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation. In International Conference on Machine Learning, pages 12888–12900, 2022. 2
[16] Kunpeng Li, Yulun Zhang, Kai Li, Yuanyuan Li, and Yun Fu. Visual Semantic Reasoning for Image-Text Matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4654–4662, 2019. 2
[17] Mingxin Li, Yanzhao Zhang, Dingkun Long, Keqin Chen, Sibo Song, Shuai Bai, Zhibo Yang, Pengjun Xie, An Yang, Dayiheng Liu, Jingren Zhou, and Junyang Lin. Qwen3-VL-Embedding and Qwen3-VL-Reranker: A Unified Framework for State-of-the-Art Multimodal Retrieval and Ranking. arXiv preprint arXiv:2601.04720, 2026. 5
[18] Zixian Ma, Jerry Hong, Mustafa Omer Gul, Mona Gandhi, Irena Gao, and Ranjay Krishna. CREPE: Can Vision-Language Foundation Models Reason Compositionally? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10910–10921, 2023. 1, 2
[19] Imanol Miranda, Ander Salaberria, Eneko Agirre, and Gorka Azkune. Revisiting Compositionality in Dual-Encoder Vision-Language Models: The Role of Inference. arXiv preprint arXiv:2604.11496, 2026. 1, 3, 5
[20] Letitia Parcalabescu, Michele Cafagna, Lilitta Muradjan, Anette Frank, Iacer Calixto, and Albert Gatt. VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomena. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 8253–8280, 2022. 2
[21] Maitreya Patel, Abhiram Kusumba, Sheng Cheng, Changhoon Kim, Tejas Gokhale, Chitta Baral, and Yezhou Yang. TripletCLIP: Improving Compositional Reasoning of CLIP via Synthetic Vision-Language Negatives. In Advances in Neural Information Processing Systems, 2024. 2
[22] Khoi Pham, Chuong Huynh, Ser-Nam Lim, and Abhinav Shrivastava. Composing Object Relations and Attributes for Image-Text Matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14354–14363, 2024. 2
[23] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen
Krueger, and Ilya Sutskever. Learning Transferable Visual Models From Natural Language Supervision. In International Conference on Machine Learning, 2021. 1, 2
[24] Arijit Ray, Filip Radenovic, Abhimanyu Dubey, Bryan A. Plummer, Ranjay Krishna, and Kate Saenko. COLA: A Benchmark for Compositional Text-to-image Retrieval. In Advances in Neural Information Processing Systems, 2023. 2, 5
[25] Tingyu Song, Mingxin Li, Yanzhao Zhang, Dingkun Long, Chu Liu, Pengjun Xie, Yilun Zhao, and Shu Wu. CORE: Improving Compositional Reasoning in MLLM Embedding via Reranker Distillation. arXiv preprint arXiv:2609.04083, 2026. 5
[26] Austin Stone, Hagen Soltau, Robert Geirhos, Xi Yi, Ye Xia, Bingyi Cao, Kaifeng Chen, Abhijit Ogale, and Jonathon Shlens. Learning Visual Composition through Improved Semantic Guidance. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3740–3750, 2025. 2
[27] Tristan Thrush, Ryan Jiang, Max Bartolo, Amanpreet Singh, Adina Williams, Douwe Kiela, and Candace Ross. Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. 1, 2
[28] Michael Tschannen, Alexey Gritsenko, Xiao Wang, Muhammad Ferjad Naeem, Ibrahim Alabdulmohsin, Nikhil Parthasarathy, Talfan Evans, Lucas Beyer, Ye Xia, Basil Mustafa, Olivier Hénaff, Jeremiah Harmsen, Andreas Steiner, and Xiaohua Zhai. SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features. arXiv preprint arXiv:2502.14786, 2025. 5
[29] Madhukar Reddy Vongala, Saurabh Srivastava, and Jana Kosecka. Compositional Image-Text Matching and Retrieval by Grounding Entities. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pages 241–250, 2025. 3
[30] Tan Wang, Kevin Lin, Linjie Li, Chung-Ching Lin, Zhengyuan Yang, Hanwang Zhang, Zicheng Liu, and Lijuan Wang. Equivariant Similarity for Vision-Language Foundation Models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 11998–12008, 2023. 2
[31] Rui Xiao, Sanghwan Kim, Mariana-Iuliana Georgescu, Zeynep Akata, and Stephan Alaniz. FLAIR: VLM with Fine-grained Language-informed Image Representations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2025. 2
[32] Chunyu Xie, Bin Wang, Fanjing Kong, Jincheng Li, Dawei Liang, Gengshen Zhang, Dawei Leng, and Yuhui Yin. FG-CLIP: Fine-Grained Visual and Textual Alignment. In International Conference on Machine Learning, pages 68777–68793, 2025. 2
[33] Lewei Yao, Runhui Huang, Lu Hou, Guansong Lu, Minzhe Niu, Hang Xu, Xiaodan Liang, Zhenguo Li, Xin Jiang, and Chunjing Xu. FILIP: Fine-grained Interactive Language-
Image Pre-Training. In International Conference on Learning Representations, 2022. 2
[34] Peter Young, Alice Lai, Micah Hodosh, and Julia Hockenmaier. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Transactions of the Association for Computational Linguistics, 2:67–78, 2014. 5
[35] Mert Yuksekgonul, Federico Bianchi, Pratyusha Kalluri, Dan Jurafsky, and James Zou. When and Why Vision-Language Models Behave like Bags-of-Words, and What to Do About It? In International Conference on Learning Representations, 2023. 1, 2, 5
[36] Yan Zeng, Xinsong Zhang, and Hang Li. Multi-Grained Vision Language Pre-Training: Aligning Texts with Visual Concepts. In International Conference on Machine Learning, pages 25994–26009, 2022. 2
[37] Xiaohua Zhai, Xiao Wang, Basil Mustafa, Andreas Steiner, Daniel Keysers, Alexander Kolesnikov, and Lucas Beyer. LiT: Zero-Shot Transfer With Locked-Image Text Tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18123–18133, 2022. 2
[38] Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid Loss for Language Image Pre-Training. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 11975–11986, 2023. 2
[39] Qi Zhang, Yuxu Chen, Lei Deng, and Lili Shen. ABE-CLIP: Training-Free Attribute Binding Enhancement for Compositional Image-Text Matching. arXiv preprint arXiv:2512.17178, 2025. 1, 3
[40] Tiancheng Zhao, Tianqi Zhang, Mingwei Zhu, Haozhan Shen, Kyusong Lee, Xiaopeng Lu, and Jianwei Yin. An Explainable Toolbox for Evaluating Pre-trained Vision-Language Models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 30–37, 2022. 2