A gated, depthwise causal convolution mixes only a few neighboring tokens. A very cheap substitute for attention.
Goes back toDec 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Models
Some hybrid models (LFM2, Nemotron-H) replace most attention layers with short causal convolutions: each position mixes information from just the last few tokens through a depthwise conv, with multiplicative gates deciding what passes through. It is dramatically cheaper than attention and surprisingly capable for local patterns; the few remaining attention layers supply global context.
Share of new models that have included short convolution blocks over time.
Open any of these on hfviewer to find this block in the interactive architecture graph.
Browse all 53 models with this in the catalog →
hfviewer renders the full architecture of 3,500+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.
Browse all model graphs →