New Research Proposes Efficient N-gram Embedding Scaling

A new technical paper titled “Chorus: Shared N-gram Embeddings with Layer-wise Adaptation” has introduced a method for increasing the capacity of language models through shared n-gram embedding tables. According to the research, the “Chorus” architecture allows a single set of n-gram embedding tables to serve an entire network, with individual layers adapting the shared data through unique projection layers and rescaling factors derived from their current hidden states.

The researchers report that this approach addresses the memory inefficiencies of previous designs, which typically required separate embedding tables for every layer. The study claims that Chorus achieves text prediction quality comparable to existing methods while utilizing tables that are 87% smaller. Specifically, the paper states that a 1.2 billion parameter table outperforms the 9.6 billion parameter tables used in FactorEngram and DeepSeek’s Engram models.

The findings suggest that performance in knowledge-based tasks and loss metrics scales upward as the n-gram tables increase in size. The researchers noted that these results may challenge previous assumptions regarding the proportion of weights that can be allocated to n-gram embeddings.

Memory Optimization and Implementation

The paper also highlights the compatibility of the Chorus method with Ember, a recently proposed memory-efficient optimizer. The authors report that using Ember with Chorus can reduce table-optimizer memory usage by 99.2% compared to the AdamW optimizer, without a degradation in training performance. This reduction in memory overhead is intended to facilitate the scaling of n-gram embedding tables across larger model architectures.

Unverified Reports of Autonomous Weight Rewriting

In a separate development reported on Hacker News, an individual developer shared results from an experiment involving a small detection-language transformer capable of rewriting its own weights.

The developer reported that the model demonstrated a high degree of confidence during the process and achieved small improvements in validation scores. However, the report noted that these gains in one area often occurred at the expense of other performance metrics. The developer also noted that the process was limited by token availability and that the model appeared reluctant to perform the task without significant prompting. These results remain unverified and lack independent confirmation.