Gauss: program synthesis by reasoning over graphs
Ion Stoica
Top #22 Global AI Researcher · UC Berkeley / Anyscale / Databricks
Ion Stoica conducts research in distributed systems for ai, ray, vllm & cloud computing at UC Berkeley / Anyscale / Databricks.
While input-output examples are a natural form of specification for program synthesis engines, they can be imprecise for domains such as table transformations. In this paper, we investigate how extracting readily-available information about the user intent behind these input-output examples helps speed up synthesis and reduce overfitting. We present Gauss, a synthesis algorithm for table transformations that accepts partial input-output examples, along with user intent graphs.
Gauss includes a novel conflict-resolution reasoning algorithm over graphs that enables it to learn from mistakes made during the search and use that knowledge to explore the space of programs even faster. It also ensures the final program is consistent with the user intent specification, reducing overfitting. We implement Gauss for the domain of table transformations (supporting Pandas and R), and compare it to three state-of-the-art synthesizers accepting only input-output examples.
We find that it is able to reduce the search space by 56×, 73× and 664× on average, resulting in 7×, 26× and 7× speedups in synthesis times on average, respectively.
Originally published at Proceedings of the ACM on Programming Languages
By Ion Stoica (UC Berkeley BAIR Lab) · 2021-10-15 · Open Access / Academic Attribution.
Add a Worked Example, Practitioner Field Note, or Counter-Thesis
More from UC Berkeley BAIR Lab & Related Topics
All 37 works from UC Berkeley BAIR Lab →AI threatens to eat business software – and it could change the way we work
Even if you’ve never used these software tools, your employer probably has. Now, AI threatens to upend the systems businesses have relied on for years.
Foundation models for generalist medical artificial intelligence
The exceptionally rapid development of highly flexible, reusable artificial intelligence (AI) models is likely to usher in newfound capabilities in…
BAIR at CoRL 2026
The Conference on Robot Learning (CoRL) takes place November 9–12, 2026, in Austin, Texas. BAIR faculty, postdocs and students will be presenting research…
2026 BAIR Graduate Showcase
Congratulations to the Berkeley Artificial Intelligence Research (BAIR) Lab class of 2026! This year, BAIR celebrates another remarkable group of Ph.D.…