Reproduce “The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ian Magnusson, Noah A. Smith, Pang Wei Koh
COUNT uses fixed n-gram statistics as input hints without learning an embedding table. It looks up continuations of token histories, combines their scores with rows from the unembedding matrix, and adds the result to token embeddings; the table can reside in host RAM. At 1B parameters, COUNT matches a standard transformer’s validation loss with 57% more compute in the fitted comparison.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.