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

Gabrielle Kaili-May Liu, Bowen Shi, Avi Caciularu, Idan Szpektor, Arman Cohan
10/30/2024
cs.CLcs.LG

Official code: yale-nlp/MDCure (9 stars, MIT, last commit 2025-11-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

yale-nlp/MDCureOfficial100%
MIT

MDCure: A Scalable Pipeline for Multi-Document Instruction-Following (ACL 2025)

92PythonOct 30, 202411 months agoMIT

Similar Papers

Cite this paper

@article{liu2024mdcure,
  title  = {MDCure: A Scalable Pipeline for Multi-Document Instruction-Following},
  author = {Gabrielle Kaili-May Liu and Bowen Shi and Avi Caciularu and Idan Szpektor and Arman Cohan},
  year   = {2024},
  eprint = {2410.23463},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.23463v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.23463.svg)](https://codeofpaper.com/paper/2410.23463)

Discussion