Going Deeper With Memories
Afshin Khadangi
Key points
From the paper's conclusion- We introduce DeepMem, a causal multiscale architecture that separates semantic compression from exact byte preservation.
Abstract
Byte level language models avoid tokenizer dependence and provide universal coverage, but processing every byte at full resolution is expensive. We introduce DeepMem, a causal multiscale architecture that separates semantic compression from exact byte preservation. A learned invertible subband transform constructs a hierarchy of shorter sequences, while a lossless carrier and explicit detail sidebands preserve byte identity. Fast weight memory blocks operate along the encoder, with iterative shared state computation at the compressed bottleneck, while an attention based super resolution decoder restores byte resolution representations. DeepMem achieves stronger language modeling performance than a matched byte level Transformer on FineWeb-Edu and PG19, and obtains the best macro average performance across the evaluated FLORES languages. It also improves PIQA accuracy while remaining competitive on code modeling, multiple choice reasoning, and byte level corruption robustness. Bottleneck refinement requires approximately $7{,}600\times$ fewer counted FLOPs than equivalent full resolution reasoning, while maintaining competitive evaluation throughput.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Retrofitting language models to operate over bytes.Nature · 2026
- Low-Bit N-Gram Embeddings for Language ModelsarXiv · 2026
- N-Gram Memories at Two Bits: Quantizing Lookup Tables in Large Language ModelsarXiv · 2026
- Error Diffusion Replaces Latent Weights: Training Binary-Weight Language Models on a Few Bits of Dithered StatearXiv · 2026
- Lossy Compressive Text AutoencodersarXiv · 2026
- A Comprehensive Survey of Compression Algorithms for Language ModelsACM Computing Surveys · 2026