arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19613cs.CLcs.AI
收藏

最高36倍提速:面向MLLMs关键信息提取的基于掩码的并行推断范式

Up to 36x Speedup: Mask-based Parallel Inference Paradigm for Key Information Extraction in MLLMs

Shanghai Jiao Tong University(上海交通大学);Ant Info Security Lab, Ant Group(蚂蚁集团信息安全部实验室);Inner Mongolia Research Institute, Shanghai Jiao Tong University(内蒙古研究院,上海交通大学)

Xinzhong Wang, Ya Guo, Jing Li, Huan Chen, Yi Tu, Yijie Hong, Gongshen Liu, Huijia Zhu

AI总结:

本文提出基于掩码的并行推断范式,通过并行生成提升MLLMs关键信息提取的效率,实现最高36倍的提速。

摘要:

从视觉丰富文档(VrDs)中提取关键信息(KIE)是一项关键任务,最近大型语言模型(LLMs)和多模态大型语言模型(MLLMs)已展示了强大潜力。然而,它们依赖于自回归推断,这种推断按顺序生成输出,造成显著的效率瓶颈,尤其是在KIE任务通常涉及提取多个语义独立字段时。为克服这一限制,我们引入了PIP:一种用于KIE的并行推断范式。我们的方法通过使用'[mask]'标记作为所有目标值的占位符,使这些值能够在单次前向传递中同时生成。为了促进这一范式,我们开发了一种定制的掩码预训练策略,并构建了大规模监督数据集。实验结果表明,我们的PIP模型在与传统自回归基础模型相比时,实现了5-36倍的推断提速,且性能损失可忽略不计。通过显著提高效率同时保持高精度,PIP为可扩展且实用的现实世界KIE解决方案铺平了道路。

英文摘要:

Key Information Extraction (KIE) from visually-rich documents (VrDs) is a critical task, for which recent Large Language Models (LLMs) and Multi-Modal Large Language Models (MLLMs) have demonstrated strong potential. However, their reliance on autoregressive inference, which generates outputs sequentially, creates a significant efficiency bottleneck, especially as KIE tasks often involve extracting multiple, semantically independent fields. To overcome this limitation, we introduce PIP: a Parallel Inference Paradigm for KIE. Our approach reformulates the problem by using "[mask]" tokens as placeholders for all target values, enabling their simultaneous generation in a single forward pass. To facilitate this paradigm, we develop a tailored mask pre-training strategy and construct large-scale supervised datasets. Experimental results show that our PIP-models achieve a 5-36x inference speedup with negligible performance degradation compared to traditional autoregressive base models. By substantially improving efficiency while maintaining high accuracy, PIP paves the way for scalable and practical real-world KIE solutions.

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

↑