2025-09-03 · 进阶 · 机器学习 · 自然语言处理

Attributes as Textual Genes: Leveraging LLMs as Genetic Algorithm Simulators for Conditional Synthetic Data Generation

本文提出了一种名为“Genetic Prompt”的框架,结合遗传算法和大型语言模型(LLM)来生成高质量的合成数据,显著提高了数据质量和多样性。

更新于 2025-11-10。作者:Guangzeng Han、Weisi Liu、Xiaolei Huang。

中文摘要

大型语言模型(LLMs)在生成合成数据方面表现出色,但确保其质量和多样性仍然具有挑战性。我们提出了一种名为“遗传提示”的新框架,该框架将遗传算法与LLMs结合,以增强合成数据生成。我们的方法将语义文本属性视为基因序列,并利用LLM来模拟交配和变异操作。这一遗传过程通过创建新的属性组合,产生更接近真实世界数据的合成分布,从而提高了数据质量和多样性。为了优化父代选择,我们还集成了一种主动学习方案,以扩展后代搜索空间。我们在多个NLP任务上的实验揭示了几个关键发现:遗传提示不仅显著优于最先进的基线,而且在各种生成器模型大小和规模上表现出稳健的性能。此外,我们还证明将我们的合成数据与原始训练集融合可以显著提升下游模型性能,尤其是在类别不平衡的情况下。我们的发现验证了遗传提示是一种有效的方法,可以用于生成适用于广泛NLP应用的高质量合成数据。

英文摘要

Large Language Models (LLMs) excel at generating synthetic data, but ensuring its quality and diversity remains challenging. We propose Genetic Prompt, a novel framework that combines genetic algorithms with LLMs to augment synthetic data generation. Our approach treats semantic text attributes as gene sequences and leverages the LLM to simulate crossover and mutation operations. This genetic process enhances data quality and diversity by creating novel attribute combinations, yielding synthetic distributions closer to real-world data. To optimize parent selection, we also integrate an active learning scheme that expands the offspring search space. Our experiments on multiple NLP tasks reveal several key findings: Genetic Prompt not only significantly outperforms state-of-the-art baselines but also shows robust performance across various generator model sizes and scales. Moreover, we demonstrate that fusing our synthetic data with the original training set significantly boosts downstream model performance, particularly for class-imbalanced scenarios. Our findings validate that Genetic Prompt is an effective method for producing high-quality synthetic data for a wide range of NLP applications.

解读

一句话总结

本文提出了一种名为“Genetic Prompt”的框架,结合遗传算法和大型语言模型(LLM)来生成高质量的合成数据,显著提高了数据质量和多样性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt