arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14495cs.CLcs.AI
收藏

InstructExcel:面向Excel中自然语言指令的基准

InstructExcel: A Benchmark for Natural Language Instruction in Excel

UMass Amherst(马萨诸塞大学阿默斯特分校);Arizona State University(亚利桑那州立大学);Microsoft(微软);Google DeepMind(谷歌DeepMind)

Justin Payan, Swaroop Mishra, Mukul Singh, Carina Negreanu, Christian Poelitz, Chitta Baral, Subhro Roy, Rasika Chakravarthy, Benjamin Van Durme, Elnaz Nouri

AI总结:

本研究提出了InstructExcel基准,用于评估LLMs根据自然语言指令生成Excel OfficeScripts代码以解决特定任务的能力,实验表明该基准极具挑战性,且GPT-4、更多上下文示例和动态提示能提升性能。

摘要:

随着大型语言模型(LLMs)的演进,我们能够解决跨多个领域(包括电子表格)日益复杂的NLP任务。本研究探讨LLMs能否生成代码(Excel OfficeScripts,一种用于在Excel中执行多项任务的TypeScript API),以解决通过自然语言用户指令提供的Excel特定任务。为此,我们引入了一个新的大规模基准InstructExcel,它利用Excel中的“Automate”功能,根据用户的操作自动生成OfficeScripts。我们的基准包含超过10k个样本,涵盖2,000个公开可用的Excel电子表格中的170多种Excel操作。在各种零样本和少样本设置下的实验表明,对于像GPT-4这样的最先进模型而言,InstructExcel是一个困难的基准。我们观察到:(1)使用GPT-4而非GPT-3.5,(2)提供更多上下文示例,以及(3)动态提示,有助于提升在此基准上的性能。

英文摘要:

With the evolution of Large Language Models (LLMs) we can solve increasingly more complex NLP tasks across various domains, including spreadsheets. This work investigates whether LLMs can generate code (Excel OfficeScripts, a TypeScript API for executing many tasks in Excel) that solves Excel specific tasks provided via natural language user instructions. To do so we introduce a new large-scale benchmark, InstructExcel, created by leveraging the 'Automate' feature in Excel to automatically generate OfficeScripts from users' actions. Our benchmark includes over 10k samples covering 170+ Excel operations across 2,000 publicly available Excel spreadsheets. Experiments across various zero-shot and few-shot settings show that InstructExcel is a hard benchmark for state of the art models like GPT-4. We observe that (1) using GPT-4 over GPT-3.5, (2) providing more in-context examples, and (3) dynamic prompting can help improve performance on this benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑