2025-05-23 · 专家 · 多模态 · 计算机视觉 · 自然语言处理

Dimple: Discrete Diffusion Multimodal Large Language Model with Parallel Decoding

本文提出了Dimple,第一个离散扩散多模态大语言模型(DMLLM),通过结合自回归和扩散训练,实现了与自回归模型相当的性能,同时提高了推理效率和可控性。

更新于 2025-05-23。作者:Runpeng Yu、Xinyin Ma、Xinchao Wang。

中文摘要

在这项工作中,我们提出了Dimple,这是第一个离散扩散多模态大型语言模型(DMLLM)。我们观察到,仅使用纯离散扩散方法进行训练会导致显著的训练不稳定、性能次优以及严重的长度偏差问题。为了解决这些挑战,我们设计了一种新颖的训练范式,该范式结合了初始的自回归阶段和随后的扩散阶段。这种方法产生了Dimple-7B模型,它使用与LLaVA-NEXT相同的训练数据集和类似的训练流程。Dimple-7B在性能上最终超越了LLaVA-NEXT,提高了3.9%,证明了DMLLM可以实现与自回归模型相当的性能。为了提高推理效率,我们提出了一种称为自信解码的解码策略,该策略动态调整每步生成的标记数量,显著减少了生成迭代次数。在自回归模型中,生成过程中的前向迭代次数等于响应长度。然而,在自信解码中,Dimple所需的迭代次数甚至只有文本{响应长度}{3}。我们还重新实现了自回归模型中的预填充技术,并证明它在大多数基准评估中不会对性能产生显著影响,同时提供了1.5倍到7倍的速度提升。此外,我们探索了Dimple使用结构先验精确控制其响应的能力。这些先验以不同于基于指令或思维链提示的方式实现结构化响应,并允许对响应格式和长度进行精细控制,这在自回归模型中难以实现。总的来说,这项工作验证了DMLLM的可行性和优势,并提高了其推理效率和可控性。代码和模型可在https://github.com/yu-rp/Dimple获取。

英文摘要

In this work, we propose Dimple, the first Discrete Diffusion Multimodal Large Language Model (DMLLM). We observe that training with a purely discrete diffusion approach leads to significant training instability, suboptimal performance, and severe length bias issues. To address these challenges, we design a novel training paradigm that combines an initial autoregressive phase with a subsequent diffusion phase. This approach yields the Dimple-7B model, trained on the same dataset and using a similar training pipeline as LLaVA-NEXT. Dimple-7B ultimately surpasses LLaVA-NEXT in performance by 3.9%, demonstrating that DMLLM can achieve performance comparable to that of autoregressive models. To improve inference efficiency, we propose a decoding strategy termed confident decoding, which dynamically adjusts the number of tokens generated at each step, significantly reducing the number of generation iterations. In autoregressive models, the number of forward iterations during generation equals the response length. With confident decoding, however, the number of iterations needed by Dimple is even only text{response length}{3}. We also re-implement the prefilling technique in autoregressive models and demonstrate that it does not significantly impact performance on most benchmark evaluations, while offering a speedup of 1.5x to 7x. Additionally, we explore Dimple's capability to precisely control its response using structure priors. These priors enable structured responses in a manner distinct from instruction-based or chain-of-thought prompting, and allow fine-grained control over response format and length, which is difficult to achieve in autoregressive models. Overall, this work validates the feasibility and advantages of DMLLM and enhances its inference efficiency and controllability. Code and models are available at https://github.com/yu-rp/Dimple.

解读

一句话总结

本文提出了Dimple,第一个离散扩散多模态大语言模型(DMLLM),通过结合自回归和扩散训练,实现了与自回归模型相当的性能,同时提高了推理效率和可控性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt