Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Gautam, Aayush, Gagrani, Mukul, Park, Junyoung, Lee, Mingu, Lott, Chiris, Reddy, Narasimha
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914296547508224
author Gautam, Aayush
Gagrani, Mukul
Park, Junyoung
Lee, Mingu
Lott, Chiris
Reddy, Narasimha
author_facet Gautam, Aayush
Gagrani, Mukul
Park, Junyoung
Lee, Mingu
Lott, Chiris
Reddy, Narasimha
contents The prefill stage of large language model (LLM) inference is a key computational bottleneck for long-context workloads. At short-to-moderate context lengths (1K--16K tokens), Feed-Forward Networks (FFNs) dominate this cost, accounting for most of the total FLOPs. Existing FFN sparsification methods, designed for autoregressive decoding, fail to exploit the prefill stage's parallelism and often degrade accuracy. To address this, we introduce FastForward, a predictive sparsity framework that accelerates LLM prefill through block-wise, context-aware FFN sparsity. FastForward combines (1) a lightweight expert predictor to select high-importance neurons per block, (2) an error compensation network to correct sparsity-induced errors, and (3) a layer-wise sparsity scheduler to allocate compute based on token-mixing importance. Across LLaMA and Qwen models up to 8B parameters, FastForward delivers up to 1.45$\times$ compute-bound speedup at 50% FFN sparsity with $<$ 6% accuracy loss compared to the dense baseline on LongBench, substantially reducing Time-to-First-Token (TTFT) for efficient, long-context LLM inference on constrained hardware.
format Preprint
id arxiv_https___arxiv_org_abs_2602_00397
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity
Gautam, Aayush
Gagrani, Mukul
Park, Junyoung
Lee, Mingu
Lott, Chiris
Reddy, Narasimha
Machine Learning
Artificial Intelligence
The prefill stage of large language model (LLM) inference is a key computational bottleneck for long-context workloads. At short-to-moderate context lengths (1K--16K tokens), Feed-Forward Networks (FFNs) dominate this cost, accounting for most of the total FLOPs. Existing FFN sparsification methods, designed for autoregressive decoding, fail to exploit the prefill stage's parallelism and often degrade accuracy. To address this, we introduce FastForward, a predictive sparsity framework that accelerates LLM prefill through block-wise, context-aware FFN sparsity. FastForward combines (1) a lightweight expert predictor to select high-importance neurons per block, (2) an error compensation network to correct sparsity-induced errors, and (3) a layer-wise sparsity scheduler to allocate compute based on token-mixing importance. Across LLaMA and Qwen models up to 8B parameters, FastForward delivers up to 1.45$\times$ compute-bound speedup at 50% FFN sparsity with $<$ 6% accuracy loss compared to the dense baseline on LongBench, substantially reducing Time-to-First-Token (TTFT) for efficient, long-context LLM inference on constrained hardware.
title Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2602.00397