P3:一种用于LLM训练中数据剪枝的策略驱动、节奏自适应和多样性促进框架
P3: A Policy-Driven, Pace-Adaptive, and Diversity-Promoted Framework for data pruning in LLM Training
AI总结:
本文提出P3框架,通过策略驱动的难度度量、节奏自适应选择和多样性促进三种机制优化LLM微调中的数据剪枝,在APPS和MATH推理任务上显著超越传统方法。
摘要:
在快速发展的大语言模型(LLMs)领域,如何在微调过程中有效利用现有数据集以最大化模型潜力至关重要。本文介绍了P3,一个旨在通过迭代数据剪枝优化任务特定微调过程的自适应框架。P3由三个关键组件组成:(1)策略驱动的难度度量,根据模型实时表现动态评估数据难度,以自适应评估取代静态指标;(2)节奏自适应选择,利用自步学习逐步引入更具挑战性的数据,从而增强模型能力;(3)多样性促进,结合行列式点过程(DPP)确保跨轮次的数据多样性,丰富学习过程。我们在推理场景APPS和MATH上验证了P3,展示了相较于传统数据剪枝方法的显著改进。通过推进动态数据选择与利用策略,P3既提供了理论框架,也提供了具体方法,以充分挖掘现有数据来提升LLM性能,在多种任务中具有实用价值。
英文摘要:
In the rapidly advancing field of Large Language Models (LLMs), effectively leveraging existing datasets during fine-tuning to maximize the model's potential is of paramount importance. This paper introduces P3, an adaptive framework aimed at optimizing the task-specific fine-tuning process through iterative data pruning. P3 consists of three key components: (1) Policy-driven Difficulty Measurement, which dynamically assesses data difficulty based on the model's real-time performance, replacing static metrics with adaptable evaluations; (2) Pace-Adaptive Selection, leveraging self-paced learning to progressively introduce more challenging data, thereby enhancing model capability; (3) Diversity Promotion, incorporating Determinantal Point Process (DPP) to ensure data diversity across epochs, enriching the learning process. We validate P3 on the reasoning scenarios, APPS and MATH, demonstrating significant improvements over traditional data pruning methods. By advancing dynamic data selection and utilization strategies, P3 contributes both a theoretical framework and concrete approach to fully exploit existing data for LLMs' performance improvement, offering utility across diverse tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。