2025-02-21 · 专家 · 计算机视觉 · 机器学习

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

该论文提出了一种名为LongWriter-V的方法,通过构建大规模数据集和迭代直接偏好优化,显著提升了视觉语言模型生成超长文本的能力。

更新于 2025-02-21。作者:Shangqing Tu、Yucheng Wang、Daniel Zhang-Li、Yushi Bai、Jifan Yu、Yuhao Wu、Lei Hou、Huiqin Liu、Zhiyuan Liu、Bin Xu、Juanzi Li。

中文摘要

现有的大规模视觉语言模型(LVLMs)可以处理长度高达128k视觉和文本token的输入,但它们在生成超过1,000个单词的连贯输出时却遇到了困难。我们发现,主要的限制在于监督微调(SFT)过程中缺乏长输出示例。为了解决这个问题,我们引入了LongWriter-V-22k,这是一个包含22,158个示例的SFT数据集,每个示例包含多个输入图像、一条指令以及从0到10,000个单词的对应输出。此外,为了生成与输入图像高度保真的长输出,我们在SFT模型中采用了直接偏好优化(DPO)。鉴于收集大量人类反馈(例如3,000个单词)的成本很高,我们提出了IterDPO,它将长输出分解成段,并使用迭代校正与原始输出形成偏好对。此外,我们开发了MMLongBench-Write,这是一个包含六个任务的基准测试,用于评估VLMs的长生成能力。我们的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

解读

一句话总结

该论文提出了一种名为LongWriter-V的方法,通过构建大规模数据集和迭代直接偏好优化,显著提升了视觉语言模型生成超长文本的能力。

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

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

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

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

来源

机器可读索引:llms.txt