Beyond Global Alignment: Structured Compositional Reasoning for Vision-Language Models

Zhoujun Ye, Yiwei Fu, Qiyun Huang, Jie Yang, Dongjie Wang, Xiao LuoNeurIPS 2026

TL;DR

Vision-language models like CLIP are phenomenal at spotting what is in an image, yet surprisingly clumsy at understanding how things relate—often treating "a dog chasing a cat" identically to "a cat chasing a dog." This paper introduces DELTA, a fine-tuning framework that breaks this "bag-of-words" habit by explicitly teaching models directional grammar in text and localized attribute-binding in images. The result is a sharper, structure-aware model that significantly outperforms larger architectures on tricky compositional benchmarks.

What Problem Does This Paper Address?

Imagine looking at a red cube next to a blue sphere. To human eyes, swapping the colors to describe a "blue cube and red sphere" changes everything. To foundational Vision-Language Models (VLMs) like CLIP, however, those two descriptions look nearly identical in embedding space.

Why? Because standard VLMs rely on global alignment. They compress an entire image into one vector, squash an entire sentence into another, and train them to match. While great for coarse recognition, pooling everything into a single summary washes away fine-grained compositional structure. Models end up acting like "bags of words," failing at two fundamental tasks:

  1. Relation direction: Distinguishing who is doing what to whom (e.g., A is behind B vs. B is behind A).
  2. Attribute-object binding: Knowing which adjective belongs to which noun without mixing them up in multi-object scenes.

Existing fixes mostly throw synthetically scrambled "hard negative" captions at the global contrastive loss, hoping the model figures out the structure implicitly. The authors ask: instead of hoping global vectors magically untangle grammar and spatial layout, can we build explicit mechanisms for them?

Comparison of existing global alignment methods versus DELTA's structured compositional approach.

Methods

Starting with a standard pretrained CLIP backbone (ViT-B/32) and standard online rule-based hard negatives, the authors introduce DELTA (Directional Relation Bucketing with Binding Localization), adding two novel structural components—one for text, one for vision:

  • Direction-Aware Relation Bucketing (Text Side): Standard positional encodings count raw token steps, ignoring context. DELTA introduces a learnable gating mechanism that measures the contextual distance between tokens, mapping these continuous relational distances into a finite vocabulary of discrete, direction-aware "buckets." These buckets inject relational biases directly into the text encoder's attention keys and values. Furthermore, because final-layer pooling often blurs syntax, DELTA adaptively blends intermediate-layer hidden states into the final text representation, optimizing this with a dedicated relation-aware ranking loss.
  • Object-Conditioned Binding Localization (Vision Side): Instead of matching an adjective to the whole image, DELTA grounds attributes locally in two steps. First, it extracts the object noun (e.g., "parrot") and computes soft attention over image patches to create an object prior—a spatial heatmap of where that object lives. Second, conditioned on that location prior, it retrieves patch-level visual evidence for both the true attribute ("yellow") and a mismatched negative attribute ("green"), using a binding loss to pull patches toward true attributes and push away imposters.
Figure 2: Overview of DELTA. DELTA addresses compositional misalignment from both textual and visual perspectives: (a) the text branch estimates gated contextual distances between token pairs and combines bucket embeddings with intermediate-layer hidden states to inject direction-aware relational cues; (b) the vision branch uses object and attribute cues to retrieve patch-level evidence, grounding matched attributes while suppressing attribute-based negatives.

Datasets

No new datasets are introduced; the authors follow established protocols to ensure fair comparisons:

  • Training: Fine-tuned for 5 epochs on a 100K image-text subset of MS-COCO (under the standard Karpathy split).
  • Zero-Shot Evaluation: Tested across four established compositional reasoning benchmarks where models must pick the right caption against subtle foils: VALSE, ColorSwap (testing color-object swaps), CREPE, and SugarCrepe (designed to fix statistical biases in older counterfactual benchmarks).

Key Insights and Ideas

  • Scale alone won't save you: One might assume bigger backbones naturally solve compositionality. Yet DELTA (built on ViT-B/32) comfortably beats larger ViT-B/16 and ViT-L/14 models—even when those giants are fine-tuned on the exact same data. Explicit inductive biases capture structural cues that raw parameter scaling misses.
  • Discrete buckets beat continuous distances: In ablations, discretizing contextual distances into buckets outperformed a smooth, continuous distance bias. With limited fine-tuning data (100K pairs), discrete buckets act as a stabilizing inductive bias for learning directional grammar.
  • Intermediate layers remember grammar: Linear probing of frozen text layers revealed that middle layers (layers 6–8) preserve subject-object roles that typically get lost by the final layer—validating DELTA's choice to rescue and calibrate intermediate representations.
  • Mathematical grounding: The authors provide a theoretical proof showing that under reasonable assumptions (when the object prior roughly separates target patches from background), strengthening the object-conditioning weight $\gamma$ suppresses off-object distractors and guarantees a positive attribute-binding margin.

Key Results

Across all four benchmarks, DELTA achieves an overall average accuracy of 66.1%, jumping +16.4 percentage points (pp) over vanilla CLIP (49.7%) and beating the strongest fine-tuning baseline, FSC-CLIP (61.0%), by +5.1 pp.

  • Benchmark Sweeps: DELTA takes the top average spot on every dataset: 77.1% on VALSE (+9.7 pp over CLIP), 48.7% on ColorSwap (+13.0 pp), 51.2% on CREPE (+27.4 pp), and 87.5% on SugarCrepe (+15.5 pp).
  • Binding Mastery: Compared to LABCLIP—a recent method specifically targeting attribute-object binding—DELTA scores +14.2 pp higher overall, including massive leaps on ColorSwap (+20.7 pp) and CREPE (+22.2 pp).
  • Qualitative Proof: Attention visualizations confirm that while standard CLIP smears attention across background clutter, DELTA tightly highlights the queried object (e.g., focusing cleanly on a pilot's indigo uniform or distinguishing a couch from a coffee table).
Table 1: Main results on multiple benchmarks. Best results are in bold, second-best results are underlined, and arrows indicate the change of each method relative to CLIP in percentage points (pp).

Limitations and Future Work

The authors candidly highlight a few caveats:

  • The Specificity-Generality Trade-off: Fine-tuning for sharp compositional reasoning causes a dip in general zero-shot image classification performance—a classic tug-of-war between fine-grained structural sensitivity and broad recognition.
  • Visual Crowding: Because binding localization leans heavily on the learned object prior, accuracy can falter when multiple objects heavily overlap or visual attributes are ambiguous.
  • Future Directions: Next steps include testing whether these gains transfer to complex, interactive multimodal tasks (like conversational VLM agents), developing sturdier visual grounding for cluttered scenes, and preserving general classification accuracy alongside compositional smarts.

Summary updated

Abstract

Despite remarkable progress in image-text understanding, vision-language models (VLMs) still struggle with compositional reasoning. In particular, they often fail to resolve relation direction and bind attributes to the correct objects, leading to similar representations for semantically different image-text pairs. This problem mainly stems from the reliance on global image-text alignment, which captures coarse correspondence but overlooks fine-grained compositional structures. To address these limitations, we propose an evidence-aware framework, termed Directional Relation Bucketing with Binding Localization (DELTA), to improve compositional understanding in VLMs. The key idea of our DELTA is to improve compositionality of VLMs from two complementary perspectives: direction modeling and binding localization. More specifically, we first leverage a learnable gate to model the cumulative contextual distance between anchor terms, thereby assigning relation concepts to direction-aware discrete buckets. To enrich textual representations with fine-grained relational semantics, we calibrate global semantic representations by incorporating intermediate-layer hidden states. Furthermore, DELTA leverages textual cues to ground visual evidence for object attributes, pulling image patches closer to their matched attribute descriptions while pushing them away from mismatched attribute descriptions. Extensive experiments on four compositional datasets demonstrate the effectiveness of the proposed DELTA. Code is available at https://github.com/Zhoujun-Ye/DELTA.
BibTeX
@inproceedings{ye2026beyond,
  author = {Zhoujun Ye and Yiwei Fu and Qiyun Huang and Jie Yang and Dongjie Wang and Xiao Luo},
  title = {{Beyond Global Alignment: Structured Compositional Reasoning for Vision-Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4HnBl3JKLK},
}
Figure