arXiv 2611.21421 · cs.SE · 2026-11-16
AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions
Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng
Algorithms and Optimization Group - ETH Zurich
在最新榜 #590 本站收录于 2026-11-19
一句话要点
AuXSpec通过结合可执行后条件与执行反馈,实现程序规格的自动生成,在多个基准上显著提升规格生成准确率,且在未见过的数据集上超越现有开源方法。
AuXSpec leverages executable postconditions and execution-based rewards to improve specification generation, outperforming prior open-source models on both in-domain and out-of-domain benchmarks.
要点
- 程序规格的编写长期依赖专家知识,效率低下,成为形式化验证的主要瓶颈;AuXSpec提出基于可执行后条件的自动形式化方法,降低编写门槛。
- 模型通过类型类解析生成可执行的后条件,无法解析时则手动定义并配以等价性证明,测试用例执行结果作为强化学习奖励信号。
- 在3037个LeetCode问题和19500个样本扩展训练后,Qwen3.8-27B模型在AuXSpec-Test上达到84.3%的pass@4,显著优于前代方法。
- 在Verina基准上,两个模型均实现超过90%的pass@4,且在pass@1和pass@4指标上超越VeriSpecGen-30B-A3B,验证了方法的有效性与泛化能力。
English overview
AuXSpec introduces a framework that generates formal program specifications from natural language by pairing declarative postconditions with executable counterparts. Execution outcomes serve as reinforcement learning rewards, enabling effective training without requiring full proofs. The approach achieves state-of-the-art performance on both in-domain and out-of-domain benchmarks, outperforming prior open-source specification models.
只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。
阅读 arXiv 原文 PDF Hugging Face 讨论 项目页
相关论文
- 同主题 · Learning to Think and Explore in 3D World 2026-10-15
- 同主题 · VepAgent: Bridging Causal-Transition via Tool-Augmented Reinforcement Learning for Video Event Prediction 2026-10-05
- 同期 · InclusionMed: Benchmarking AI for Inclusive Healthcare 2026-11-16
数据说明
元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。
要点由本站根据摘要自写,不转载摘要原文,请阅读原文。