The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation
COUNT improved validation loss in 1B-parameter language models by as much as giving a model 57% more compute, at a fixed compute budget.
The method stores precomputed n-gram counts in host memory and uses those frequencies to combine the model’s existing next-token output embeddings, without adding learned parameters. Under GPU memory limits, the authors report better performance from reserving GPU space for backbone parameters than sharing it with learned n-gram embeddings. At inference, swapping in counts from a domain-specific corpus enables adaptation without further training.
ArXiv · AI/CL/LG's note
The method stores precomputed n-gram counts in host memory and uses those frequencies to combine the model’s existing next-token output embeddings, without adding learned parameters. Under GPU memory limits, the authors report better performance from reserving GPU space for backbone parameters than sharing it with learned n-gram embeddings. At inference, swapping in counts from a domain-specific corpus enables adaptation without further training.
ArXiv · AI/CL/LG's note
score 5