Reproduce “Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yijiong Yu, Yongfeng Huang, Zhixiao Qi, Zhe Zhou
Researchers at Tsinghua University developed a training methodology called "paraphrasing the original text" (OTP) to improve Large Language Models' (LLMs) ability to retrieve information from long contexts. This approach, which explicitly trains LLMs to extract and reiterate relevant text within answers, significantly enhances performance on multi-document question answering and mitigates the "lost in the middle" problem, boosting average LongBench scores by up to 8.48% for Qwen1.5-4b-Chat and improving multi-document QA accuracy by up to 14.8% for middle positions.
Key insights
- Explicitly training LLMs to paraphrase the original text during answer generation significantly enhances their intrinsic retrieval capabilities within long contexts.
- The method directly mitigates the "lost in the middle" problem by improving the model's ability to locate and utilize key information regardless of its position in the input.
- OTP training makes LLMs more receptive to guided reasoning (e.g., Chain-of-Thought prompts) while maintaining general abilities, indicating a deeper enhancement rather than just a superficial format change.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.