Chorus introduces shared N-gram embeddings with layer-wise adaptation.

Latest 0 views

Chorus shares N-gram embeddings across layers, cuts table size 87%, and Ember reduces optimizer-state memory 99.2% versus AdamW.

Key Takeaways

  • Chorus uses a single shared lookup path for token and N-gram embeddings, allowing representations to be reused across input and intermediate layers instead of duplicated in separate tables.
  • Each layer still adapts the shared representations, preserving specialization while reducing memory usage.
  • Experiments show Chorus outperforms Engram and FactorEngram with much smaller tables: 1.2 billion table parameters versus 9.6 billion, about 87% smaller.
  • Training with the Ember optimizer reduces optimizer-state memory by 99.2% compared with AdamW while maintaining performance.

Meta description: Chorus looks up token and N-gram embeddings once, shares them across layers, and uses Ember to reduce optimizer-state memory 99.2% versus AdamW.

Chorus introduces shared N-gram embeddings with layer-wise adaptation.

Tags: Chorus, N-gram embedding tables, Engram, FactorEngram, Ember optimizer

Featured image: embedding table visualization with token sequences and memory blocks, no people, logos, or text

Stage 1: Separate Tables Create a Memory Bottleneck

N-gram embedding tables store learned short token-sequence representations that improve language models, but separate per-layer tables consume memory and prevent sharing. Storage spreads across layers instead of one representation path serving many. Chorus changes lookup, combination, refinement, and sharing.

Stage 2: One Lookup Path Replaces Layer-by-Layer Duplication

Chorus looks up token and N-gram embeddings once, combines and refines them, then shares representations across input and intermediate layers. Each layer adapts them. This replaces duplication with reuse, reducing memory while preserving specialization.

Stage 3: Experiments on ClimbMix and FineWeb Show Gains Across Model Sizes

ClimbMix and FineWeb show qualitative gains across model sizes. Quantitatively, Chorus with 1.2 billion table parameters outperforms Engram and FactorEngram with 9.6 billion table parameters, using roughly 87% smaller tables.

Stage 4: Ember Reduces Optimizer-State Memory by 99.2%

Training with Ember reduces optimizer-state memory by 99.2% versus AdamW while preserving performance. This complements Chorus: Ember lowers optimizer-state memory; smaller tables lower representation-table memory.

Current Stage: Shared Tables and Smaller Memory Budgets

Chorus moves from separate tables to one shared lookup path across input and intermediate layers, with each layer adapting. Chorus outperforms Engram and FactorEngram: 1.2 billion versus 9.6 billion table parameters, roughly 87% smaller. Ember cuts optimizer-state memory 99.2% versus AdamW while preserving performance. This allows n-gram tables to grow within a smaller memory budget while reusing knowledge across layers. Memory efficiency comes from shared representation and reduced optimizer-state memory.

Tags: ChorusN-gram embeddingsEmber optimizermemory efficiency

Comments

No comments yet. Be the first to comment.

Leave a comment