paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Learning Symmetric Invariants from Symmetric Samples

从对称样本学习对称不变式
OOPSLA 10(OOPSLA1)2026匹配度 5/10 · 该论文属于用机器学习做程序验证中的不变式合成,与“AI→PL(形式化验证)”方向有邻接关系,并具备理论定义与工程集成;但它不涉及 LLM/Agent,也不属于浮点程序分析或贝叶斯程序分析及其与 LLM 的交叉。引用 0 inbox
Zhijie Xu, Fei He
crossref: 2026-09-10

AI 速览

一句话:提出对称决策树SDT及Horn-SDT方法,从对称样本学习对称不变式,加速参数化程序验证。

不变式合成是程序验证的基础问题,但现有学习方法很少利用参数化与并发程序固有的对称性。对称性诱导出对称可达状态空间与对称样本,并允许对称不变式,从而引出从对称样本学习对称不变式的问题。为此,论文提出对称决策树(SDT),一种在结构上强制对称性的新假设类,从构造上保证所学不变式对称;并给出构造SDT的学习算法,将其作为学习器集成到Horn-ICE框架,形成Horn-SDT。在参数化程序上的实验表明,与非对称基线相比,Horn-SDT收敛更快、生成的树更紧凑。

问题
程序验证中的不变式合成问题;现有基于学习的方法很少利用参数化与并发程序固有的对称性,难以从对称样本中学到对称不变式。
方法
提出在结构上强制对称性的对称决策树(SDT)假设类,并设计构造SDT的学习算法,将其作为学习器集成到Horn-ICE框架中,形成Horn-SDT。
评估
在参数化程序上进行实验,与非对称基线相比,Horn-SDT展现出更快的收敛速度并构造出更紧凑的决策树。
原文摘要(Abstract)

Invariant synthesis is a fundamental problem in program verification, yet existing learning-based approaches rarely exploit the inherent symmetry present in many programs, particularly parameterized and concurrent systems. Such symmetry induces a symmetric reachable state space, naturally yielding symmetric samples and admitting symmetric invariants, motivating the task of learning symmetric invariants from symmetric samples. To this end, we introduce symmetric decision trees (SDTs), a novel hypothesis class that enforces symmetry structurally, guaranteeing symmetric invariants by construction. Furthermore, we develop a learning algorithm to construct SDTs and integrate it as the learner within the Horn-ICE framework, yielding our approach, Horn-SDT. Empirical evaluation on parameterized programs demonstrates that Horn-SDT achieves faster convergence and constructs more compact trees compared to non-symmetric baselines.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot3840,
  title = {Learning Symmetric Invariants from Symmetric Samples},
  author = {Zhijie Xu and Fei He},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA1},
  year = {2026},
  doi = {10.1145/3798200}
}