paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Coalgebraic Behavioral Metrics

余代数行为度量
LMCS vol.Volume 14, Issue 32018匹配度 2/10 · 论文属于纯范畴论/余代数的行为度量理论研究,与用户画像中PL与AI/LLM交叉、浮点程序分析、贝叶斯程序分析及工业落地等核心方向无直接关联,也未涉及静态分析或Agentic程序。引用 14 inbox
Paolo Baldan, Filippo Bonchi, Henning Kerstan, Barbara König
crossref: 2026-09-10

AI 速览

一句话:在余代数框架下统一构造行为伪度量,推广 Kantorovich/Wasserstein 度量并涵盖分支时间与线性时间语义。

论文研究如何在余代数统一框架中定义状态之间的行为距离,包括分支时间(如互模拟)和线性时间(如迹等价)语义对应的度量。给定集合函子 H 上的余代数 α:X→HX,作者提出将 H 提升到伪度量空间范畴 PMet 的框架,并给出两类提升方法,可视为概率测度的 Kantorovich 与 Wasserstein 伪度量的推广。结果表明两者在若干自然例子上一致,但一般情况下不同;若 H 有终结余代数,每种提升都典范地诱导出通常为分支时间的行为距离。为处理线性时间度量,作者给出提升分配律与单子的充分条件,并借助广义幂集构造实现。

问题
如何以余代数方式统一刻画状态的行为距离,使其同时涵盖分支时间与线性时间语义下的定量近似关系。
方法
通过将集合函子 H 提升为伪度量空间范畴 PMet 上的函子,提出两类提升并推广 Kantorovich/Wasserstein 伪度量;进一步给出提升分配律与单子的条件。
评估
在若干自然例子中比较两类提升所得伪度量,说明其何时一致、何时不同,并展示终结余代数与广义幂集构造下的行为距离/线性时间度量。
原文摘要(Abstract)

We study different behavioral metrics, such as those arising from both branching and linear-time semantics, in a coalgebraic setting. Given a coalgebra $\alpha\colon X \to HX$ for a functor $H \colon \mathrm{Set}\to \mathrm{Set}$, we define a framework for deriving pseudometrics on $X$ which measure the behavioral distance of states. A crucial step is the lifting of the functor $H$ on $\mathrm{Set}$ to a functor $\overline{H}$ on the category $\mathrm{PMet}$ of pseudometric spaces. We present two different approaches which can be viewed as generalizations of the Kantorovich and Wasserstein pseudometrics for probability measures. We show that the pseudometrics provided by the two approaches coincide on several natural examples, but in general they differ. If $H$ has a final coalgebra, every lifting $\overline{H}$ yields in a canonical way a behavioral distance which is usually branching-time, i.e., it generalizes bisimilarity. In order to model linear-time metrics (generalizing trace equivalences), we show sufficient conditions for lifting distributive laws and monads. These results enable us to employ the generalized powerset construction.

链接与引用

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

BibTeX
@article{paperbot377,
  title = {Coalgebraic Behavioral Metrics},
  author = {Paolo Baldan and Filippo Bonchi and Henning Kerstan and Barbara König},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 14, Issue 3},
  year = {2018},
  doi = {10.23638/lmcs-14(3:20)2018}
}