arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.15318cs.CLcs.AI
收藏

长上下文任务是否必须依赖长LLM?

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

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院)

Hongjin Qian, Zheng Liu, Peitian Zhang, Kelong Mao, Yujia Zhou, Xu Chen, Zhicheng Dou

AI总结:

本文提出LC-Boost框架,利用短LLM通过自我提示决策访问与利用上下文,以引导方式解决长上下文任务,在基准上以更低资源消耗获得显著性能提升。

摘要:

尽管近期取得了进展,长上下文LLM的学习与部署仍然是一个具有挑战性的问题。在这项工作中,我们论证了长上下文任务并不必须依赖长LLM,因为常见的长期上下文任务可以通过短上下文解决,即可以通过仅处理长上下文任务输入中的预言性短上下文来完成。基于这一论点,我们提出了一个名为LC-Boost(长上下文引导器)的框架,该框架使得短LLM能够以引导方式处理长上下文任务。在我们的框架中,短LLM通过自我提示来推理两个关键决策:1)如何访问输入中适当的上下文部分,2)如何有效利用所访问的上下文。通过根据呈现的任务自适应地访问和利用上下文,LC-Boost可以作为处理多样化长上下文处理问题的通用框架。我们在流行的长上下文基准上全面评估了不同类型的任务,LC-Boost能够以更少的资源消耗实现显著提升的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑