LLMs with User-defined Prompts as Generic Data Operators for Reliable Data Processing
Not on the map. Why?
Abstract (arXiv)
Data processing is one of the fundamental steps in machine learning pipelines to ensure data quality. Majority of the applications consider the user-defined function (UDF) design pattern for data processing in databases. Although the UDF design pattern introduces flexibility, reusability and scalability, the increasing demand on machine learning pipelines brings three new challenges to this design pattern -- not low-code, not dependency-free and not knowledge-aware. To address these challenges, we propose a new design pattern that large language models (LLMs) could work as a generic data operator (LLM-GDO) for reliable data cleansing, transformation and modeling with their human-compatible performance. In the LLM-GDO design pattern, user-defined prompts (UDPs) are used to represent the data processing logic rather than implementations with a specific programming language. LLMs can be centrally maintained so users don't have to manage the dependencies at the run-time. Fine-tuning LLMs with domain-specific data could enhance the performance on the domain-specific tasks which makes data processing knowledge-aware. We illustrate these advantages with examples in different data processing tasks. Furthermore, we summarize the challenges and opportunities introduced by LLMs to provide a complete view of this design pattern for more discussions.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 18 of its 26 references that are in the map. First posted on arXiv 26 Dec 2023.
Builds on
18 of 26 references.
References · 18
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2022Large Language Models Can Self-Improvecited by 656
- 2023How Language Model Hallucinations Can Snowballcited by 310
- 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 273
6 more
- 2023A Survey on Model Compression for Large Language Modelscited by 263
- 2020Deep Learning for Anomaly Detection: A Reviewcited by 159
- 2023FATE-LLM: A Industrial Grade Federated Learning Framework for Large Language Modelscited by 62
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
- 2023Knowledge Graph Completion Models are Few-shot Learners: An Empirical Study of Relation Labeling in E-commerce with LLMscited by 24
- 2017WordSup: Exploiting Word Annotations for Character based Text Detectioncited by 14
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.