Guardado en:
Detalles Bibliográficos
Autores principales: Luo, Zheheng, Zhang, Xin, Liu, Xiao, Li, Haoling, Gong, Yeyun, Qi, Chen, Cheng, Peng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:https://arxiv.org/abs/2411.14318
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910956393594880
author Luo, Zheheng
Zhang, Xin
Liu, Xiao
Li, Haoling
Gong, Yeyun
Qi, Chen
Cheng, Peng
author_facet Luo, Zheheng
Zhang, Xin
Liu, Xiao
Li, Haoling
Gong, Yeyun
Qi, Chen
Cheng, Peng
contents It is well-known that a diverse corpus is critical for training large language models, which are typically constructed from a mixture of various domains. In general, previous efforts resort to sampling training data from different domains with static proportions, as well as adjusting data proportions during training. However, few methods have addressed the complexities of domain-adaptive continual pre-training. To fill this gap, we propose Velocitune, a novel framework dynamically assesses learning velocity and adjusts data proportions accordingly, favoring slower-learning domains while shunning faster-learning ones, which is guided by a scaling law to indicate the desired learning goal for each domain with less associated cost. To evaluate the effectiveness of Velocitune, we conduct experiments in a reasoning-focused dataset with CodeLlama, as well as in a corpus specialised for system command generation with Llama3 and Mistral. Velocitune achieves performance gains in both math and code reasoning tasks and command-line generation benchmarks. Further analysis reveals that key factors driving Velocitune's effectiveness include target loss prediction and data ordering.
format Preprint
id arxiv_https___arxiv_org_abs_2411_14318
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Velocitune: A Velocity-based Dynamic Domain Reweighting Method for Continual Pre-training
Luo, Zheheng
Zhang, Xin
Liu, Xiao
Li, Haoling
Gong, Yeyun
Qi, Chen
Cheng, Peng
Computation and Language
It is well-known that a diverse corpus is critical for training large language models, which are typically constructed from a mixture of various domains. In general, previous efforts resort to sampling training data from different domains with static proportions, as well as adjusting data proportions during training. However, few methods have addressed the complexities of domain-adaptive continual pre-training. To fill this gap, we propose Velocitune, a novel framework dynamically assesses learning velocity and adjusts data proportions accordingly, favoring slower-learning domains while shunning faster-learning ones, which is guided by a scaling law to indicate the desired learning goal for each domain with less associated cost. To evaluate the effectiveness of Velocitune, we conduct experiments in a reasoning-focused dataset with CodeLlama, as well as in a corpus specialised for system command generation with Llama3 and Mistral. Velocitune achieves performance gains in both math and code reasoning tasks and command-line generation benchmarks. Further analysis reveals that key factors driving Velocitune's effectiveness include target loss prediction and data ordering.
title Velocitune: A Velocity-based Dynamic Domain Reweighting Method for Continual Pre-training
topic Computation and Language
url https://arxiv.org/abs/2411.14318