Does Prompt Design Impact Quality of Data Imputation by LLMs?

Shreenidhi Srinivasan, Lydia Manikonda
6/4/2025
cs.LGcs.ET

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Generating realistic synthetic tabular data presents a critical challenge in machine learning. It adds another layer of complexity when this data contain class imbalance problems. This paper presents a novel token-aware data imputation method that leverages the in-context learning capabilities of large language models. This is achieved through the combination of a structured group-wise CSV-style prompting technique and the elimination of irrelevant contextual information in the input prompt. We test this approach with two class-imbalanced binary classification datasets and evaluate the effectiveness of imputation using classification-based evaluation metrics. The experimental results demonstrate that our approach significantly reduces the input prompt size while maintaining or improving imputation quality compared to our baseline prompt, especially for datasets that are of relatively smaller in size. The contributions of this presented work is two-fold -- 1) it sheds light on the importance of prompt design when leveraging LLMs for synthetic data generation and 2) it addresses a critical gap in LLM-based data imputation for class-imbalanced datasets with missing data by providing a practical solution within computational constraints. We hope that our work will foster further research and discussions about leveraging the incredible potential of LLMs and prompt engineering techniques for synthetic data generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{srinivasan2025does,
  title  = {Does Prompt Design Impact Quality of Data Imputation by LLMs?},
  author = {Shreenidhi Srinivasan and Lydia Manikonda},
  year   = {2025},
  eprint = {2506.04172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.04172v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.04172.svg)](https://codeofpaper.com/paper/2506.04172)

Discussion