arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07490cs.CLcs.AI
收藏

Strategic Data Ordering:通过课程学习提升大语言模型性能

Strategic Data Ordering: Enhancing Large Language Model Performance through Curriculum Learning

Diqest(迪奎斯特)

Jisu Kim, Juhwan Lee

AI总结:

本研究针对大语言模型训练的计算资源与可扩展性问题,提出基于课程学习的数据排序训练策略,经Mistral-7B、Gemma-7B实验验证可小幅提升性能,其中注意力标准排序效果更优。

摘要:

大语言模型(LLMs)的快速发展提升了文本理解与生成能力,但也带来了计算资源方面的挑战。本研究提出一种受课程学习启发、以数据为中心的训练策略:从较简单的任务开始,逐步过渡到更复杂的任务,利用提示长度、注意力分数、损失值等标准构建训练数据。在Mistral-7B(Jiang等人,2023)和Gemma-7B(Team等人,2024)模型上的实验表明,与传统的随机数据打乱相比,课程学习能小幅提升性能。值得注意的是,我们观察到基于所提出的注意力标准对数据排序通常能带来更优的性能。该方法提供了一种无需增大模型规模或数据集体量即可提升LLM性能的可持续方案,可应对LLM训练中的可扩展性挑战。

英文摘要:

The rapid advancement of Large Language Models (LLMs) has improved text understanding and generation but poses challenges in computational resources. This study proposes a curriculum learning-inspired, data-centric training strategy that begins with simpler tasks and progresses to more complex ones, using criteria such as prompt length, attention scores, and loss values to structure the training data. Experiments with Mistral-7B (Jiang et al., 2023) and Gemma-7B (Team et al., 2024) models demonstrate that curriculum learning slightly improves performance compared to traditional random data shuffling. Notably, we observed that sorting data based on our proposed attention criteria generally led to better performance. This approach offers a sustainable method to enhance LLM performance without increasing model size or dataset volume, addressing scalability challenges in LLM training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑