Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Open Access Articles
  3. MIT Open Access Articles
  4. Inductive Program Synthesis Guided by Observational Program Similarity

Inductive Program Synthesis Guided by Observational Program Similarity

Thumbnail Image
Download
Name

3622830.pdf

Size

520.82 KB

Format

Adobe PDF

Checksum (MD5)

1fce58ca49fdfce340aef79fd0e7e0e4

Download all files submitted through automated deposit
3622830.zip (419.58 KB)
Author(s)
Feser, Jack
•
Dillig, I??l
•
Solar-Lezama, Armando
Date Issued
October 16, 2023
Journal
Proceedings of the ACM on Programming Languages
Publisher
ACM
Citation
Feser, Jack, Dillig, I??l and Solar-Lezama, Armando. 2023. "Inductive Program Synthesis Guided by Observational Program Similarity." Proceedings of the ACM on Programming Languages, 7 (OOPSLA2).
Version
Final published version
Abstract
We present a new general-purpose synthesis technique for generating programs from input-output examples. Our method, called metric program synthesis, relaxes the observational equivalence idea (used widely in bottom-up enumerative synthesis) into a weaker notion of observational similarity, with the goal of reducing the search space that the synthesizer needs to explore. Our method clusters programs into equivalence classes based on an expert-provided distance metric and constructs a version space that compactly represents “approximately correct” programs. Then, given a “close enough” program sampled from this version space, our approach uses a distance-guided repair algorithm to find a program that exactly matches the given input-output examples. We have implemented our proposed metric program synthesis technique in a tool called SyMetric and evaluate it in three different domains considered in prior work. Our evaluation shows that SyMetric outperforms other domain-agnostic synthesizers that use observational equivalence and that it achieves results competitive with domain-specific synthesizers that are either designed for or trained on those domains.
MIT Department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Terms of Use
Creative Commons Attribution
https://creativecommons.org/licenses/by/4.0/
Persistent DSpace Link
https://hdl.handle.net/1721.1/153002
DOI of Published Version
https://doi.org/10.1145/3622830
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.