Large Language Models Can Self-Improve in Long-context Reasoning

Siheng Li, Cheng Yang, Zesen Cheng, Lemao Liu, Mo Yu +2 more
11/12/2024
cs.CLcs.AI

No official code found. Best implementation: SihengLi99/SEALONG (72 stars, last commit 2024-11-24).

Abstract

Large language models (LLMs) have achieved substantial progress in processing long contexts but still struggle with long-context reasoning. Existing approaches typically involve fine-tuning LLMs with synthetic data, which depends on annotations from human experts or advanced models like GPT-4, thus restricting further advancements. To address this issue, we investigate the potential for LLMs to self-improve in long-context reasoning and propose \ours, an approach specifically designed for this purpose. This approach is straightforward: we sample multiple outputs for each question, score them with Minimum Bayes Risk, and then apply supervised fine-tuning or preference optimization based on these outputs. Extensive experiments on several leading LLMs demonstrate the effectiveness of \ours, with an absolute improvement of $4.2$ points for Llama-3.1-8B-Instruct. Furthermore, \ours achieves superior performance compared to prior approaches that depend on data produced by human experts or advanced models. We anticipate that this work will open new avenues for self-improvement techniques in long-context scenarios, which are essential for the continual advancement of LLMs.

View on arXivView PDF

Code Implementations(1)

SihengLi99/SEALONGCommunity100%

Large Language Models Can Self-Improve in Long-context Reasoning

725Shell, PythonNov 10, 20241 years ago

Similar Papers

Cite this paper

@article{li2024large,
  title  = {Large Language Models Can Self-Improve in Long-context Reasoning},
  author = {Siheng Li and Cheng Yang and Zesen Cheng and Lemao Liu and Mo Yu and Yujiu Yang and Wai Lam},
  year   = {2024},
  eprint = {2411.08147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.08147v1}
}

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/2411.08147.svg)](https://codeofpaper.com/paper/2411.08147)

Discussion