arXiv cs.CLSeptember 23, 2026
Lngram v2: Latent N-Gram Memory with Interpretable Discrete Representations
Excerpt
arXiv:2609.03426v2 Announce Type: replace Abstract: Transformers lack a native lookup mechanism, requiring repeated dense computation to recognize and reuse local static patterns. Lngram v1 introduces tokenizer-independent conditional memory through discrete latent n-gram addressing, but its memory capacity is coupled with the backbone width, limiting scalability due to high parameter and activation costs. We propose Lngram v2, which decouples the number of routes, memory dimension, and backbone