paper-with-me

Papers

FFN Fusion: Rethinking Sequential Computation in Large Language Models

2025-03-24 · Akhiad Bercovich, Mohammad Dabbah, Omri Puny, Ido Galil, Amnon Geifman, Yonatan Geifman, Izhak Golan, Ehud Karpas, Itay Levy, Zach Moshe, Najeeb Nabwani, Tomer Ronen, Itamar Schen, Elad Segal, Ido Shahaf, Oren Tropp, Ran Zilberstein, Ran El-Yaniv

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.

📄 PDF Abstract BibTeX arXiv:2503.18908

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

MinerU-Diffusion: Rethinking Document OCR as Inverse Rendering via Diffusion Decoding

2026-03-23 · Hejun Dong, Junbo Niu, Bin Wang, Weijun Zeng 외 arxiv

Optical character recognition (OCR) has evolved from line-level transcription to structured document parsing, requiring models to recover long-form sequences containing layout, tables, and formulas. Despite recent advanc…

Inverse Rendering

Rethinking Encoder-Decoder Flow Through Shared Structures

2025-01-24 · Frederik Laboyrie, Mehmet Kerim Yucel, Albert Saa-Garriga

Dense prediction tasks have enjoyed a growing complexity of encoder architectures, decoders, however, have remained largely the same. They rely on individual blocks decoding intermediate feature maps sequentially. We int…

DecoderDepth Estimation

Rethinking Large Language Model Architectures for Sequential Recommendations

2024-02-14 · Hanbing Wang, Xiaorui Liu, Wenqi Fan, Xiangyu Zhao 외

Recently, sequential recommendation has been adapted to the LLM paradigm to enjoy the power of LLMs. LLM-based methods usually formulate recommendation information into natural language and the model is trained to predic…

Language ModelingLanguage ModellingLarge Language Modelmodel+1

Human-AI Co-Creation: A Framework for Collaborative Design in Intelligent Systems

2025-07-22 · Zhangqi Liu arxiv

As artificial intelligence (AI) continues to evolve from a back-end computational tool into an interactive, generative collaborator, its integration into early-stage design processes demands a rethinking of traditional w…

Position Paper: Rethinking Privacy in RL for Sequential Decision-making in the Age of LLMs

2025-04-15 · Flint Xiaofeng Fan, Cheston Tan, Roger Wattenhofer, Yew-Soon Ong

The rise of reinforcement learning (RL) in critical real-world applications demands a fundamental rethinking of privacy in AI systems. Traditional privacy frameworks, designed to protect isolated data points, fall short …

Autonomous VehiclesDecision MakingPositionReinforcement Learning (RL)+1