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

弥合上下文鸿沟:利用共指消解提升长上下文理解

Bridging Context Gaps: Leveraging Coreference Resolution for Long Contextual Understanding

Yanming Liu, Xinyue Peng, Jiannan Cao, Yanxin Shen, Tianyu Du, Sheng Cheng, Xun Wang, Jianwei Yin, Xuhong Zhang

AI总结:

针对大型语言模型在长上下文理解和问答中的困难,提出长问题共指适配(LQCA)方法,通过子文档共指解析等四步骤提升模型指代管理能力,在OpenAI-o1-mini等模型上取得显著效果。

摘要:

大型语言模型(LLMs)在自然语言处理中展现出卓越能力,但在理解长上下文和执行有效问答任务时仍面临困难。这些挑战常源于长文本中的复杂性与歧义性。为提升LLMs在这类场景的性能,我们提出长问题共指适配(LQCA)方法。该创新框架聚焦长上下文定制的共指消解,使模型能有效识别和管理指代。LQCA包含四个关键步骤:解析子文档内的共指、计算提及间距离、定义共指的代表性提及、通过提及替换回答问题。通过系统处理信息,该框架为LLMs提供更易处理的分区,促进更好理解。在多种LLMs和数据集上的实验评估取得积极结果,OpenAI-o1-mini和GPT-4o模型有显著提升,突显利用共指消解弥合问答上下文鸿沟的有效性。代码公开于https://github.com/OceannTwT/LQCA。

英文摘要:

Large language models (LLMs) have shown remarkable capabilities in natural language processing; however, they still face difficulties when tasked with understanding lengthy contexts and executing effective question answering. These challenges often arise due to the complexity and ambiguity present in longer texts. To enhance the performance of LLMs in such scenarios, we introduce the Long Question Coreference Adaptation (LQCA) method. This innovative framework focuses on coreference resolution tailored to long contexts, allowing the model to identify and manage references effectively. The LQCA method encompasses four key steps: resolving coreferences within sub-documents, computing the distances between mentions, defining a representative mention for coreference, and answering questions through mention replacement. By processing information systematically, the framework provides easier-to-handle partitions for LLMs, promoting better understanding. Experimental evaluations on a range of LLMs and datasets have yielded positive results, with a notable improvements on OpenAI-o1-mini and GPT-4o models, highlighting the effectiveness of leveraging coreference resolution to bridge context gaps in question answering. Our code is public at https://github.com/OceannTwT/LQCA.

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

↑