paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fast Client-Driven CFL-Reachability via Regularization-Based Graph Simplification

基于正则化的图简化实现快速客户端驱动的 CFL 可达性分析
OOPSLA 9(OOPSLA2)2025匹配度 3/10 · 论文属于静态分析中的 CFL 可达性优化,与程序分析基础技术间接相关;但未涉及用户核心关注的 LLM/Agent、浮点程序分析、贝叶斯程序分析,也不是将静态分析应用于 ML/Agentic 程序。引用 1 inbox
Chenghang Shi, Dongjie He, Haofeng Li, Jie Lu, Lian Li, Jingling Xue
crossref: 2026-09-10

AI 速览

一句话:提出 MoYe,用正则近似简化图并剪除无用边,在保证指定点对可达性精确的前提下加速客户端驱动的 CFL 可达性分析。

CFL 可达性是许多程序分析的核心框架,但其三次或近三次时间复杂度常导致客户端应用性能显著下降。实际中客户端往往只关心特定源—汇节点对的可达性,这带来了定向优化机会。本文提出 MoYe,一种基于正则化的图简化技术:先对 CFL 进行正则近似,识别并剪除不参与任何指定 CFL 可达路径的边,同时保证所有指定节点对的精确可达结果;该过程关于边数线性运行,可作为轻量预处理。在两类主流 CFL 可达性客户端应用上的评估表明,MoYe 显著降低时间与内存开销,并优于近期领先的图简化方法。

问题
CFL 可达性分析计算代价高,而客户端通常只需特定源—汇节点对的结果,如何在不损失这些点对精确性的前提下高效剪枝以加速分析。
方法
MoYe 采用正则近似对图进行简化,剪除不贡献于任何指定 CFL 可达路径的边,且处理时间与边数线性相关。
评估
在两种主流 CFL 可达性客户端应用上评估,与近期领先的图简化方法比较,显示时间和内存开销显著降低。
原文摘要(Abstract)

Context-free language (CFL) reachability is a critical framework for various program analyses, widely adopted despite its computational challenges due to cubic or near-cubic time complexity. This often leads to significant performance degradation in client applications. Notably, in real-world scenarios, clients typically require reachability information only for specific source-to-sink pairs, offering opportunities for targeted optimization. We introduce MoYe, an effective regularization-based graph simplification technique designed to enhance the performance of client-driven CFL-reachability analyses by pruning non-contributing edges—those that do not participate in any specified CFL-reachable paths. MoYe employs a regular approximation to ensure exact reachability results for all designated node pairs and operates linearly with respect to the number of edges in the graph. This lightweight efficiency makes MoYe a valuable pre-processing step that substantially reduces both computational time and memory requirements for CFL-reachability analysis, outperforming a recent leading graph simplification approach. Our evaluations with two prominent CFL-reachability client applications demonstrate that MoYe can substantially improve performance and reduce resource consumption.

链接与引用

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

BibTeX
@article{paperbot3022,
  title = {Fast Client-Driven CFL-Reachability via Regularization-Based Graph Simplification},
  author = {Chenghang Shi and Dongjie He and Haofeng Li and Jie Lu and Lian Li and Jingling Xue},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA2},
  year = {2025},
  doi = {10.1145/3763065}
}