Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representations
Sibei Chen, Yeye He, Weiwei Cui, Ju Fan, Song Ge, Haidong Zhang,, Dongmei Zhang, Surajit Chaudhuri

TL;DR
Auto-Formula leverages contrastive learning to predict spreadsheet formulas by learning from similar existing spreadsheets, significantly aiding non-technical users in formula authoring.
Contribution
Introduces Auto-Formula, a novel system that uses contrastive learning to recommend formulas based on similar spreadsheets, addressing usability challenges.
Findings
Auto-Formula outperforms alternative methods in accuracy.
Evaluations on over 2,000 real enterprise formulas.
Benchmark data provided for future research.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpreadsheets and End-User Computing · Statistics Education and Methodologies
