AMTFV: Agentic Mathematical Tool-Flow Verification for LLM Self-Correction

📅 2026-07-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the lack of reliable answer verification mechanisms in large language models for mathematical reasoning, where existing approaches either rely on unstable natural language self-reflection or prematurely intertwine verification logic with execution. To overcome these limitations, the paper introduces the AMTFV framework, which features a novel interrupt-execute-resume interface for a Mathematical Tool Flow (MTF) that decouples verification modeling from underlying computation. AMTFV employs a multi-agent architecture, a structured MTF request format, and a backend exact computation engine to enable an iterative, structured verification workflow. Experiments across five mathematical reasoning benchmarks demonstrate that AMTFV substantially outperforms current baselines, achieving up to an 8.3 percentage point improvement in average accuracy, with particularly pronounced gains on problems of moderate to high complexity.
📝 Abstract
Large language models have demonstrated strong mathematical problem-solving capabilities, yet reliably verifying their candidate answers remains challenging. Existing representative methods mainly revise outputs through natural-language reflection or assist verification by directly generating verification programs; the former may not reliably support exact computation, whereas the latter prematurely couples mathematical modeling with low-level implementation. We propose AMTFV (Agentic Mathematical Tool-Flow Verification). By introducing Mathematical Tool Flow (MTF) as an interrupt--execute--resume interface, AMTFV decouples verification modeling from concrete execution and supports exact computation through a mathematical toolbox. Specifically, the verification agent first constructs a verification workflow, encodes the mathematical objects and computational intent requiring reliable execution in an MTF request, and sends it to the mathematical toolbox agent. The latter parses the request, generates executable calls, and dispatches them to the backend for exact computation. Tool outputs then support candidate-answer adjudication, answer revision, and verification-workflow revision. We evaluate AMTFV on five challenging mathematical reasoning datasets with seven model configurations from DeepSeek, GPT, and Gemini. Experimental results show that AMTFV outperforms the representative baselines evaluated in this study overall; under an individual model configuration, it improves average accuracy over the strongest baseline by up to 8.3 percentage points, with larger gains on samples of medium and high verification complexity.
Problem

Research questions and friction points this paper is trying to address.

mathematical reasoning
answer verification
large language models
self-correction
reliable computation
Innovation

Methods, ideas, or system contributions that make the work stand out.

Agentic Verification
Mathematical Tool Flow
Self-Correction
Exact Computation
Decoupled Verification
🔎 Similar Papers
No similar papers found.