arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2407.08440cs.CLcs.AI
收藏

超越指令遵循:评估大语言模型的推理规则遵循能力

Beyond Instruction Following: Evaluating Inferential Rule Following of Large Language Models

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Xiaohongshu Inc AI Lab, AIGility Cloud Innovation(小红书AI实验室);Department of Computer Science and Engineering, Texas A&M University(德克萨斯农工大学计算机科学与工程学院)

Wangtao Sun, Chenxiang Zhang, XueYou Zhang, Xuanqing Yu, Ziyang Huang, Pei Chen, Haotian Xu, Shizhu He, Jun Zhao, Kang Liu

AI总结:

本文提出RuleBench基准评估LLMs的推理规则遵循能力,并设计IRFT方法使LLMs从合成数据中学习抽象规则遵循能力并泛化到RuleBench。

摘要:

尽管大语言模型(LLMs)已展现出强大的能力,但在现实场景中,它们还需被控制和引导,以确保安全、准确和智能。这要求LLMs具备相应的能力。然而,此前尚无工作对LLMs的推理规则遵循能力进行清晰评估。以往试图评估LLMs推理规则遵循能力的研究未能区分推理规则遵循场景与指令遵循场景。因此,本文首先厘清了推理规则遵循的概念,并提出了一个综合基准RuleBench,用于评估多样化的推理规则遵循能力。我们在多种LLMs上的实验结果表明,它们在遵循规则方面仍然存在局限。基于评估结果的分析为改进LLMs、使其成为更优的推理规则遵循智能体提供了见解。我们进一步提出了推理规则遵循调优(IRFT)。实验结果表明,通过IRFT,LLMs能够从纯合成数据中学习抽象的规则遵循能力,并泛化到RuleBench。数据和代码可在以下地址获取:https://anonymous.4open.science/r/llm-rule-following-B3E3/

英文摘要:

Although Large Language Models (LLMs) have demonstrated strong ability, they are further supposed to be controlled and guided by in real-world scenarios to be safe, accurate, and intelligent. This demands the possession of capability of LLMs. However, no prior work has made a clear evaluation of the inferential rule-following capability of LLMs. Previous studies that try to evaluate the inferential rule-following capability of LLMs fail to distinguish the inferential rule-following scenarios from the instruction-following scenarios. Therefore, this paper first clarifies the concept of inferential rule-following and proposes a comprehensive benchmark, RuleBench, to evaluate a diversified range of inferential rule-following abilities. Our experimental results on a variety of LLMs show that they are still limited in following rules. Our analysis based on the evaluation results provides insights into the improvements for LLMs toward a better inferential rule-following intelligent agent. We further propose Inferential Rule-Following Tuning (IRFT). The experimental results show that through IRFT, LLMs can learn abstract rule-following abilities from purely synthetic data and then generalize to RuleBench. The data and code can be found at: https://anonymous.4open.science/r/llm-rule-following-B3E3/

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

↑