The Qwen4-35B-A3B model from Alibaba’s Qwen team dropped today with something worth looking at beyond the headline numbers: a genuinely unusual attention architecture that shows hybrid linear-plus-sparse design has moved from research paper to deployable model.

The architecture alternates Gated DeltaNet (GDN) layers with Qwen Sparse Attention layers in a repeating four-layer pattern. Three GDN layers, one sparse attention layer, repeat. Most weights—about 35B total—sit in a 256-expert mixture, with roughly 3.8B active per token.

What GDN actually is

Standard transformer attention is O(n2)O(n^2) in sequence length. That’s what gives you the quadratic memory wall at long contexts. The DeltaNet line of work addresses this by replacing softmax attention with a delta-rule update on a fixed-size state matrix. Instead of attending over all previous positions, each layer updates a hidden state using an outer-product write and reads back through it—a modern variant of Hopfield network-style associative memory. The “Gated” variant adds input-dependent gating to control what gets written and read, which helps with harder tasks where the simpler linear associative memory falls short.

The key property: GDN scales O(n)O(n) in sequence length. With a 1M-token context window, three-quarters of your attention computation isn’t quadratic. The sparse attention layers every fourth layer still handle global dependencies but over a compressed view, not the full sequence.

This is different from pure SSMs (Mamba, etc.) that try to replace attention entirely. The hybrid approach keeps the expressive global attention where it matters while doing efficient linear passes everywhere else. Empirically, hybrids have tended to outperform pure linear models at the same parameter count, and that pattern appears to hold as models scale.

Why 256 experts matters

Most production MoE deployments settle on 8–16 experts. Qwen4-35B-A3B uses 256 routed experts with 8 active per token (plus a shared expert). At 256, the routing network is making finer-grained decisions—tokens in a legal document and tokens in Python code aren’t just going to “code expert” vs “language expert,” they’re being routed to one of 256 specialized subnetworks.

The tradeoff is loading cost: more experts means more weight movement, which matters on consumer hardware. But the multi-token prediction (MTP) drafting built into the GGUF and MLX checkpoints means the community has speculative decoding out of the box, which helps offset decode latency.

In practice

Apache 2.0, day-0 support in transformers, vLLM, SGLang, llama.cpp, and MLX. The 3.8B active parameter count means inference is fast once you’ve loaded the right experts. The 1M-token context is usable in vLLM and SGLang with paged KV caches, though filling 1M tokens of GDN state is still non-trivial.

The adjustable reasoning budget (xhigh, high, low, off) is worth noting: “off” mode turns off chain-of-thought entirely, which makes the model behave like a standard instruction-following LM. That’s a useful deployment knob for applications where you want speed over deliberation.

The honest caveat: Qwen benchmarks their own models. The community numbers will follow. But the architectural choices here—hybrid attention, fine-grained MoE, MTP drafting—are specific enough to track, and the fact that it ships with Apache 2.0 and runs in llama.cpp means the experimentation will be public.