Going Deeper With Memories
Afshin Khadangi
SnT, University of Luxembourg
Published November 3, 2026 · on the feed November 4, 2026 · ▲ 4 · arXiv 2611.05255
The 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{,}600times fewer counted FLOPs than equivalent full resolution reasoning, while maintaining competitive evaluation throughput.
The Brief
1:49A short podcast summary of the paper. Written and voiced by AI.
Transcript
Going Deeper With Memories. By Afshin Khadangi, from the University of Luxembourg. Published on the third of November.
Byte level language models have two real attractions. They avoid any dependence on a tokenizer, and they provide universal coverage, since every input is ultimately bytes. The price is cost. Processing every single byte at full resolution is expensive, and that expense is what has to be addressed if the attractions are to be kept.
DeepMem is a causal multiscale architecture built on one separation. Semantic compression is one concern. Exact preservation of bytes is another. Rather than asking a single pathway to do both, the architecture keeps the two apart, so that compression can be aggressive without the exact bytes being lost along the way.
A learned invertible subband transform builds a hierarchy of shorter and shorter sequences. Alongside it, a lossless carrier and explicit detail sidebands preserve byte identity. Fast weight memory blocks operate along the encoder, and at the compressed bottleneck the state is computed iteratively, with that computation shared. Finally, an attention based super resolution decoder restores representations at byte resolution, bringing the model back from the short sequence to the full one.
Against a matched byte level Transformer, DeepMem achieves stronger language modeling on FineWeb-Edu and on PG19, and the best macro average across the evaluated FLORES languages. It also improves PIQA accuracy, while staying competitive on code modeling, multiple choice reasoning, and robustness to byte level corruption. Then comes the efficiency figure. Refinement at the bottleneck needs thousands of times fewer counted FLOPs than equivalent reasoning at full resolution, while evaluation throughput stays competitive.
The question DeepMem answers is where the expensive thinking should happen. Its answer is the short, compressed sequence, with the exact bytes carried alongside so that nothing is lost on the way back to full resolution.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free