paper-with-me

Papers

CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models

2024-04-12 · DongHyun Lee, Je-Yong Lee, Genghan Zhang, Mo Tiwari, Azalia Mirhoseini

Large Language Models (LLMs) have dramatically advanced AI applications, yet their deployment remains challenging due to their immense inference costs. Recent studies ameliorate the computational costs of LLMs by increasing their activation sparsity but suffer from significant performance degradation on downstream tasks. In this work, we introduce a new framework for sparsifying the activations of base LLMs and reducing inference costs, dubbed Contextually Aware Thresholding for Sparsity (CATS). CATS is relatively simple, easy to implement, and highly effective. At the heart of our framework is a new non-linear activation function. We demonstrate that CATS can be applied to various base models, including Mistral-7B and Llama2-7B, and outperforms existing sparsification techniques in downstream task performance. More precisely, CATS-based models often achieve downstream task performance within 1-2% of their base models without any fine-tuning and even at activation sparsity levels of 50%. Furthermore, CATS-based models converge faster and display better task performance than competing techniques when fine-tuning is applied. Finally, we develop a custom GPU kernel for efficient implementation of CATS that translates the activation of sparsity of CATS to real wall-clock time speedups. Our custom kernel implementation of CATS results in a ~15% improvement in wall-clock inference latency of token generation on both Llama-7B and Mistral-7B.

📄 PDF Abstract BibTeX arXiv:2404.08763

Code (3)

scalingintelligence/cats 공식 구현 pytorch
infini-ai-lab/sirius pytorch
zeonfaiho/chess pytorch

Tasks

GPU

Methods 이 논문이 사용한 방법론

BASE 설명 없음
AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

Sensitivity-Aware Thresholding and Token Routing for Activation Sparsification in Large Language Models

2026-07-09 · Bishmoy Paul, Youngmin Yi, Hoeseok Yang arxiv

Efficient inference in Large Language Models (LLMs) requires deciding where computation can be reduced while preserving model quality. We study this problem through multilayer perceptron (MLP) activation sparsification a…

Bayes-CATSI: A variational Bayesian deep learning framework for medical time series data imputation

2024-10-01 · Omkar Kulkarni, Rohitash Chandra

Medical time series datasets feature missing values that need data imputation methods, however, conventional machine learning models fall short due to a lack of uncertainty quantification in predictions. Among these mode…

EEGElectromyography (EMG)ImputationMissing Values+3

You Are What You Train: Effects of Data Composition on Training Context-aware Machine Translation Models

2025-09-17 · Paweł Mąka, Yusuf Can Semerci, Jan Scholtes, Gerasimos Spanakis arxiv

Achieving human-level translations requires leveraging context to ensure coherence and handle complex phenomena like pronoun disambiguation. Sparsity of contextually rich examples in the standard training data has been h…

Cross-Lingual TransferMachine Translation

CATS: Enhancing Multivariate Time Series Forecasting by Constructing Auxiliary Time Series as Exogenous Variables

2024-03-04 · Jiecheng Lu, Xu Han, Yan Sun, Shihao Yang

For Multivariate Time Series Forecasting (MTSF), recent deep learning applications show that univariate models frequently outperform multivariate ones. To address the difficiency in multivariate models, we introduce a me…

Multivariate Time Series ForecastingTime SeriesTime Series Forecasting

Efficient Relaxed Gradient Support Pursuit for Sparsity Constrained Non-convex Optimization

2019-12-02 · Fanhua Shang, Bingkun Wei, Hongying Liu, Yuanyuan Liu 외

Large-scale non-convex sparsity-constrained problems have recently gained extensive attention. Most existing deterministic optimization methods (e.g., GraSP) are not suitable for large-scale and high-dimensional problems…

Stochastic Optimization