arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.11901cs.CLcs.PLcs.SE
收藏

构建数据稀缺下比GPT-4o优秀64%的面向证明程序员

Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcity

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Chicago(芝加哥大学);Shanghai Jiaotong University(上海交通大学)

Dylan Zhang, Justin Wang, Tianran Sun

AI总结:

针对现有语言模型在数据稀缺下面向证明编程的不足,提出首个面向项目级面向证明编程生成与修复的合成数据增强方法,所训练的14B参数模型PoPilot在相关任务上比GPT-4o优秀64%,并能显著提升GPT-4o的修复性能。

摘要:

现有语言模型(LMs)因数据稀缺在面向证明编程中表现不佳,具体体现在两方面:(1)缺乏面向证明编程语言(如F*)的足够语料库;(2)缺少能教模型执行面向证明编程时复杂推理过程的大规模项目级面向证明实现。我们首次提出面向项目级面向证明编程生成与修复的合成数据增强方法。该方法通过合成基础面向证明编程问题提升语言熟练度、整合多样编码数据激发推理能力、在现有仓库中创建新证明与修复数据来解决数据稀缺问题,使模型能为函数级和仓库级代码合成与修复证明。我们的14B参数微调模型PoPilot,在项目级面向证明编程中比GPT-4o优秀64%,修复GPT-4o输出时比其自修复提升54%。

英文摘要:

Existing LMs struggle with proof-oriented programming due to data scarcity, which manifest in two key ways: (1) a lack of sufficient corpora for proof-oriented programming languages such as F*, and (2) the absence of large-scale, project-level proof-oriented implementations that can teach the model the intricate reasoning process when performing proof-oriented programming. We present the first on synthetic data augmentation for project level proof oriented programming for both generation and repair. Our method addresses data scarcity by synthesizing basic proof-oriented programming problems for proficiency in that language; incorporating diverse coding data for reasoning capability elicitation and creating new proofs and repair data within existing repositories. This approach enables language models to both synthesize and repair proofs for function- and repository-level code. We show that our fine-tuned 14B parameter model, PoPilot, can exceed the performance of the models that outperforms GPT-4o in project-level proof-oriented programming by 64% relative margin, and can improve GPT-4o's performance by 54% by repairing its outputs over GPT-4o's self-repair.

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

↑