SheetBrain:一种用于在复杂大型电子表格上实现精准推理的神经符号智能体
SheetBrain: A Neuro-Symbolic Agent for Accurate Reasoning over Complex and Large Spreadsheets
AI总结:
针对大语言模型在复杂电子表格推理中结构捕捉难、准确率低的问题,提出含理解、执行、验证三模块的神经符号框架SheetBrain,还推出新基准SheetBench,实验证明其在多类场景下准确率显著提升。
摘要:
对复杂电子表格的理解与推理仍是大语言模型(LLM)面临的核心挑战,这类模型往往难以准确捕捉表格的复杂结构,也难以保障推理的正确性。在本研究中,我们提出SheetBrain——一种神经符号双工作流智能体框架,专为表格数据的精准推理设计,同时支持电子表格问答与操作任务。SheetBrain包含三大核心模块:理解模块,用于生成电子表格的全面概览,包括工作表摘要与基于查询的问题洞察,以引导推理过程;执行模块,集成了预装表格处理库的Python沙箱与Excel辅助工具包,可实现有效的多轮推理;验证模块,用于检验推理与答案的正确性,必要时触发重新执行。我们在多个公开表格问答与操作基准上评估SheetBrain,并推出SheetBench——一个针对大型、多表、结构复杂电子表格的全新基准。实验结果表明,SheetBrain在现有基准与SheetBench提出的更具挑战性的场景中,均显著提升了准确率。我们的代码已在https://github.com/microsoft/SheetBrain公开发布。
英文摘要:
Understanding and reasoning over complex spreadsheets remain fundamental challenges for large language models (LLMs), which often struggle with accurately capturing the complex structure of tables and ensuring reasoning correctness. In this work, we propose SheetBrain, a neuro-symbolic dual workflow agent framework designed for accurate reasoning over tabular data, supporting both spreadsheet question answering and manipulation tasks. SheetBrain comprises three core modules: an understanding module, which produces a comprehensive overview of the spreadsheet - including sheet summary and query-based problem insight to guide reasoning; an execution module, which integrates a Python sandbox with preloaded table-processing libraries and an Excel helper toolkit for effective multi-turn reasoning; and a validation module, which verifies the correctness of reasoning and answers, triggering re-execution when necessary. We evaluate SheetBrain on multiple public tabular QA and manipulation benchmarks, and introduce SheetBench, a new benchmark targeting large, multi-table, and structurally complex spreadsheets. Experimental results show that SheetBrain significantly improves accuracy on both existing benchmarks and the more challenging scenarios presented in SheetBench. Our code is publicly available at https://github.com/microsoft/SheetBrain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。