Back to Publications

Error Localization and Steering of Language Model Quantitative Reasoning

Hongchao Zhang, Guocheng He, Ben Wooding, Ahmad Taha, Taylor T. Johnson, Meiyi Ma

2027

Under review at ICLR 2027

Project: AI Verification and Interpretation

Description

A single invalid step can derail a language model’s solution to a quantitative problem. This work represents each step as a typed factor graph and uses a satisfiability solver to find the first conflict. It then preserves the verified prefix and regenerates the erroneous step with correction conditions derived from the conflict.

Three cards cost six dollars. A proposed price of three dollars per card conflicts with the total. Two dollars per card satisfies it and prices five cards at ten dollars. Three cards cost six dollars. A proposed price of three dollars per card conflicts with the total. Two dollars per card satisfies it and prices five cards at ten dollars.
An illustrative price problem. The proposed unit price conflicts with the original total. Repairing that one step preserves the premise and gives the correct price. Website illustration