paper-with-me

홈 › Papers

Attention is Naturally Sparse with Gaussian Distributed Input

2024-04-03 · Yichuan Deng, Zhao Song, Chiwun Yang

The computational intensity of Large Language Models (LLMs) is a critical bottleneck, primarily due to the $O(n^2)$ complexity of the attention mechanism in transformer architectures. Addressing this, sparse attention emerges as a key innovation, aiming to reduce computational load while maintaining model performance. This study presents a rigorous theoretical analysis of the sparsity in attention scores within LLMs, particularly under the framework of Gaussian inputs. By establishing a set of foundational assumptions and employing a methodical theoretical approach, we unravel the intrinsic characteristics of attention score sparsity and its implications on computational efficiency. Our main contribution lies in providing a detailed theoretical examination of how sparsity manifests in attention mechanisms, offering insights into the potential trade-offs between computational savings and model effectiveness. This work not only advances our understanding of sparse attention but also provides a scaffold for future research in optimizing the computational frameworks of LLMs, paving the way for more scalable and efficient AI systems.

📄 PDF Abstract BibTeX arXiv:2404.02690

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Scalable Grouped Gaussian Processes via Direct Cholesky Functional Representations

2019-03-10 · Astrid Dahl, Edwin V. Bonilla

We consider multi-task regression models where observations are assumed to be a linear combination of several latent node and weight functions, all drawn from Gaussian process (GP) priors that allow nonzero covariance be…

Gaussian ProcessesVariational Inference

Sparse Attention as Compact Kernel Regression

2026-01-30 · Saul Santos, Nuno Gonçalves, Daniel C. McNamee, Marcos Treviso 외 arxiv

Recent work has revealed a link between self-attention mechanisms in transformers and test-time kernel regression via the Nadaraya-Watson estimator, with standard softmax attention corresponding to a Gaussian kernel. How…

Density Estimation

Prediction under Uncertainty in Sparse Spectrum Gaussian Processes with Applications to Filtering and Control

2017-08-01 · ICML 2017 8 · Yunpeng Pan, Xinyan Yan, Evangelos A. Theodorou, Byron Boots

Sparse Spectrum Gaussian Processes (SSGPs) are a powerful tool for scaling Gaussian processes (GPs) to large datasets. Existing SSGP algorithms for regression assume deterministic inputs, precluding their use in man…

Gaussian ProcessesModel Predictive Controlregression

DGTR: Distributed Gaussian Turbo-Reconstruction for Sparse-View Vast Scenes

2024-11-19 · Hao Li, Yuanyuan Gao, Haosong Peng, Chenming Wu 외

Novel-view synthesis (NVS) approaches play a critical role in vast scene reconstruction. However, these methods rely heavily on dense image inputs and prolonged training times, making them unsuitable where computational …

Novel View Synthesis

Improving the Gaussian Process Sparse Spectrum Approximation by Representing Uncertainty in Frequency Inputs

2015-03-09 · Yarin Gal, Richard Turner

Standard sparse pseudo-input approximations to the Gaussian process (GP) cannot handle complex functions well. Sparse spectrum alternatives attempt to answer this but are known to over-fit. We suggest the use of variatio…

Variational Inference