mlsanityData to 7 Oct 2026

NL2Formula: Generating Spreadsheet Formulas from Natural Language Queries

arXiv 2402.14853 ↗First posted 20 Feb 2024cs.CL cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

Writing formulas on spreadsheets, such as Microsoft Excel and Google Sheets, is a widespread practice among users performing data analysis. However, crafting formulas on spreadsheets remains a tedious and error-prone task for many end-users, particularly when dealing with complex operations. To alleviate the burden associated with writing spreadsheet formulas, this paper introduces a novel benchmark task called NL2Formula, with the aim to generate executable formulas that are grounded on a spreadsheet table, given a Natural Language (NL) query as input. To accomplish this, we construct a comprehensive dataset consisting of 70,799 paired NL queries and corresponding spreadsheet formulas, covering 21,670 tables and 37 types of formula functions. We realize the NL2Formula task by providing a sequence-to-sequence baseline implementation called fCoder. Experimental results validate the effectiveness of fCoder, demonstrating its superior performance compared to the baseline models. Furthermore, we also compare fCoder with an initial GPT-3.5 model (i.e., text-davinci-003). Lastly, through in-depth error analysis, we identify potential challenges in the NL2Formula task and advocate for further investigation.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 15 of its 35 references that are in the map. First posted on arXiv 20 Feb 2024.

Builds on

15 of 35 references.

References · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  4. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  5. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
  6. 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 425
  7. 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 402
  8. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  9. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 180
  10. 2016Language to Logical Form with Neural Attentioncited by 158
  11. 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
  12. 2017Learning a Neural Semantic Parser from User Feedbackcited by 98
3 more
  1. 2016Neuro-Symbolic Program Synthesiscited by 84
  2. 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
  3. 2018Neural-Guided Deductive Search for Real-Time Program Synthesis from Examplescited by 39

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 4.

8 papers.