Accelerating Large Language Models through Partially Linear Feed-Forward Network
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) demonstrate remarkable capabilities but face deployment challenges due to their massive parameter counts. While existing compression techniques like pruning can reduce model size, it leads to significant accuracy degradation under high compression ratios. We present a novel perspective inspired by constant folding in compiler optimization. Our approach enables parameter reduction by treating activation functions in LLMs as linear functions. However, recent LLMs use complex non-linear activations like GELU that prevent direct application of this technique. We propose TARDIS, which enables optimization of LLMs with non-linear activations by partially approximating them with linear functions in frequently occurring input ranges. For outlier inputs, TARDIS employs an online predictor to dynamically fall back to original computations. Our experiments demonstrate that TARDIS achieves 80% parameter reduction in feed-forward networks, while significantly outperforming state-of-the-art pruning methods Wanda and RIA with up to 65% higher accuracy. In practical deployments for a 7B model, TARDIS achieves 1.6x end-to-end inference speedup when integrated with the vLLM serving system, and 1.4x speedup with the widely adopted HuggingFace implementation, while incurring only a 10.9% accuracy trade-off.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). First posted on arXiv 17 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Search for Efficient Large Language Models
- 2025Pruning Laws for Large Language Models
- 2025Leveraging the true depth of LLMs
- 2024Basis Selection: Low-Rank Decomposition of Pretrained Large Language Models for Target Applications
- 2024GUIDE: A Global Unified Inference Engine for Deploying Large Language Models in Heterogeneous Environments
- 2023Sparse Fine-tuning for Inference Acceleration of Large Language Models
- 2026Beyond FLOPs: Benchmarking Real Inference Acceleration of LLM Pruning under a GEMM-Centric Taxonomy
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights