SheetAgent: A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models

Abstract

Spreadsheet manipulation is widely-existing in most daily works and significantly improves the working efficiency. Large language model (LLM) has been recently attempted for automatic spreadsheet manipulation, but not yet been investigated in complicated and realistic tasks where reasoning challenges exist (e.g., long horizon manipulation with multi-step reasoning and ambiguous requirements). To bridge the gap with the real-world requirements, we introduce **SheetRM**, a benchmark featuring long-horizon and multi-category tasks with reasoning dependent manipulation caused by real-life challenges. To mitigate the above challenges, we further propose **SheetAgent**, an novel autonomous agent that utilizes the power of LLMs. SheetAgent consists of three collaborative modules: Planner, Informer and Retriever, achieving both advanced reasoning and accurate manipulation over spreadsheets without human interaction through iterative task reasoning and reflection. Extensive experiments demonstrate that SheetAgent delivers 20-30% pass rate improvements on multiple benchmarks over baselines, achieving enhanced precision in spreadsheet manipulation and demonstrating superior table reasoning abilities. More details and visualizations are available at https://sheetagent.github.io.

Cite

Text

Chen et al. "SheetAgent: A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models." ICML 2024 Workshops: LLMs_and_Cognition, 2024.

Markdown

[Chen et al. "SheetAgent: A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models." ICML 2024 Workshops: LLMs_and_Cognition, 2024.](https://mlanthology.org/icmlw/2024/chen2024icmlw-sheetagent/)

BibTeX

@inproceedings{chen2024icmlw-sheetagent,
  title     = {{SheetAgent: A Generalist Agent for Spreadsheet Reasoning and Manipulation via Large Language Models}},
  author    = {Chen, Yibin and Yuan, Yifu and Zhang, Zeyu and Zheng, Yan and Liu, Jinyi and Ni, Fei and Hao, Jianye},
  booktitle = {ICML 2024 Workshops: LLMs_and_Cognition},
  year      = {2024},
  url       = {https://mlanthology.org/icmlw/2024/chen2024icmlw-sheetagent/}
}