The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:14 UTC · f2b9bf0cd66b ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "MMGaX2MzDX"- }- ],- "title": "The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation",- "authors": [],- "abstract": "The scaling relationship of compute and performance for language models (LM) has been extensively studied; more recently, models are being designed to scale memory use, as well. In particular, adding input embeddings for n-grams scales memory separately from compute use, because only individual rows from the embedding table are read during each pass.\nHowever, existing methods train embeddings from scratch, which needs expensive GPU memory for fast reading and writing.\nMeanwhile, the ordinary memory of the host system is cheap and underutilized by these training methods.\nTo scale on host memory, we introduce COUNT (Counting Offline Unlocks N-gram Transformers). COUNT scales n-gram representations while adding zero learned parameters by storing precomputed n-gram counts on host. We use the corpus frequencies to weight together the LM's own unembeddings of the next words most often following the current n-gram history. At a fixed compute budget, COUNT can be added as an additional input embedding for pretraining 1B-parameter LMs to improve validation loss as much as an LM with 58\\% more compute and task loss as much as 24\\% more compute. If GPU memory is limited, using COUNT to let backbone parameters fill GPU memory gives better performance than splitting memory with additional learned embeddings.\nBeyond efficiency, COUNT offers a new affordance: switching in a different table of n-gram counts from a domain-specific corpus at inference time to adapt to a new task without any training.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "2be0f692-2812-44dc-a25d-da6767a9cebb"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation",+ "authors": [],+ "abstract": "The scaling relationship of compute and performance for language models (LM) has been extensively studied; more recently, models are being designed to scale memory use, as well. In particular, adding input embeddings for n-grams scales memory separately from compute use, because only individual rows from the embedding table are read during each pass.\nHowever, existing methods train embeddings from scratch, which needs expensive GPU memory for fast reading and writing.\nMeanwhile, the ordinary memory of the host system is cheap and underutilized by these training methods.\nTo scale on host memory, we introduce COUNT (Counting Offline Unlocks N-gram Transformers). COUNT scales n-gram representations while adding zero learned parameters by storing precomputed n-gram counts on host. We use the corpus frequencies to weight together the LM's own unembeddings of the next words most often following the current n-gram history. At a fixed compute budget, COUNT can be added as an additional input embedding for pretraining 1B-parameter LMs to improve validation loss as much as an LM with 58\\% more compute and task loss as much as 24\\% more compute. If GPU memory is limited, using COUNT to let backbone parameters fill GPU memory gives better performance than splitting memory with additional learned embeddings.\nBeyond efficiency, COUNT offers a new affordance: switching in a different table of n-gram counts from a domain-specific corpus at inference time to adapt to a new task without any training.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}