atlas

Research map / Architectures and efficiency / Attention and transformers

FFN Fusion: Rethinking Sequential Computation in Large Language Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes FFN Fusion, which parallelizes runs of consecutive FFN layers left after attention removal (via Puzzle NAS) by summing them into one wider FFN, and applies it to derive the 253B Ultra-253B-Base from Llama-3.1-405B-Instruct.

Problem

Sequential depth in large transformer LLMs creates latency bottlenecks under tensor parallelism (synchronization and small-GEMM overheads), and existing compression methods (quantization, pruning, MoE) do not directly reduce sequential computation.

Approach

Consecutive FFN layers remaining after attention removal have low inter-layer dependency, so they can be applied in parallel to the same input and exactly merged into a single wider FFN by concatenating SwiGLU weight matrices; the paper also probes pairwise block dependency to find parallelizable full blocks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply FFN Fusion, KD, and alignment instead of using Llama-405BLlama-405B · Arena Hardscore: 72.56 -> 84.92Helped
Apply FFN Fusion, KD, and alignment instead of using Llama-405BLlama-405B · MMLU Instructscore: 86.53 -> 87.54Helped
Apply FFN Fusion, KD, and alignment instead of using Llama-405BLlama-405B · MMLU-Proscore: 71.92 -> 72.25Helped
Apply FFN Fusion, KD, and alignment instead of using Llama-405BLlama-405B · HumanEvalscore: 85.97 -> 86.58Helped
Apply FFN Fusion, KD, and alignment instead of using Llama-405BLlama-405B · MT-Benchscore: 9.06 -> 9.19Helped
Add FFN Fusion to the Puzzle-pruned modelUltra-PreFusion · Single-user decoding, TP 8, H100tokens/second: 63.38 -> 70.92Helped
Fuse 26 FFNs into 12 layersPuzzle-49B · Accuracyscore: $84.71$ -> $83.92$Hurt
Fuse 26 FFNs into 6 layersPuzzle-49B · Accuracyscore: $84.71$ -> $82.84$Hurt
Fuse 26 FFNs into 3 layersPuzzle-49B · Accuracyscore: $84.71$ -> $81.69$Hurt
Fuse 26 FFNs into 2 layersPuzzle-49B · Accuracyscore: $84.71$ -> $81.24$Hurt
Add KD after Step 3 fusion (ablation)Puzzle-49B Step 3 · Accuracyscore: $81.69$ -> $85.28$Helped
Add instruction tuning and RLHF alignment (ablation)Ultra-253B-Base after KD · Arena Hardscore: 71.81 -> 84.92Helped

Surprising findings

Limitations

Experimental setup

Datasets: Distillation Mix FineWeb Dolma Buzz-V1.2

Benchmarks: MMLU MMLU-Pro Arena Hard HumanEval MT-Bench

Metrics: accuracy tokens/second speedup per-token cost

Baselines: Llama-3.1-405B-Instruct Llama-3.3-70B Puzzle-49B Ultra-PreFusion

Builds on: Puzzle SwiGLU speculative decoding

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy