aiqbench analysis
This research introduces a roundtrip verification framework to ensure the faithfulness of LLM-generated formalizations without relying on ground-truth annotations. By translating formal outputs back into natural language and re-formalizing them, the method uses logical equivalence checks to diagnose and repair errors in specific translation steps. The study demonstrates that diagnosis-guided repairs significantly reduce natural language inference drift across complex statutory domains like transportation and wildlife codes.
Faithful Autoformalization via Roundtrip Verification and Repair
arXiv:2604.25031v3 Announce Type: replace-cross Abstract: When an LLM formalizes natural language, how do we know the output is faithful? We propose a roundtrip verification approach which does not require ground-truth annotations: formalize a statement, translate the result back to natural language, re-formalize, and use a formal tool to check logical equivalence. When the two formalizations agree, this provides evidence of a faithful formalization. When they disagree, a stage-level diagnosis localizes the error to a specific translation step, and a scoped repair operator attempts to correct that step. We evaluate the framework on two statutory domains (the Texas Transportation Code and the Texas Parks and Wildlife Code) using two LLMs (Claude Opus~4.6 and GPT-5.2) with three repair baselines. Diagnosis-guided scoped repair is the most effective method, with effectiveness contingent on the reliability of the diagnosis function. Across both domains and both models, under our full repair system, rules that fail the equivalence check show 1.4x-2.5x more natural language inference (NLI) drift than rules that pass it.
Abstract:When an LLM formalizes natural language, how do we know the output is faithful? We propose a roundtrip verification approach which does not require ground-truth annotations: formalize a statement, translate the result back to natural language, re-formalize, and use a formal tool to check logical equivalence. When the two formalizations agree, this provides evidence of a faithful formalization. When they disagree, a stage-level diagnosis localizes the error to a specific translation step, and a scoped repair operator attempts to correct that step. We evaluate the framework on two statutory domains (the Texas Transportation Code and the Texas Parks and Wildlife Code) using two LLMs (Claude Opus~4.6 and GPT-5.2) with three repair baselines. Diagnosis-guided scoped repair is the most effective method, with effectiveness contingent on the reliability of the diagnosis function. Across both domains and both models, under our full repair system, rules that fail the equivalence check show 1.4x-2.5x more natural language inference (NLI) drift than rules that pass it.
Computation and Language (cs.CL); Artificial Intelligence (cs.AI)
arXiv:2604.25031 [cs.CL]
(or arXiv:2604.25031v3 [cs.CL] for this version)
https://doi.org/10.48550/arXiv.2604.25031 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 256 words
Related coverage
From Solver Feedback to Faithful Plans: Multi-Role Reinforcement Learning for Symbolic Planning
arXiv · Aug 25, 2026
FormalEvolve: Neuro-Symbolic Evolutionary Search for Diverse Autoformalization
arXiv · Sep 3, 2026

Getting the Source Right, Not Just the Fact: Source-Aware Verification for MCP Agents
Hugging Face · Sep 29, 2026
A Survey on LLM-Integrated Hardware Design Verification
arXiv · Oct 10, 2026