Augmenting Pretrained Language Models with N-gram Embeddings through Incremental Training
Shaohua Hu, Xusheng Gu, Haofei Yang, Minghao Shao, Nanhui Zhao, Caoyun Fan, Fangming Li
Key points
From the paper's conclusion- We therefore propose training an n-gram embedding onto an existing model through incremental training, to extend where the technique can deliver value.
Abstract
As a new scaling technique for large language models, the n-gram embedding improves the base ability of a model while adding almost no inference cost. Mainstream research realizes it through joint training of the n-gram embedding with the backbone, which severely restricts the settings in which an n-gram embedding can be used. We therefore propose training an n-gram embedding onto an existing model through incremental training, to extend where the technique can deliver value. Specifically, we explore several settings of the n-gram embedding under incremental training---the learning rate of the embedding, the vocabulary size, and the injection position---and train an n-gram embedding onto the existing model under the best configuration. Experiments show that the best configuration under incremental training does not fully coincide with that under pretraining; moreover, the incrementally trained knowledge is written predominantly into the n-gram embedding, while the general ability of the backbone is retained throughout this training process.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free AdaptationarXiv · 2026
- Chorus: Shared N-gram Embeddings with Layer-wise AdaptationarXiv · 2026
- One Model to Loop Them All: Elastic Latent Recurrence for Language ModelsarXiv · 2026
- EngramEdit: Decoupled Knowledge Updates in LLMs through Conditional MemoryarXiv · 2026
- Online Label-Free Gradient Matching for Continual Language Model TrainingarXiv · 2026
- Low-Bit N-Gram Embeddings for Language ModelsarXiv · 2026