Skip to content

Attention · Gated attention

Gated Attention

A learned sigmoid gate scales the attention output before it re-enters the residual stream.

After the softmax attention is computed, a gate derived from the layer input multiplies the result element-wise. The gate can damp heads or channels that are not useful for the current token.

Qwen3-Next and Qwen3.5 use it in their full-attention layers next to linear-attention layers; Trinity Large uses it in an attention-only stack. Reported benefits include better training stability and fewer attention-sink artefacts.

Trinity Large architecture and gated attention code snippet. Figure from Sebastian Raschka’s explainer.

Adoption over time

Models in the atlas using Gated attention, per half-year of release.

Loading

Used by

21

models in the atlas

Earliest: Qwen3 Next (80B-A3B) (Sep 9, 2025)

Models using Gated attention

  • Architecture diagram of LFM3 (1.7B)

    Liquid AI, released 2026-10-27. Dense hybrid decoder, 1.7B parameters, 256K context. Attention: ShortConv plus gated GQA with QK-Norm and sliding-window/global attention.

  • Architecture diagram of Reflection Beam (501B)

    Reflection, released 2026-10-16. Sparse MoE decoder, 501B total, 23B active, 1M context. Attention: Gated GQA with QK-Norm and sliding-window/global attention.

  • Architecture diagram of Dory1.0 (4B)

    NVIDIA, released 2026-10-16. Dense decoder, 4B parameters, 256K context. Attention: Gated GQA; 3:1 sliding-window/full, RoPE.

  • Architecture diagram of Muse Spark Open (816B-A42B)

    Meta, released 2026-10-15. Sparse MoE decoder, 816B total, 42B active, 1M context. Attention: Gated GQA with scaleless QK-Norm, local-only RoPE, global NoPE, and 3:1 sliding-window/global attention.

  • Architecture diagram of Ling 3.1 Flash (560B)

    InclusionAI, released 2026-10-13. Hybrid MoE decoder, 560B total, 25B active, 1M context. Attention: 7:1 Kimi Delta Attention and gated MLA.

  • Architecture diagram of Ember-1 (2.8T)

    Fireworks AI, released 2026-09-23. Hybrid MoE decoder, 2.8T total, 104B active, 1M context. Attention: 3:1 Kimi Delta Attention and Gated MLA with NoPE.

  • Architecture diagram of Step-5 Preview (600B)

    StepFun, released 2026-09-20. Sparse MoE decoder, 600B total, 27B active, 1M context. Attention: Gated GQA with QK-Norm and 3:1 sliding-window/sparse attention.

  • Architecture diagram of Tencent Hy4-preview (770B-A49B)

    Tencent, released 2026-08-28. Sparse MoE decoder, 770B total, 49B active, 1M context. Attention: Gated MLA with DeepSeek Sparse Attention and IndexCache.

  • Architecture diagram of Qwen3.8-Flash-Next (125B-A6B)

    Alibaba Cloud, released 2026-08-26. Hybrid MoE decoder, 125B total, 6B active, 256K context. Attention: 3:1 Gated DeltaNet and Qwen Sparse Attention (QSA).

  • Architecture diagram of Ornith 1.5 (35B-A3B)

    Ornith, released 2026-08-23. Hybrid MoE decoder, 35B total, 3B active, 256K context. Attention: 3:1 Gated DeltaNet and Gated Attention.

  • Architecture diagram of Qwen3.8 (27B)

    Alibaba Cloud, released 2026-08-14. Dense hybrid decoder, 27B parameters, 256K context. Attention: 3:1 Gated DeltaNet and Gated Attention.

  • Architecture diagram of Muse Glimmer (30B)

    Meta, released 2026-08-10. Dense decoder, 30B parameters, 128K context. Attention: Gated GQA with scaleless QK-Norm, local-only RoPE, global NoPE, and 3:1 sliding-window/global attention.

Search the atlas

Jump to a model, concept or page