arXiv:2610.25739cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25739

How Much Does One Wrong Answer Cost? Error Propagation in Constraint Pruning with Noisy LLM Oracles

Zhengtao Gui, Weining Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Constraint pruning saves queries to a large language model (LLM) or another noisy oracle by skipping each yes/no question implied by answers accepted earlier, for example through transitivity. Entity-resolution systems and LLM-based rankers use this idea. However, their analyses typically assume a correct oracle. We argue that pruning should be judged by its risk when the oracle errs, since an accepted wrong answer spreads to every question it implies. When each answer is wrong independently with small probability ε\varepsilon, the first-order risk is set by how many facts one wrong answer corrupts on average. We consider two kinds of constraints. For implication rules, as in taxonomies, pruning in a random order adds no first-order risk: a wrong answer that would change k facts is accepted with probability 1/k1/k, so it costs one fact on average. Rules with s premises break this balance: a wrong answer at a premise shared by r rules can cost order r1−1/sr^{1-1/s} facts. For entity resolution with m records of one entity, the first-order risk equals ε\varepsilon times the Wiener index (the total pairwise distance) of the spanning tree built by the query order. Pivot orders, which first compare one record with all others, amplify errors by less than 2 and are optimal; random orders by order m1/3m^{1/3}; the common most-similar-first order is the worst in one dimension and, for large m, worse than random in two. With several entities, the cost of wrongly merging two does not depend on how many others exist. Simulations agree with every predicted constant within sampling error.

1 INTRODUCTION

Constraint pruning reduces the cost of collecting related yes/no facts from an oracle, such as an LLM or a human annotator, whose answers may be wrong. In entity resolution, a system asks whether two records refer to the same entity and skips pairs implied by transitivity (Wang et al., 2013; Vesdapunt et al., 2014). For example, accepting that A and B are the same and that B and C are the same determines the answer for A and C without another query. Similar propagation occurs when enforcing entailment and contradiction constraints between LLM beliefs (Mitchell et al., 2022), skipping comparisons in LLM ranking (Agrawal et al., 2026), or propagating orientation hints in causal discovery (Meek, 1995; Long et al., 2023; Lyu et al., 2026).

However, an accepted error can also propagate to un-queried facts. If A, B and C belong to one entity, a correct “same” answer for A, B followed by a wrong “different” answer for B, C implies a wrong “different” answer for A, C. In the synthetic citation records of Figure 1, one oracle error thus produces two final wrong decisions and saves one query, and the output is still logically consistent. Query counts alone cannot capture this cost. Prior work studies recovery probabilities, assumes deterministic oracles or examines the robustness of query structures (Long et al., 2023; Hiremath et al., 2026; Agrawal et al., 2026; Galhotra et al., 2018).

We study greedy closure decoding: process questions in an order, skip those implied by accepted answers, and otherwise query and accept the oracle's answer, without revisiting earlier decisions. We measure risk by the expected number of final wrong facts, including inferred ones. The raw baseline asks every question and uses its answer unchanged, without enforcing consistency. Both procedures use the same potential answers: the answers the oracle would give if each question were asked.

In single-error analysis, we make one potential answer

A Three records, one paper

Citation deduplication example

A Graph matching

Chen et al.

B Graph-matching

J. Chen

C Graph matching

Chen, J.

Illustrative record strings

B One wrong answer

Noisy LLM answers

Figure

2 DIFFERENT · queried

Solid: queried · Dashed: inferred

A-C inferred; query skipped

C Two wrong decisions

A-B

SAME

B-C

DIFFERENT · queried

A-C

DIFFERENT · inferred

1 error → 2 wrong pairs

One query saved

Figure 1: Propagation in three synthetic citation records of one publication: one wrong answer produces two wrong pair decisions and saves one query.

wrong and keep all others correct. We count the final wrong facts caused by each error location, averaging over query orders when they are random. In Figure 1, damage is 2; it is 0 if earlier correct answers imply and skip the wrong question. Under independent errors of small probability ε\varepsilon (Long et al., 2023; Hiremath et al., 2026), events with two or more errors have probability O(ε2)O(\varepsilon^{2}) for a fixed finite instance. A reduction lemma expresses risk as ε\varepsilon times the sum of single-error damages, plus O(ε2)O(\varepsilon^{2}). The term linear in ε\varepsilon is the first-order risk; its ratio to the raw baseline's nεn\varepsilon is the error amplification, where n counts questions. Random-order ranking and Meek propagation are not analyzed.

Using single-error analysis, we derive the following first-order risk laws:

• Risk conservation for pairwise constraints. For every satisfiable 2-CNF theory, including implications and pairwise contradictions, uniformly random orders give mean single-error damage 1 for unfixed facts and 0 for facts fixed by the constraints. Pruning therefore does not increase first-order risk over raw decoding (Section 4).

• Error amplification through a shared premise. For kk Horn rules with s≥2s \geq 2 premises each and one shared false premise, we derive the exact mean damage of a single wrong answer there, growing as Θ(k1−1/s)\Theta(k^{1-1/s}) under uniformly random orders, for fixed ss (Theorem 6).

• Relating query order to tree structure. For m records of one entity, independent errors at a common rate give first-order risk equal to that rate times the noiseless query tree’s Wiener index (total pairwise tree distance). Pivot stars minimize this risk among greedy orders, with amplification below 2; random orders give Θ(m1/3)\Theta(m^{1/3}), and similarity-first can be worse under Theorem 11’s embedding assumptions. We also give bounds for multiple errors at any error rate (Section 5.1).

• Locality of a single false merge. With only one wrong answer, false-merge damage depends only on the two affected entities. This yields separate within-entity and cross-entity first-order risks. We give bounds, exact small cases and the pivot pipeline’s exact first-order formula; the large-cluster growth exponent remains a conjecture (Section 5.2).

We test the theoretical predictions and compare query orders using simulations and LLM answers on the Cora citation data (Section 6).

References (45)