Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Text

计算机科学 答案集编程 自然语言理解 人工智能 自然语言 解析 自然语言处理 知识表示与推理 答疑 自动推理 语言模型 任务(项目管理) 形式主义(音乐) 集合(抽象数据类型) 程序设计语言 逻辑程序设计 音乐剧 艺术 管理 经济 视觉艺术
作者
Zhun Yang,Adam Ishay,Joohyung Lee
标识
DOI:10.18653/v1/2023.findings-acl.321
摘要

While large language models (LLMs), such as GPT-3, appear to be robust and general, their reasoning ability is not at a level to compete with the best models trained for specific natural language reasoning problems.In this study, we observe that a large language model can serve as a highly effective few-shot semantic parser.It can convert natural language sentences into a logical form that serves as input for answer set programs, a logic-based declarative knowledge representation formalism.The combination results in a robust and general system that can handle multiple question-answering tasks without requiring retraining for each new task.It only needs a few examples to guide the LLM's adaptation to a specific task, along with reusable ASP knowledge modules that can be applied to multiple tasks.We demonstrate that this method achieves state-of-the-art performance on several NLP benchmarks, including bAbI, StepGame, CLUTRR, and gSCAN.Additionally, it successfully tackles robot planning tasks that an LLM alone fails to solve.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
3秒前
present发布了新的文献求助10
4秒前
4秒前
restudy68发布了新的文献求助10
7秒前
小草莓爱嘻嘻完成签到,获得积分20
7秒前
小蘑菇应助科研通管家采纳,获得10
8秒前
8秒前
传奇3应助科研通管家采纳,获得10
8秒前
在水一方应助科研通管家采纳,获得10
8秒前
领导范儿应助科研通管家采纳,获得10
8秒前
852应助科研通管家采纳,获得10
8秒前
乐乐应助科研通管家采纳,获得10
8秒前
9秒前
ding应助快乐小菜瓜采纳,获得10
9秒前
小白完成签到,获得积分10
10秒前
10秒前
李好运发布了新的文献求助10
11秒前
共享精神应助123采纳,获得10
13秒前
哈哈哈嗝发布了新的文献求助10
13秒前
木水关注了科研通微信公众号
14秒前
充电宝应助椰汁采纳,获得10
14秒前
q12完成签到,获得积分10
15秒前
九九发布了新的文献求助10
15秒前
一一精彩完成签到 ,获得积分10
16秒前
20秒前
21秒前
小砖家ing完成签到,获得积分10
22秒前
Color完成签到 ,获得积分10
22秒前
天天快乐应助羁绊采纳,获得10
24秒前
25秒前
小五完成签到 ,获得积分10
26秒前
乐乐完成签到 ,获得积分10
26秒前
钱塘郎中完成签到,获得积分0
26秒前
Owen应助小砖家ing采纳,获得10
26秒前
29秒前
在水一方应助小熊软糖采纳,获得10
31秒前
33秒前
33秒前
wushuping完成签到,获得积分10
33秒前
高分求助中
Teaching Social and Emotional Learning in Physical Education 900
Plesiosaur extinction cycles; events that mark the beginning, middle and end of the Cretaceous 500
Two-sample Mendelian randomization analysis reveals causal relationships between blood lipids and venous thromboembolism 500
Chinese-English Translation Lexicon Version 3.0 500
[Lambert-Eaton syndrome without calcium channel autoantibodies] 440
薩提亞模式團體方案對青年情侶輔導效果之研究 400
3X3 Basketball: Everything You Need to Know 310
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2387125
求助须知:如何正确求助?哪些是违规求助? 2093538
关于积分的说明 5268622
捐赠科研通 1820269
什么是DOI,文献DOI怎么找? 908056
版权声明 559248
科研通“疑难数据库(出版商)”最低求助积分说明 485068