Gated DeltaNet (GDN) is a linear attention mechanism that replaces the growing KV cache with a fixed-size recurrent state. Hybrid LLMs like Qwen3-Next use 75% GDN layers and achieve competitive accuracy to attention-only models. However, at batch-1, GDN decode is memory-bound on GPUs since the full recurrent state must be round-tripped through HBM every token. We show that this bottleneck is architectural, not algorithmic, as all subquadratic sequence models exhibit arithmetic intensities below 1 FLOP/B at decode time, making them more memory-bound than standard Transformers. We present an FPGA accelerator that eliminates this bottleneck by holding the full 2 MB recurrent state persistently in on-chip BRAM, converting the workload from memory-bound to compute-bound. Our design fuses the GDN recurrence into a five-phase pipelined datapath that performs only one read and one write pass over each state matrix per token, exploits Grouped Value Attention for paired-head parallelism, and overlaps preparation, computation, and output storage via dataflow pipelining. We explore four design points on an AMD Alveo U55C using Vitis HLS, varying head-level parallelism from 2 to 16 value-heads per iteration. Our fastest configuration achieves 63 μs per token, 4.5× faster than the GPU reference on NVIDIA H100 PCIe. Post-implementation power analysis reports 9.96 W on-chip, yielding up to 60× greater energy efficiency per token decoded.
Figures & tables
Fig. 1: Batch-1 decode arithmetic intensity on the H100 FP32 roofline. All architectures fall deep in the memory-bound regime. MHSA Transformers [ 1 ] achieve an arithmetic intensity near 1 FLOP/B whereas subquadratic models (GDN [ 2 ] , DeltaNet [ 3 ] , Mamba [ 4 ] , Mamba-2 [ 5 ] ) fall well below 1 FLOP/B.
Fig. 2: Qwen3-Next [ 6 ] hybrid architecture. GDN layers (3:1 ratio) replace softmax attention with fixed-size recurrent state, making GDN decode the dominant per-token primitive.
Fig. 3: System architecture for Hiter=8 . Per-token inputs arrive via three AXI ports (left) and are buffered in on-chip BRAM. The prepare stage computes gates gt , βt . Four GVA pairs each share a q/k datapath across two PEs; each PE executes the fused five-phase pipeline with PK=16 column parallelism (MAC × 16, II = 1). The 128 dual-port BRAM arrays (bottom) hold the persistent 2 MB state, partitioned by head and column bank, with all four iteration slices sharing the same physical banks at different addresses.
Hiter (v-heads/iter)
2
4
8
16
Niter (iterations)
16
8
4
2
GVA pairs/iter
1
2
4
8
Predicted L @300 MHz ( μ s) a
124.2
67.7
39.4
25.3
a Assumes constant Titer≈2,106 cycles.
TABLE III: Design-Space Configurations
Fig. 4: Per-token latency comparison for batch-1 GDN decode. All FPGA configurations outperform the GPU baseline. Hiter=8 is optimal; Hiter=16 regresses due to pipeline interval inflation.
Platform
Cycles
@300 MHz
@250 MHz
Speedup
H100 (GPU)
—
285
1.0 ×
Hiter=2
42,538
141.7
170.2
2.0 ×
Hiter=4
26,252
87.4
105.0
3.3 ×
Hiter=8
18,978
63.2
75.9
4.5 ×
Hiter=16
23,206
77.4
92.8
3.7 ×
TABLE IV: Per-Token Decode Latency ( μ s) and Speedup vs. GPU Baseline
Fig. 5: FPGA resource utilization and latency across configurations. BRAM plateaus at 25%; DSP, FF, and LUT scale with Hiter . Latency (right axis) reaches a minimum at Hiter=8 ; Hiter=16 increases latency due to pipeline interval inflation despite fewer iterations.
BRAM a
DSP
FF
LUT
Used
%
Used
%
%
%
Hiter=2
523
12
570
6
7
7
Hiter=4
1,035
25
1,090
12
12
13
Hiter=8
1,035
25
2,130
23
24
25
Hiter=16
1,035
25
4,162
46
54
52
a BRAM_18K count; 4,032 available.
TABLE VI: FPGA Resource Utilization (Alveo U55C)
Fig. 6: Post-implementation placement on Alveo U55C. Left: Hiter=2 fits comfortably within SLR0 (12% BRAM, 6% DSP; 9.96 W on-chip power, 263 MHz). Right: Hiter=4 saturates SLR0 and spills into SLR1 (77% SLR-level BRAM, 39% LUT), causing routing failure (88,725 unroutable signals) despite meeting post-synthesis timing at 2.370 ns.
LLM inference acceleration develops algorithms and systems that reduce language-model latency, memory use, and serving cost while preserving output quality.
School of Mathematics and Statistics Xi’an Jiaotong University Xi’an, China · Gaoling School of Artificial Intelligence Renmin University of China Beijing, China