The record-breaking performance of deep neural networks (DNNs) comes with heavy parameterization, leading to external dynamic random-access memory (DRAM) for storage. The prohibitive energy of DRAM accesses makes it non-trivial to deploy DNN on resource-constrained devices, calling for minimizing the weight and data movements to improve the energy efficiency. We present SmartDeal (SD), an algorithm framework to trade higher-cost memory storage/access for lower-cost computation, in order to aggressively boost the storage and energy efficiency, for both inference and training. The core of SD is a novel weight decomposition with structural constraints, carefully crafted to unleash the hardware efficiency potential. Specifically, we decompose each weight tensor as the product of a small basis matrix and a large structurally sparse coefficient matrix whose non-zeros are quantized to power-of-2. The resulting sparse and quantized DNNs enjoy greatly reduced energy for data movement and weight storage, incurring minimal overhead to recover the original weights thanks to the sparse bit-operations and cost-favorable computations. Beyond inference, we take another leap to embrace energy-efficient training, introducing innovative techniques to address the unique roadblocks arising in training while preserving the SD structures. We also design a dedicated hardware accelerator to fully utilize the SD structure to improve the real energy efficiency and latency. We conduct experiments on both multiple tasks, models and datasets in different settings. Results show that: 1) applied to inference, SD achieves up to 2.44x energy efficiency as evaluated via real hardware implementations; 2) applied to training, SD leads to 10.56x and 4.48x reduction in the storage and training energy, with negligible accuracy loss compared to state-of-the-art training baselines. Our source codes are available online.
Shrinking the Giant : Quasi-Weightless Transformers for Low Energy Inference
The University of Texas at Austin(德克萨斯大学奥斯汀分校);NVIDIA Research(英伟达研究院);The University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);IBM T.J. Watson Research Center(IBM T.J.沃森研究中心);Federal University of Rio de Janeiro(里约热内卢联邦大学);Universidade do Porto(波尔图大学);Instituto de Telecomunicações(电信研究所)
Accelerating Multi-Model Inference by Merging DNNs of Different Weights
Seoul National University(首尔国立大学);Qualcomm AI Research(高通人工智能研究院)
已被证明在机器学习任务上表现良好的标准化DNN模型被广泛使用,并经常被原样采用以解决下游任务,形成了迁移学习范式。然而,当从GPU服务器的集群服务这种DNN模型的多个实例时,用于提高GPU利用率的现有技术(诸如GPU)是不适用的,因为模型通常由于微调而不共享权重。我们提出了一种融合多个DNN模型的技术,这些模型共享相同的架构,但具有不同的权重和不同的输入。通过将操作替换为更一般的对应操作,可以使Networds成为可能,这些操作允许一组权重仅与某组输入相关联。在ResNet-50、ResNeXt-50、BERT和XLNet上进行的实验表明,NetCore在合并32个模型实例时,可以将DNN推理时间在NVIDIA V100 GPU上加快3.6倍,在TITAN Xp GPU上加快3.0倍,同时仅使用少量额外的GPU内存。
University of Cambridge(剑桥大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Amsterdam(阿姆斯特丹大学);Microsoft Research(微软研究院);The Alan Turing Institute(艾伦·图灵研究所)
DPVI: A Dynamic-Weight Particle-Based Variational Inference Framework
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院)
University of Toronto Scarborough(多伦多大学士嘉堡校区);University of Toronto(多伦多大学);University of Pennsylvania(宾夕法尼亚大学);Mila(米拉研究所);McGill University(麦吉尔大学);Canadian Institute for Advanced Research(加拿大高级研究所)
Fisher Random Walk: Automatic Debiasing Contextual Preference Inference for Large Language Model Evaluation
Department of Statistics, Indiana University Bloomington(印第安纳大学布卢明顿分校统计学系);Fuqua School of Business, Duke University(杜克大学福克商学院);Department of Biostatistics & Bioinformatics, Duke University(杜克大学生物统计学与生物信息学系);Department of Biostatistics, Harvard T.H. Chan School of Public Health(哈佛大学T.H. Chan公共卫生学院生物统计学系)
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Hithink Research(海思睿研究中心);Electronic Engineering, Tsinghua University(清华大学电子工程系)
Interpretable machine-learning for predicting molecular weight of PLA based on artificial bee colony optimization algorithm and adaptive neurofuzzy inference system