paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Unifying Approach to Product Constructions for Quantitative Temporal Inference

定量时序推断的积构造统一方法
OOPSLA 9(OOPSLA1)2025匹配度 3/10 · 该论文属于概率/加权程序的形式语义与程序验证,讨论余代数与分配律统一积构造,不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也与工业落地、benchmark 设计等偏好无关;仅与形式验证/概率程序背景有边缘关联。引用 1 inbox
Kazuki Watanabe, Sebastian Junges, Jurriaan Rot, Ichiro Hasuo
crossref: 2026-09-10

AI 速览

一句话:提出基于余代数的统一框架,用分配律刻画系统与时序性质的积构造,并给出用于定量时序推断的充分正确性条件。

概率程序可自然描述系统执行上的分布,其经典验证问题是时序推断:计算执行轨迹满足给定时序性质的似然。本文提出一个统一的定量时序推断框架,覆盖概率与加权程序操作语义等模型。核心观察是:许多现有方法都依赖系统与时序性质间的积构造,而系统与时序性质均可建模为余代数,积构造对应分配律。作者由此给出积构造的统一数学定义,并提出保证其可用于时序推断的充分正确性条件。该框架可恢复文献中多种方法,如 Markov 奖励模型中的部分期望奖励、资源敏感可达性和加权优化问题;还构造加权程序与加权时序性质的积作为新实例,展示可扩展性。

问题
如何为概率程序、加权程序等定量模型中的时序推断提供统一的理论基础,并刻画不同积构造方法的正确性条件。
方法
将系统与时序性质均建模为余代数,把两者间的积构造刻画为分配律,并给出保证时序推断正确性的充分条件。
评估
通过实例化恢复 Markov 奖励模型部分期望奖励、资源敏感可达性、加权优化等已有方法,并用加权程序与加权时序性质的新积构造展示可扩展性。
原文摘要(Abstract)

Probabilistic programs are a powerful and convenient approach to formalising distributions over system executions. A classical verification problem for probabilistic programs is temporal inference : to compute the likelihood that the execution traces satisfy a given temporal property. This paper presents a general framework for temporal inference, which applies to a rich variety of quantitative models including those that arise in the operational semantics of probabilistic and weighted programs. The key idea underlying our framework is that in a variety of existing approaches, the main construction that enables temporal inference is that of a product between the system of interest and the temporal property. We provide a unifying mathematical definition of product constructions, enabled by the realisation that 1) both systems and temporal properties can be modelled as coalgebras and 2) product constructions are distributive laws in this context. Our categorical framework leads us to our main contribution: a sufficient condition for correctness, which is precisely what enables to use the product construction for temporal inference. We show that our framework can be instantiated to naturally recover a number of disparate approaches from the literature including, e.g., partial expected rewards in Markov reward models, resource-sensitive reachability analysis, and weighted optimization problems. Furthermore, we demonstrate a product of weighted programs and weighted temporal properties as a new instance to show the scalability of our approach.

链接与引用

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

BibTeX
@article{paperbot3190,
  title = {A Unifying Approach to Product Constructions for Quantitative Temporal Inference},
  author = {Kazuki Watanabe and Sebastian Junges and Jurriaan Rot and Ichiro Hasuo},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA1},
  year = {2025},
  doi = {10.1145/3720501}
}