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

Quest:面向大型语言模型长上下文扩展的查询中心数据合成方法

Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Model

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Xiaohongshu Inc(小红书科技有限公司)

Chaochen Gao, Xing Wu, Qi Fu, Songlin Hu

AI总结:

针对长上下文训练中传统方法存在的领域失衡、语义连贯性或多样性不足问题,提出查询中心的数据合成方法Quest,通过预测潜在查询聚合语义相关且多样的文档,在长上下文任务上实现更优性能与可扩展性。

摘要:

大型语言模型(LLMs)的最新进展凸显了扩展上下文长度对处理复杂任务的重要性。传统的长上下文训练方法常使用过滤后的长文档,但会导致领域失衡,限制模型性能。为解决此问题,已开发出随机文档拼接(Standard)和基于相似度的方法(KNN、ICLM)等技术,然而它们要么牺牲语义连贯性,要么牺牲多样性。为平衡这两方面,我们提出Quest,一种聚合语义相关且多样文档的查询中心数据合成方法。Quest使用生成模型预测每个文档的潜在查询,将具有相似查询和关键词的文档分组。大量实验表明,Quest在长上下文任务上性能更优,在上下文长度达100万token时取得显著结果,并证实其在不同模型规模下的可扩展性。

英文摘要:

Recent advancements in large language models (LLMs) have highlighted the importance of extending context lengths for handling complex tasks. While traditional methods for training on long contexts often use filtered long documents, these approaches lead to domain imbalances, limiting model performance. To address this, techniques like random document concatenation (Standard) and similarity-based methods (KNN, ICLM) have been developed. However, they either sacrifice semantic coherence or diversity. To balance both aspects, we introduce Quest, a query-centric data synthesis method aggregating semantically relevant yet diverse documents. Quest uses a generative model to predict potential queries for each document, grouping documents with similar queries and keywords. Extensive experiments demonstrate Quest's superior performance on long-context tasks, achieving remarkable results with context lengths of up to 1M tokens and confirming its scalability across various model sizes.

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

↑