paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Program Synthesis with Algorithm Pseudocode Guidance

基于算法伪代码引导的程序合成
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 2/10 · 论文属于程序合成方向,但与用户核心关注的静态分析、LLM/Agent 交叉、浮点程序分析或贝叶斯程序分析没有直接关联;摘要也未涉及 LLM、Agent 或工业落地场景。引用 0 inbox
Zihui Wang
crossref: 2026-09-12

AI 速览

一句话:利用算法伪代码中的控制结构框架与变量名信息引导程序合成,缩小搜索空间并合成含控制结构的复杂程序。

现有程序合成方法普遍受限于合成程序规模小、逻辑简单,难以处理具有复杂控制结构的程序。本文提出一种基于算法伪代码的程序合成方法:通过解析伪代码,提取控制结构框架与变量名等关键信息,并以此作为引导信号约束和驱动合成过程。实验表明,从伪代码中提取的信息有助于缩减程序搜索空间并增强合成器的能力,能够合成一些带有控制结构的较复杂程序。

问题
现有程序合成方法合成的程序规模小、逻辑简单,难以处理具有复杂控制结构的程序。
方法
解析算法伪代码,提取控制结构框架与变量名等关键信息,用这些信息引导并约束程序合成的搜索过程。
评估
通过实验验证伪代码信息能缩减程序搜索空间并提升合成器能力,成功合成出一些带控制结构的复杂程序。
原文摘要(Abstract)

The limitation of the current program synthesis method is that the synthesized program is small in scale and simple in logic. In this work, we introduce an effective program synthesis approach based on algorithm pseudocode. By parsing the pseudocode, critical information like control structure framework and variable names can be obtained which are used to guide the process of synthesis. Experiments show that information extracted from pseudocode helps to reduce the space of programs and enhance the ability of the synthesizer. It can synthesize some complex programs with control structures.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6483,
  title = {Program Synthesis with Algorithm Pseudocode Guidance},
  author = {Zihui Wang},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678657}
}