research35 min studyLesson 798 in Engineering

Grounding requires evidence-sensitive task tests beyond fluent captions

Use matched image-text contrasts, valid media interventions, and attribution controls to distinguish semantic evidence use from language priors and presentation artifacts.

On this page

What you’ll understand

  • Evaluate both image-conditioned text choices and text-conditioned image choices.
  • Compute a matched-pair group criterion with explicit score directions.
  • Design evidence interventions without confusing output sensitivity or attention maps with complete semantic explanations.

A model can describe a scene fluently using common object names while missing who is left of whom or which object performed an action. Caption quality and grounded relational discrimination therefore need different tests. A useful evaluation holds many words and visual entities constant while changing the relation that the task asks about. It also checks whether the model's answer responds to the relevant evidence rather than a prompt prior. These tests support scoped claims about behavior; they do not reveal a complete internal reasoning process by themselves.

Make the competing interpretations genuinely discriminative

Construct matched images and captions where both images contain similar objects but the correct relation differs. The captions can use the same words in a changed order, preventing a bag-of-objects strategy from solving every comparison. Winoground is an original example of this evaluation idea. Check annotation validity and whether the detail survives preprocessing; a cropped-away object makes the test ambiguous rather than revealing a reasoning failure. Preserve the scoring direction and aggregation unit so a matched group is not counted as several independent successes without its joint requirement.

For two images and their intended captions, test both directions. Holding each image fixed, its correct caption should score above the alternative. Holding each caption fixed, its correct image should score above the alternative. A model can satisfy all row comparisons while failing a column comparison because one image receives generally larger scores. Report the component results and the all-required group criterion. These quantities are not interchangeable with generative fluency, answer length, or a pooled score over unrelated easy examples.

G=∏i=121{s(Ii,Ti)>s(Ii,T3−i)} 1{s(Ii,Ti)>s(I3−i,Ti)}G=\prod_{i=1}^{2}\mathbf1\{s(I_i,T_i)>s(I_i,T_{3-i})\}\,\mathbf1\{s(I_i,T_i)>s(I_{3-i},T_i)\}
This binary matched-group example requires all four strict comparisons, with larger scores meaning a better match. Ties fail under this declared rule. G is dimensionless and is not a generation-quality or causal-attribution metric. The pairing and annotations must be valid before interpreting failures.↔ Scroll wide equations horizontally.

Intervene on relevant and irrelevant evidence separately

A controlled media change can test whether an answer depends on the evidence required by the task. Swap the relevant relation, remove a clearly annotated region, or replace an audio event while keeping the instruction fixed and labels valid. Include irrelevant-region or unrelated-content changes as controls. Cropping and occlusion can introduce artifacts or remove context, so an output change alone does not prove the intended semantic mechanism. Verify that the intervention actually changes the target fact and that the resulting input remains interpretable.

Attribution maps, attention weights, and gradients can suggest where to investigate, but a highlighted area alone does not establish that the model used that area in the required causal or semantic way. Combine diagnostics with task-specific perturbations, alternative explanations, and repeated examples. Distinguish a causal intervention on the model input from a causal claim about the real-world scene. A score difference under an edited image measures behavior under that edit; it does not by itself certify human-like reasoning or identify every feature responsible for an answer.

Δs=s(Isupported,T)−s(Icounter,T)\Delta_s=s(I_{\rm supported},T)-s(I_{\rm counter},T)
T is fixed and the two media inputs form a validated task contrast. Delta_s has the score's units and its expected sign depends on the intended relation. A positive value is scoped evidence of discrimination on that contrast, not a complete explanation, calibrated probability, or guarantee against artifacts.↔ Scroll wide equations horizontally.

Separate pipeline errors from semantic limitations

Before attributing a failure to grounding, verify image ownership, feature visibility, preprocessing, and prompt serialization. Then evaluate relation types, small details, OCR, temporal order, and missing-evidence cases by cohort. Include text-only and shuffled-media baselines when they are meaningful, with the same scoring and output rules, to expose language priors or leakage. Report uncertainty at the group or asset level rather than pretending related captions and crops are independent. A strong result on one curated contrast set should be described with its dataset and task scope.

The vector lab demonstrates a fully specified numerical intervention, not learned grounding. Reset, set both angle 0° and magnitude 1, predict x-component 1, then inspect or Play. Reset and set both angle 180° and magnitude 1 for x-component−1. The reference direction is fixed and the output change follows cosine by construction. There are no images, captions, latent features, attribution maps, or reasoning task. The activity illustrates holding one parameter fixed while changing another; actual grounding requires the validated media contrasts and behavioral controls described here.

Perfect row choices can still fail a matched group

Two images I1,I2 pair with captions T1,T2. Larger is better. Their score matrix, with images as rows and captions as columns, is[[0.8,0.7],[0.9,1.0]]. Assume the two intended diagonal pairings are correctly annotated.

  1. For fixed I1,0.8>0.7 chooses T1. For fixed I2,1.0>0.9 chooses T2. Thus both image-conditioned caption choices pass:2 of 2 row comparisons.

  2. For fixed T1, score 0.9 for I2 exceeds 0.8 for its correct I1, so that image choice fails. For fixed T2,1.0>0.7 correctly chooses I2. Only 1 of 2 column comparisons passes.

  3. The group requires all four comparisons, so G=0 for this one group despite perfect row choices. The numbers do not assess caption grammar, attention attribution, or open-ended generation quality.

The result

Bidirectional and joint criteria reveal a failure hidden by a single directional summary. The diagnosis remains scoped to these valid matched contrasts.

Explore the model

Interactive lab

Interactive lab · vectors

A known input intervention is different from semantic grounding

Reset, set both angle 0° and magnitude 1, predict x-component 1, then inspect or Play. Reset and re-enter both angle 180° and magnitude 1 for x-component−1. The exact one-vector projection has a fixed reference and no learned model, media, caption, or attribution mechanism. It illustrates a controlled parameter change only.

A known input intervention is different from semantic groundingPlayback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Current readings: x component: 1.393; y component: 0.975; Magnitude: 1.7. All parameters are adjustable with the labeled controls below.−7.46−3.7303.737.46−3.5−1.7501.753.5xyvvₓ = 1.39
Vectorx / y projectionsTrace marker
x component
1.393
y component
0.975
Magnitude
1.7
t = 0 s

Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forUse valid task contrasts and controls before interpreting output changes as evidence of grounded understanding.

Check your understanding

A model produces fluent captions and an attention map highlights an object. Which evidence best strengthens a scoped relational-grounding claim?

Try it yourself

For intended diagonal pairings, a larger-is-better score matrix is[[0.9,0.2],[0.3,0.8]]. Evaluate both row comparisons, both column comparisons, and the strict all-four group value. What broader claim remains unproved?

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Compare each diagonal score with the other entry in its row and column.

Compare with the solution

Rows pass because 0.9>0.2 and 0.8>0.3; columns pass because 0.9>0.3 and 0.8>0.2. All four pass, so G=1. This one valid group does not establish universal grounding, calibrated confidence, an internal causal explanation, or performance on other relation and media cohorts.

Take it with you

  • Fluent generation and grounded relational discrimination require different evaluations.
  • Matched groups can expose errors hidden by one-directional averages.
  • Combine validated evidence interventions with controls and preserve the scope of the conclusion.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.