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

TREX:用于最优数据混合的分词回归

TREX: Tokenizer Regression for Optimal Data Mixture

KAIST CT(韩国科学技术院CT);Seoul National University of Science and Technology(首尔科学技术大学);Upstage AI;KAIST InnoCORE PRISM-AI Center(韩国科学技术院InnoCORE PRISM-AI中心)

Inho Won, Hangyeol Yoo, Minkyung Cho, Jungyeul Park, Hoyun Song, KyungTae Lim

AI总结:

TREX通过回归方法高效预测最优数据混合,提升多语言分词器的压缩效率和实用性。

摘要:

构建有效的多语言大语言模型(LLM)分词器需要对语言特定的数据混合进行精心控制。虽然分词器的压缩性能对LLM训练和推理的效率至关重要,但现有方法依赖于启发式或成本高昂的大规模搜索来确定最佳语言比例。我们介绍了用于最优数据混合的分词回归(TREX),这是一种基于回归的框架,能够高效地预测分词器训练的最佳数据混合。TREX在随机混合上训练小型代理分词器,收集其压缩统计信息,并学习从数据混合预测压缩性能。该学习模型使在大规模分词器训练之前能够进行可扩展的混合搜索,缓解了多语言分词器设计中的准确性与成本的权衡。使用TREX预测的混合训练的分词器在输入和输出分布的压缩效率上,比基于LLaMA3和均匀分布的混合提高了高达12%,证明了其强大的可扩展性、鲁棒性和实用性。

英文摘要:

Building effective tokenizers for multilingual Large Language Models (LLMs) requires careful control over language-specific data mixtures. While a tokenizer's compression performance critically affects the efficiency of LLM training and inference, existing approaches rely on heuristics or costly large-scale searches to determine optimal language ratios. We introduce Tokenizer Regression for Optimal Data MiXture (TREX), a regression-based framework that efficiently predicts the optimal data mixture for tokenizer training. TREX trains small-scale proxy tokenizers on random mixtures, gathers their compression statistics, and learns to predict compression performance from data mixtures. This learned model enables scalable mixture search before large-scale tokenizer training, mitigating the accuracy-cost trade-off in multilingual tokenizer design. Tokenizers trained with TReX's predicted mixtures outperform mixtures based on LLaMA3 and uniform distributions by up to 12% in both inand out-of-distribution compression efficiency, demonstrating strong scalability, robustness, and practical effectiveness.

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

↑