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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
xjcy应助大头玛丽采纳,获得10
刚刚
An发布了新的文献求助10
刚刚
刘艺珍发布了新的文献求助10
1秒前
JamesPei应助hzy采纳,获得10
2秒前
3秒前
4秒前
团子完成签到,获得积分10
4秒前
与你发布了新的文献求助10
5秒前
5秒前
5秒前
zimu012完成签到 ,获得积分10
5秒前
5秒前
Kiling完成签到,获得积分10
5秒前
Ava应助秦兴虎采纳,获得10
6秒前
zcw发布了新的文献求助10
6秒前
7秒前
完美的采珊完成签到 ,获得积分10
7秒前
7秒前
安装地方完成签到,获得积分10
7秒前
9秒前
无限百川完成签到,获得积分10
9秒前
10秒前
Ava应助单纯的雪碧采纳,获得10
10秒前
sdd211完成签到,获得积分10
10秒前
Dr_HuangSp发布了新的文献求助10
10秒前
小渔完成签到,获得积分10
10秒前
领导范儿应助PingZe采纳,获得10
11秒前
稻草人发布了新的文献求助10
11秒前
踏雪寻梅完成签到,获得积分10
12秒前
好久不见发布了新的文献求助10
14秒前
15秒前
澄桦发布了新的文献求助10
17秒前
17秒前
18秒前
20秒前
21秒前
聪慧红酒完成签到,获得积分10
21秒前
九玖酒发布了新的文献求助10
22秒前
23秒前
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Graphene Handbook (2019 Edition) 800
IEST-RP-CC018: Cleanroom Cleaning and Sanitization: Operating and Monitoring Procedures 600
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
Rehabilitation of Long-Standing Groin Pain in Athletes: A Scoping Review of Exercise Content and Reporting 500
The Immune System (Fifth Edition) 500
久松真一著作集〈第5巻〉禅と芸術 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6586394
求助须知:如何正确求助?哪些是违规求助? 8360245
关于积分的说明 17902262
捐赠科研通 5729363
什么是DOI,文献DOI怎么找? 2949871
邀请新用户注册赠送积分活动 1925375
关于科研通互助平台的介绍 1812385