Are Long-LLMs A Necessity For Long-Context Tasks?

Hongjin Qian, Zheng Liu, Peitian Zhang, Kelong Mao, Yujia Zhou +2 more
5/24/2024
cs.CLcs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The learning and deployment of long-LLMs remains a challenging problem despite recent progresses. In this work, we argue that the long-LLMs are not a necessity to solve long-context tasks, as common long-context tasks are short-context solvable, i.e. they can be solved by purely working with oracle short-contexts within the long-context tasks' inputs. On top of this argument, we propose a framework called LC-Boost (Long-Context Bootstrapper), which enables a short-LLM to address the long-context tasks in a bootstrapping manner. In our framework, the short-LLM prompts itself to reason for two critical decisions: 1) how to access to the appropriate part of context within the input, 2) how to make effective use of the accessed context. By adaptively accessing and utilizing the context based on the presented tasks, LC-Boost can serve as a general framework to handle diversified long-context processing problems. We comprehensively evaluate different types of tasks from popular long-context benchmarks, where LC-Boost is able to achieve a substantially improved performance with a much smaller consumption of resource.

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. 3 weaker matches are hidden by default — 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{qian2024longllms,
  title  = {Are Long-LLMs A Necessity For Long-Context Tasks?},
  author = {Hongjin Qian and Zheng Liu and Peitian Zhang and Kelong Mao and Yujia Zhou and Xu Chen and Zhicheng Dou},
  year   = {2024},
  eprint = {2405.15318},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15318v1}
}

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

Discussion