GRACE:一种用于大语言模型优化的动态聚类选择框架
GRACE: A Dynamic Coreset Selection Framework for Large Language Model Optimization
AI总结:
GRACE通过结合表示多样性与梯度重要性度量,动态构建和更新聚类,提升大语言模型训练效率和下游性能。
摘要:
大型语言模型(LLMs)在自然语言理解和生成方面表现出色,但其庞大的参数量和复杂的Transformer架构导致训练成本高且计算复杂。为减少训练成本并保持性能,研究者探索了聚类选择技术,旨在识别小型代表性训练数据子集以加速LLM训练。然而,现有聚类选择方法难以适应LLM训练的动态性且难以扩展。为此,我们提出了一种图引导的自适应和动态聚类选择框架,即GRACE。GRACE通过结合表示多样性与梯度重要性度量,动态构建和更新聚类,确保信息性和效率。为减轻频繁更新的计算成本,GRACE利用k-NN图传播机制,并选择性地更新分数和嵌入,适应演变的训练动态。在三个基准上的广泛实验表明,GRACE显著提高了训练效率和下游性能,适用于各种LLM和任务。
英文摘要:
Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation. However, their immense number of parameters and complex transformer-based architectures result in significant resource demands and computational complexity during training, making it challenging to optimize them efficiently on large datasets. To reduce training costs while preserving performance, researchers have investigated coreset selection techniques, which aim to identify small, representative subsets of the entire training dataset to accelerate LLM training. However, existing coreset selection methods fail to adapt to the dynamic nature of LLM training and often struggle with scalability for models of this size. To address these limitations, we propose a graph-guided adaptive and dynamic coreset selection framework for LLMs, namely GRACE. GRACE dynamically constructs and updates coresets by combining representation diversity with gradient-based importance metrics, ensuring both informativeness and efficiency. To mitigate the computational cost of frequent updates, GRACE leverages a $k$-NN graph-based propagation mechanism and selectively updates scores and embeddings, adapting to evolving training dynamics. Extensive experiments on three benchmarks demonstrate that GRACE significantly improves training efficiency and downstream performance across diverse LLMs and tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。