CritiQ: Mining Data Quality Criteria from Human Preferences
CritiQ通过利用人类偏好自动挖掘数据质量标准,以有限的标注工作量和高效的数据选择,实现了高质量数据的自动筛选。
更新于 2025-02-27。作者:Honglin Guo、Kai Lv、Qipeng Guo、Tianyi Liang、Zhiheng Xi、Demin Song、Qiuyinzhe Zhang、Yu Sun、Kai Chen、Xipeng Qiu、Tao Gui。
中文摘要
语言模型高度依赖高质量数据以实现最佳性能。现有方法依赖于手动设计的启发式规则、现有模型的困惑度、训练分类器或精心设计的提示工程,这些方法需要大量的专家经验和人工标注工作,同时也可能引入偏差。我们引入了CritiQ,这是一种新颖的数据选择方法,它仅通过30组人工标注的样本自动挖掘用于数据质量的人类偏好标准,并执行高效的数据选择。主要组件CritiQ Flow使用管理代理来进化质量标准,以及工作代理来进行成对判断。我们构建了一个知识库,从中提取质量标准以提升CritiQ Flow的性能。与基于困惑度和分类器的方法相比,口头标准更具可解释性且具有可重复使用价值。在得出标准后,我们训练了CritiQ评分器来给出质量分数并执行高效的数据选择。我们在代码、数学和逻辑领域展示了我们方法的效率,在人工标注的测试集上实现了高准确率。为了验证所选数据的质量,我们不断训练Llama 3.1模型,并观察到在下游任务上的性能比均匀采样有显著提升。消融研究验证了知识库和反映过程的好处。我们分析了标准的演变过程以及多数投票的有效性。
英文摘要
Language model heavily depends on high-quality data for optimal performance. Existing approaches rely on manually designed heuristics, the perplexity of existing models, training classifiers, or careful prompt engineering, which require significant expert experience and human annotation effort while introduce biases. We introduce CritiQ, a novel data selection method that automatically mines criteria from human preferences for data quality with only sim30 human-annotated pairs and performs efficient data selection. The main component, CritiQ Flow, employs a manager agent to evolve quality criteria and worker agents to make pairwise judgments. We build a knowledge base that extracts quality criteria from previous work to boost CritiQ Flow. Compared to perplexity- and classifier- based methods, verbal criteria are more interpretable and possess reusable value. After deriving the criteria, we train the CritiQ Scorer to give quality scores and perform efficient data selection. We demonstrate the effectiveness of our method in the code, math, and logic domains, achieving high accuracy on human-annotated test sets. To validate the quality of the selected data, we continually train Llama 3.1 models and observe improved performance on downstream tasks compared to uniform sampling. Ablation studies validate the benefits of the knowledge base and the reflection process. We analyze how criteria evolve and the effectiveness of majority voting.
解读
一句话总结
CritiQ通过利用人类偏好自动挖掘数据质量标准,以有限的标注工作量和高效的数据选择,实现了高质量数据的自动筛选。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大型语言模型(LLM)对高质量数据有依赖,现有数据选择方法依赖人工设计的启发式方法、模型困惑度、训练分类器或精心设计的提示工程,这些方法需要大量专家经验和人工标注,且可能引入偏差。
- 现有方案不足:现有方法依赖人工设计,缺乏鲁棒性,可能引入偏差,且在不同领域中的应用受限。
- 研究目标:开发一种新的数据选择方法,自动从人类偏好中挖掘数据质量标准,以实现高效的数据选择。
问题2:论文的核心创新点是什么?
- 技术创新:设计了一种名为CritiQ Flow的流程,利用管理代理和工人代理来进化质量标准和进行成对判断。
- 方法改进:构建了一个知识库,从先前的工作中提取质量标准,以增强CritiQ Flow。
- 优势:与基于困惑度和分类器的方法相比,语言标准更具可解释性,具有可重复使用的价值。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在代码、数学和逻辑领域进行了实验,使用人类标注的测试集来评估数据质量偏好的同意率。
- 性能提升:CritiQ Flow在测试集上的准确性得到了一致性的提升,证明了该方法在捕捉人类对数据质量偏好方面的有效性。
- 对比结果:与均匀采样相比,使用CritiQ Flow选择的数据集在下游任务中表现更好。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要高质量数据训练LLM的领域,如代码、数学和逻辑。
- 实施建议:通过有限的标注工作量,实现高效的数据选择,提高LLM的性能。
- 局限与展望:目前仅限于特定领域,未来可扩展到更多领域;由于计算限制,目前仅限于持续预训练,未来可探索从头预训练和更大模型的训练。
来源
机器可读索引:llms.txt