CLIPPER: Compression enables long-context synthetic data generation

Chau Minh Pham, Yapei Chang, Mohit Iyyer

TL;DR

This paper introduces CLIPPER, a novel method for generating high-quality synthetic data for long-context reasoning tasks, specifically narrative claim verification. By compressing lengthy books into outlines and summaries, CLIPPER produces more valid and complex claims than traditional methods, leading to significant performance improvements in fine-tuned language models.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly used for complex reasoning tasks, but generating high-quality synthetic data for these tasks, especially those involving long contexts (like understanding entire books), is a major challenge. Existing methods of generating synthetic data by directly prompting LLMs with long documents often result in "artifact-riddled" claims that are inaccurate or lack the necessary complexity for robust training. This is particularly problematic for tasks like narrative claim verification, where a model must determine the truthfulness of a statement by reasoning over extensive text. The authors highlight that even state-of-the-art LLMs struggle with this task, making it difficult to create reliable training data.

Methods

CLIPPER employs a two-stage compression-based approach:

  1. Compression: The long book text is first compressed into intermediate representations. This involves using an LLM to generate:
  2. Chapter Outlines: Detailed summaries of each chapter, including synopses, major events, and character lists.
  3. Book Summaries: A high-level overview of the entire book.
  4. Synthetic Claim Generation: These compressed representations (outlines and summaries) are then used to prompt an LLM to generate synthetic claims. The claims are designed to be complex and require reasoning over multiple chapters. Crucially, each claim is accompanied by a "chain-of-thought" (CoT) reasoning trace that grounds the claim within specific chapters. This approach aims to reduce the error rate and complexity associated with processing raw, uncompressed text.

Datasets

  • CLIPPER-generated Dataset: The authors created a new dataset of 19,000 claims paired with source books and CoT reasoning, generated using their CLIPPER pipeline.
  • Existing Benchmarks:
    • NoCha: Used for evaluating narrative claim verification performance.
  • NarrativeQA: A long-form question-answering benchmark.
  • MuSR: A benchmark for algorithmic reasoning problems.
  • ∞Bench QA: A long-form QA benchmark focused on novels.

Key Insights and Ideas

  • Compression is Key: Compressing long documents into outlines and summaries significantly improves the quality and validity of generated synthetic claims, reducing errors and increasing complexity. This is attributed to LLMs being good summarizers and the reduced cognitive load on the LLM during generation.
  • Grounding is Crucial: The inclusion of CoT reasoning, grounded in chapter outlines, makes the generated claims more verifiable and helps fine-tuned models produce more detailed and accurate explanations.
  • Chapter-level vs. Book-level Claims: While both types of claims are beneficial, the paper suggests that models might benefit more from claims whose evidence is localized to a single chapter, especially smaller models.
  • Synthetic Data Outperforms Short-Form Data: Fine-tuning on long-context synthetic data (CLIPPER) leads to better performance on long-context tasks compared to fine-tuning on short-form data.

Key Results

  • Breakthrough on Narrative Claim Verification: Fine-tuning open-weight models on the CLIPPER dataset led to significant improvements. For instance, Llama-3.1-8B-Instruct's accuracy on their test set (CLIPPER-test) jumped from 27.9% to 76.0%.
  • State-of-the-Art for Sub-10B Models: Their fine-tuned Qwen model set a new state-of-the-art on the NoCha leaderboard for models under 10 billion parameters.
  • Reduced Error Rate: CLIPPER reduced the claim error rate from 73.1% (naïve approach) to 16.7%.
  • Cost-Effective: CLIPPER is significantly cheaper to generate data with ($0.05/claim) compared to the naïve approach ($0.07/claim) and human annotation ($1.70/claim).
  • Improved CoT Groundedness: Fine-tuned models showed a substantial increase in the groundedness of their chain-of-thought reasoning, with ProLong-CLIPPER achieving 80.6%.
  • Modest Gains on Other Tasks: While claim verification saw dramatic improvements, gains on other narrative understanding tasks like NarrativeQA and MuSR were more modest.

Limitations and Future Work

  • Model Size: Smaller models (7B/8B) struggle with the complex reasoning required for book-level claims, suggesting that larger models might be needed for more advanced capabilities.
  • Cost of Training: Hyperparameter tuning and full model training are computationally expensive, limiting extensive experimentation.
  • Claim Complexity: While CLIPPER produces more complex claims than naïve methods, they still may not fully match the complexity of human-written claims found in benchmarks like NoCha, which often involve reasoning about subtle details.
  • Future Work: The authors suggest exploring the effect of book-level claims on larger models (>70B) and developing methods to generate even harder claims to better align with human-written benchmarks. They also propose incorporating more low-level events into chapter outlines for more diverse claims.

Summary updated

BibTeX
@inproceedings{pham2025clipper,
  author = {Chau Minh Pham and Yapei Chang and Mohit Iyyer},
  title = {{CLIPPER: Compression enables long-context synthetic data generation}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=akHq1QcqeZ},
}
Figure