FFN Fusion: Rethinking Sequential Computation in Large Language Models
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
We introduce FFN Fusion, an architectural optimization technique that reduces sequential computation in large language models by identifying and exploiting natural opportunities for parallelization. Our key insight is that sequences of Feed-Forward Network (FFN) layers, particularly those remaining after the removal of specific attention layers, can often be parallelized with minimal accuracy impact. We develop a principled methodology for identifying and fusing such sequences, transforming them into parallel operations that significantly reduce inference latency while preserving model behavior. Applying these techniques to Llama-3.1-405B-Instruct, we create Llama-Nemotron-Ultra-253B-Base (Ultra-253B-Base), an efficient and soon-to-be publicly available model that achieves a 1.71X speedup in inference latency and 35X lower per-token cost while maintaining strong performance across benchmarks. Through extensive experiments on models from 49B to 253B parameters, we demonstrate that FFN Fusion becomes increasingly effective at larger scales and can complement existing optimization techniques like quantization and pruning. Most intriguingly, we find that even full transformer blocks containing both attention and FFN layers can sometimes be parallelized, suggesting new directions for neural architecture design.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 32 of its 49 references that are in the map. First posted on arXiv 24 Mar 2025.
Builds on
32 of 49 references.
Closest ancestors · 1
Same direction, newest first
Other references · 31
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2024Mixtral of Expertscited by 1,823
- 2020GLU Variants Improve Transformercited by 1,804
19 more
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2016Pruning Filters for Efficient ConvNetscited by 1,143
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2022Galactica: A Large Language Model for Sciencecited by 744
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 346
- 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinkingcited by 313
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 164
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 146
- 2024Nemotron-4 340B Technical Reportcited by 144
- 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 130
- 2023The Impact of Large Language Models on Scientific Discovery: a Preliminary Study using GPT-4cited by 112
- 2024What Matters in Transformers? Not All Attention is Neededcited by 84
- 2023Intelligent Virtual Assistants with LLM-based Process Automationcited by 26
- 2024Puzzle: Distillation-Based NAS for Inference-Optimized LLMscited by 17
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025QuickSilver -- Speeding up LLM Inference through Dynamic Token Halting, KV Skipping, Contextual Token Fusion, and Adaptive Matryoshka Quantization
- 2025Accelerating Large Language Model Inference via Early-Exiting Algorithms
- 2025Leveraging the true depth of LLMs
- 2024CQIL: Inference Latency Optimization with Concurrent Computation of Quasi-Independent Layers
- 2024Search for Efficient Large Language Models
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruning
- 2024FinerCut: Finer-grained Interpretable Layer Pruning for Large Language Models
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference