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

LongWriter-V:实现视觉语言模型的超长高保真生成

LongWriter-V: Enabling Ultra-Long and High-Fidelity Generation in Vision-Language Models

Tsinghua University(清华大学);Singapore University of Technology and Design(新加坡科技设计大学)

Shangqing Tu, Yucheng Wang, Daniel Zhang-Li, Yushi Bai, Jifan Yu, Yuhao Wu, Lei Hou, Huiqin Liu, Zhiyuan Liu, Bin Xu, Juanzi Li

AI总结:

针对现有大型视觉语言模型长输出生成能力弱的问题,研究构建长输出微调数据集与IterDPO迭代偏好优化方法,并推出评测基准,7B参数模型性能超越GPT-4o等大模型。

摘要:

现有的大型视觉语言模型(LVLM)能够处理上下文长度高达12.8万视觉与文本token的输入,但在生成超过1000词的连贯输出时表现不佳。我们发现其主要限制在于监督微调(SFT)阶段缺乏长输出样本。为解决这一问题,我们构建了LongWriter-V-22k监督微调数据集,包含22158个样本,每个样本包含多张输入图像、一条指令以及长度在0到10000词之间的对应输出。此外,为实现对输入图像保持高保真度的长输出,我们对监督微调模型采用直接偏好优化(DPO)。考虑到收集长输出(例如3000词)的人类反馈成本高昂,我们提出IterDPO方法,将长输出拆分为多个片段,通过迭代修正与原始输出构成偏好对。我们还构建了MMLongBench-Write基准,包含六项任务,用于评估视觉语言模型的长生成能力。我们的70亿参数模型经LongWriter-V-22k与IterDPO训练后,在该基准上取得了优异性能,超越了GPT-4o等规模更大的专有模型。代码与数据见:https://github.com/THU-KEG/LongWriter-V

英文摘要:

Existing Large Vision-Language Models (LVLMs) can process inputs with context lengths up to 128k visual and text tokens, yet they struggle to generate coherent outputs beyond 1,000 words. We find that the primary limitation is the absence of long output examples during supervised fine-tuning (SFT). To tackle this issue, we introduce LongWriter-V-22k, a SFT dataset comprising 22,158 examples, each with multiple input images, an instruction, and corresponding outputs ranging from 0 to 10,000 words. Moreover, to achieve long outputs that maintain high-fidelity to the input images, we employ Direct Preference Optimization (DPO) to the SFT model. Given the high cost of collecting human feedback for lengthy outputs (e.g., 3,000 words), we propose IterDPO, which breaks long outputs into segments and uses iterative corrections to form preference pairs with the original outputs. Additionally, we develop MMLongBench-Write, a benchmark featuring six tasks to evaluate the long-generation capabilities of VLMs. Our 7B parameter model, trained with LongWriter-V-22k and IterDPO, achieves impressive performance on this benchmark, outperforming larger proprietary models like GPT-4o. Code and data: https://github.com/THU-KEG/LongWriter-V

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

↑