arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.13802cs.SEcs.AIcs.HCcs.LG
收藏

电子表格中下一步动作预测的基准测试与框架

A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheets

University of Waterloo(多伦多大学)

Tejas Agrawal, Vu Le, Sumit Gulwani, Gust Verbruggen

AI总结:

针对电子表格缺乏自动补全功能的问题,提出一个基准测试,通过人工整理动作序列和在线评估方法,比较多种预测模型,分析动作保存、误报、效率等特性。

摘要:

预测性代码补全极大地加速了开发人员的工作效率。在电子表格中,尽管更为常见,但这种自动补全功能几乎不存在。为了解决这一差距,我们引入了一个基准测试,用于观察电子表格中用户动作序列并预测未来动作的系统。两个挑战是(1)公共电子表格语料库中缺乏编辑历史,以及(2)电子表格动作的复杂空间(空间、时间、复合)。为了解决(1),我们手动整理了52个序列,包含12K个动作,这些动作通过参数化启发式和LLM精炼从公共语料库中重新创建电子表格。为了解决(2),我们提出了一种在线评估方法,该方法在每个用户动作后期望一个预测,接受或拒绝该预测,在接受时更新未来动作,并重复此过程直到获得目标电子表格。我们使用多个基线预测器(包括零样本LLM、微调SLM和经典模型),并分析了基准测试教给我们的不同属性,包括但不限于:保存动作和误报的属性、效率、用户配置文件的影响、触发器的影响以及上下文的影响。

英文摘要:

Predictive code completion greatly accelerates how quickly developers work. In spreadsheets, despite being much more common, such auto-completion features are virtually non-existent. To address this gap, we introduce a benchmark for systems that observe a sequence of user actions in a spreadsheet and predict future actions. Two challenges are (1) the absence of edit histories in public spreadsheet corpora and (2) the complex space of spreadsheet actions (spatial, temporal, composite). To address (1), we manually curate 52 sequences of 12K actions that recreate spreadsheets from public corpora, seeded by parametrized heuristics and LLM refinement. To address (2), we propose an online evaluation that expects a prediction after each user action, accepts or rejects that prediction, updates the future actions upon acceptance, and repeats this until the target spreadsheet is obtained. We use multiple baseline predictors (including zero-shot LLMs, fine-tuned SLMs, and classical models) and analyze different properties that our benchmark teaches us, including but not limited to: properties of saved actions and false positives, efficiency, effect of user profiles, effect of triggers, and effect of context.

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

↑