2023
DOI: 10.1145/3571207
|View full text |Cite
|
Sign up to set email alerts
|

babble: Learning Better Abstractions with E-Graphs and Anti-unification

Abstract: Library learning compresses a given corpus of programs by extracting common structure from the corpus into reusable library functions. Prior work on library learning suffers from two limitations that prevent it from scaling to larger, more complex inputs. First, it explores too many candidate library functions that are not useful for compression. Second, it is not robust to syntactic variation in the input. We propose library learning modulo theory … Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
4
2
1

Relationship

0
7

Authors

Journals

citations
Cited by 17 publications
(4 citation statements)
references
References 22 publications
0
4
0
Order By: Relevance
“…As the number of possible refactorings grows combinatorially with program size, we needed a new data structure for representing and manipulating sets of refactorings, which we designed by combining ideas from version space algebras [20][21][22] and equivalence graphs [23] (described in our companion manuscript [2]). Recent work improved upon our original refactoring algorithm by making it more expressive [24] as well as orders of magnitude faster [25].…”
Section: Wake/sleep Program Learningmentioning
confidence: 99%
“…As the number of possible refactorings grows combinatorially with program size, we needed a new data structure for representing and manipulating sets of refactorings, which we designed by combining ideas from version space algebras [20][21][22] and equivalence graphs [23] (described in our companion manuscript [2]). Recent work improved upon our original refactoring algorithm by making it more expressive [24] as well as orders of magnitude faster [25].…”
Section: Wake/sleep Program Learningmentioning
confidence: 99%
“…Another promising method is learning a library of functions from previously solved problems. These functions are then reusable in an updated domain-specific language to solve more challenging problems (Hewitt, Le, and Tenenbaum 2020;Ellis et al 2021Ellis et al , 2018Cao et al 2023;Bowers et al 2023).…”
Section: Related Workmentioning
confidence: 99%
“…We build WASM-MUTATE on top of e-graphs [9]. An e-graph is a graph data structure utilized for representing rewriting rules and their chaining.…”
Section: E-graphs For Webassemblymentioning
confidence: 99%