paper-with-me

홈 › Papers

FFSplit: Split Feed-Forward Network For Optimizing Accuracy-Efficiency Trade-off in Language Model Inference

2024-01-08 · Zirui Liu, Qingquan Song, Qiang Charles Xiao, Sathiya Keerthi Selvaraj, Rahul Mazumder, Aman Gupta, Xia Hu

The large number of parameters in Pretrained Language Models enhance their performance, but also make them resource-intensive, making it challenging to deploy them on commodity hardware like a single GPU. Due to the memory and power limitations of these devices, model compression techniques are often used to decrease both the model's size and its inference latency. This usually results in a trade-off between model accuracy and efficiency. Therefore, optimizing this balance is essential for effectively deploying LLMs on commodity hardware. A significant portion of the efficiency challenge is the Feed-forward network (FFN) component, which accounts for roughly $\frac{2}{3}$ total parameters and inference latency. In this paper, we first observe that only a few neurons of FFN module have large output norm for any input tokens, a.k.a. heavy hitters, while the others are sparsely triggered by different tokens. Based on this observation, we explicitly split the FFN into two parts according to the heavy hitters. We improve the efficiency-accuracy trade-off of existing compression methods by allocating more resource to FFN parts with heavy hitters. In practice, our method can reduce model size by 43.1\% and bring $1.25\sim1.56\times$ wall clock time speedup on different hardware with negligible accuracy drop.

📄 PDF Abstract BibTeX arXiv:2401.04044

Code (0)

등록된 구현이 없습니다.

Tasks

GPULanguage ModelingLanguage ModellingModel Compression

Similar Papers 제목 키워드 기반

When Molecular Similarity Works: Property Cliffs Reveal Hidden Errors

2026-05-17 · Di Hu, Kun Li, Haojie Rao, Longtao Hu 외 arxiv

Accurate prediction of molecular properties underpins drug discovery and material design, yet even state-of-the-art models remain vulnerable to localized failure modes that aggregate metrics cannot detect. The places whe…

Drug Discovery

Parallel fault-tolerant programming of an arbitrary feedforward photonic network

2019-09-11 · Sunil Pai, Ian A. D. Williamson, Tyler W. Hughes, Momchil Minkov 외

Reconfigurable photonic mesh networks of tunable beamsplitter nodes can linearly transform $N$-dimensional vectors representing input modal amplitudes of light for applications such as energy-efficient machine learning h…

CascadedViT: Cascaded Chunk-FeedForward and Cascaded Group Attention Vision Transformer

2025-11-18 · Srivathsan Sivakumar, Faisal Z. Qureshi arxiv

Vision Transformers (ViTs) have demonstrated remarkable performance across a range of computer vision tasks; however, their high computational, memory, and energy demands hinder deployment on resource-constrained platfor…

No Pose, No Problem in 4D: Feed-Forward Dynamic Gaussians from Unposed Multi-View Videos

2026-05-21 · Matteo Balice, Yanik Kunzi, Chenyangguang Zhang, Matteo Matteucci 외 arxiv

Recent feed-forward 3D gaussian splatting methods have made dramatic progress on individual aspects of 3D scene reconstruction, but no existing method jointly addresses dynamic content, multi-view input, and unknown came…

Unsupervised inference for optimizing deep feedforward neural network architecture

2021-01-01 · Anonymous

We propose an unsupervised inference algorithm to find optimal deep feedforward neural network architecture by modeling hierarchical representations of given data set. Our algorithm learns the optimal neural network arch…