Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks
Not on the map. Why?
Abstract (arXiv)
As Large Language Models (LLMs) continue to evolve, more are being designed to handle long-context inputs. Despite this advancement, most of them still face challenges in accurately handling long-context tasks, often showing the "lost in the middle" issue. We identify that insufficient retrieval capability is one of the important reasons for this issue. To tackle this challenge, we propose a novel approach to design training data for long-context tasks, aiming at augmenting LLMs' proficiency in extracting key information from long context. Specially, we incorporate an additional part named "paraphrasing the original text" when constructing the answer of training samples and then fine-tuning the model. Experimenting on LongBench and NaturalQuestions Multi-document-QA dataset with models of Llama and Qwen series, our method achieves an improvement of up to 8.48% and 4.48% in average scores, respectively, showing effectiveness in improving the model's performance on long-context tasks.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 8 of its 25 references that are in the map. First posted on arXiv 18 Dec 2023.
Builds on
8 of 25 references.
References · 8
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Attention Sorting Combats Recency Bias In Long Context Language Modelscited by 90
- 2023Fortify the Shortest Stave in Attention: Enhancing Context Awareness of Large Language Models for Effective Tool Usecited by 27
Built on by
Citing papers per year: 2024: 3; 2025: 2.
5 papers.
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scalingcited by 1,599
- 2024Yi: Open Foundation Models by 01.AIcited by 719
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 127
- 2024From Artificial Needles to Real Haystacks: Improving Retrieval Capabilities in LLMs by Finetuning on Synthetic Datacited by 18
- 2025CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptographycited by 1
- 2025CryptoQA: A Large-scale Question-answering Dataset for AI-assisted Cryptography2 Dec 2025
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrieval6 Oct 2025
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling6 Dec 2024
- 2024From Artificial Needles to Real Haystacks: Improving Retrieval Capabilities in LLMs by Finetuning on Synthetic Data27 Jun 2024
- 2024Yi: Open Foundation Models by 01.AI7 Mar 2024