paper-with-me

홈 › Papers

CHESS: Optimizing LLM Inference via Channel-Wise Thresholding and Selective Sparsification

2024-09-02 · Junhui He, Shangyu Wu, Weidong Wen, Chun Jason Xue, Qingan Li

Deploying large language models (LLMs) on edge devices presents significant challenges due to the substantial computational overhead and memory requirements. Activation sparsification can mitigate these resource challenges by reducing the number of activated neurons during inference. Existing methods typically employ thresholding-based sparsification based on the statistics of activation tensors. However, they do not model the impact of activation sparsification on performance, resulting in suboptimal performance degradation. To address the limitations, this paper reformulates the activation sparsification problem to explicitly capture the relationship between activation sparsity and model performance. Then, this paper proposes CHESS, a general activation sparsification approach via CHannel-wise thrEsholding and Selective Sparsification. First, channel-wise thresholding assigns a unique threshold to each activation channel in the feed-forward network (FFN) layers. Then, selective sparsification involves applying thresholding-based activation sparsification to specific layers within the attention modules. Finally, we detail the implementation of sparse kernels to accelerate LLM inference. Experimental results demonstrate that the proposed CHESS achieves lower performance degradation over eight downstream tasks while activating fewer parameters than existing methods, thus speeding up the LLM inference by up to 1.27x.

📄 PDF Abstract BibTeX arXiv:2409.01366

Code (1)

zeonfaiho/chess 공식 구현 pytorch

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 제목 키워드 기반

InfoChess: A Game of Adversarial Inference and a Laboratory for Quantifiable Information Control

2026-04-15 · Kieran A. Murphy arxiv

We propose InfoChess, a symmetric adversarial game that elevates competitive information acquisition to the primary objective. There is no piece capture, removing material incentives that would otherwise confound the rol…

Reinforcement Learning

CHESS: Context-aware Hierarchical Efficient Semantic Selection for Long-Context LLM Inference

2026-02-24 · Chao Fei, Guozhong Li, Chenxi Liu, Panos Kalnis arxiv

Long-context LLMs demand accurate inference at low latency, yet decoding becomes primarily constrained by KV cache as context grows. Prior pruning methods are largely context-agnostic: their token selection ignores step-…

LST-Net: Learning a Convolutional Neural Network with a Learnable Sparse Transform

2020-08-01 · ECCV 2020 8 · Lida Li, Kun Wang, Shuai Li, Xiangchu Feng 외

The 2D convolutional (Conv2d) layer is the fundamental element to a deep convolutional neural network (CNN). Despite the great success of CNN, the conventional Conv2d is still limited in effectively reducing the spatial …

Are Chess Discussions Racist? An Adversarial Hate Speech Data Set

2020-11-20 · Rupak Sarkar, Ashiqur R. KhudaBukhsh

On June 28, 2020, while presenting a chess podcast on Grandmaster Hikaru Nakamura, Antonio Radi\'c's YouTube handle got blocked because it contained "harmful and dangerous" content. YouTube did not give further specific …

Deep unrolling Shrinkage Network for Dynamic MR imaging

2023-07-19 · Yinghao Zhang, Xiaodi Li, Weihang Li, Yue Hu

Deep unrolling networks that utilize sparsity priors have achieved great success in dynamic magnetic resonance (MR) imaging. The convolutional neural network (CNN) is usually utilized to extract the transformed domain, a…