VeryTrace: Verifying Reasoning Traces through Compilable Formalism and Structured Verification
- lab CatalyzeX
- lab DagsHub
- lab GotitPub
- lab Hugging Face
- lab ScienceCast
- lab alphaXiv
- lab arXiv
- lab arXivLabs
- location Taiwan
A new framework called VeryTrace aims to make multi-step reasoning by large language models more reliable by converting their natural-language thought processes into a structured, verifiable format, according to research submitted in 2026 [1]. The framework, detailed in a paper on arXiv, addresses a persistent weakness in Chain-of-Thought (CoT) prompting, where logical errors or hallucinations in early reasoning steps can cascade, leading to confident but incorrect final answers [1]. VeryTrace operates by formalizing a model's reasoning trace into a compilable representation using a custom Domain-Specific Language (DSL) [1]. This DSL makes step dependencies explicit, converts quantitative content into executable expressions, and structures semantic inferences using deduction schemas [1]. The system then applies a hybrid verification process that combines deterministic checks for computational correctness and constraint satisfaction with targeted audits by a language model for semantic judgments that cannot be mechanically verified [1]. This approach allows for step-level error localization and repair [1]. The researchers tested VeryTrace across three distinct domains: competition mathematics using the AIME 2025 benchmark, robotics planning with LLM-BabyBench, and kinship reasoning on the CLUTRR dataset [1]. The framework improved accuracy over zero-shot baselines on state-of-the-art language models without requiring domain-specific training or in-context examples, demonstrating that formalized trace verification can achieve both precision and generalization [1]. The concept of formalizing reasoning to eliminate ambiguity has deep roots. In mathematics, results are established by deductive proof rather than by experiment, a standard that began in Ancient Greek mathematics and was exemplified in Euclid's Elements [3]. The challenge VeryTrace tackles is analogous to the distinction between a "fuzzy concept," which has variable boundaries of application, and a "crisp concept," which is precise [4]. By forcing a language model's reasoning into a compilable DSL, the framework pushes the model's output from the fuzzy domain of natural language toward the crisp domain of formal logic, where deterministic checks can be applied [1][4].
research-paperbenchmarkapplicationtool-release
Background sources we checked (9)
- arxiv.org ↗ Multi-step reasoning with Chain-of-Thought (CoT) prompting remains fragile: logical errors or hallucinations in early steps silently propagate, producing confident but incorrect conclusions. This paper presents VeryTrace, a zero-shot verification-and-repair framework that formali…
- en.wikipedia.org ↗ Mathematics is a field of knowledge concerned with abstract concepts such as numbers, geometric shapes, sets, functions, and probabilities. It uses logical reasoning and proof to study and establish their properties, often expressed as theorems, formulas, and equations. Mathemati…
- en.wikipedia.org ↗ A fuzzy concept is an idea of which the boundaries of application can vary considerably according to context or conditions, instead of being fixed once and for all. That means the idea is somewhat vague or imprecise. Yet it is not unclear or meaningless. It has a definite meaning…
- en.wikipedia.org ↗ Buddhist philosophy is the ancient Indian philosophical system that developed within the religio-philosophical tradition of Buddhism. It comprises all the philosophical investigations and systems of rational inquiry that developed among various schools of Buddhism in ancient Indi…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
- arxiv.org ↗ With the creation of new datasets, the question arises of whether the data in them is complementary to other datasets for training ML models (see recent reviews for a perspective of catalysts informatics22, 23, 24). This is especially important when consolidating data with a vari…
- arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
- en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
- en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…