TL;DR
VeriGraph introduces a neuro-symbolic framework that shifts LLM data-analytic agents away from messy, untraceable linear text streams toward structured, verifiable Directed Acyclic Graphs (DAGs). By explicitly separating code execution, data grounding, and logical derivation, it achieves state-of-the-art accuracy on data-intensive tasks while providing fully auditable reasoning chains.
What Problem Does This Paper Address?
When Large Language Model (LLM) agents tackle data-intensive tasks—like financial analysis or data science—they typically rely on linear reasoning paradigms (such as ReAct or CodeAct). These agents interleave thoughts, code execution, and observations in a flat text history.
This creates a major trust and verification problem. Deterministic computations (e.g., interpreter variables) and qualitative natural-language assertions get tangled together in an unstructured stream. If an agent outputs a claim like "Q3 revenue grew 12.3% year-over-year," it is incredibly difficult to programmatically verify whether that number was accurately computed from raw data or simply hallucinated by the model.
Methods
To bridge this traceability gap, the authors propose VeriGraph, a framework where the agent's objective is redefined from emitting a text stream to incrementally constructing an explicit heterogeneous evidence DAG.
The graph consists of two node types (Data Nodes and Claim Nodes) and expands via three distinct reasoning primitives embedded directly into the agent's action space:
- Computational Expansion: Automatically traces variable dependencies within executed Python code using static Abstract Syntax Tree (AST) walks.
- Grounding Expansion (
bind): Anchors a runtime interpreter variable to an atomic natural-language claim, ensuring programmatically recoverable provenance. - Derivational Expansion (
infer): Records how higher-level qualitative judgments are derived from existing premises, providing explicit semantic justifications.
To train the model to reliably build these graphs, VeriGraph utilizes a two-stage cold-start curriculum via trajectory distillation, followed by Graph-Based Policy Optimization. This optimization uses a composite reward function that mirrors the graph's layered architecture, evaluating:
- Computational Integrity ($R_{process}$): Code execution success rates.
- Derivational Validity ($R_{infer}$): LLM-verified logical consistency of inference steps.
- Terminal Subgraph Quality ($R_{outcome}$): Final answer correctness and faithfulness evaluated by an LLM judge.
Datasets
VeriGraph was trained on a curated mixture of roughly 42K SFT and 12K RL prompts derived from six upstream source families: TableInstruct, TAT-QA, CRT-QA, MultiHiertt, DataScience-Instruct, and DataMind-54K.
Evaluation was conducted across four major data-intensive benchmarks:
- TableBench: Single-table question answering spanning fact-checking and numerical reasoning.
- InfiAgent-DABench: Closed-form data analysis on individual CSV files.
- DSBench: Complex, multi-table data science tasks with long contexts.
- DAB-Step Research: A curated 100-case subset of multi-step research tasks requiring joint reasoning over tables and unstructured documentation.
Key Insights and Ideas
- Shifting the Reasoning Burden to Code: Token cost analysis reveals that VeriGraph spends a significantly larger fraction of its tokens on code/action generation rather than free-form text deliberation compared to standard ReAct agents. It externalizes repeated reflection into deterministic code execution.
- Local Auditability: Because the final answer is serialized directly from the terminal evidence subgraph, a human reviewer can trace any specific numerical claim backward through a single edge to its exact computation node, rather than parsing a long, messy transcript.
- The Danger of Outcome-Only Rewards: The authors demonstrate that standard outcome-only reinforcement learning introduces a length bias and fails to penalize unsupported semantic jumps, often degrading both accuracy and grounding. Layered, graph-aware rewards are essential for verifiable reasoning.
Key Results
VeriGraph-8B (built on Qwen3-8B) achieved outstanding results across the board, outperforming all open-source and proprietary baselines:
- Proprietary Performance Frontier: VeriGraph-8B achieved the highest Overall score (73.68), beating much larger models like Claude-4.5-Opus ReAct (73.22) and GPT-5.4 ReAct (72.01).
- Superior Grounding: It achieved a Grounding Rate of 87.61%, a +14.04% improvement over the strongest ReAct baseline, proving that its answers are substantially better supported by verifiable evidence.
Limitations and Future Work
- Scale Constraints: Due to compute budgets, post-training was performed at a relatively small scale. The authors suggest that injecting structured evidence-graph supervision earlier during pre-training could help models internalize graph construction as a native skill.
- Task Coverage: The framework is currently optimized for text and tabular data-intensive tasks. Future work includes extending VeriGraph to handle multimodal inputs (visual evidence), cross-document synthesis, and longer temporal dependencies.
- Conservative Reward Design: The current implementation relies on relatively simple edge-level verifiers. Integrating more expressive models, such as Graph Neural Networks (GNNs) to evaluate global graph coherence, or incorporating direct human feedback, represents a promising future path.
Summary updated