Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Sea AI Lab, Singapore(新加坡Sea AI实验室);Singapore University of Technology and Design(新加坡科技设计大学)
Shen Nie, Fengqi Zhu, Chao Du, Tianyu Pang, Qian Liu, Guangtao Zeng, Min Lin, Chongxuan Li
Masked diffusion models (MDMs) have shown promise in language modeling, yet their scalability and effectiveness in core language tasks, such as text generation and language understanding, remain underexplored. This paper establishes the first scaling law for MDMs, demonstrating a scaling rate comparable to autoregressive models (ARMs) and a relatively small compute gap. Motivated by their scalability, we train a family of MDMs with up to 1.1 billion (B) parameters to systematically evaluate their performance against ARMs of comparable or larger sizes. Fully leveraging the probabilistic formulation of MDMs, we propose a simple yet effective unsupervised classifier-free guidance that effectively exploits large-scale unpaired data, boosting performance for conditional inference. In language understanding, the 1.1B MDM outperforms the 1.1B TinyLlama model trained on the same data across four of eight zero-shot benchmarks. Notably, it achieves competitive math reasoning ability with the 7B Llama-2 model on the GSM8K dataset. In text generation, MDMs with 16 times more pre-training time offer a flexible trade-off against ARMs with the accelerated sampling technique KV-Cache: MDMs match ARMs in performance while being 1.4 times faster during sampling. Moreover, MDMs address challenging tasks for ARMs by effectively handling bidirectional reasoning and adapting to temporal shifts in data. Notably, a 1.1B MDM breaks the reverse curse encountered by much larger ARMs with significantly more data and computation, such as 13B Llama-2 and 175B GPT-3. Our code is available at https://github.com/ML-GSAI/SMDM.
Department of Computer Science, Cornell Tech, NYC, USA(康奈尔科技学院计算机科学系);Department of Computer Science, Cornell University, Ithaca, USA(康奈尔大学计算机科学系);School of Computer and Communication Sciences, EPFL Lausanne, Switzerland(洛桑联邦理工学院计算机与通信科学学院);Department of Computer Science, University of Chicago, Illinois(芝加哥大学计算机科学系);NVIDIA, Santa Clara, USA(英伟达)
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学首都人工智能学院);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大模型与智能治理重点实验室);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(下一代智能搜索与推荐工程技术研究中心,教育部);Huawei Noah’s Ark Lab(华为诺亚实验室)
Mechanism Shift During Post-training from Autoregressive to Masked Diffusion Language Models
Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Department of Biosystems & Biomaterials Science and Engineering, Seoul National University(首尔国立大学生物系统与生物材料科学与工程系)
Revealing the Attention Floating Mechanism in Masked Diffusion Models
School of Computer Science and Engineering, Northeastern University(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
Training-Free Self-Correction for Multimodal Masked Diffusion Models
University of California, Los Angeles(加州大学洛杉矶分校);Mohamed bin Zayed University of Artificial Intelligence(莫莫德·本·扎耶德人工智能大学);East China Normal University(华东师范大学);University of Virginia(弗吉尼亚大学);University of Minnesota(明尼苏达大学);Drexel university(德雷塞尔大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));University of Toronto(多伦多大学)
IDRF: Inverse-Distilled Reward Fine-tuning of Masked Discrete Diffusion Models
Applied AI Institute(应用人工智能研究所);MBZUAI(穆罕默德·本·扎耶德人工智能大学);CMAP, École Polytechnique(巴黎综合理工学院应用数学中心);Institute of Foundation Models(基础模型研究所);LRE, EPITA(EPITA 研究与工程实验室)
DICE: Discrete Inversion Enabling Controllable Editing for Multinomial Diffusion and Masked Generative Models
Rutgers University(新泽西罗格斯大学);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);Red Hat AI Innovation(红帽AI创新);Google DeepMind(谷歌DeepMind);NYU(纽约大学);Walmart Global Tech(沃尔玛全球技术);NEC Labs America(NEC美国实验室);Massachusetts Institute of Technology(麻省理工学院);ANU(澳大利亚国立大学);UT Arlington(德克萨斯大学阿灵顿分校)
Harvard University(哈佛大学);Kempner Institute(凯普纳研究所);Microsoft Research New England(微软研究院新英格兰分部);Institute for Artificial Intelligence and Fundamental Interactions, MIT(麻省理工学院人工智能与基础相互作用研究所)