Checking Visual Bindings Against Their Own Logical Consequences

Vision-language models often see the right things and still reason wrongly about them. On MuSLR-Bench, a test of formal logic over images and text, about 70% of failures are what its authors call logical misalignment. The model recognizes the objects in the image and knows the rule, but it attaches the wrong observation to the wrong variable, for example treating the left vehicle as the one that ran the red light. We propose a zero-shot pipeline that does not trust any single act of attaching an observation to a variable, which we call a binding. A frozen model first fills each slot of a fixed, rule-derived vocabulary through small multiple-choice questions. A deterministic rule engine then computes everything those bindings imply. Some of those implied facts are themselves visible in the image, and we put each of these back to the model as a fresh, independent question. When the model's answer disagrees with what the bindings imply, the rule engine's proof trace points to the few bindings responsible, and only those are re-queried.

The underlying idea comes from knowledge-base engineering. There, forward-chaining engines compute the full set of conclusions that follow from known facts (the deductive closure) in order to fill in missing links. Here we use that closure for a second purpose: as a source of extra, independently checkable questions about the same image. A wrong binding usually implies something visibly false a few steps downstream. A model that cannot reliably bind variables in one long chain of reasoning can often still answer a pointed yes/no question correctly. If that holds, mutual consistency checks can repair bindings without fine-tuning, without domain-specific perception tools, and without the long free-text reasoning chains that are known to drift.

Core Claim

The claim is that most logical-misalignment errors can be detected and corrected at inference time. The detector is the disagreement between bindings and their deductive consequences that can be observed in the image. We call this step consequence-based cross-examination. It should produce gains beyond what comes from simply handing the model's output to a solver. The decisive comparison is between the full pipeline and the same pipeline with cross-examination removed. If removing it costs nothing, the contribution reduces to "translate to logic and solve," which prior work already covers, and the claim fails.

Relation to Prior Work

Four lines of work frame the proposal. Each plays a different role.

The first line motivates the problem by measuring it. MuSLR built the benchmark and the error taxonomy that makes misalignment measurable. Its LogiCAM solver selects premises, decides whether each step needs strict logic or commonsense, and loops until the question is answered. Every step is free-text prompting, and it has no symbolic engine that could expose a bad binding. MATH-Vision reports that 42.2% of GPT-4V's errors are reasoning errors made after correct recognition. It also reports that chain-of-thought (CoT) prompting sometimes lowers accuracy. Together these results tell us not to add more generated reasoning text.

The second line supplies the method. AutoGPS shows the value of a feedback loop in which a symbolic reasoner sends diagnostics back to a multimodal formalizer. It reaches 81.6% on Geometry3K. However, its formal language and supervised point detectors are specific to plane geometry, and its feedback reacts to inconsistencies inside the formalization. Our pipeline is domain-general, uses no trained perception tools, and draws feedback from new visual queries generated by the closure itself. Suzuki et al. converted scene graphs into first-order logic. They used circumscription, a closed-world assumption that treats anything not observed as false, so that negation and "every/no" statements can be checked. Their system is pre-LLM and fails when the upstream detector is noisy. We keep their closed-world treatment and replace the fixed detector with a model that can be re-queried when a binding is suspect. LLMProKBQA pairs an LLM parser with SWI-Prolog and transitivity and reversibility rules. It is text-only and relies on QLoRA fine-tuning over templated data, which its authors note makes it brittle on natural phrasing. We reuse its engine choice and avoid the fine-tuning.

The third line supplies the rule-engine operations. PyClause exposes MATERIALIZE, which computes the closure, and EXPLAIN, which returns the facts and rules that support a derived atom. These are exactly the two operations we need. Its restriction to Horn rules (simple if-then rules) without negation constrains our design. Because MuSLR-Bench includes first-order and non-monotonic logic, we run SWI-Prolog with negation-as-failure for the general case and implement explanation through Prolog proof trees.

The fourth line, on prompting, supplies the query format. Turning open-ended generation into multiple-choice selection (Cho et al.) and splitting a large decision into many small, isolated queries (Ma et al.) both reduce output entropy. We apply them to binding: each query asks which of a short list of visual entities fills one role in one predicate. DCoT also uses staged prompting. Its first-turn bounding-box errors cannot be corrected later. Correcting exactly that kind of early error is what our pipeline is designed to do.

Research Program

The pipeline has four stages.

  1. Vocabulary. From the textual rules alone, the model writes Horn-style or first-order clauses together with a closed predicate vocabulary. Each predicate is tagged as observable (directly checkable in the image) or latent (only derivable). This step is text-to-logic and is checked syntactically by the engine.
  2. Binding. An entity inventory is collected once from the image. Every argument slot of every observable predicate is then filled by a separate multiple-choice query that includes a "none" option. The model's probability for its choice is recorded as a confidence score when the API exposes it; otherwise we use agreement across a few samples.
  3. Closure. SWI-Prolog computes the closure under the closed-world assumption for observable predicates.
  4. Cross-examination. We select up to $k$ derived atoms that are observable but were never directly queried, prioritizing those with deep proofs. Each is asked as an isolated yes/no question in a fresh context that does not show the derivation. Each disagreement yields, through the proof trace, a support set of base bindings. We then choose the binding assignment that minimizes total disagreement weighted by confidence. This is a small weighted satisfiability problem over the implicated slots, solved exactly because the support sets are small. Only implicated slots are re-queried, using their runner-up candidates.

We will analyze when the method should work. Cross-examination helps only when two conditions hold. First, verification questions must be answered more accurately than binding questions. Second, verification errors must be roughly independent of binding errors. We will measure both directly on a human-audited sample. If either condition fails, the method has no lever, and the audit will show it.

Baselines

The naive reference is the frozen base model answering directly, plus zero-shot CoT. MuSLR reports 46.8% accuracy for GPT-4.1 with CoT on MuSLR-Bench, 38.93% for GPT-4o, and 45.20% for InternVL. We will re-run these numbers under our prompts rather than copy them.

The strongest existing competitor is LogiCAM on the same base model. It is the only published general-purpose method aimed at this exact benchmark, and it is reported to improve GPT-4.1 by 14.13% overall and by 13% at depths 8–9. That figure is a relative improvement as reported; we will recompute it in absolute points under our runs.

A second strong competitor is self-consistency CoT, which samples several reasoning chains and takes a majority vote. We set its number of samples to match the number of model calls our pipeline actually uses per item.

The key ablation is our own pipeline without cross-examination. It keeps the vocabulary, the multiple-choice binding, and the solver, and drops only the consistency check. This ablation is effectively a well-engineered "translate then solve" system. A second ablation replaces multiple-choice binding with one-shot generation of the full fact list. This separates the gain from the query format from the gain from cross-examination.

All systems will use the same base models (GPT-4.1 and an open InternVL model), the same instances, the same small set of exemplars (zero or three), and a matched budget of model calls and tokens per item. Prompts will be tuned on a held-out 10% development split. Beating the field means that, at matched calls, the full pipeline exceeds both LogiCAM and self-consistency CoT. It also means that the full pipeline exceeds the no-cross-examination ablation by more than the across-seed confidence interval, and that this gap concentrates in deep-reasoning items.

Why not just…?

Why not just have the model write the whole logic program and run a solver? This is the most serious threat. It is the obvious move suggested by AutoGPS and LLMProKBQA. It is also exactly our no-cross-examination ablation run with free-form generation. Nothing in the file shows that it fails on MuSLR-Bench. Our expectation, which is a hypothesis and not a result, is that a solver faithfully propagates wrong bindings, so misalignment errors survive translation untouched. The ablation settles this directly. If one-shot translation plus a solver matches the full pipeline, we drop cross-examination as a contribution.

Why not just sample more chains of thought and vote? Voting fixes errors that vary randomly from sample to sample. Misalignment may instead be systematic, in which case every sample makes the same wrong binding. MATH-Vision's finding that CoT can hurt multimodal models also suggests that longer generated chains add drift. The call-matched self-consistency baseline tests this. We will additionally report how often voting's errors match the misaligned bindings found in our audit.

Why not just use LogiCAM's iterative prompting loop? LogiCAM already iterates. However, its completion check is the same model rereading its own text, so it has no independent signal that a binding is wrong. Running it at matched budget on identical items answers whether a symbolic consistency signal adds anything beyond iteration.

Why not fine-tune a formalizer as AutoGPS and LLMProKBQA do? Fine-tuning would probably help in-domain. MuSLR-Bench's 1,093 items across 7 domains are too few to train on without leakage, and the cited fine-tuned systems are tied to one domain or to templated data. We treat fine-tuning as out of scope. We use Geometry3K only to measure how far a tool-free general method falls short of the specialized system.

Proposed Experiments

The primary evaluation is MuSLR-Bench. We report accuracy overall, by reasoning depth (2–9), and by logic type (propositional, first-order, non-monotonic).

The decisive mechanistic check is an audit of 200 items by two annotators. For each system, annotators classify every error using MuSLR's taxonomy. Success requires two findings. First, the misalignment share must fall clearly below the roughly 70% reported for base models, while the perception-error share (11–18% for open models) stays about the same. Second, the fraction of injected binding errors that cross-examination detects must rise with proof depth, because deeper proofs yield more observable consequences per binding.

A controlled stress test injects known wrong bindings into correct runs. This measures detection and repair rates separately from the model's own errors.

For negation and quantification, we evaluate on the Visual Genome entailment setting of Suzuki et al.. Their reported F1 scores are 28.18 for quantification and 73.39 for negation. This tests whether closed-world closure combined with re-queryable perception improves on a fixed scene-graph detector.

For transfer, we run on Geometry3K with geometry axioms written as rules but without point detectors. AutoGPS's 81.6% is a ceiling, not a target. We will report how much of the gap between the frozen base model and that ceiling cross-examination closes.

Two outcomes would falsify the claim. One is that verification questions are no more accurate than binding questions. The other is that the full pipeline does not beat its no-cross-examination ablation at matched budget. Either outcome would show that consistency checking cannot substitute for better perception.