arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04399cs.CL
收藏

Swordsman: 基于熵驱动的自适应块划分用于高效的扩散语言模型

Swordsman: Entropy-Driven Adaptive Block Partition for Efficient Diffusion Language Models

Tongji University(同济大学);The Ohio State University(俄亥俄州立大学);University of Bristol(布里斯托大学);Macquarie University(麦考瑞大学)

Yu Zhang, Xinchen Li, Jialei Zhou, Hongnan Ma, Zhongwei Wan, Yiwei Shi, Duoqian Miao, Qi Zhang, Longbing Cao

AI总结:

Swordsman通过熵驱动的自适应块划分提升扩散语言模型的推理效率和稳定性。

摘要:

块级解码通过结合块间序列去噪和块内并行解屏蔽,有效提高了扩散语言模型(DLMs)的推理速度和质量。然而,现有块级解码方法通常以刚性固定的方式划分块,这不可避免地导致完整语义或句法成分的碎片化,从而导致性能不佳。受熵减少假说(ERH)的启发,我们认识到成分边界提供了更大的不确定性减少机会,这促使我们利用熵分析来识别成分边界。因此,我们提出了Swordsman,一种用于DLMs的基于熵驱动的自适应块级解码框架。Swordsman通过识别相邻token之间的熵变化来自适应地划分块,以更好地对齐语义或句法成分边界。此外,Swordsman根据块内实时解屏蔽状态动态调整解屏蔽阈值,进一步提高了效率和稳定性。作为一种无需训练的框架,受KV缓存支持,Swordsman在广泛评估中展示了最先进的性能。

英文摘要:

Block-wise decoding effectively improves the inference speed and quality in diffusion language models (DLMs) by combining inter-block sequential denoising and intra-block parallel unmasking. However, existing block-wise decoding methods typically partition blocks in a rigid and fixed manner, which inevitably fragments complete semantic or syntactic constituents, leading to suboptimal performance. Inspired by the entropy reduction hypothesis (ERH), we recognize that constituent boundaries offer greater opportunities for uncertainty reduction, which motivates us to employ entropy analysis for identifying constituent boundaries. Therefore, we propose Swordsman, an entropy-driven adaptive block-wise decoding framework for DLMs. Swordsman adaptively partitions blocks by identifying entropy shifts between adjacent tokens to better align with semantic or syntactic constituent boundaries. In addition, Swordsman dynamically adjusts unmasking thresholds conditioned on the real-time unmasking status within a block, further improving both efficiency and stability. As a training-free framework, supported by KV Cache, Swordsman demonstrates state-of-the-art performance across extensive evaluations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑