paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fast and Reliable Program Synthesis via User Interaction

通过用户交互实现快速可靠的程序合成
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 2/10 · 论文主题为基于示例的程序合成,并通过主动向用户查询示例来加速合成,属于程序合成与开发者工具方向;与用户画像核心关注的静态分析、Agentic/LLM、浮点程序分析及贝叶斯程序分析均无直接关联。引用 9 inbox
Yanju Chen, Chenglong Wang, Xinyu Wang, Osbert Bastani, Yu Feng
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出量化示例对缩短合成时间有效性的方法,并主动向用户查询额外示例以加速程序合成。

示例编程系统的性能在不同任务甚至同一任务的不同示例间差异巨大,根源在于搜索空间对示例的依赖复杂:可扩展合成器常结合机器学习排序与演绎剪枝,难以定量分析示例对搜索的加速效果。本文提出一种量化示例降低合成时间有效性的新技术,并据此设计算法主动向用户查询能显著缩减合成时间的额外示例。在数据科学两个领域的30个挑战性基准上评估,即使初始用户示例对剪枝无效,平均合成时间仍比最先进合成器加速6.0倍。

问题
示例编程系统的性能高度依赖给定示例,且难以定量判断某个示例对搜索空间的剪枝与加速效果,导致示例不足时合成慢且不可靠。
方法
提出量化示例减少合成时间有效性的技术,并据此设计主动查询算法,向用户索取能显著加速合成的额外示例。
评估
在数据科学两个领域的30个挑战性基准上评估;即使初始示例对剪枝无效,平均合成时间仍比最先进合成器快6.0倍。
原文摘要(Abstract)

The performance of programming-by-example systems varies significantly across different tasks and even across different examples in one task. The key issue is that the search space depends on the given examples in a complex way. In particular, scalable synthesizers typically rely on a combination of machine learning to prioritize search order and deduction to prune search space, making it hard to quantitatively reason about how much an example speeds up the search. We propose a novel approach for quantifying the effectiveness of an example at reducing synthesis time. Based on this technique, we devise an algorithm that actively queries the user to obtain additional examples that significantly reduce synthesis time. We evaluate our approach on 30 challenging benchmarks across two different data science domains. Even with ineffective initial user-provided examples for pruning, our approach on average achieves a 6.0× speed-up in synthesis time compared to state-of-the-art synthesizers.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{ChenWWBF23,
  title = {Fast and Reliable Program Synthesis via User Interaction},
  author = {Yanju Chen and Chenglong Wang and Xinyu Wang and Osbert Bastani and Yu Feng},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00129}
}