paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Quantitative and Approximate Monitoring

定量与近似监控
LICS 2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)2021匹配度 2/10 · 该论文属于运行时验证与定量监控的理论工作,关注数值 trace 属性的近似估计及精度-资源权衡,虽与形式化验证相关,但未涉及用户核心关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。引用 0 inbox
Thomas A. Henzinger, N. Ege Sarac
crossref: 2026-09-12

AI 速览

一句话:将运行时验证推广为对数值 trace 属性进行近似估计的定量监控,并刻画精度-资源权衡。

经典运行时验证让监控器依据有限前缀判断未知无限 trace 是否满足布尔规范。本文将其推广为定量监控:监控器估计最大/平均响应时间等数值属性,并随前缀增长逐步改进近似值。改进精度需要更多资源(如有限状态监控器的状态数或寄存器数),因此形成精度-代价权衡。作者提出定量近似监控的形式化框架,证明其保守推广布尔监控,并给出若干权衡结果,例如存在某些定量属性,每增加一个寄存器都能提升监控精度。

问题
经典运行时验证仅要求监控器对未知无限 trace 给出布尔判定;本文关注如何用有限前缀估计定量 trace 属性的数值。
方法
提出定量且近似监控的形式化框架,以状态或寄存器等资源为成本,刻画监控器估计精度与资源之间的权衡,并说明其保守推广经典布尔监控。
评估
通过理论证明给出多个精度-代价权衡;例如证明存在定量属性,每增加一个寄存器都能提升监控精度。
原文摘要(Abstract)

In runtime verification, a monitor watches a trace of a system and, if possible, decides after observing each finite prefix whether or not the unknown infinite trace satisfies a given specification. We generalize the theory of runtime verification to monitors that attempt to estimate numerical values of quantitative trace properties (instead of attempting to conclude boolean values of trace specifications), such as maximal or average response time along a trace. Quantitative monitors are approximate: with every finite prefix, they can improve their estimate of the infinite trace's unknown property value. Consequently, quantitative monitors can be compared with regard to a precision-cost trade-off: better approximations of the property value require more monitor resources, such as states (in the case of finite-state monitors) or registers, and additional resources yield better approximations. We introduce a formal framework for quantitative and approximate monitoring, show how it conservatively generalizes the classical boolean setting for monitoring, and give several precision-cost trade-offs for monitors. For example, we prove that there are quantitative properties for which every additional register improves monitoring precision.

链接与引用

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

BibTeX
@inproceedings{paperbot6195,
  title = {Quantitative and Approximate Monitoring},
  author = {Thomas A. Henzinger and N. Ege Sarac},
  booktitle = {LICS},
  year = {2021},
  doi = {10.1109/lics52264.2021.9470547}
}