Answers are grounded in this paper and cite their sources.
Large Language Models (LLMs) exhibit a specific and previously undercharacterised reasoning failure we term symbolic drift hallucination: an intermediate variable within a multi-step computation graph silently receives an incorrect value, which then propagates through all subsequent derivations to yield an output that is linguistically coherent, structurally sound, and numerically wrong. This failure mode is invisible to existing single-signal verifiers because the model’s verbally stated answer and its generated symbolic code both carry the same corrupted value, causing them to agree on an incorrect result. We present HalluciNOT (Hallucination Neutralisation via Obligatory Testing), a three-stage post-hoc framework comprising: a constrained Program-of-Thought equation generator that enforces structural integrity of symbolic outputs; a guarded drift detector that compares sandboxed execution results against the ground truth, closing the detection gap that defeats verifiers restricted to the model’s own outputs; and a targeted Reflexion repair loop that isolates the corrupted variable for re-grounding. Because the repair stage accepts a candidate only when it lies within 10⁻⁶ of the ground truth, a strictly tighter bound than the 10⁻³ tolerance of the evaluation metric, the framework cannot convert a correct result into an incorrect one; the guarantee is unconditional, independent of repair quality, and independent of detector calibration. This framework is scoped to contexts where ground truth is available at inference time, such as automated grading, evaluation pipelines, and educational platforms with known answer keys. Evaluated on 600 samples across three benchmarks (GSM-Hard, SVAMP, and MAWPS, each with $$n = 200),$$ HalluciNOT achieves accuracy of 92.0%, 99.5%, and 100.0% respectively, with gains of +23.0, +4.0, and +5.5 percentage points over the LLM baseline. A three-condition evaluation shows that execution grounding and targeted repair recover disjoint failure sets: execution grounding corrects 46 baseline errors while introducing 6 new ones, and repair corrects a further 25 cases that the PoT-Only variant does not recover, including all 6 execution-induced regressions. An ensemble investigation reveals that symbolic drift hallucinations are deterministic given the prompt, establishing that inconsistency-based sampling cannot address this failure class and motivating pre-execution magnitude analysis for recall improvement. Clinical trial number Not applicable.
No takes yet. Share an insight, caveat, or question.
Bhadauria et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: