用群体优化生成更难的测试数据,提升大模型评估效果
Data Swarms: Optimizable Generation of Synthetic Evaluation Data
- 用粒子群算法优化多个数据生成器,协同寻找更优生成策略
- 在5个评估目标上超越8种基线方法,生成数据更具挑战性
- 支持对抗演化,让数据与模型共同进化,适用于新模型泛化
我们提出Data Swarms,一种优化合成评估数据生成的算法,以推进大语言模型评估的量化目标。首先利用现有数据训练一组初始数据生成器,并设定多种评估目标(如生成对被测模型更具挑战性的问题)来定量评价生成器性能。随后采用粒子群优化算法,让生成器群体协同搜索模型参数空间,寻找能更好达成目标的新生成器。进一步扩展为对抗型群体(Adversarial Swarms),其中数据生成群体不断生成更难数据,而测试模型群体则从中学习,实现数据与模型的动态共演化。大量实验表明,Data Swarms在五个评估目标上优于八种数据生成基线;对抗型群体则提升了合成数据的鲁棒性与模型泛化能力。进一步分析显示,该方法可有效优化多目标组合,并泛化至优化时未见过的现成大模型。
原文摘要 · Abstract (English)
We propose Data Swarms, an algorithm to optimize the generation of synthetic evaluation data and advance quantitative desiderata of LLM evaluation. We first train a swarm of initial data generators using existing data, and define various evaluation objectives to reflect the desired properties of evaluation (e.g., generate more difficult problems for the evaluated models) and quantitatively evaluate data generators. We then employ particle swarm optimization to optimize the swarm of data generators, where they collaboratively search through the model parameter space to find new generators that advance these objectives. We further extend it to Adversarial Swarms, where the data generator swarm generates harder data while the test taker model swarm learns from such data, co-evolving dynamically for better data and models simultaneously. Extensive experiments demonstrate that Data Swarms outperforms eight data generation baselines across five evaluation objectives, while Adversarial Swarms produce more robust learning of synthetic data and stronger generalization. Further analysis reveals that Data Swarms successfully optimizes compositions of multiple evaluation objectives and generalizes to new off-the-shelf LLMs, unseen at optimization time.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。