Mixed-precision quantization mostly predetermines the model bit-width settings before actual training due to the non-differential bit-width sampling process, obtaining sub-optimal performance. Worse still, the conventional static quality-consistent training setting, i.e., all data is assumed to be of the same quality across training and inference, overlooks data quality changes in real-world applications which may lead to poor robustness of the quantized models. In this paper, we propose a novel Data Quality-aware Mixed-precision Quantization framework, dubbed DQMQ, to dynamically adapt quantization bit-widths to different data qualities. The adaption is based on a bit-width decision policy that can be learned jointly with the quantization training. Concretely, DQMQ is modeled as a hybrid reinforcement learning (RL) task that combines model-based policy optimization with supervised quantization training. By relaxing the discrete bit-width sampling to a continuous probability distribution that is encoded with few learnable parameters, DQMQ is differentiable and can be directly optimized end-to-end with a hybrid optimization target considering both task performance and quantization benefits. Trained on mixed-quality image datasets, DQMQ can implicitly select the most proper bit-width for each layer when facing uneven input qualities. Extensive experiments on various benchmark datasets and networks demonstrate the superiority of DQMQ against existing fixed/mixed-precision quantization methods.
SDQ: Stochastic Differentiable Quantization with Mixed Precision
Hong Kong University of Science and Technology(香港科技大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Jockey Club Institute for Advanced Study, HKUST(香港科技大学赛马会高等研究院);Reality Labs, Meta Inc(Meta公司现实实验室);ACCESS - AI Chip Center for Emerging Smart Systems(新兴智能系统AI芯片中心(ACCESS));Carnegie Mellon University(卡内基梅隆大学)
Mitigating Adversarial Perturbations for Deep Reinforcement Learning via Vector Quantization
School of Electrical Engineering, Korea Advanced Institute of Science and Technology(韩国科学技术院电气工程学院);Department of Artificial Intelligence, Korea University(高丽大学人工智能系)
QuaRL: Quantization for Fast and Environmentally Sustainable Reinforcement Learning
Harvard University(哈佛大学);Amazon Advertising(亚马逊广告);Georgia Institute of Technology(佐治亚理工学院);DeepMind(深度思维);Google Research, Brain(谷歌研究院大脑团队)
深度强化学习在实现任务级自主性方面继续显示出巨大的潜力,然而,其计算和能量需求仍然非常高。在本文中,我们通过将量化应用于强化学习来解决这个问题。为此,我们引入了一种新的强化学习(RL)训练范式,\textit{ActorQ},以加快演员-学习者分布式RL训练。\textit{ActorQ}利用8位量化参与者来加速数据汇集,而不影响学习收敛。我们的量化分布式RL训练系统\textit{ActorQ}展示了端到端的加速\blue{between 1.5 $\times$ and 5.41$\times$},以及在一系列任务(Deepmind Control Suite)和不同RL算法(D4 PG,DQN)上的全精度训练的更快收敛。此外,我们比较了\textit{ActorQ}与标准强化学习\blue{algorithms}在各种任务上的碳排放量(二氧化碳的千克数)。在各种设置中,我们表明\textit{ActorQ}通过实现\blue{carbon emission improvements between 1.9$\times$ and 3.76$\times$}来实现更环保的强化学习,而不是在全精度中训练RL代理。我们相信,这是未来许多关于实现计算节能和可持续强化学习的工作中的第一个。源代码可在此处提供给公众用途:\url{https://github.com/harvard-ed…
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Hithink Research(海思睿研究中心);Electronic Engineering, Tsinghua University(清华大学电子工程系)
FIXAR: A Fixed-Point Deep Reinforcement Learning Platform with Quantization-Aware Training and Adaptive Parallelism
School of Electrical Engineering KAIST(韩国科学技术院电气工程学院)
在本文中,我们提出了一个名为FIXAR的深度强化学习平台,该平台首次采用了固定点数据类型和算术单元,并采用了软硬件协同设计的方法。从32位定点数据开始,量化感知训练(QAT)根据激活范围降低其数据精度,并执行再训练以最大限度地减少奖励降级。FIXAR提出了由可配置处理元件组成的自适应阵列处理核心,以支持高吞吐量推理和训练的层内并行和批内并行。最后,在Xilinx U 50上实现了FIXAR,达到了每秒25293.3次推理(IPS)的训练吞吐量和2638.0 IPS/W的加速器效率,比CPU-GPU平台快2.7倍,节能15.4倍,而精度没有任何下降。
Hardware-Aware DNN Compression via Diverse Pruning and Mixed-Precision Quantization
Aristotle University of Thessaloniki(亚里士多德大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Southern Illinois University Carbondale(南伊利诺伊大学卡本代尔分校);University of Patras(帕特雷大学)
Distributed Deep Reinforcement Learning Based Gradient Quantization for Federated Learning Enabled Vehicle Edge Computing
School of Internet of Things Engineering, Wuxi Institute of Technology(物联网工程学院,无锡科技学院);School of Internet of Things Engineering, Jiangnan University(物联网工程学院,江南大学);Department of Electronic Engineering, Beijing National Research Center for Information Science and Technology, Tsinghua University(电子工程系,信息科学与技术国家研究中心,清华大学);Qualcomm(高通);School of Engineering, University of Kent(工程学院,肯特大学);Department of Electrical and Computer Engineering, Hong Kong University of Science and Technology (HKUST)(电气与计算机工程系,香港科技大学)
STaMP: Sequence Transformation and Mixed Precision for Low-Precision Activation Quantization
Qualcomm AI Research(高通人工智能研究)
量化是减少生成式人工智能模型的推理延迟、功耗和内存占用的关键方法。然而,当激活被量化为低于8位时,准确度通常急剧下降。最近的工作表明,可逆线性变换(例如旋转)可以通过重新参数化特征通道和权重来帮助量化。在本文中,我们提出了\textit{Sequence Transformation and Mixed Precision}(STaMP)的量化,一种新的策略,适用于线性变换沿\textit{sequence}维利用语言和视觉数据的强局部相关性。通过以更高的精度在每个中间激活中保持少量的令牌,我们可以在较低的(平均)激活位宽下保持模型的准确性。我们评估STaMP最近的LVM和LLM架构,证明它显着提高了低位宽激活量化和补充建立激活和权重量化方法,包括最近的功能转换。
EdgeRazor: A Lightweight Framework for Large Language Models via Mixed-Precision Quantization-Aware Distillation
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Intelligent Science and Technology, Nanjing University(南京大学智能科学与技术学院);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Microsoft AI(微软AI)
MODE: Modality-Decomposed Expert-Level Mixed-Precision Quantization for MoE Multimodal LLMs
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Zhongguancun Academy(中关村学院)
AMQ: Enabling AutoML for Mixed-precision Weight-Only Quantization of Large Language Models
Graduate School of Artificial Intelligence(人工智能研究生院);Department of Convergence IT Engineering(融合IT工程系);Pohang University of Science and Technology (POSTECH)(釜山科学技术大学)
Mixed Non-linear Quantization for Vision Transformers
Chungnam National University(Chungnam国立大学);Electronics and Telecommunications Research Institute(电子电信研究所);Korea Electronics Technology Institute(韩国电子技术研究所)
APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models
School of Microelectronics, Southern University of Science and Technology(南方科技大学微电子学院);Department of Electrical and Electronic Engineering, University of Hong Kong(香港大学电机电子工程学系)
QuantuneV2: Compiler-Based Local Metric-Driven Mixed Precision Quantization for Practical Embedded AI Applications
School of Computing, Korea Advanced Institute of Science & Technology (KAIST)(韩国科学技术院计算机学院);Electronics and Telecommunications Research Institute (ETRI)(电子通信研究院)