Tapilot-Crossing: Benchmarking and Evolving LLMs Towards Interactive Data Analysis Agents
Jinyang Li, Nan Huo, Yan Gao, Jiayi Shi, Yingxiu Zhao, Ge Qu, Yurong Wu, Chenhao Ma, Jian-Guang Lou, Reynold Cheng
TL;DR
Tapilot-Crossing introduces a scalable interactive data-analysis benchmark built via a four-agent Decision Company environment, enabling 1024 interaction logs across Normal, Action, Private, and Private Action modes. It systematically evaluates LLM agents on code and analysis tasks, and proposes Adaptive Interaction Reflection (AIR), a self-generated reflection mechanism that learns from successful histories. Across multiple models, AIR demonstrates notable gains (up to 44.5% relative) and reveals essential insights about long-context handling, private-library usage, and instruction-following in interactive settings. The work highlights the need for efficient, history-aware reasoning in data analysis agents and provides a practical, cost-effective framework for benchmarking and evolving interactive data analysis capabilities.
Abstract
Interactive Data Analysis, the collaboration between humans and LLM agents, enables real-time data exploration for informed decision-making. The challenges and costs of collecting realistic interactive logs for data analysis hinder the quantitative evaluation of Large Language Model (LLM) agents in this task. To mitigate this issue, we introduce Tapilot-Crossing, a new benchmark to evaluate LLM agents on interactive data analysis. Tapilot-Crossing contains 1024 interactions, covering 4 practical scenarios: Normal, Action, Private, and Private Action. Notably, Tapilot-Crossing is constructed by an economical multi-agent environment, Decision Company, with few human efforts. We evaluate popular and advanced LLM agents in Tapilot-Crossing, which underscores the challenges of interactive data analysis. Furthermore, we propose Adaptive Interaction Reflection (AIR), a self-generated reflection strategy that guides LLM agents to learn from successful history. Experiments demonstrate that Air can evolve LLMs into effective interactive data analysis agents, achieving a relative performance improvement of up to 44.5%.
