Neural-Network Guided Expression Transformation
Romain Edelmann, Viktor Kun\v{c}ak

TL;DR
This paper introduces a neural-network guided search method to efficiently reconstruct proof paths of expression transformations, significantly improving speed over traditional exhaustive search methods.
Contribution
It presents a novel approach using a Tree-LSTM neural network to guide the search for transformation sequences, enabling faster proof reconstruction in expression optimization.
Findings
Neural network guides search more efficiently than uninformed methods.
The approach solves more instances within a 2-second timeout than exhaustive search does in 5 minutes.
Significant speedup in reconstructing transformation paths for expressions.
Abstract
Optimizing compilers, as well as other translator systems, often work by rewriting expressions according to equivalence preserving rules. Given an input expression and its optimized form, finding the sequence of rules that were applied is a non-trivial task. Most of the time, the tools provide no proof, of any kind, of the equivalence between the original expression and its optimized form. In this work, we propose to reconstruct proofs of equivalence of simple mathematical expressions, after the fact, by finding paths of equivalence preserving transformations between expressions. We propose to find those sequences of transformations using a search algorithm, guided by a neural network heuristic. Using a Tree-LSTM recursive neural network, we learn a distributed representation of expressions where the Manhattan distance between vectors approximately corresponds to the rewrite distance…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Logic, programming, and type systems · Topic Modeling
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
