Equivalence of Dataflow Graphs via Rewrite Rules Using a Graph-to-Sequence Neural Model
원문 초록
In this work we target the problem of provably computing the equivalence between two programs represented as dataflow graphs. To this end, we formalize the problem of equivalence between two programs as finding a set of semantics-preserving rewrite rules from one into the other, such that after the rewrite the two programs are structurally identical, and therefore trivially equivalent. We then develop the first graph-to-sequence neural network system for program equivalence, trained to produce such rewrite sequences from a carefully crafted automatic example generation algorithm. We extensively evaluate our system on a rich multi-type linear algebra expression language, using arbitrary combinations of 100+ graph-rewriting axioms of equivalence. Our system outputs via inference a correct rewrite sequence for 96% of the 10,000 program pairs isolated for testing, using 30-term programs. And in all cases, the validity of the sequence produced and therefore the provable assertion of program equivalence is computable, in negligible time.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Ontology-Free General-Domain Knowledge Graph-to-Text Generation Dataset Synthesis using Large Language Model
Ask Questions with Double Hints: Visual Question Generation with Answer-awareness and Region-reference
UAlign: Pushing the Limit of Template-free Retrosynthesis Prediction with Unsupervised SMILES Alignment
Predicting Parking Lot Availability by Graph-to-Sequence Model: A Case Study with SmartSantander
Permutation invariant graph-to-sequence model for template-free retrosynthesis and reaction prediction
GPT-too: A language-model-first approach for AMR-to-text generation
토론
이 논문과 연결된 포럼 글이 아직 없습니다.