OAK

AirGun: Adaptive Granularity Quantization for Accelerating Large Language Models

Metadata Downloads
Author(s)
Kim, Sungbin; Lee, Hyunwuk; Kim, Sungwoo; Kim, Cheolhwan; Ro, Won Woo
Type
Conference Paper
Citation
42nd International Conference on Computer Design, pp.645 - 652
Issued Date
2024-11-18
Abstract
Transformer-based models have evolved into Large Language Models (LLMs) by increasing model sizes to achieve higher accuracy, but they incur significant computational and memory costs. As quantization is a promising method to mitigate the huge cost of LLMs, the presence of outliers can lead to accuracy drops during quantization. Previous work pointed out LLMs have outliers only in specific input channels of activations. This suggests that per-input channel quantization would be beneficial, but it poses excessive computational overhead without optimization. To address these challenges, we propose a hardware and software co-design that mitigates the overhead of per-input channel quantization. We first propose AirGun, a quantization method that adaptively quantizes LLM modules. We observe that LLMs have high quantization sensitivity only in specific modules. Based on our observation, AirGun applies hardware-efficient per-tensor quantization for non-sensitive modules and per-input channel quantization for sensitive modules. For per-input channel quantization, we introduce early reconstruction and adaptive dyadic numbering, dismissing the overhead while exploiting its advantages. Additionally, we propose the AirGun accelerator that fully utilizes the advantages of AirGun. As a result, the AirGun accelerator achieves a 4.19x speedup and 63.16% lower energy consumption compared to the previous LM accelerator while achieving higher accuracy.
Publisher
IEEE COMPUTER SOC
Conference Place
IT
Milan, ITALY
URI
https://scholar.gist.ac.kr/handle/local/34911
Appears in Collections:
ETC > 2. Conference Papers
공개 및 라이선스
  • 공개 구분공개
파일 목록
  • 관련 파일이 존재하지 않습니다.

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.