arrow
Return

On Abstraction Refinement for Bayesian Program Analysis

delete2025-10-01
delete0
PRE
AI
Y
Y T Shi *
Y
Y. M. Zhang
X
Xin Zhang
DOI:10.1145/3763166delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Bayesian program analysis is a systematic approach to learn from external information for better accuracy by converting logical deduction in conventional program analysis into Bayesian inference. A key challenge in Bayesian program analysis is how to select program abstractions to effectively generalize from external information. A recent approach addresses this challenge by learning a selection policy on training programs but may result in sub-optimal performance on new programs due to its learning nature and when the training set selection is not ideal. To address this problem, we propose an approach that is inspired by the framework of counterexample-guided refinement to search for an abstraction on the fly. Our key innovation is to apply the theory of conditional independence to refine the abstraction so that incorrect generalizations can be removed. To demonstrate the effectiveness of our approach, we have instantiated it on a Bayesian thread-escape analysis and a Bayesian datarace analysis and shown that it significantly improves the performance of the analyses.
Keywords:
Static Analysis
Bayesian Network
Alarm Ranking
Machine Learning for Program Analysis
Abstraction Refinement
Structural Abstraction and Refinement for Probabilistic Programs
err2025-10-01
err0
PREAI
errLi, Guanyan; Li, Juanen; Han, Zhilei; Wang, Peixin; Fu, Hongfei; He, Fei
errShare
errSave
Static analysis of Android programs
err2012-11-01
err61
errOAAI
errPayet, Etienne; Spoto, Fausto
errShare
errSave
Verification of Program Transformations with Inductive Refinement Types
err2021-01-20
err0
errOAAI
errAl-Sibahi, Ahmad Salim; Jensen, Thomas P.; Dimovski, Aleksandar S.; Wasowski, Andrzej
errShare
errSave
Challenges in Quantum Programs Analysis
err2026-03-01
err1
PREAI
errAssolini, Nicola; Di Pierro, Alessandra; Mastroeni, Isabella
errShare
errSave

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

Peking University cover
Peking University
Scholars:
9.2K
Papers: 2.8K
Citations: 7.1W
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Iterative and core-guided MaxSAT solving: A survey and assessment
err2013-07-20
err0
PREAI
errAntonio Morgado; Federico Heras; Mark Liffiton; Jordi Planes; Joao Marques-Silva
errShare
errSave
researcher View more