상세 보기
CLAT: A Clustering-Based Attention Transformer Accelerator for Low-Latency Text Generation in LLMs
- Lee, Sunwoo;
- Kim, Beomseok;
- Park, Jeongwoo;
- Jeon, Dongsuk
WEB OF SCIENCE
5SCOPUS
6초록
Transformer-based large language models (LLMs) excel in text generation but face challenges like memory bandwidth bottlenecks and large key-value (KV) cache sizes as context lengths grow, impacting low-latency performance. Existing accelerators adopt parallelism, model compression, and sparsity exploitation but often fail to fully utilize token-specific sparsity, limiting their effectiveness for long context lengths. CLAT addresses these issues with a low-overhead clustering algorithm that identifies relevant key vector clusters for each token’s query, omitting less relevant vectors with minimal impact. It optimizes memory bandwidth using routing for single-batch inference and introduces scheduling techniques to reduce attention layer latency. Additionally, CLAT compresses model parameters to 4-bit precision and KV caches to 8-bit precision, supported by a multi-precision MAC structure that avoids extra overhead. Validated on Llama2-7B, OPT-6.7B, and Llama3-8B models, CLAT reduces attention layer latency by up to 88.6% and overall text generation latency by up to 34.9%. It improves single-batch text generation throughput by 1.66× to 2.42× over an A100 GPU, demonstrating significant performance gains. © 2004-2012 IEEE.
키워드
- 제목
- CLAT: A Clustering-Based Attention Transformer Accelerator for Low-Latency Text Generation in LLMs
- 저자
- Lee, Sunwoo; Kim, Beomseok; Park, Jeongwoo; Jeon, Dongsuk
- 발행일
- 2025-06
- 유형
- Article; Early Access
- 권
- 72
- 호
- 11
- 페이지
- 6553 ~ 6566
- 언어
- ENG
- 출판사
- Institute of Electrical and Electronics Engineers Inc.
- 발행국가
- 미국
- 분량
- 14 페이지
- ISSN
- E 1558-0806
P 1549-8328