paperbot · PL 论文追踪

全部论文 待读 收藏

P0 Beer: Interactive Alarm Resolution in Bayesian Program Analysis via Exploration-Exploitation

Beer:通过探索-利用实现贝叶斯程序分析中的交互式告警消解
OOPSLA 10(OOPSLA1)2026匹配度 8/10 · 论文直接研究贝叶斯程序分析中的交互式告警消解,属于用户明确列出的核心方向之一;虽未涉及 LLM 交叉,但问题驱动、有理论形式化(期望信息增益)和工程实现(基于 Bingo 框架),并针对现有贪心策略的局部最优问题提出改进,符合用户对贝叶斯程序分析及问题驱动型研究的兴趣。引用 0 inbox
Haoran Lin, Zhenyu Yan, Xin Zhang
crossref: 2026-09-10

AI 速览

一句话:将探索-利用权衡引入贝叶斯程序分析,利用告警结构相关性提升交互式告警排序与消解效率。

交互式贝叶斯程序分析通过将推导建模为概率依赖,按置信度排序告警、推荐高可能告警供用户检查,并用检查结果更新置信度。但现有方法采用纯贪心的利用式策略,总检查最高置信度告警,易陷入局部最优,导致冗余检查并延迟发现真实告警。本文提出 Beer,将探索-利用权衡系统化地引入贝叶斯程序分析:利用告警间由共享根因导出的结构相关性估计期望信息增益以指导探索;当连续误报表明模型停滞时,从探索最少且高度相关的告警簇中选择告警以加速学习。Beer 在 Bingo 框架上实现,在 datarace、threadescape 和 taint 分析上相比贪心基线将排序效率最高提升 32%,验证了探索引导告警消解的有效性。

问题
现有交互式贝叶斯程序分析采用纯贪心的利用式选择策略,总是优先检查置信度最高的告警,容易陷入局部最优,造成冗余检查并延迟发现真实告警。
方法
提出 Beer,将探索-利用权衡系统化地融入贝叶斯程序分析,利用贝叶斯模型中共享根因带来的告警结构相关性估计期望信息增益以指导探索,并在模型停滞时从探索不足且高度相关的簇中选择告警。
评估
在 Bingo 框架上实现,并在 datarace、threadescape 与 taint 分析上评估;相比贪心基线,排序效率最高提升 32%。
原文摘要(Abstract)

Interactive Bayesian program analysis enhances static analysis by modeling derivations as probabilistic dependencies, enabling ranking alarms by calculated confidences, proposing highly likely alarms for user inspection, and updating confidences with inspection results. Existing interactive approaches adopt a purely greedy, exploitation-only selection strategy that always inspects the highest-confidence alarm. However, such strategies are prone to local optima, leading to redundant inspections and delayed identification of true alarms. We propose B eer (Bayesian Exploration-Exploitation Ranker), a framework that systematically integrates the Exploration-Exploitation trade-off into Bayesian program analysis. B eer leverages structural correlations between alarms—derived from shared root causes in the Bayesian model—to estimate expected information gain and guide exploration. When repeated false alarms indicate model stagnation, B eer selects alarms from minimally explored, highly correlated clusters to accelerate learning. Implemented atop the B ingo framework, B eer achieves up to 32% effectiveness in ranking efficiency over the greedy baseline on datarace, threadescape, and taint analyses, demonstrating the efficacy of exploration-guided alarm resolution.

链接与引用

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

BibTeX
@article{paperbot3847,
  title = {Beer: Interactive Alarm Resolution in Bayesian Program Analysis via Exploration-Exploitation},
  author = {Haoran Lin and Zhenyu Yan and Xin Zhang},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA1},
  year = {2026},
  doi = {10.1145/3798214}
}