Lune

EMNLP Findings2023

Dynamic Stashing Quantization for Efficient Transformer Training

Guo Yang, Daniel Lo, Robert Mullins, Yiren Zhao

摘要

Large Language Models (LLMs) have demonstrated impressive performance on a range of Natural Language Processing (NLP) tasks. Unfortunately, the immense amount of computations and memory accesses required for LLM training makes them prohibitively expensive in terms of hardware cost, and thus challenging to deploy in use cases such as on-device learning.

In this paper, motivated by the observation that LLM training is memory-bound, we propose a novel dynamic quantization strategy, termed Dynamic Stashing Quantization (DSQ), that puts a special focus on reducing the memory operations, but also enjoys the other benefits of low precision training, such as the reduced arithmetic cost. We conduct a thorough study on two translation tasks (trained-fromscratch) and three classification tasks (finetuning). DSQ reduces the amount of arithmetic operations by 20.95× and the number of DRAM operations by 2.55× on IWSLT17 compared to the standard 16-bit fixed-point.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Compression of Generative Pre-trained Language Models via Quantization 引用了 TernaryBERT: Distillation-aware Ultra-low Bit BERT
  • Compression of Generative Pre-trained Language Models via Quantization 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Ultra-Low Precision 4-bit Training of Deep Neural NetworksXiao Sun, Naigang Wang, Chia-Yu Chen, Jiamin Ni 等NeurIPS 2020 · 227 次引用
  3. Pushing the Limits of Narrow Precision Inferencing at Cloud Scale with Microsoft Floating PointBita Darvish Rouhani, Daniel Lo, Ritchie Zhao, Ming Liu 等NeurIPS 2020 · 153 次引用
  4. TernaryBERT: Distillation-aware Ultra-low Bit BERTWei Zhang, Lu Hou, Yichun Yin, Lifeng Shang 等EMNLP 2020 · 147 次引用
  5. Compression of Generative Pre-trained Language Models via QuantizationChaofan Tao, Lu Hou, Wei Zhang, Lifeng Shang 等ACL 2022 · 119 次引用

相关 Paper

  1. FlexQuant: A Flexible and Efficient Dynamic Precision Switching Framework for LLM QuantizationFangxin Liu, Zongwu Wang, JinHong Xia, Junping Zhao 等EMNLP Findings 2025 · 2 次引用
  2. MobileQuant: Mobile-friendly Quantization for On-device Language ModelsFuwen Tan, Royson Lee, Lukasz Dudziak, Shell Xu Hu 等EMNLP Findings 2024 · 13 次引用
  3. OTARo: Once Tuning for All Precisions Toward Robust On-Device LLMsShaoyuan Chen, Zhixuan Chen, Dawei Yang, Zhihang Yuan 等AAAI 2026
  4. DP-LLM: Runtime Model Adaptation with Dynamic Layer-wise Precision AssignmentSangwoo Kwon, Seong Hoon Seo, Jae W. Lee, Yeonhong ParkNeurIPS 2025 · 4 次引用
  5. BitStack: Any-Size Compression of Large Language Models in Variable Memory EnvironmentsXinghao Wang, Pengyu Wang, Bo Wang, Dong Zhang 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖