一句话:提出受限共形评估与SmartLabel,使神经符号程序合成在神经组件误预测下仍能通过少量用户交互收敛到目标程序。
神经符号程序合成将神经网络组件引入合成程序,但现有面向纯符号场景的主动学习无法处理神经组件误预测,常返回非预期程序。本文提出面向神经符号主动学习的新技术,核心是受限共形评估(CCE):在考虑用户反馈的同时容纳神经误预测,并迭代收紧CCE,直到剩余程序被保证观测等价。作者在SmartLabel中实现,并在三个神经符号领域评测。结果显示,SmartLabel在98%基准上识别出真实程序,平均少于5轮用户交互;而既有主动学习方法最多仅65%基准收敛到真实程序。
The goal of active learning for program synthesis is to synthesize the desired program by asking targeted questions that minimize user interaction. While prior work has explored active learning in the purely symbolic setting, such techniques are inadequate for the increasingly popular paradigm of neurosymbolic program synthesis , where the synthesized program incorporates neural components. When applied to the neurosymbolic setting, such techniques can —and, in practice, do — return an unintended program due to mispredictions of neural components. This paper proposes a new active learning technique that can handle the unique challenges posed by neural network mispredictions. Our approach is based upon a new evaluation strategy called constrained conformal evaluation (CCE) , which accounts for neural mispredictions while taking into account user-provided feedback. Our proposed method iteratively makes CCE more precise until all remaining programs are guaranteed to be observationally equivalent. We have implemented this method in a tool called SmartLabel and experimentally evaluated it on three neurosymbolic domains. Our results demonstrate that SmartLabel identifies the ground truth program for 98% of the benchmarks, requiring under 5 rounds of user interaction on average. In contrast, prior techniques for active learning are only able to converge to the ground truth program for at most 65% of the benchmarks.
@article{paperbot2906,
title = {Active Learning for Neurosymbolic Program Synthesis},
author = {Celeste Barnaby and Qiaochu Chen and Ramya Ramalingam and Osbert Bastani and Işıl Dillig},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {OOPSLA2},
year = {2025},
doi = {10.1145/3763102}
}