Deep Dive into a New LLM Architecture: How GDN and MoE Cuts Inference Costs by Over 60%
A newly launched large language model claims to reduce task costs by more than 60% in enterprise AI workloads. This article breaks down the technical foundations behind that performance: a hybrid architecture combining Gated Delta Networks (GDN) with MoE and attention layers, the math behind GDN's state update mechanism, key engineering refinements, ablation study results, and a revealing post-training pitfall involving RoPE removal.
A new generation of large language models has officially launched, with claims of reducing task costs by over 60% across various enterprise AI solutions. This remarkable cost-efficiency gain stems not only from its companion reasoning model’s ability to solve complex reasoning problems, but more importantly from deep innovation in the underlying architecture. The real foundation behind this performance leap is not marketing material, but a 28-page next-generation architecture design report released earlier. Through detailed ablation experiments, that report reveals the rigorous design logic and technical breakthroughs behind the new architecture. This article provides an in-depth analysis covering the core architecture, the underlying math, engineering implementation, and training pitfalls.
1. Core Architecture Evolution: Hybrid Gated Networks and an Extreme MoE Configuration
The new model’s foundation is a deep fusion of Mixture-of-Experts (MoE) and a novel attention mechanism. In the preview version of this architecture, the model has 125B total parameters, but each token only activates 6B parameters during inference, supplemented by a 51B-parameter n-gram table. This design maintains ample model capacity while keeping inference compute tightly controlled. In the official release, the recipe was scaled proportionally to 2.4T backbone parameters, 71B activated parameters, and a 328B n-gram table, achieving a further leap in capability.
For layer composition, the architecture uses a “three GDN (Gated DeltaNet) layers to one full attention layer” ratio. This ratio was not arbitrary — it is the optimal configuration derived from extensive ablation experiments. By alternating compute-intensive full attention layers with the more efficient Gated DeltaNet layers, the model maintains quality in long-context processing while significantly reducing memory footprint and inference latency.
2. The Math Behind Gated DeltaNet (GDN): Mechanism Innovation
The core of GDN lies in its elegant state update mechanism. The state update formula can be written as:
St = α_t(I − β_t k_t k_tᵀ)S{t−1} + β_t k_t v_tᵀ
This formula achieves precise state control through two independent gating mechanisms:
- The α gate (decay): Controls the lifetime of the entire state. It determines how much historical information is retained in the current state, allowing the model to dynamically forget distant context as needed.
- The β gate (write strength): Handles targeted information updates. Before writing a new value, the system first computes S{t−1}k_t — the existing value stored for that key in the current state — and then writes back only the difference v_t − S{t−1}k_t.
The elegance of this design: when the same key appears repeatedly, the outer product does not accumulate infinitely. Instead, the model performs an overwrite-style update. Before such techniques emerged, common industry approaches had clear limitations: some state-space model (SSM) variants only had the α gate, meaning forgetting a single key required decaying all keys together; some delta-net variants only had the β gate, enabling targeted updates but unable to quickly clear the context. GDN combines both, truly achieving “erase and modify” capabilities.
3. Engineering Implementation: Squeezing Out Performance in the Details
Beyond the theoretical framework, the architecture made two key engineering adjustments that further improved stability and performance:
- Activation function replacement: The original theoretical design used SiLU for the output gate, but this architecture replaced it with a bounded sigmoid function. Experiments show that bounded activations exhibit better consistency across tasks and effectively prevent state value explosions.
- Normalization layer improvement: Traditional RMSNorm was replaced with a zero-centered normalization variant. This change effectively suppresses excessive growth of normalization weights and ensures training stability in deep networks.
Additionally, before q/k vectors enter the recurrent computation, the architecture adds a short causal convolution followed by L2 normalization. The short causal convolution injects a local inductive bias, helping capture short-range dependencies, while L2 normalization strictly constrains the magnitude of the rank-one transition, preventing numerical divergence during recurrence.
4. Ablation Study Analysis: Scientifically Validating the Layer Ratio
To validate the “three GDN layers to one attention layer” design, the team ran controlled experiments on a 28-layer, 25B-A3B MoE architecture. The experiments involved two stages — pretraining (400B tokens, 4K context) and long-context fine-tuning (80B tokens, 32K context) — with three different checkpoints evaluated under identical conditions.
The evaluated architectures included: a full attention baseline, an SWA (sliding window attention) hybrid, and a GDN hybrid. Both hybrid architectures used a “one full attention layer per four layers” design, with the SWA window size set to 128. Across nine benchmark tests, the average scores were: full attention at 49.87, SWA hybrid at 51.15, and GDN hybrid highest at 53.81.
The GDN hybrid won eight of nine benchmarks against full attention and seven against the SWA hybrid. However, on the EvalPlus code completion task, the GDN hybrid scored 49.71 — lower than full attention’s 51.01 and SWA’s 52.12. This suggests that while GDN leads in overall capability, further optimization is still needed for code completion tasks, which are highly sensitive to local code context.
5. A Hidden Post-Training Pitfall: The RoPE Removal Example
Architecture exploration also involves easily overlooked pitfalls — one of them being positional encoding adjustments. The report includes a particularly instructive experiment: removing RoPE (Rotary Position Embedding) from the full attention layers.
During pretraining, the loss curves of models with and without RoPE were nearly indistinguishable. However, once post-training began, the RoPE-free model showed a significantly higher rate of “infinite generation” — the model failed to emit stop tokens and kept talking to itself endlessly. This kind of “breaks later” failure simply cannot be caught by monitoring pretraining loss alone. The lesson for developers: when evaluating architecture changes, the evaluation must span the entire pretraining and post-training pipeline, guarding against deep behavioral anomalies caused by omitting seemingly unimportant components.
6. Conclusion
By introducing Gated DeltaNet (GDN) and a hybrid attention mechanism, this new generation of LLM has pushed ablation-driven optimization and engineering refinement to the extreme. It reduced task costs by more than 60% while maintaining inference quality, demonstrating the enormous potential of architectural innovation for the industry. Its discovery of post-training pitfalls also offers valuable lessons for developers. In today’s increasingly competitive LLM landscape, only by reasoning from first principles and rigorously validating every change can teams go further on the path of cost reduction and efficiency improvement.
