Chorus: Shared N-gram Embeddings with Layer-wise Adaptation
Summary
Chorus introduces shared n-gram embeddings with layer-wise adaptation, reducing table size by ~87% while outperforming Engram and FactorEngram, and pairing with the Ember optimizer to cut optimizer-state memory by 99.2% vs AdamW.
View Cached Full Text
Cached at: 11/19/26, 11:29 AM
Paper page - Chorus: Shared N-gram Embeddings with Layer-wise Adaptation
Source: https://huggingface.co/papers/2611.23386 N-gram embedding tables improve language models by storing learned representations of short token sequences, but recent designs commonly use separate tables at different layers, consuming substantial memory and preventing sharing. Chorus instead looks up token and n-gram embeddings once, combines and refines them, and shares the resulting representations across the input and intermediate layers. Each layer adapts these shared representations to its own needs.
Experiments on ClimbMix and FineWeb show improvements across model sizes. In our table-size comparison, Chorus with 1.2 billion table parameters outperforms Engram and FactorEngram with 9.6 billion, using roughly 87% smaller tables. Training these tables with the Ember optimizer also reduces optimizer-state memory by 99.2% compared with AdamW while preserving performance. These results allow n-gram tables to grow within a smaller memory budget while reusing knowledge across layers.
Similar Articles
Lngram v2: Latent N-Gram Memory with Interpretable Discrete Representations
Lngram v2 introduces an efficient and scalable latent conditional memory mechanism for transformers, decoupling memory capacity from backbone width and demonstrating consistent improvements in vision-language models through discrete addresses and structured representations.
The COUNT: Counting N-grams Unlocks Scaling on Host Memory and Training-Free Adaptation
The paper introduces COUNT (Counting Offline Unlocks N-gram Transformers), a method that builds n-gram embeddings from precomputed counts stored on host memory without learned parameters, improving validation loss for 1B-parameter LMs and enabling training-free domain adaptation at inference time.
FactorEngram: Factorized N-gram Memory with Basis-Level Gating for Language Models
FactorEngram proposes a factorized n-gram memory with basis-level gating for language models, improving language modeling and downstream tasks by enabling context to modulate individual memory components.
Engram gone wild! 2b model update...
This article provides an update on the Engram model, detailing its 2.6b parameter architecture with a large Engram table and initial training progress at 100m tokens, showing improved completions with context-aware data offloading.
Less Context, More Accuracy: A Bi-Temporal Memory Engine for LLM Agents Where a Lean Retrieved Context Beats the Full History
This paper introduces Engram, an open-source bi-temporal memory engine for LLM agents that retrieves a compact context slice (∼9.6k tokens) to outperform the full-history baseline (79k tokens) by 10.4 accuracy points on LongMemEval, using a hybrid read path fusing dense, lexical, graph, and temporal signals.