paper-with-me

홈 › Papers

Accelerating Large Language Models through Partially Linear Feed-Forward Network

2025-01-17 · Gansen Hu, Zhaoguo Wang, Jinglin Wei, Wei Huang, Haibo Chen

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.

📄 PDF Abstract BibTeX arXiv:2501.10054

Code (0)

등록된 구현이 없습니다.

Tasks

Compiler Optimization

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Pruning 설명 없음

Similar Papers 제목 키워드 기반

Accelerating Model-Based Reinforcement Learning with State-Space World Models

2025-02-27 · Maria Krinner, Elie Aljalbout, Angel Romero, Davide Scaramuzza

Reinforcement learning (RL) is a powerful approach for robot learning. However, model-free RL (MFRL) requires a large number of environment interactions to learn successful control policies. This is due to the noisy RL t…

Model-based Reinforcement LearningReinforcement Learning (RL)State Space Models

Vectoring Languages

2024-07-16 · Joseph Chen

Recent breakthroughs in large language models (LLM) have stirred up global attention, and the research has been accelerating non-stop since then. Philosophers and psychologists have also been researching the structure of…

Philosophy

InferenceEvolve: Towards Automated Causal Effect Estimators through Self-Evolving AI

2026-04-05 · Can Wang, Hongyu Zhao, Yiqun Chen arxiv

Causal inference is central to scientific discovery, yet choosing appropriate methods remains challenging because of the complexity of both statistical methodology and real-world data. Inspired by the success of artifici…

Causal Inference

Sparsity in Partially Controllable Linear Systems

2021-10-12 · Yonathan Efroni, Sham Kakade, Akshay Krishnamurthy, Cyril Zhang

A fundamental concept in control theory is that of controllability, where any system state can be reached through an appropriate choice of control inputs. Indeed, a large body of classical and modern approaches are desig…

PAHQ: Accelerating Automated Circuit Discovery through Mixed-Precision Inference Optimization

2025-10-27 · Xinhai Wang, Shu Yang, Liangyu Wang, Lin Zhang 외 arxiv

Circuit discovery, which involves identifying sparse and task-relevant subnetworks in pre-trained language models, is a cornerstone of mechanistic interpretability. Automated Circuit Discovery (ACDC) has emerged as a piv…