Skip to content
advancedevaluation

AgentHallu Agent Hallucination Attribution

Judge whether a tool-using agent hallucinated, mark the responsible step, and pick a sub-category with radio, trajectory_eval, and text. Items are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/agentic/agenthallu-agent-hallucination-attribution
potato start config.yaml

About this dataset

AgentHallu is a benchmark for automated hallucination attribution, built by Liu, Yang, Li, Li, and He and published at EMNLP 2026. The benchmark holds 693 trajectories from 7 agent frameworks across 5 domains, and a taxonomy of 5 categories and 14 sub-categories. The categories are Planning, Retrieval, Reasoning, Human-Interaction, and Tool-Use. The best of 13 evaluated models reaches only 41.1% step localization accuracy.

In the paper's protocol, annotators first judge whether a trajectory is hallucinated by comparing the trajectory with the ground truth. For hallucinated cases, annotators then give the category, the hallucination-responsible step, and a causal explanation. The design reproduces the three levels. A radio scheme records the binary judgment, a trajectory_eval scheme marks the responsible step and groups the 14 sub-categories under the 5 categories, and a text scheme collects the explanation. The Table 2 descriptions of the sub-categories appear in the annotation instructions, because trajectory_eval error types take no tooltips.

The dataset is released under CC BY-NC-SA 4.0, so none of the trajectories are copied. The ten trajectories were written for the showcase, with six hallucinated and four clean, and a reference answer sits beside each query as in the paper. Human-Interaction Hallucination is both a category and a sub-category in the taxonomy, so the design lists it once in each role. No model_training block is included, because no Potato trainer reads trajectory_eval labels.

Trajectories
693 from 7 agent frameworks across 5 domains
Taxonomy
5 categories and 14 sub-categories
Annotation levels
Binary label, hallucination-responsible step, causal explanation
Models evaluated
13
Best step localization accuracy
41.1%
Hardest category
Tool-Use hallucinations at 11.6% localization accuracy

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# AgentHallu: judge a tool-using agent trajectory for hallucination, then attribute it to a step.
#
# Dataset:   AgentHallu (Liu, Yang, Li, Li, He; EMNLP 2026 main, ACL Anthology 2026.emnlp-main.925)
# Paper DOI: 10.18653/2026.emnlp-main.925 (Crossref 200). Project page: https://liuxuannan.github.io/AgentHallu.github.io/
# License:   dataset and code CC BY-NC-SA 4.0 (paper Appendix A.1), so sample items are illustrative.
# Protocol (paper Sec. 3.3, Table 2): "Annotators first make a binary judgment of whether the agent trajectory is
#   hallucinated by comparing it with the ground truth. For hallucinated cases, they further annotate the category,
#   hallucination-responsible step, and causal explanation." Taxonomy: 5 categories, 14 sub-categories (Table 2).
# Table 2 (taxonomy descriptions, quoted): Fact Derive "Introduce nonexistent or misleading facts."; Task Decompose "Produce
#   task-misaligned subgoals."; Query Misalign "Formulate inaccurate retrieval queries."; Context Misalign "Retrieve factually
#   incorrect context."; Summarize Misalign "Misrepresent context via summarization."; Factual Reasoning "Incorrect factual
#   inference over context."; Math Reasoning "Incorrect math inference or computation."; Science Reasoning "Incorrect science
#   inference or computation."; General Reasoning "Incorrect reasoning over general tasks."; Human-Interaction Hallucination
#   "Incorrect messages propagated by the user."; Missing Tool "Miss required tool invocation."; Incorrect Argument "Mis-specify
#   arguments of invoked tools."; Parallel Conflict "Trigger execution conflicts via parallel tools."; Unnecessary Tool "Invoke
#   irrelevant or incorrect tools." trajectory_eval error types take no per-label tooltip, so these descriptions are in the
#   annotation instructions.
# Adaptations: the paper draws the taxonomy as 5 categories; here each category is a group of the 14 sub-categories
#   on the responsible step. Annotators work from the trajectory shown; the paper also shows ground truth.
annotation_task_name: "AgentHallu Hallucination Attribution"
task_dir: .
data_files:
  - sample-data.json
item_properties:
  id_key: id
  text_key: query
output_annotation_dir: annotation_output
export_annotation_format: jsonl
user_config:
  allow_all_users: true
annotation_instructions: |
  Decide whether the agent hallucinated. If it did, mark the step that first caused the divergence (trace the error
  chain back to its root cause), choose its category, and write a short causal explanation.
  Categories (paper Table 2). Planning: Fact Derive introduces nonexistent or misleading facts; Task Decompose produces
  task-misaligned subgoals. Retrieval: Query Misalign formulates inaccurate retrieval queries; Context Misalign retrieves
  factually incorrect context; Summarize Misalign misrepresents context via summarization. Reasoning: Factual Reasoning is
  incorrect factual inference over context; Math Reasoning and Science Reasoning are incorrect math or science inference or
  computation; General Reasoning is incorrect reasoning over general tasks. Human-Interaction Hallucination is incorrect
  messages propagated by the user. Tool-Use: Missing Tool misses a required tool invocation; Incorrect Argument mis-specifies
  arguments of invoked tools; Parallel Conflict triggers execution conflicts via parallel tools; Unnecessary Tool invokes
  irrelevant or incorrect tools.
instance_display:
  layout: {direction: vertical, gap: 16px}
  fields:
    - key: query
      type: text
      label: "User query"
    - key: ground_truth
      type: text
      label: "Reference answer"
    - key: steps
      type: agent_trace
      label: "Agent trajectory"
      display_options: {show_step_numbers: true, speaker_key: agent, text_key: content}
annotation_schemes:
  - annotation_type: radio
    name: judgment
    description: "Is this trajectory hallucinated?"
    labels: ["Hallucination", "Non-Hallucination"]
  - annotation_type: trajectory_eval
    name: attribution
    description: "Mark the hallucination-responsible step and its category (leave all steps correct for a non-hallucinated trajectory)."
    steps_key: steps
    step_text_key: content
    correctness_options: [correct, hallucination-responsible]
    show_score: false
    error_types:
      - name: "Planning Hallucination"
        subtypes: ["Fact Derive", "Task Decompose"]
      - name: "Retrieval Hallucination"
        subtypes: ["Query Misalign", "Context Misalign", "Summarize Misalign"]
      - name: "Reasoning Hallucination"
        subtypes: ["Factual Reasoning", "Math Reasoning", "Science Reasoning", "General Reasoning"]
      - name: "Human-Interaction Hallucination"
        subtypes: ["Human-Interaction Hallucination"]
      - name: "Tool-Use Hallucination"
        subtypes: ["Missing Tool", "Incorrect Argument", "Parallel Conflict", "Unnecessary Tool"]
  - annotation_type: text
    name: causal_explanation
    description: "Causal explanation: why does this step cause the divergence?"
    multiline: true
    rows: 3

Sample Data

json
[
  {
    "id": "ah_001",
    "query": "Illustrative: For regions X, Y, Z (concentric circles with radii 2, 4, 7), what is the difference between the largest and smallest region area?",
    "ground_truth": "Illustrative reference: 33 pi.",
    "steps": [
      {
        "agent": "Thought",
        "content": "Area of X is the middle circle minus the innermost circle; Y is outermost minus middle; Z is the outermost circle."
      },
      {
        "agent": "Action",
        "content": "python: pi*(4**2) - pi*(2**2), pi*(7**2) - pi*(4**2), pi*(7**2)"
      },
      {
        "agent": "Observation",
        "content": "12 pi, 33 pi, 49 pi"
      },
      {
        "agent": "Thought",
        "content": "Largest is Z at 49 pi, smallest is X at 12 pi, so the difference is 37 pi."
      }
    ]
  },
  {
    "id": "ah_002",
    "query": "Illustrative: What year did the first commercial transatlantic passenger flight by jet begin, and which airline operated it?",
    "ground_truth": "Illustrative reference: 1958, BOAC (Comet 4).",
    "steps": [
      {
        "agent": "Thought",
        "content": "I should search for the first commercial transatlantic jet service."
      },
      {
        "agent": "Action",
        "content": "search('first transatlantic jet passenger service')"
      },
      {
        "agent": "Observation",
        "content": "BOAC began Comet 4 transatlantic service in October 1958."
      },
      {
        "agent": "Thought",
        "content": "The answer is 1958, operated by BOAC."
      }
    ]
  }
]

// ... and 8 more items

Dataset & paper

Liu et al., EMNLP 2026

Paper DOI
10.18653/2026.emnlp-main.925

Citation (BibTeX)

bibtex
@inproceedings{liu-etal-2026-agenthallu,
    title = "{A}gent{H}allu: Benchmarking Automated Hallucination Attribution of {LLM}-based Agents",
    author = "Liu, Xuannan  and
      Yang, Xiao  and
      Li, Zekun  and
      Li, Pei Pei  and
      He, Ran",
    editor = "Lee, Hung-Yi  and
      Dev, Sunipa  and
      Li, Junyi Jessy  and
      Elliott, Desmond",
    booktitle = "Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing",
    month = oct,
    year = "2026",
    address = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.emnlp-main.925/",
    doi = "10.18653/2026.emnlp-main.925",
    pages = "21290--21315",
    ISBN = "979-8-89176-459-0"
}

Details

Annotation Types

radiotrajectory_evaltext

Domain

LLM AgentsHallucination

Use Cases

Failure AttributionAgent Trace AnalysisHallucination Taxonomy

Tags

agenthalluhallucination attributionagent trajectoriestool usestep localization

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)