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
In latest · #590 Added on 2026-11-19
One-line takeaway
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通过结合可执行后条件与执行反馈,实现程序规格的自动生成,在多个基准上显著提升规格生成准确率,且在未见过的数据集上超越现有开源方法。
Key points
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.
- AuXSpec generates formal specifications using executable postconditions paired with execution-based feedback.
- Type class resolution enables automatic executable counterparts; fallbacks use manual definitions with equivalence proofs.
- Qwen3.8-27B achieves 84.3% pass@4 on AuXSpec-Test, surpassing prior open-source methods.
- On the Verina benchmark, both models reach 90.5% pass@4 and outperform VeriSpecGen-30B-A3B in key metrics.
Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.
Read on arXiv PDF Hugging Face discussion Project page
Topics & disciplines
Related papers
- Same topic · Learning to Think and Explore in 3D World 2026-10-15
- Same topic · VepAgent: Bridging Causal-Transition via Tool-Augmented Reinforcement Learning for Video Event Prediction 2026-10-05
- Same period · InclusionMed: Benchmarking AI for Inclusive Healthcare 2026-11-16
About this data
Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.
The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.