Towards More Effective and Economic Sparsely-Activated Model
Huawei(华为);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Hong Kong University of Science and Technology(香港科技大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)
The sparsely-activated models have achieved great success in natural language processing through large-scale parameters and relatively low computational cost, and gradually become a feasible technique for training and implementing extremely large models. Due to the limit of communication cost, activating multiple experts is hardly affordable during training and inference. Therefore, previous work usually activate just one expert at a time to alleviate additional communication cost. Such routing mechanism limits the upper bound of model performance. In this paper, we first investigate a phenomenon that increasing the number of activated experts can boost the model performance with higher sparse ratio. To increase the number of activated experts without an increase in computational cost, we propose SAM (Switch and Mixture) routing, an efficient hierarchical routing mechanism that activates multiple experts in a same device (GPU). Our methods shed light on the training of extremely large sparse models and experiments prove that our models can achieve significant performance gain with great efficiency improvement.
GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
Google(谷歌)
用更多的数据、计算和参数来缩放语言模型已经推动了自然语言处理的重大进展。例如,由于可扩展性,GPT-3能够在上下文学习任务上取得很好的结果。然而,训练这些大型密集模型需要大量的计算资源。在本文中,我们提出并开发了一个名为GLaM(Generalist Language Model)的语言模型家族,该语言模型使用稀疏激活的混合专家模型架构来扩展模型容量,同时与密集变体相比,训练成本也大大降低。最大的GLaM有1.2万亿个参数,大约是GPT-3的7倍。它消耗的能量仅为训练GPT-3所用能量的1/3,并且需要一半的计算失败用于推理,同时在29个NLP任务中仍然实现了更好的整体zero-shot和one-shot性能。
pQuant: Towards Effective Low-Bit Language Models via Decoupled Linear Quantization-Aware Training
School of Computer Science, Peking University(北京大学计算机学院);College of Future Information Technology, Fudan University(复旦大学未来信息技术学院);Center for Information Research, Academy of Military Sciences(军事科学院信息研究所);Advanced Institute of Big Data(大数据高级研究所);Center of Machine Learning Research, Peking University(北京大学机器学习研究中心)
MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models
Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), UAE(Mohamed bin Zayed人工智能大学(MBZUAI));Michigan State University (MSU), USA(密歇根州立大学(MSU));Amazon Science, UK(亚马逊科学)