atlas

Research map / Large language models / Retrieval and knowledge

Make Your LLM Fully Utilize the Context

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Long-context and personalized retrieval · 40 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 In2 training, a purely data-driven fine-tuning on synthesized long-context QA (4K–32K) that requires fine-grained awareness of 128-token segments and multi-segment reasoning, producing FilM-7B from Mistral-7B-Instruct-v0.2 to mitigate lost-in-the-middle.

Problem

Long-context LLMs fail to fully use information in the middle of long inputs (the lost-in-the-middle problem), which standard long-context training does not explicitly address.

Approach

Hypothesizes the bias comes from general training data placing important information at the beginning/end; synthesizes long contexts by shuffling many random 128-token segments and generating QA pairs with GPT-4-Turbo that require info at random positions, so any position can hold crucial information.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply In2 trainingMistral-7B-Instruct-v0.2 · VaL Probing AllAvg: 47.3 -> 85.9Helped
apply In2 trainingMistral-7B-Instruct-v0.2 · VaL Probing AllGap: 56.2 -> 13.9Helped
apply In2 trainingMistral-7B-Instruct-v0.2 · NarrativeQAF1: 23.5 -> 26.9Helped
apply In2 trainingMistral-7B-Instruct-v0.2 · Short-context tasksaccuracy: 59.3→59.2No clear effect
increase RoPE base from 1.0×10^6 to 1.0×10^7 during In2 training (ablation)FilM-7B · VaL Probing All (20% training data)Avg: 80.3 -> 84.9Helped
use a 4K sliding window during training (ablation)In2-trained Mistral models · VaL Probingretrieval performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: C4 realnewslike OpenOrca StarCoder Wikidata arXiv abstracts

Benchmarks: VaL Probing Needle-in-the-Haystack NarrativeQA Qasper MultiFieldQA HotpotQA 2WikiMultihopQA MuSiQue GovReport QMSum MultiNews MMLU

Metrics: average score min-max gap word-level recall exact-match accuracy F1 ROUGE-L accuracy

Baselines: Mistral-7B-Instruct-v0.1 Mistral-7B-Instruct-v0.2 LongAlign-7B-64K LongAlign-13B-64K InternLM2-chat-7B InternLM2-chat-20B GPT-4-Turbo GPT-3.5-Turbo LongChat-v1.5-7B-32K ChatGLM2-6B-32K ChatGLM3-6B-32K Yi-6B-200K

Builds on: Mistral-7B-Instruct-v0.2 LongBench Needle-in-the-Haystack OpenOrca

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