arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08524cs.LGcs.CL
收藏

基于连续概念的大语言模型预训练

LLM Pretraining with Continuous Concepts

FAIR at Meta(Meta FAIR研究院);KAIST(韩国科学技术院);UC San Diego(加州大学圣迭戈分校)

Jihoon Tack, Jack Lanchantin, Jane Yu, Andrew Cohen, Ilia Kulikov, Janice Lan, Shibo Hao, Yuandong Tian, Jason Weston, Xian Li

AI总结:

针对大语言模型预训练的下一个token预测目标,提出连续概念混合(CoCoMix)框架,结合离散token预测与连续概念,提升样本效率,在多基准上优于现有方法,并增强可解释性与可引导性。

摘要:

下一个token预测一直是大型语言模型预训练中使用的标准训练目标,模型通过优化token级困惑度来学习表示。我们提出连续概念混合(CoCoMix)这一新型预训练框架,将离散的下一个token预测与连续概念相结合。具体而言,CoCoMix预测从预训练稀疏自编码器中学习到的连续概念,并通过与token隐藏表示交织,将这些概念混入模型的隐藏状态。通过在语言建模和下游推理任务等多个基准上的实验,我们表明CoCoMix样本效率更高,且持续优于标准下一个token预测、知识蒸馏和插入暂停token的方法。我们发现,在端到端框架中结合概念学习和交织对性能提升至关重要。此外,CoCoMix通过允许直接检查和修改预测的概念,增强了可解释性和可引导性,为指导模型内部推理过程提供了透明的方式。

英文摘要:

Next token prediction has been the standard training objective used in large language model pretraining. Representations are learned as a result of optimizing for token-level perplexity. We propose Continuous Concept Mixing (CoCoMix), a novel pretraining framework that combines discrete next token prediction with continuous concepts. Specifically, CoCoMix predicts continuous concepts learned from a pretrained sparse autoencoder and mixes them into the model's hidden state by interleaving with token hidden representations. Through experiments on multiple benchmarks, including language modeling and downstream reasoning tasks, we show that CoCoMix is more sample efficient and consistently outperforms standard next token prediction, knowledge distillation and inserting pause tokens. We find that combining both concept learning and interleaving in an end-to-end framework is critical to performance gains. Furthermore, CoCoMix enhances interpretability and steerability by allowing direct inspection and modification of the predicted concept, offering a transparent way to guide the model's internal reasoning process.

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

↑