← Tue, Nov 17 digest

Latent Lattice Language Models

read article ↗ hn thread ↗

Latent Lattice Language Models introduce per-layer horizontal recurrent latent streams running alongside the vertical residual stream, lowering validation perplexity across multiple architectures.

summary is enough The overview page and metrics clearly explain the architectural modification, making a deep read unnecessary until code is released.

summary

Latent Lattice Language Models add horizontal, per-layer recurrent latent streams that persist across tokens to complement the standard vertical residual stream. These latents directly condition attention, KV-cache writes, and MLP computations rather than serving only as sequence-mixing memory. Experiments on 406M-parameter models trained on 20B FineWeb-Edu tokens show consistent perplexity improvements over baseline transformers. The technique also enhances recurrent backbones like Mamba-2 and Gated DeltaNet.

key points

  1. A 406M-parameter Lattice model lowers validation perplexity from 15.41 to 14.40 compared to a parameter-matched baseline transformer.
  2. Horizontal latents directly condition vertical attention, KV-cache writes, and MLP layers.
  3. The technique composes with hyper-connections, reducing perplexity to 13.61 when combined with other enhancements.

who should read it

Machine learning researchers and engineers focused on language model architectures and state-space models.

discussion positive

consensus

Commenters find the architectural approach intriguing and draw parallels to short-convolution methods in linear attention.

pushback

One commenter questions whether exponential moving averages can carry granular information and notes the lack of long-context evaluations.

best comment by augment_me ↗

Seems like just an extension of Short-conv in the linear attention methods where we instead carry the EMA of the entire sequence instead of nearest 4 tokens.

It would make sense in my opinion to do the evals based on the reason for needing Short-conv in the architectures that use it in the first place, where it was added to support exact retrieval/needle-in-haystack when we compress the attention state.

It's odd to make this arch extension and not test beyond a 2k context window, or with the needle-in-haystack benchmark.

In my head this should fail because the EMA cannot carry this …

It connects the new architecture to existing linear attention methods and flags missing long-context evaluations.

Generated by an LLM from the article and thread. Check the sources before relying on it.