arXiv · 2312.11193
Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks
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. 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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yijiong Yu, Yongfeng Huang, Zhixiao Qi, Zhe Zhou. 2023-12-18. Training With "Paraphrasing the Original Text" Teaches LLM to Better Retrieve in Long-context Tasks. https://arxiv.org/abs/2312.11193
Cite the original work for its findings. Save a collection to share your selection of sources.