Published in AAAI 2024 Main Technical Track. Equal contribution by the first 3 authors. Code has been released as a part of https://github.com/microsoft/DeepSpeed. Part of this paper is from our previous arxiv report (arXiv:2211.11586)
Recent advances on deep learning models come at the price of formidable training cost. The increasing model size is one of the root causes, but another less-emphasized fact is that data scale is actually increasing at a similar speed as model scale, and the training cost is proportional to both of them. Compared to the rapidly evolving model architecture, how to efficiently use the training data (especially for the expensive foundation model pretraining) is both less explored and difficult to realize due to the lack of a convenient framework that focuses on data efficiency capabilities. To this end, we present DeepSpeed Data Efficiency, a framework that makes better use of data, increases training efficiency, and improves model quality. Specifically, we propose and combine two data efficiency techniques: efficient data sampling via a general curriculum learning library, and efficient data routing via a novel random layerwise token dropping technique. For GPT-3 1.3B language model pretraining, our work achieves 12.5x less data/time/cost (\$3.7K if rent on Azure), while still maintaining 95% of model quality compared to baseline with full data and cost (\$46.3K). For GPT-3 1.3B and BERT-large pretraining, our work can also achieve the same model quality with up to 2x less data/time/cost, or achieve better model quality under same data/time/cost. DeepSpeed Data Efficiency is easy to use and tune, enabling us to easily apply it and verify its benefit on additional tasks including GPT-3 MoE model pretraining and small-scale GPT-2/ViT finetuning.
FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Hong Kong University of Science and Technology(香港科技大学)
Learning with Foresight: Enhancing Neural Routing Policy via Multi-Node Lookahead Prediction
Eindhoven University of Technology(埃因霍温理工大学);Nanyang Technological University(南洋理工大学);Agency for Science, Technology and Research (A*STAR)(科技研究局(A*STAR))
Generalizing GNNs with Tokenized Mixture of Experts
University of Connecticut Storrs(康涅狄格大学斯特劳斯分校);University of Notre Dame(Notre Dame 大学);University of Virginia(弗吉尼亚大学);Northwestern University Evanston(北western 大学埃文斯顿分校)
FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement
Peking University(北京大学);Carnegie Mellon University(卡内基梅隆大学);Microsoft(微软);Microsoft Research(微软研究院);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)
Skrull: Towards Efficient Long Context Fine-tuning through Dynamic Data Scheduling
School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉学科学院);State Key Lab of Processors, Institute of Computing Technology, CAS(中国科学院计算技术研究所 processors 国家重点实验室);Alibaba Group(阿里巴巴集团);Sun Yat-sen University(中山大学)
Improving Generalization of Neural Vehicle Routing Problem Solvers Through the Lens of Model Architecture
Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院、教育部符号计算与知识工程重点实验室);Joint NTU-UBC Research Centre of Excellence in Active Living for the Elderly, Nanyang Technological University(南洋理工大学、新加坡国立大学-不列颠哥伦比亚大学老年人积极生活联合卓越研究中心);WeBank-NTU Joint Research Institute on Fintech, Nanyang Technological University(南洋理工大学微众银行金融科技联合研究院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院)
Improving Generalization of Neural Combinatorial Optimization for Vehicle Routing Problems via Test-Time Projection Learning
School of Automation and Intelligent Manufacturing, Southern University of Science and Technology, Shenzhen, China(自动化与智能制造学院,南方科技大学,深圳,中国);Guangdong Provincial Key Laboratory of Fully Actuated System Control Theory and Technology, Southern University of Science and Technology, Shenzhen, China(广东省全驱动系统控制理论与技术重点实验室,南方科技大学,深圳,中国);Peng Cheng Laboratory, Shenzhen, China(鹏城实验室,深圳,中国)
Department of Computer Science University of Maryland - College Park(计算机科学系大学马里兰大学-学院公园);Department of Computer Science Florida State University(计算机科学系佛罗里达州立大学);Department of Computer Science and Engineering University of Texas at Arlington(计算机科学与工程系德克萨斯大学阿灵顿分校)
CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routing
The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Intel(英特尔);Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·拉希德人工智能大学);Rutgers University(罗格斯大学)