Improving Training Dataset Balance with ChatGPT Prompt Engineering

Mateusz Kochanek,Igor Cichecki,Oliwier Kaszyca,Dominika Szydło,Michał Madej,Dawid Jędrzejewski,Przemysław Kazienko,Jan Kocoń
DOI: https://doi.org/10.3390/electronics13122255
IF: 2.9
2024-06-09
Electronics
Abstract:The rapid evolution of large language models, in particular OpenAI's GPT-3.5-turbo and GPT-4, indicates a growing interest in advanced computational methodologies. This paper proposes a novel approach to synthetic data generation and knowledge distillation through prompt engineering. The potential of large language models (LLMs) is used to address the problem of unbalanced training datasets for other machine learning models. This is not only a common issue but also a crucial determinant of the final model quality and performance. Three prompting strategies have been considered: basic, composite, and similarity prompts. Although the initial results do not match the performance of comprehensive datasets, the similarity prompts method exhibits considerable promise, thus outperforming other methods. The investigation of our rebalancing methods opens pathways for future research on leveraging continuously developed LLMs for the enhanced generation of high-quality synthetic data. This could have an impact on many large-scale engineering applications.
engineering, electrical & electronic,computer science, information systems,physics, applied
What problem does this paper attempt to address?