AuXSpec用执行反馈训练Lean规格生成
Haocheng Wang及六位合作者于2026年11月16日向arXiv提交AuXSpec论文。AuXSpec是Lean框架,将声明式后置条件与可执行版本配对,以测试用例和执行一致性作为规格生成的强化学习奖励;作者还合成了3,037道LeetCode题目,并通过Codeforces专家迭代将训练数据扩展至19.5K条。论文称,使用该奖励训练Qwen3.5-9B和Qwen3.8-27B后,AuXSpec-Test的pass@4分别升至82.7%和84.3%,同时公开了模型权重、合成题目及经专家审查的测试集。
AuXSpec为训练Lean规格生成模型提供了基于执行的反馈机制,而作者公开了模型权重与评测数据,便于进一步复现和研究。
Computer Science > Software Engineering
arXiv:2611.21421 (cs)
[Submitted on 16 Nov 2026]
Title:AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions
Authors:Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng
View a PDF of the paper titled AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions, by Haocheng Wang and 6 other authors
#AuXSpec#Lean#Qwen3.5-9B#Qwen3.8-27B#AuXSpec-Test#Verina#VeriSpecGen-30B-A3B#LeetCode#Codeforces