大语言模型(LLMs)已在广泛任务中展现出显著成效,但在需要理解并推断文本序列内不同信息片段间关系的推理任务中仍面临挑战。这一挑战在涉及多步骤过程的任务中尤为突出,例如逻辑推理和多跳问答,此类任务中理解实体间的隐式关系并利用给定上下文中的多跳连接至关重要。图作为基础数据结构,可显式表示实体间的成对关系,从而为增强LLMs的推理能力提供了可能。外部图已被证明可在多项任务中有效支持LLMs。但在许多推理任务中,并不存在预先提供的图结构。我们能否将从上下文中提取的隐式知识结构化为图,以辅助LLMs推理?本文提出了Reasoning with Graphs(RwG,基于图的推理)方法,该方法首先从上下文中构建显式图,随后利用这些图提升LLMs在推理任务上的表现。大量实验证明,所提方法在改善逻辑推理和多跳问答任务方面均具有有效性。
英文摘要:
Large language models (LLMs) have demonstrated remarkable success across a wide range of tasks; however, they still encounter challenges in reasoning tasks that require understanding and inferring relationships between distinct pieces of information within text sequences. This challenge is particularly pronounced in tasks involving multi-step processes, such as logical reasoning and multi-hop question answering, where understanding implicit relationships between entities and leveraging multi-hop connections in the given context are crucial. Graphs, as fundamental data structures, explicitly represent pairwise relationships between entities, thereby offering the potential to enhance LLMs' reasoning capabilities. External graphs have proven effective in supporting LLMs across multiple tasks. However, in many reasoning tasks, no pre-existing graph structure is provided. Can we structure implicit knowledge derived from context into graphs to assist LLMs in reasoning? In this paper, we propose Reasoning with Graphs (RwG) by first constructing explicit graphs from the context and then leveraging these graphs to enhance LLM reasoning performance on reasoning tasks. Extensive experiments demonstrate the effectiveness of the proposed method in improving both logical reasoning and multi-hop question answering tasks.
IRRGN: An Implicit Relational Reasoning Graph Network for Multi-turn Response Selection
College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);yz-intelligence Inc(元智智能公司);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
School of Computing and Augmented Intelligence, Arizona State University(亚利桑那州立大学计算与增强智能学院);Department of Computer Science, University of California, Davis(加利福尼亚大学戴维斯分校计算机科学系)
ImpRIF: Stronger Implicit Reasoning Leads to Better Complex Instruction Following
ByteDance China(字节跳动中国);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);State Key Laboratory of Virtual Reality Technology and Systems, Beihang University(北京航空航天大学虚拟现实技术与系统国家重点实验室)
Implicit Reasoning in Large Language Models: A Comprehensive Survey
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Jilin University(吉林大学);The Chinese University of Hong Kong(香港中文大学);Yale University(耶鲁大学)
Understanding and Patching Compositional Reasoning in LLMs
School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);City University of Hong Kong Shenzhen Research Institute(香港城市大学深圳研究院);School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院)
Causal Prompting for Implicit Sentiment Analysis with Large Language Models
School of Computing Technologies, RMIT University(RMIT大学计算机技术学院);Institute of Innovation, Science and Sustainability, Federation University Australia(联邦大学澳大利亚创新、科学与可持续性研究所);CSIRO’s Data61(CSIRO数据61)
Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models
University of California, Berkeley(加州大学伯克利分校);University of Cambridge(剑桥大学);University of Washington(华盛顿大学);University of Toronto(多伦多大学);University of Tokyo(东京大学)
FinTagging: Benchmarking LLMs for Extracting and Structuring Financial Information
Georgia Institute of Technology(佐治亚理工学院);Columbia University(哥伦比亚大学);California State University(加州州立大学);University of Montreal(蒙特利尔大学);Carnegie Mellon University(卡内基梅隆大学);Rensselaer Polytechnic Institute(莱斯利理工学院);The University of Manchester(曼彻斯特大学);Harvard University(哈佛大学)
ReasoningLens: Hierarchical Visualization and Diagnostic Auditing for Large Reasoning Models
Chinese Information Processing Laboratory(中国信息处理实验室);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学)
Think Consistently, Reason Efficiently: Energy-Based Calibration for Implicit Chain-of-Thought
University of Oxford(牛津大学);Tsinghua University(清华大学);Tencent(腾讯);Southern University of Science and Technology(南方科技大学);National University of Singapore(新加坡国立大学)