Deep Neural Networks (DNNs) typically require massive amount of computation resource in inference tasks for computer vision applications. Quantization can significantly reduce DNN computation and storage by decreasing the bitwidth of network encodings. Recent research affirms that carefully selecting the quantization levels for each layer can preserve the accuracy while pushing the bitwidth below eight bits. However, without arduous manual effort, this deep quantization can lead to significant accuracy loss, leaving it in a position of questionable utility. As such, deep quantization opens a large hyper-parameter space (bitwidth of the layers), the exploration of which is a major challenge. We propose a systematic approach to tackle this problem, by automating the process of discovering the quantization levels through an end-to-end deep reinforcement learning framework (ReLeQ). We adapt policy optimization methods to the problem of quantization, and focus on finding the best design decisions in choosing the state and action spaces, network architecture and training framework, as well as the tuning of various hyperparamters. We show how ReLeQ can balance speed and quality, and provide an asymmetric general solution for quantization of a large variety of deep networks (AlexNet, CIFAR-10, LeNet, MobileNet-V1, ResNet-20, SVHN, and VGG-11) that virtually preserves the accuracy (=< 0.3% loss) while minimizing the computation and storage cost. With these DNNs, ReLeQ enables conventional hardware to achieve 2.2x speedup over 8-bit execution. Similarly, a custom DNN accelerator achieves 2.0x speedup and energy reduction compared to 8-bit runs. These encouraging results mark ReLeQ as the initial step towards automating the deep quantization of neural networks.
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倍,而精度没有任何下降。
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…
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(高丽大学人工智能系)
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)(电气与计算机工程系,香港科技大学)
BitRL: Reinforcement Learning with 1-bit Quantized Language Models for Resource-Constrained Edge Deployment
Department of Computer Science BRAC University Dhaka 1212, Bangladesh;Department of Computer Science Missouri State University Springfield, MO, USA;Department of Computer Science \& Engineering Prime University Dhaka, Bangladesh;Department of Computer Science \& Engineering German University Bangladesh Dhaka, Bangladesh;Department of Information Technology Jahangirnagar University Dhaka, Bangladesh
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Hithink Research(海思睿研究中心);Electronic Engineering, Tsinghua University(清华大学电子工程系)
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(帕特雷大学)
Relative Entropy Regularized Reinforcement Learning for Efficient Encrypted Policy Synthesis
School of Aeronautics and Astronautics, Purdue University(航空宇航工程学院,普渡大学);ASRI, the Department of Electrical and Computer Engineering, Seoul National University(ASRI,电气电子工程系,首尔国立大学);Japan Society for the Promotion of Science(日本学术振兴会)
Reinforcement Learning for Finite Space Mean-Field Type Games
Shanghai Frontiers Science Center of Artificial Intelligence and Deep Learning(上海前沿科学中心人工智能与深度学习中心);NYU Shanghai(纽约大学上海校区);NYU Center for Data Science(纽约大学数据科学中心);NYU-ECNU Institute of Mathematical Sciences(纽约大学-东华大学数学科学研究所)
Goal-Oriented Skill Abstraction for Offline Multi-Task Reinforcement Learning
C2DL, Institute of Automation, Chinese Academy of Sciences(C2DL,自动化研究所,中国科学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(人工智能学院,中国科学院大学);Tencent AI Lab(腾讯AI实验室);Tsinghua University(清华大学)