LongDS-Bench: On the Failure of Long-Horizon Agentic Data Analysis

Kewei Xu, Xiaoben Lu, Shuofei Qiao, Zihan Ding, Haoming Xu +2 more
5/28/2026
7 citations
cs.LGcs.AIcs.CL
benchmark-dataset

Official code: zjunlp/DataMind (152 stars, Python, last commit 2026-04-28).

Abstract

Real-world data analysis is inherently iterative, yet existing benchmarks mostly evaluate isolated or short interactive tasks, leaving agents' ability to track evolving analytical context over long horizons untested. We introduce LongDS, a benchmark for long-horizon, multi-turn data analysis where agents must maintain, update, restore, and compose evolving analytical states.

Show full abstract

LongDS comprises 68 tasks constructed from real-world Kaggle notebooks, spanning 2,225 turns across six domains including Geoscience, Business, and Education. Tasks are designed around state-evolution patterns (e.g., counterfactual perturbation, rollback, multi-state composition), with an average dependency span of 11.3 turns. Evaluating five state-of-the-art models, we find that the best model reaches only 48.45% average accuracy, performance drops nearly 47 points from early to late turns, and long-horizon errors account for 52%--69% of failures. Further analysis shows that additional agent steps do not necessarily improve performance, suggesting that the key bottleneck is maintaining a correct analytical state rather than increasing interaction budget. We release LongDS to support research on reliable long-horizon agentic data analysis. Code and data will be released at https://github.com/zjunlp/DataMind.

View on arXivView PDF

Code Implementations(1)

zjunlp/DataMindOfficial100%

[ICLR/AAAI 2026] Open-Source LLM-Based Data Analysis Agents

15213Python, ShellMay 21, 20257 months ago
agentartificial-intelligencedata-analysisdata-sciencelarge-language-models+2 more

Similar Papers

Cite this paper

@article{xu2026longdsbench,
  title  = {LongDS-Bench: On the Failure of Long-Horizon Agentic Data Analysis},
  author = {Kewei Xu and Xiaoben Lu and Shuofei Qiao and Zihan Ding and Haoming Xu and Lei Liang and Ningyu Zhang},
  year   = {2026},
  eprint = {2605.30434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.30434v1}
}

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/2605.30434.svg)](https://codeofpaper.com/paper/2605.30434)

Discussion