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

大型语言模型解决主观任务的视角转换

Perspective Transition of Large Language Models for Solving Subjective Tasks

Dept. of Comp. Sci. & Tech., Institute for AI, Tsinghua University, Beijing, China(计算机科学与技术系,人工智能研究院,清华大学,北京,中国);Institute for AI Industry Research (AIR), Tsinghua University, Beijing, China(人工智能产业研究院(AIR),清华大学,北京,中国);Jiuquan Satellite Launch Center (JSLC), Gansu, China(酒泉卫星发射中心(JSLC),甘肃,中国);Harbin Institute of Technology, Harbin, China(哈尔滨工业大学,哈尔滨,中国);College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China(计算机科学与软件工程学院,深圳大学,深圳,中国);Jiangsu Collaborative Innovation Center for Language Competence, Jiangsu, China(江苏省语言能力协同创新中心,江苏,中国);Tencent Inc, China(腾讯公司,中国)

Xiaolong Wang, Yuanchi Zhang, Ziyue Wang, Yuzhuang Xu, Fuwen Luo, Yile Wang, Peng Li, Yang Liu

AI总结:

本文提出视角转换推理(RPT)方法,通过上下文学习让LLMs动态选择直接、角色或第三人称视角,在12个主观任务上优于固定视角方法,提升回应质量。

摘要:

大型语言模型(LLMs)已经彻底改变了自然语言处理领域,在各种任务中取得了显著进展。与常识推理和算术问答等客观任务不同,LLMs在主观任务上的表现仍然有限,在这些任务中,对特定问题的视角对于更好地理解上下文并给出恰当回应起着关键作用。例如,在某些场景下,LLMs从专家角色视角回答时可能表现更好,从而可能激发其相关的领域知识。相反,在另一些场景下,LLMs从第三人称视角回答时可能提供更准确的回应,从而能够更全面地理解问题,并可能减轻固有偏见。在本文中,我们提出了视角转换推理(RPT),一种基于上下文学习的方法,使LLMs能够动态地在直接、角色和第三人称视角之间进行选择,以找到解决相应主观问题的最佳方式。通过使用包括GPT-4、GPT-3.5、Llama-3和Qwen-2在内的闭源和开源LLMs,在总共12个主观任务上进行的广泛实验,我们的方法优于广泛使用的单一固定视角方法,如思维链提示和专家提示,突显了LLMs调整其视角以针对不同问题提供细致且上下文恰当回应的复杂方式。

英文摘要:

Large language models (LLMs) have revolutionized the field of natural language processing, enabling remarkable progress in various tasks. Different from objective tasks such as commonsense reasoning and arithmetic question-answering, the performance of LLMs on subjective tasks is still limited, where the perspective on the specific problem plays crucial roles for better interpreting the context and giving proper response. For example, in certain scenarios, LLMs may perform better when answering from an expert role perspective, potentially eliciting their relevant domain knowledge. In contrast, in some scenarios, LLMs may provide more accurate responses when answering from a third-person standpoint, enabling a more comprehensive understanding of the problem and potentially mitigating inherent biases. In this paper, we propose Reasoning through Perspective Transition (RPT), a method based on in-context learning that enables LLMs to dynamically select among direct, role, and third-person perspectives for the best way to solve corresponding subjective problem. Through extensive experiments on totally 12 subjective tasks by using both closed-source and open-source LLMs including GPT-4, GPT-3.5, Llama-3, and Qwen-2, our method outperforms widely used single fixed perspective based methods such as chain-of-thought prompting and expert prompting, highlights the intricate ways that LLMs can adapt their perspectives to provide nuanced and contextually appropriate responses for different problems.

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

↑