Model quantization is challenging due to many tedious hyper-parameters such as precision (bitwidth), dynamic range (minimum and maximum discrete values) and stepsize (interval between discrete values). Unlike prior arts that carefully tune these values, we present a fully differentiable approach to learn all of them, named Differentiable Dynamic Quantization (DDQ), which has several benefits. (1) DDQ is able to quantize challenging lightweight architectures like MobileNets, where different layers prefer different quantization parameters. (2) DDQ is hardware-friendly and can be easily implemented using low-precision matrix-vector multiplication, making it capable in many hardware such as ARM. (3) Extensive experiments show that DDQ outperforms prior arts on many networks and benchmarks, especially when models are already efficient and compact. e.g., DDQ is the first approach that achieves lossless 4-bit quantization for MobileNetV2 on ImageNet.
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(卡内基梅隆大学)
HESTIA: A Hessian-Guided Differentiable Quantization-Aware Training Framework for Extremely Low-Bit LLMs
School of Software and Microelectronics, Peking University, Beijing, China(软件与微电子学院,北京大学,北京,中国);School of Computer Science, Peking University, Beijing, China(计算机科学学院,北京大学,北京,中国)
Auto-ViT-Acc: An FPGA-Aware Automatic Acceleration Framework for Vision Transformer with Mixed-Scheme Quantization
Northeastern University(东北大学);Simon Fraser University(西蒙弗雷泽大学);University of California, Irvine(加州大学欧文分校);ETH Zurich(苏黎世联邦理工学院);The University of Texas at Austin(德克萨斯大学奥斯汀分校)
视觉Transformer(ViT)正在出现,在计算机视觉任务中具有显著提高的准确性。然而,其复杂的体系结构和巨大的计算/存储需求迫切需要新的硬件加速器的设计方法。这项工作提出了一个FPGA感知的自动ViT加速框架的基础上提出的混合方案量化。据我们所知,这是第一个基于FPGA的ViT加速框架,探索模型量化。与最先进的ViT量化工作(算法方法,只有没有硬件加速)相比,我们的量化实现了0.47%至1.36%的高的Top-1精度在相同的位宽。与32位浮点基线FPGA加速器相比,我们的加速器的帧速率提高了约5.6倍(即,56.8 FPS vs. 10.0 FPS),DeiT-base在ImageNet数据集上的准确率下降了0.71%。
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)
Mixed-Precision Neural Network Quantization via Learned Layer-wise Importance
Tsinghua University(清华大学);Peng Cheng Laboratory(鹏城实验室);Shanghai Jiao Tong University(上海交通大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
DiVeQ: Differentiable Vector Quantization Using the Reparameterization Trick
ELLIS Institute Finland & Department of Computer Science, Aalto University, Finland(芬兰ELLIS研究所及阿尔托大学计算机科学系);Department of Information and Communications Engineering, Aalto University, Finland(芬兰阿尔托大学信息与通信工程系)
Generalized Radius and Integrated Codebook Transforms for Differentiable Vector Quantization
Columbia University(哥伦比亚大学);South China Normal University(南方科技大学);University of Warwick(沃里克大学);The City College of New York(纽约城市学院);Hebei Institute of Communications(河北通信学院)
WINDQuant: Weight-Informed Neural Decision-Making for Global Mixed-Precision LLM Quantization
CAIR, VinUniversity, Vietnam(越南 VinUniversity 的 CAIR);Ho Chi Minh City University of Technology (HCMUT), VNU-HCM, Ho Chi Minh City, Vietnam(越南胡志明市技术大学 (HCMUT));CCDS, Nanyang Technological University, Singapore(新加坡南洋理工大学的 CCDS);School of Computing, National University of Singapore, Singapore(新加坡国立大学计算机学院)
Where and How to Enhance: Discovering Bit-Width Contribution for Mixed Precision Quantization
College of Software, Northeastern University(东北大学软件学院);Institute of Intelligent Manufacturing, Nanjing Tech University(南京科技大学智能制造研究院);Faculty of Engineering, University of Toyama(东大大学工学院)
LoRAQuant: Mixed-Precision Quantization of LoRA to Ultra-Low Bits
Dept. Computing Science & Alberta Machine Intelligence Institute (Amii), University of Alberta(计算科学系及阿尔伯塔人工智能研究所(Amii),阿尔伯塔大学);RBC Borealis;Canada CIFAR AI Chair(加拿大CIFAR人工智能 chair)
Efficient Mixed Precision Quantization in Graph Neural Networks
Faculty of Computer Science, University of Vienna(计算机科学系,维也纳大学);UniVie Doctoral School Computer Science, University of Vienna(UniVie计算机科学博士学院,维也纳大学);Research Network Data Science, University of Vienna(数据科学研究网络,维也纳大学)
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架构,证明它显着提高了低位宽激活量化和补充建立激活和权重量化方法,包括最近的功能转换。
GEMQ: Global Expert-Level Mixed-Precision Quantization for MoE LLMs
University of Pittsburgh(匹兹堡大学);University of Central Florida(佛罗里达州立大学);University of Arizona(亚利桑那大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)