atlas

Research map / Large language models / Language, safety and interpretability

Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Model

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Quest, a query-centric data synthesis method that uses doc2query-predicted queries and keyword-based inverted indexes to concatenate semantically relevant yet diverse documents for long-context continued pretraining.

Problem

Long-context continued training relies on filtered long documents that are domain-imbalanced, while existing concatenation methods either sacrifice semantic coherence (random concatenation) or diversity (similarity-based KNN/ICLM).

Approach

Predict multiple queries per document with a doc2query model, extract keywords from those queries to index documents, then sample and concatenate documents sharing a keyword, with oversampling of rare keywords to balance the data distribution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use query-centric Quest synthesis instead of Standard random concatenationPythia continued pretraining · Longbench 32k Avg.score: 20.94 -> 22.06Helped
Use query-centric Quest synthesis instead of KNN retrieval concatenationPythia continued pretraining · Longbook QA 128kscore: 16.42 -> 18.92Helped
Use Quest-synthesized long-context data instead of existing long documentsPythia-1.4B · Longbench 32k Avg.score: 21.11 -> 22.06Helped
Add query-based synthesis to LLaMA-3-8BLLaMA-3-8B · Needle-in-a-Haystack 128kaccuracy: 88% -> 97%Helped
Replace query keywords with randomly selected keywords at higher ratios (ablation)Quest · HELMET Avg. (8k–128k)score: 50.97 -> 50.33 -> 49.74 -> 48.08Hurt
Use keywords from queries rather than keywords from summaries (ablation)Quest keyword extraction · Human/GPT-4o keyword quality (100 samples)average score: 3.009 -> 3.574Helped
Randomly sample eligible keywords instead of choosing the highest RAKE score (ablation)Quest · HELMET Avg. (8k–128k)score: 49.51 -> 50.97Helped
Randomly sample eligible keywords instead of choosing the highest RAKE score (ablation)Quest keyword selection · Keyword entropyentropy score: 15.31 -> 18.12Helped
Increase split_ratio from 0% to 10% (ablation)Quest oversampling · Longbench trecscore: 33.46 -> 39.21Helped
Increase split_ratio from 10% to 70% (ablation)Quest oversampling · Longbench lccscore: 33.96 -> 29.78Hurt
Use KNN mid-ranking documents rather than top-similarity documents (ablation)KNN data synthesis · HELMET Avg.score: 46.31 -> 47.96Helped
Use KNN random sampling rather than top-similarity documents (ablation)KNN data synthesis · HELMET Avg.score: 46.31 -> 46.78Mixed

Surprising findings

Limitations

Experimental setup

Datasets: The Pile Longbench Longbook QA HELMET WinoGrande PIQA LogiQA LAMBADA HellaSwag ARC-Easy ARC-Challenge Needle-in-a-Haystack

Benchmarks: Longbench Longbook QA HELMET Needle-in-a-Haystack WinoGrande PIQA LogiQA LAMBADA HellaSwag ARC-Easy ARC-Challenge

Metrics: accuracy F1 Levenshtein similarity average score entropy

Baselines: Standard KNN ICLM Long document

Builds on: doc2query in-context pretraining retrieval-augmented language model pretraining RAKE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy