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

SimReg:通过嵌入相似性正则化提升预训练性能

SimReg: Achieving Higher Performance in the Pretraining via Embedding Similarity Regularization

Baidu Inc.(百度公司);Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学)

Yan Sun, Guoxia Wang, Jinle Zeng, JiaBin Yang, Shuai Li, Li Shen, Dacheng Tao, DianHai Yu, Haifeng Wang

AI总结:

本文提出SimReg,通过增强相同标签嵌入的相似性与不同标签嵌入的对比,提升预训练效率和下游任务表现。

摘要:

本文提出SimReg,通过增强相同标签嵌入的相似性与不同标签嵌入的对比,提升预训练效率和下游任务表现。

英文摘要:

Pretraining large language models (LLMs) with next-token prediction has led to remarkable advances, yet the context-dependent nature of token embeddings in such models results in high intra-class variance and inter-class similarity, thus hindering the efficiency of representation learning. While similarity-based regularization has demonstrated benefit in supervised fine-tuning and classification tasks, its application and efficacy in large-scale LLM pretraining remains underexplored. In this work, we propose the SimReg, an embedding similarity regularization loss that explicitly encourages token representations with the same ground-truth label within each sequence to be more similar, while enforcing separation from different-label tokens via a contrastive loss. Our analysis reveals that this mechanism introduces gains by enlarging multi-classification margins, thereby enabling more efficient classification. Extensive experiments across dense and Mixture-of-Experts (MoE) architectures demonstrate that SimReg consistently accelerates training convergence by over 30% and improves average zero-shot downstream performance by over 1% across standard benchmarks. Further ablation studies and analyses offer practical insights into hyperparameter tuning and loss effectiveness.

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

↑