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

MDCure:一种用于多文档指令遵循的可扩展流程

MDCure: A Scalable Pipeline for Multi-Document Instruction-Following

Yale University(耶鲁大学);Google Research(谷歌研究)

Gabrielle Kaili-May Liu, Bowen Shi, Avi Caciularu, Idan Szpektor, Arman Cohan

AI总结:

为解决LLM处理多文档时的依赖与冗余难题,提出MDCure框架生成高质量指令数据,并引入MDCureRM奖励模型过滤数据,使各类模型在多文档基准上性能最高提升75.1%。

摘要:

多文档(MD)处理对于 LLM 处理现实世界任务(如大型文档集的摘要生成和问答)至关重要。尽管 LLM 在处理长输入方面已有改进,但 MD 上下文仍存在独特的困难,包括管理文档间依赖性、冗余和结构不连贯。为应对这一挑战,我们引入了 MDCure,这是一个可扩展且有效的指令数据生成框架,旨在增强 LLM 的 MD 能力,且无需承担预训练的计算成本或依赖人工标注数据。MDCure 通过针对性提示,在文章集合上生成高质量的合成 MD 指令数据。我们还引入了 MDCureRM,这是一种经济高效、专为 MD 设计的奖励模型,用于根据生成数据对 MD 设置的训练效用来对其进行评分和过滤。MDCure 兼容开源和闭源模型,并支持 PPO 等策略优化方法,使得即使是小型开源模型也能超越专有 LLM,成为高质量 MD 指令数据的强大生成器,且无需进一步数据过滤。借助 MDCure,我们对 FlanT5、Qwen2 和 LLAMA3.1 模型家族中规模高达 70B 参数的多种 LLM 进行了微调。在涵盖各种任务和领域的广泛 MD 和长上下文基准上的大量评估表明,MDCure 相较于预训练基线和基础模型,性能持续提升高达 75.1%。我们的代码、数据集和模型可在 https://github.com/yale-nlp/MDCure 获取。

英文摘要:

Multi-document (MD) processing is crucial for LLMs to handle real-world tasks such as summarization and question-answering across large sets of documents. While LLMs have improved at processing long inputs, MD contexts still present unique difficulties, including management of inter-document dependencies, redundancy, and incoherent structures. To address this challenge, we introduce MDCure, a scalable and effective instruction data generation framework to enhance the MD capabilities of LLMs without the computational cost of pre-training or reliance on human-annotated data. MDCure generates high-quality synthetic MD instruction data over sets of articles via targeted prompts. We also introduce MDCureRM, a cost-effective, MD-specific reward model to score and filter generated data based on their training utility for MD settings. MDCure is compatible with open- and closed-source models in addition to policy optimization methods such as PPO, enabling even small open-source models to surpass proprietary LLMs as strong generators of high-quality MD instruction data without further data filtering. With MDCure, we fine-tune a wide variety of LLMs up to 70B parameters in size from the FlanT5, Qwen2, and LLAMA3.1 model families. Extensive evaluations on a wide range of MD and long-context benchmarks spanning various tasks and domains show MDCure consistently improves performance over pre-trained baselines and base models by up to 75.1%. Our code, datasets, and models are available at https://github.com/yale-nlp/MDCure.

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

↑