AUDITFLOW: Executable Symbolic Environments for Structured Financial Reporting Verification

Yan Wang, Xuguang Ai, Jaisal Patel, Xueqing Peng, Fengran Mo, Yupeng Cao, Haohang Li, Mingyu Cao, Lingfei Qian, Víctor Gutiérrez-BasultoarXiv 2026

TL;DR

AUDITFLOW is a novel multi-agent framework designed to automate financial audit verification by separating adaptive LLM search from deterministic symbolic execution. By grounding language models in a dual-graph environment containing both US-GAAP taxonomy rules and raw XBRL filing data, the system achieves a massive jump in audit accuracy compared to standard LLM and RAG baselines.

What Problem Does This Paper Address?

Large Language Models (LLMs) are notoriously bad at tasks requiring strict adherence to complex, structured rules and precise arithmetic—such as financial auditing. Public companies file financial reports using eXtensible Business Reporting Language (XBRL), where numbers are bound to specific accounting concepts, periods, and dimensional contexts.

Verifying a single number in an XBRL filing isn't just a text-lookup problem; it requires cross-referencing multiple documents, traversing hierarchical calculation trees, and verifying dimensional aggregations against the massive US-GAAP taxonomy. Standard LLMs or simple Retrieval-Augmented Generation (RAG) systems fail here because they try to perform the final reasoning, arithmetic, and rule validation entirely within their text-based context windows, leading to hallucinations and calculation errors.

Methods

The authors introduce AUDITFLOW, a framework that treats financial verification as an interaction with an executable symbolic environment.

Figure 2: Overview of AUDITFLOW.

The architecture consists of four core components:

  1. Dual-Graph Audit Environment: It splits the domain knowledge into a static regulatory graph (the US-GAAP taxonomy constraints) and a dynamic filing graph (the specific facts extracted from a company's XBRL filing), connected via bridge edges.
  2. Typed Action-Observation Interface: Instead of letting LLMs write free-form code or queries, they are restricted to a strict set of deterministic tools. These include retrieval tools, taxonomy traversal tools, and deterministic checkers (e.g., check_sign, check_calc_tree) that execute the actual math and rule evaluations.
  3. Three-Agent Audit Protocol:
  4. Compliance Auditor ($A_1$): A specification-first junior agent that starts from taxonomy constraints and checks the filing against them.
  5. Forensic Auditor ($A_2$): An evidence-first junior agent that starts from reported facts and works backward to the taxonomy.
  6. Senior Auditor ($A_s$): Acts as an arbitrator, reviewing junior reports and providing targeted feedback for bounded rounds of refinement if they disagree.
  7. Evidential Aggregation (ER Fusion): Rather than relying on an LLM's self-reported confidence score, the system maps the structured outputs of the junior auditors to mathematical mass functions using evidential reasoning to compute the final verdict, expected values, and a trustworthiness score.

A crucial mechanism is the required-tool gate, which blocks junior agents from finalizing a report until they have successfully executed all mandatory deterministic checkers.

Datasets

The framework was evaluated on a 67-instance subset of the FinMR task derived from the FinAuditing benchmark. The dataset covers 47 unique tickers across 29 10-K and 38 10-Q raw XBRL filing packages downloaded directly from SEC EDGAR.

The evaluation spans three critical Data Quality Committee (DQC) rule families:

  • DQC.US.0015: Sign consistency
  • DQC.US.0117: Dimensional aggregation consistency
  • DQC.US.0126: Calculation-tree consistency

Key Insights and Ideas

  • Search-Computation Separation: The core "aha moment" is that LLMs should only act as navigators, not calculators. LLMs excel at deciding where to look for evidence, but the actual verification step must be offloaded to deterministic symbolic code.
  • The Load-Bearing Environment: When the authors ablated (removed) the deterministic checkers and forced the LLM to reason out the final verdict, accuracy plummeted. This proves that the symbolic environment is doing the heavy lifting of verification, which the model cannot reliably replace.
  • Persona Splits Drive Robustness: Tracking the tool-use behavior revealed that the Compliance and Forensic auditors naturally adhered to their distinct search policies (static taxonomy tools vs. dynamic filing tools), providing true independent cross-checking before final aggregation.

Key Results

The authors evaluated AUDITFLOW against seven baselines across multiple frontier models. Performance was measured using Joint Audit Accuracy (Joint ACC), a strict metric requiring the correct binary verdict, the correct extracted reported value, and the correct reconstructed expected value.

Figure 3: Main results across methods and backbone models. Panel (a) reports Joint ACC (%), where higher is better. Panels (b) to (d) report structural error rate (SER), extraction error rate (EER), and calculation error rate (CER), where lower is better.
  • State-of-the-Art Performance: Under GPT-5.5, AUDITFLOW achieved a 82.09% Joint ACC, outperforming the Single Agent baseline (67.16%) and the previous best financial auditing framework, Herculean (65.67%).
  • Backbone Robustness: The framework proved highly stable across strong models; GPT-4o, Claude Sonnet 4.6, and Qwen-397B all achieved an identical 80.60% Joint ACC.
  • The Criticality of Checkers: Removing the deterministic checkers caused the Joint ACC to collapse to 17.91% and caused structurally invalid outputs to spike to 35.82%.

Limitations and Future Work

  • Scale and Rule Coverage: The evaluation dataset is relatively small (67 instances) and only covers three specific DQC rule families. Future work needs to scale this to broader rule sets and larger datasets.
  • Upstream Parsing Dependencies: AUDITFLOW assumes that XBRL filings and US-GAAP taxonomy releases can be perfectly parsed into clean structured graphs. It cannot directly handle unstructured financial disclosures, scanned PDFs, or poorly tagged documents without an extra normalization layer.
  • Protocol Compliance: The system still fundamentally relies on the LLM's ability to follow the tool protocol. Weaker open-source models (like Fino1-14B) frequently failed to make well-formed tool calls, preventing them from even reaching the deterministic verification stage.

Summary updated

BibTeX
@misc{wang2026auditflow,
  author = {Yan Wang and Xuguang Ai and Jaisal Patel and Xueqing Peng and Fengran Mo and Yupeng Cao and Haohang Li and Mingyu Cao and Lingfei Qian and Víctor Gutiérrez-Basulto},
  title = {{AUDITFLOW: Executable Symbolic Environments for Structured Financial Reporting Verification}},
  year = {2026},
  eprint = {2606.03031},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.03031},
}

Loading related content...

Figure