From Outcomes to Components: A Counterfactual Evaluation Framework for LLM-Proposed Repairs

arXiv:2610.26650 · cs.AI, cs.CL · Submitted 2026-10-19 · Read on arXiv

cs.AI, cs.CL

Submitted: 2026-10-19

Updated: 2026-10-19

Comments: 29 pages, 5 figures

License: http://creativecommons.org/licenses/by/4.0/

The gist: An LLM-generated repair action specifies which records to change and by how much.

Terminology

Abstract

An LLM-generated repair action specifies which records to change and by how much. A failed action may still contain a useful target set or numerical update, depending on how the two are paired. We evaluate this problem in traffic networks and databases, where aggregate observations obscure the records that need correction. We examine the pairings by executing each combination from the same initial state, using a reference action that restores the affected records. In 76 of 114 traffic actions, the gain from correcting both parts exceeds the sum of the gains from correcting each part alone. Six of these actions become worse after either correction alone, but improve when both parts are corrected. In database repair, replacing only the proposed update with the reference update worsens 17 of 108 model actions, all of which select unaffected records. We also test whether parts of two proposals can be reused. On held-out observations, selecting among the proposals and their recombined target-update pairs recovers 61.6% of the reference action's loss reduction, compared with 58.0% from selecting between the proposals alone.

Related papers