清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

Improving Autoformalization using Type Checking

类型(生物学) 计算机科学 程序设计语言 地质学 古生物学
作者
Auguste Poiroux,Gail Garfinkel Weiss,Viktor Kunčak,Antoine Bosselut
出处
期刊:Cornell University - arXiv [Cornell University]
标识
DOI:10.48550/arxiv.2406.07222
摘要

Large language models show promise for autoformalization, the task of automatically translating natural language into formal languages. However, current autoformalization methods remain limited. The last reported state-of-the-art performance on the ProofNet formalization benchmark for the Lean proof assistant, achieved using Codex for Lean 3, only showed successful formalization of 16.1% of informal statements. Similarly, our evaluation of GPT-4o for Lean 4 only produces successful translations 34.9% of the time. Our analysis shows that the performance of these models is largely limited by their inability to generate formal statements that successfully type-check (i.e., are syntactically correct and consistent with types) - with a whopping 86.6% of GPT-4o errors starting from a type-check failure. In this work, we propose a method to fix this issue through decoding with type-check filtering, where we initially sample a diverse set of candidate formalizations for an informal statement, then use the Lean proof assistant to filter out candidates that do not type-check. Using GPT-4o as a base model, and combining our method with self-consistency, we obtain a +18.3% absolute increase in formalization accuracy, and achieve a new state-of-the-art of 53.2% on ProofNet with Lean 4.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
锅包又完成签到 ,获得积分10
1秒前
观众完成签到,获得积分10
4秒前
林好人完成签到 ,获得积分10
18秒前
19秒前
yang完成签到 ,获得积分10
19秒前
鲤鱼忆灵发布了新的文献求助10
21秒前
hhj完成签到,获得积分20
21秒前
hhj发布了新的文献求助10
25秒前
meeteryu完成签到,获得积分10
40秒前
Tree_QD完成签到 ,获得积分10
46秒前
jlwang完成签到,获得积分10
1分钟前
情怀应助byho采纳,获得10
1分钟前
1分钟前
粗暴的镜子完成签到,获得积分10
1分钟前
1分钟前
1分钟前
小何发布了新的文献求助10
1分钟前
byho发布了新的文献求助10
1分钟前
1分钟前
byho完成签到,获得积分10
1分钟前
勤奋的白桃完成签到 ,获得积分10
1分钟前
林海完成签到 ,获得积分10
1分钟前
优美的镜完成签到 ,获得积分10
1分钟前
2分钟前
orixero应助鲤鱼忆灵采纳,获得10
2分钟前
wzbc完成签到,获得积分10
2分钟前
2分钟前
ZDU完成签到 ,获得积分10
2分钟前
2分钟前
changyouhuang完成签到,获得积分10
2分钟前
3分钟前
manman完成签到 ,获得积分10
3分钟前
kkk完成签到 ,获得积分10
3分钟前
智者雨人完成签到 ,获得积分10
3分钟前
stone完成签到 ,获得积分10
3分钟前
3分钟前
慧子完成签到 ,获得积分10
3分钟前
SUNNYONE完成签到 ,获得积分10
3分钟前
3分钟前
fishss完成签到 ,获得积分10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Principles of town planning: translating concepts to applications 1000
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The role of consumer psychology in the marketing strategies of pop mart in Thailand 500
核安全综合知识2024版 500
Photothermal Science and Techniques 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7720773
求助须知:如何正确求助?哪些是违规求助? 9274180
关于积分的说明 20100840
捐赠科研通 7296927
什么是DOI,文献DOI怎么找? 3300250
关于科研通互助平台的介绍 2454141
邀请新用户注册赠送积分活动 2307718