Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks

Yijiong Yu, Yongfeng Huang, Zhixiao Qi, Zhe Zhou
12/18/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2023training,
  title  = {Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks},
  author = {Yijiong Yu and Yongfeng Huang and Zhixiao Qi and Zhe Zhou},
  year   = {2023},
  eprint = {2312.11193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.11193v10}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.11193.svg)](https://codeofpaper.com/paper/2312.11193)

Discussion