paperbot · PL 论文追踪

全部论文 待读 收藏

P2 PλωNK: functional probabilistic NetKAT

PλωNK:函数式概率 NetKAT
POPL 4(POPL)2019匹配度 2/10 · 该论文关注概率网络编程语言 PλωNK 的形式语义与高阶抽象,属于概率程序语言理论,但未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心方向,仅与概率编程形式化有较远的间接关联。引用 2 inbox
Alexander Vandenbroucke, Tom Schrijvers
crossref: 2026-09-10

AI 速览

一句话:提出函数式概率网络语言 PλωNK,以高阶抽象和 ωQBS 语义扩展 Probabilistic NetKAT。

本文提出 PλωNK,一种函数式概率网络编程语言,用于扩展 Probabilistic NetKAT(PNK)。PNK 通过概率选择与无限迭代支持网络行为的概率建模,但缺乏抽象与高阶函数,编程不便。PλωNK 在保留概率建模能力的同时引入函数式抽象与高阶函数,并用显式的 thunk 与顺序组合语法来刻画并行和概率选择等副作用。形式化面临两大挑战:函数式环境中多副作用需受控,且测度论不允许高阶函数;作者借助 ω-Quasi Borel Spaces(ωQBS)这一概率程序语言域论进展来解决。该工作不仅为 PNK 带来抽象,也为组合高阶函数、迭代与并行的概率语言发展了元理论。

问题
PNK 虽能对网络行为进行概率建模,但缺少抽象与高阶函数,导致网络程序编写不便;同时,在函数式设定下形式化并行、概率选择等副作用以及处理测度论不支持高阶函数的问题。
方法
PλωNK 在 PNK 基础上引入函数式抽象、高阶函数,并用显式 thunk 与顺序组合控制副作用;其语义借助 ω-Quasi Borel Spaces(ωQBS)来支持高阶概率语言的形式化。
评估
摘要未报告实现或实验评估,工作以语言定义、形式化语义与元理论建立为主要评估与论证方式。
原文摘要(Abstract)

This work presents PλωNK, a functional probabilistic network programming language that extends Probabilistic NetKAT (PNK). Like PNK, it enables probabilistic modelling of network behaviour, by providing probabilistic choice and infinite iteration (to simulate looping network packets). Yet, unlike PNK, it also offers abstraction and higher-order functions to make programming much more convenient. The formalisation of PλωNK is challenging for two reasons: Firstly, network programming induces multiple side effects (in particular, parallelism and probabilistic choice) which need to be carefully controlled in a functional setting. Our system uses an explicit syntax for thunks and sequencing which makes the interplay of these effects explicit. Secondly, measure theory, the standard domain for formalisations of (continuous) probablistic languages, does not admit higher-order functions. We address this by leveraging ω-Quasi Borel Spaces (ωQBSes), a recent advancement in the domain theory of probabilistic programming languages. We believe that our work is not only useful for bringing abstraction to PNK, but that—as part of our contribution—we have developed the meta-theory for a probabilistic language that combines advanced features like higher-order functions, iteration and parallelism, which may inform similar meta-theoretic efforts.

链接与引用

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

BibTeX
@article{paperbot520,
  title = {PλωNK: functional probabilistic NetKAT},
  author = {Alexander Vandenbroucke and Tom Schrijvers},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {4},
  number = {POPL},
  year = {2019},
  doi = {10.1145/3371107}
}