LongRCA Bench: Root-Cause Localization in Long-Horizon Agent Trajectories

Yunfei Zhang, Boyu Feng, Changhua Pei, Zexin Wang, Zhihuang Peng +12 more
8/15/2026
cs.AIcs.SE

No confident code implementation found for this paper.

Abstract

In long agent executions, an early error can persist through later actions and checks, while evidence needed to trace its origin is dispersed across the history. Short histories offer limited tests of recovering error origins across substantial subsequent execution.

Show full abstract

We introduce LongRCA Bench: 1,140 complete failed trajectories from five sources, all human-annotated for responsible roles and earliest decisive root-cause steps. Reference roots precede completion by a median of 48 recorded steps; 28.4% of trajectories contain over 100 subsequent steps. With DeepSeek-V4-Flash on the full benchmark, the strongest of five evaluated baselines achieves 13.2% exact root-step accuracy. We propose Root-Cause Trajectory Attribution (RCTA), a training-free method that organizes original candidate records and explicit handoff instructions for attribution. Segment summaries and a trajectory outline guide candidate retrieval; available handoff records supply upstream instruction context for the final instruction-execution comparison. With the same backbone and scoring protocol, RCTA reaches 24.1% exact root-step accuracy and 51.1% responsible-role accuracy. LongRCA-Mini provides 200 fixed trajectories for lower-cost comparative screening. Even with RCTA, fewer than one quarter of reference roots are recovered exactly.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026longrca,
  title  = {LongRCA Bench: Root-Cause Localization in Long-Horizon Agent Trajectories},
  author = {Yunfei Zhang and Boyu Feng and Changhua Pei and Zexin Wang and Zhihuang Peng and Xinlong Liu and Hengyue Jiang and Difeng Ma and Jiayi Zhang and Yongzhou Yao and Yanan Zhao and Fei Sun and Yintong Huo and Zhaoyang Liu and Jingjing Li and Gaogang Xie and Dan Pei},
  year   = {2026},
  eprint = {2608.15242},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.15242v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.15242.svg)](https://codeofpaper.com/paper/2608.15242)

Discussion