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

创新思维,无限幽默:通过结构化思维跳跃进行大语言模型的幽默研究

Innovative Thinking, Infinite Humor: Humor Research of Large Language Models through Structured Thought Leaps

Tencent QQ(腾讯QQ)

Han Wang, Yilin Zhao, Dian Li, Xiaohan Wang, Gang Liu, Xuguang Lan, Hui Wang

AI总结:

本文提出LoL框架,通过自动指令进化注入外部知识缓解知识图谱稀疏性,并结合强化学习提取推理逻辑,以提升大语言模型在幽默生成中的多跳推理、判断与生成能力。

摘要:

幽默此前被认为是人类独有的天赋,原因如下。幽默是人类语言中具有文化细微差别的方面,对其理解和生成都构成挑战。幽默生成需要多跳推理过程,每一跳都建立在恰当的理据之上。尽管许多研究(例如与GPT-o1相关的研究)专注于带反思和纠正的逻辑推理,但它们在幽默生成方面仍然不足。由于创造性思维中知识图谱的稀疏性,实现多跳推理十分困难。因此,在本文中,我们提出了一个更稳健的框架来解决幽默推理任务,命名为LoL。LoL旨在注入外部信息以缓解知识图谱的稀疏性,从而实现多跳推理。在LoL的第一阶段,我们提出了一种自动指令进化方法,以纳入幽默背后更深层、更广泛的思维过程。设计了面向判断的指令来增强模型的判断能力,动态补充和更新稀疏的知识图谱。随后,通过强化学习,使用GPT-4o提取每个在线生成响应的推理逻辑。在此过程中,重新引入外部知识以帮助模型进行逻辑推理和人类偏好的学习。最后,实验结果表明,这两个过程的结合可以同时增强模型的判断能力和生成能力。这些发现加深了我们对大语言模型(LLMs)创造性能力的理解,并为提升LLMs在跨领域创新应用中的创造能力提供了途径。

英文摘要:

Humor is previously regarded as a gift exclusive to humans for the following reasons. Humor is a culturally nuanced aspect of human language, presenting challenges for its understanding and generation. Humor generation necessitates a multi-hop reasoning process, with each hop founded on proper rationales. Although many studies, such as those related to GPT-o1, focus on logical reasoning with reflection and correction, they still fall short in humor generation. Due to the sparsity of the knowledge graph in creative thinking, it is arduous to achieve multi-hop reasoning. Consequently, in this paper, we propose a more robust framework for addressing the humor reasoning task, named LoL. LoL aims to inject external information to mitigate the sparsity of the knowledge graph, thereby enabling multi-hop reasoning. In the first stage of LoL, we put forward an automatic instruction-evolution method to incorporate the deeper and broader thinking processes underlying humor. Judgment-oriented instructions are devised to enhance the model's judgment capability, dynamically supplementing and updating the sparse knowledge graph. Subsequently, through reinforcement learning, the reasoning logic for each online-generated response is extracted using GPT-4o. In this process, external knowledge is re-introduced to aid the model in logical reasoning and the learning of human preferences. Finally, experimental results indicate that the combination of these two processes can enhance both the model's judgment ability and its generative capacity. These findings deepen our comprehension of the creative capabilities of large language models (LLMs) and offer approaches to boost LLMs' creative abilities for cross-domain innovative applications.

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

↑