Going Deeper With Memories
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 fewer counted FLOPs than equivalent full resolution reasoning, while maintaining competitive evaluation throughput.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
State Space Attention: Learning Context-Dependent Memory Retention
Shared title terminologycs.LGEge Çakar, Cengiz Pehlevan
The Geometry Is the Memory: Task-Density Routing for Continual LoRA
Shared title terminologycs.LGAlireza Heidari, Thomas Veasey, Mariano Tepper
Where It Breaks: Diagnosing Perception, Memory, and Decision Failures of a Vision-Language Agent in Pac-Man
Shared title terminologycs.LGXinglu Wang, Edward Wang, Yong Zhang et al.
Shallow Encoding Emits Deep Memories
Shared title terminologycs.LGMingyuan Ma, Yangmin Li, Harris Nover et al.
Attending to Memory Writes Reduces Seed Variability in Recurrent Length Generalization
Shared title terminologycs.LGSungwoo Goo, Hwi-yeol Yun, Sangkeun Jung