Depth-Wise Gated Delta-Rule Updates for Interference-Free Matrix Memory
Add a gated erasure rule to the per-token depth memory so later layers can overwrite stale features without expanding memory slots.
Source paper
Generated by AI. The paper’s authors did not write these.
Add a gated erasure rule to the per-token depth memory so later layers can overwrite stale features without expanding memory slots.
Replace standard quadratic attention with linear or sparse sequence attention inside dual-stream depth-routing architectures to enable sub-quadratic long-context modeling.
Align attention head dimensions and quantize per-token depth memory operations to unlock FlashAttention compatibility and reduce memory-bandwidth overhead during training and inference.
Identify and fix gradient-norm spikes in dual-stream depth-routing networks so large models train stably with standard activations instead of bounded substitutes.
Pair dynamic cross-layer head routing with sparse mixture-of-experts feed-forward layers and evaluate on reasoning and coding benchmarks to resolve capacity trade-offs.
The paper introduces loom attention and LoomFormer, a dual-stream Transformer architecture that makes inter-head circuits dynamically rewirable at every token rather than fixed by static virtual weights. By routing head outputs and inputs vertically through a shared per-token matrix memory alongside standard horizontal token attention, LoomFormer achieves the language modeling and downstream accuracy of Transformers trained with over 3x compute and recent residual-stream baselines trained with 1.7-2.8x compute at only 2.0-3.7% extra forward FLOPs.
LoomFormer maintains two per-token residual streams: a standard vector stream carrying control signals (token routing via d/4-dimensional RoPE queries/keys and slot routing via low-rank port generators) and a matrix memory M in R^(dk x d) storing compressed head and FFN_M writes. Within each block, LoomMHA shifts and RMS-normalizes M, reads per-head queries, keys, values, and output bypasses via normalized gated linear attention (MRead), performs strictly causal horizontal attention over tokens, and writes normalized head outputs back to M via outer-product updates (MWrite), while a split feed-forward layer (FFN_x and FFN_M) updates both streams.