Latent Veracity Inference for Identifying Errors in Stepwise Reasoning
Minsu Kim, Jean-Pierre Falet, Oliver E. Richardson, Xiaoyin Chen, Moksh Jain, Sungjin Ahn, Sungsoo Ahn, Yoshua Bengio
TL;DR
The paper tackles the problem of inaccuracies in chain-of-thought reasoning by introducing latent veracity variables for each reasoning step and modeling their relationship to the final answer. It presents Veracity Search (VS), a discrete, MCMC-based procedure that uses a proxy reward R(v) = P_{LM}(v, y^* | x, z) to infer veracity assignments, and Amortized Veracity Inference (AVI), which trains a verifier to enable zero-shot veracity inference without access to the true answer. Empirical results across ProntoQA, GSM8K, and CommonsenseQA show that VS outperforms strong baselines in identifying erroneous steps and that AVI provides effective veracity guidance for self-correction and improving downstream reasoning. The work demonstrates scalability to longer reasoning chains, analyzes hyperparameters, and highlights practical benefits such as improved sample efficiency and test-time zero-shot veracity inference, while acknowledging limitations related to error distributions and the need for integrating veracity signals into more comprehensive self-improvement loops.
Abstract
Chain-of-Thought (CoT) reasoning has advanced the capabilities and transparency of language models (LMs); however, reasoning chains can contain inaccurate statements that reduce performance and trustworthiness. To address this, we propose to augment each reasoning step in a CoT with a latent veracity (or correctness) variable. To efficiently explore this expanded space, we introduce Veracity Search (VS), a discrete search algorithm over veracity assignments. It performs otherwise intractable inference in the posterior distribution over latent veracity values by leveraging the LM's joint likelihood over veracity and the final answer as a proxy reward. This efficient inference-time verification method facilitates supervised fine-tuning of an Amortized Veracity Inference (AVI) machine by providing pseudo-labels for veracity. AVI generalizes VS, enabling accurate zero-shot veracity inference in novel contexts. Empirical results demonstrate that VS reliably identifies errors in logical (ProntoQA), mathematical (GSM8K), and commonsense (CommonsenseQA) reasoning benchmarks, with AVI achieving comparable zero-shot accuracy. Finally, we demonstrate the utility of latent veracity inference for providing feedback during self-correction and self-improvement.
