Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representations

Author:

Chen Sibei1ORCID,He Yeye2ORCID,Cui Weiwei3ORCID,Fan Ju1ORCID,Ge Song3ORCID,Zhang Haidong3ORCID,Zhang Dongmei3ORCID,Chaudhuri Surajit2ORCID

Affiliation:

1. Renmin University of China, Beijing, China

2. Microsoft Research, Redmond, USA

3. Microsoft Research, Beijing, China

Abstract

Spreadsheets are widely recognized as the most popular end-user programming tools, which blend the power of formula-based computation, with an intuitive table-based interface. Today, spreadsheets are used by billions of users to manipulate tables, most of whom are neither database experts nor professional programmers. Despite the success of spreadsheets, authoring complex formulas remains challenging, as non-technical users need to look up and understand non-trivial formula syntax. To address this pain point, we leverage the observation that there is often an abundance of similar-looking spreadsheets in the same organization, which not only have similar data, but also share similar computation logic encoded as formulas. We develop an Auto-Formula system that can accurately predict formulas that users want to author in a target spreadsheet cell, by learning and adapting formulas that already exist in similar spreadsheets, using contrastive-learning techniques inspired by "similar-face recognition" from compute vision. Extensive evaluations on over 2K test formulas extracted from real enterprise spreadsheets show the effectiveness of Auto-Formula over alternatives. Our benchmark data is available at https://github.com/microsoft/Auto-Formula to facilitate future research.

Publisher

Association for Computing Machinery (ACM)

Reference68 articles.

1. [n. d.]. Auto-Formula: benchmark spreadsheet data. https://github.com/microsoft/Auto-Formula https://1drv.ms/f/s! AkvY8ho1gepOiptfygjBTFLp_V3rtg?e=Ls1ses.

2. [n. d.]. Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representations (extended version). https://arxiv.org/abs/2404.12608.

3. [n. d.]. Excel formula. https://support.microsoft.com/en-au/office/overview-of-formulas-in-excel-ecfdc708--9162--49e8-b993-c311f47ca173.

4. [n. d.]. Excel Forum: 20K questions tagged as "formulas and functions" (Retrieved 2023-09). https://techcommunity. microsoft.com/t5/forums/filteredbylabelpage/board-id/ExcelGeneral/label-name/formulas%20and%20functions/.

5. [n. d.]. Formula suggestion experience:. https://1drv.ms/i/s!AkvY8ho1gepOipteE2g_8Mjj5TFQlg?e=f6C2x9.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3