Solving Data-centric Tasks using Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are rapidly replacing help forums like StackOverflow, and are especially helpful for non-professional programmers and end users. These users are often interested in data-centric tasks, such as spreadsheet manipulation and data wrangling, which are hard to solve if the intent is only communicated using a natural-language description, without including the data. But how do we decide how much data and which data to include in the prompt? This paper makes two contributions towards answering this question. First, we create a dataset of real-world NL-to-code tasks manipulating tabular data, mined from StackOverflow posts. Second, we introduce a cluster-then-select prompting technique, which adds the most representative rows from the input data to the LLM prompt. Our experiments show that LLM performance is indeed sensitive to the amount of data passed in the prompt, and that for tasks with a lot of syntactic variation in the input table, our cluster-then-select technique outperforms a random selection baseline.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 18 Feb 2024.
Builds on
20 of 36 references.
References · 20
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 177
- 2022Can Foundation Models Wrangle Your Data?cited by 173
8 more
- 2020Deep Entity Matching with Pre-Trained Language Modelscited by 143
- 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
- 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
- 2023Generate, Transform, Answer: Question Specific Tool Synthesis for Tabular Datacited by 11
- 2022Is explainable AI a race against model complexity?cited by 9
- 2017FlashProfile: A Framework for Synthesizing Data Profilescited by 5
- 2022CodexDB: Generating Code for Processing SQL Queries using GPT-3 Codexcited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.