Manuscript Offprint

arXiv:2609.09754

LexAgentHallu: A Hierarchical Benchmark for Profiling Hallucinations in Legal Agents

Yujin Zhou, Mingxuan Zheng, Chuxue Cao, Huang Yidan, Jiale Chen, Yike Guo, Sirui Han

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

As large language models are increasingly deployed as tool-augmented legal agents, they introduce agentic hallucinations where tool-call and reasoning errors cascade into fabricated holdings and miscited authority. However, existing legal benchmarks evaluate only single-turn QA with outcome-level metrics, while agentic hallucination benchmarks lack legal-specific diagnostic capability. Neither can determine to what extent and how a legal agent hallucinates along its trajectory. To address these limitations, we introduce LexAgentHallu, a legal agentic hallucination benchmark designed to evaluate to what extent and how legal agents fail along multi-step trajectories. Built through a four-stage expert-in-the-loop pipeline, LexAgentHallu contains 3,414 instances across 17 legal categories and 6 task types. Each instance is annotated under a dual-layer hallucination taxonomy of 7 mid-level categories and 27 fine-grained subclasses, covering both substantive errors and agent-procedural failures. We further design fine-grained metrics that quantify to what extent each failure occurs and identify how it occurs along an agent's execution path. Our evaluation across 18 proprietary and open-source agents uncovers a Right-Answer-Wrong-Reason effect and reveals that hallucination subclasses cluster rather than scatter, forming distinct agentic framework, legal task, and category profiles. These findings, invisible to outcome-level evaluation, validate the diagnostic power of LexAgentHallu for evaluating agentic hallucination in law.¹

1 Introduction

The rapid progress of large language models (LLMs) has catalyzed a paradigm shift from static, single-turn generation to agentic reasoning, where models plan, invoke tools, and iteratively interact

with their environment to solve complex tasks (Yao et al., 2023; Anthropic, 2024; Xu et al., 2026; Zheng et al., 2026; Zhu et al., 2026). This shift is particularly attractive for high-stakes domains such as law, where reliable problem-solving demands statute retrieval, precedent grounding, and multi-hop reasoning that exceed the capacity of parametric memory alone. Reflecting this trend, recent efforts have actively pushed legal LLMs toward tool-augmented, multi-step legal agents, demonstrating clear gains on tasks such as legal question answering and judgement prediction (Han et al., 2026a,b; Zhang et al., 2025b; Yang et al., 2025b; Zhou et al., 2026a; Yang et al., 2026).

However, while the agentic paradigm alleviates certain single-turn hallucinations, it exposes new hallucination surfaces at the agentic level. In legal agent systems, hallucinations may arise not only from legal reasoning such as fabricating case citations or misquoting statutory provisions, but also from the agentic process itself: the agent may invoke a tool with incorrect arguments, misinterpret a retrieved passage, or lose track of the user's original request across turns. Understanding how often these failures occur and whether they stem from legal knowledge or agentic processes is essential for improving legal agent systems. (Han et al., 2025; Lin et al., 2025; Zhou et al., 2026b).

Several recent efforts have started to evaluate hallucinations in legal LLMs (Dahl et al., 2024; Hu et al., 2025; Han et al., 2025) or in general-domain agents (Liu et al., 2026; Zhu et al., 2025). Despite these advances, no existing benchmark jointly examines to what extent legal agents hallucinate and at which level legal or agentic these hallucinations originate. We identify three critical limitations:

(1) Lack of Agent-Level Hallucination Evaluation in the Legal Domain. Existing legal hallucination benchmarks (Hu et al., 2025) are confined to single-turn QA over a narrow slice of legal tasks, treating the model as a closed-book oracle and leav-

¹Code will be available at https://github.com/TOM-ZHOUch/LexAgentHallu.

ing tool use, planning, and multi-turn interaction essentially unmeasured.

(2) Fragmented and Coarse-Grained Hallucination Taxonomies. General-domain agent hallucination studies adopt taxonomies (e.g., tool-call vs. output errors) that are blind to legally salient distinctions such as fabricated provisions and mis-applied precedents. Conversely, legal hallucination taxonomies overlook agent-specific failures such as plan deviation and tool-grounding errors. Neither line of work offers a taxonomy that is simultaneously comprehensive and fine-grained enough to diagnose legal agent behavior.

(3) Limited Error Attribution Across Knowledge and Process Layers. Current evaluations score only the final answer with exact match or LLM-as-a-judge, without attributing errors to specific steps in the agent trajectory. When a legal agent produces a hallucinated conclusion, users cannot determine whether it stems from flawed legal knowledge or faulty agentic processes, limiting actionable diagnosis.

To bridge these gaps, we introduce LexAgentHallu, the first benchmark for profiling hallucinations in legal LLM agents. LexAgentHallu is constructed through an expert-in-the-loop pipeline, in which licensed legal professionals author and verify queries, gold trajectories, and rubric-based annotations across diverse legal tasks. We propose a dual-layer hallucination taxonomy that decomposes agentic legal errors into a Substantive Layer covering legal knowledge errors and an Agentic Layer covering process-level failures. To quantify behavior under this taxonomy, we design fine-grained metrics with step-level attribution, measuring to what extent and how a legal agent hallucinates along its trajectory.

In summary, our contributions are:

  • We release LexAgentHallu, the first benchmark dedicated to hallucinations in legal LLM agents, featuring expert-curated queries, gold references, and taxonomy-driven rubric checklist across diverse legal tasks and categories.

  • We propose a dual-layer taxonomy with fine-grained sub-classes that jointly capture what the agent gets wrong about the legal and agentic level during reasoning.

  • We introduce taxonomy-aligned evaluation metrics including hallucination frequency, density, substantive/procedural cleanliness, and a Right-Answer-Wrong-Reason rate that go beyond outcome-only scoring to quantify how often and how broadly each rollout hallucinates, enabling diagnosis of failure patterns at both the layer and subclass level.

  • We benchmark a wide range of proprietary and open-source legal and general agents, uncovering systematic analysis invisible to outcome-level evaluation (details in §4).

References (62)