Learning Abstraction Selection for Bayesian Program Analysis
Yifan Zhang, Yuanfeng Shi, Xin Zhang
摘要
We propose a learning-based approach to select abstractions for Bayesian program analysis. Bayesian program analysis converts a program analysis into a Bayesian model by attaching probabilities to analysis rules. It computes probabilities of analysis results and can update them by learning from user feedback, test runs, and other information. Its abstraction heavily affects how well it learns from such information. There exists a long line of works in selecting abstractions for conventional program analysis but they are not effective for Bayesian program analysis. This is because they do not optimize for generalization ability. We propose a data-driven framework to solve this problem by learning from labeled programs. Starting from an abstraction, it decides how to change the abstraction based on analysis derivations. To be general, it considers graph properties of analysis derivations; to be effective, it considers the derivations before and after changing the abstraction. We demonstrate the effectiveness of our approach using a datarace analysis and a thread-escape analysis.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Making pointer analysis more precise by unleashing the power of selective context sensitivity 引用了 Learning graph-based heuristics for pointer analysis without handcrafting application-specific features
- On Abstraction Refinement for Bayesian Program Analysis 引用了 Boosting static analysis accuracy with instrumented test executions
- Effective Directed Fuzzing with Hierarchical Scheduling for Web Vulnerability Detection 引用了 Return of CFA: call-site sensitivity can be superior to object sensitivity even for object-oriented programs
- Return of CFA: call-site sensitivity can be superior to object sensitivity even for object-oriented programs 引用了 Learning fast and precise numerical analysis
- Return of CFA: call-site sensitivity can be superior to object sensitivity even for object-oriented programs 引用了 Learning graph-based heuristics for pointer analysis without handcrafting application-specific features
- Parf: Adaptive Parameter Refining for Abstract Interpretation 引用了 Boosting static analysis accuracy with instrumented test executions
- Learning graph-based heuristics for pointer analysis without handcrafting application-specific features 引用了 Learning fast and precise numerical analysis
- Combining Formal and Informal Information in Bayesian Program Analysis via Soft Evidences 引用了 Boosting static analysis accuracy with instrumented test executions
- Fuzzing Guided by Bayesian Program Analysis 引用了 On Abstraction Refinement for Bayesian Program Analysis
- Fuzzing Guided by Bayesian Program Analysis 引用了 Boosting static analysis accuracy with instrumented test executions
- Fuzzing Guided by Bayesian Program Analysis 引用了 Combining Formal and Informal Information in Bayesian Program Analysis via Soft Evidences
引用它的顶会 Paper8
- Combining Formal and Informal Information in Bayesian Program Analysis via Soft EvidencesTianchi Li, Xin ZhangOOPSLA 2025 · 5 次引用
- On Abstraction Refinement for Bayesian Program AnalysisYuanfeng Shi, Yifan Zhang, Xin ZhangOOPSLA 2025 · 4 次引用
- Parf: Adaptive Parameter Refining for Abstract InterpretationZhongyi Wang, Linyu Yang, Mingshuai Chen, Yixuan Bu 等ASE 2024 · 2 次引用
- Fuzzing Guided by Bayesian Program AnalysisYifan Zhang, Xin ZhangPOPL 2026 · 2 次引用
- Effective Directed Fuzzing with Hierarchical Scheduling for Web Vulnerability DetectionZihan Lin, Yuan Zhang, Jiarun Dai, Xinyou Huang 等USENIX Security 2025
它引用的 Paper7
- Making pointer analysis more precise by unleashing the power of selective context sensitivityTian Tan, Yue Li, Xiaoxing Ma, Chang Xu 等OOPSLA 2021 · 39 次引用
- Learning graph-based heuristics for pointer analysis without handcrafting application-specific featuresMinseok Jeon, Myungho Lee, Hakjoo OhOOPSLA 2020 · 29 次引用
- Learning fast and precise numerical analysisJingxuan He, Gagandeep Singh, Markus Püschel, Martin T. VechevPLDI 2020 · 18 次引用
- Boosting static analysis accuracy with instrumented test executionsTianyi Chen, Kihong Heo, Mukund RaghothamanFSE 2021 · 18 次引用
- Return of CFA: call-site sensitivity can be superior to object sensitivity even for object-oriented programsMinseok Jeon, Hakjoo OhPOPL 2022 · 15 次引用
相关 Paper
- LLM-Based Alarm Resolution Guided by Bayesian Program AnalysisYifan Zhang, Yuanfeng Shi, Haoran Lin, Yingfei Xiong 等OOPSLA 2026
- Learning Probabilistic Models for Static Analysis AlarmsHyunsu Kim, Mukund Raghothaman, Kihong HeoICSE 2022 · 13 次引用
- Beer: Interactive Alarm Resolution in Bayesian Program Analysis via Exploration-ExploitationHaoran Lin, Zhenyu Yan, Xin ZhangOOPSLA 2026
- Language-Agnostic Static Analysis of Probabilistic ProgramsMarkus Böck, Michael Schröder, Jürgen CitoASE 2024 · 4 次引用
- Scaling Abstraction Refinement for Program Analyses in Datalog using Graph Neural NetworksZhenyu Yan, Xin Zhang, Peng DiOOPSLA 2024 · 1 次引用
