Exploring Representation of Horn Clauses using GNNs (Extended Technical Report)
Not on the map. Why?
Abstract (arXiv)
Learning program semantics from raw source code is challenging due to the complexity of real-world programming language syntax and due to the difficulty of reconstructing long-distance relational information implicitly represented in programs using identifiers. Addressing the first point, we consider Constrained Horn Clauses (CHCs) as a standard representation of program verification problems, providing a simple and programming language-independent syntax. For the second challenge, we explore graph representations of CHCs, and propose a new Relational Hypergraph Neural Network (R-HyGNN) architecture to learn program features. We introduce two different graph representations of CHCs. One is called constraint graph (CG), and emphasizes syntactic information of CHCs by translating the symbols and their relations in CHCs as typed nodes and binary edges, respectively, and constructing the constraints as abstract syntax trees. The second one is called control- and data-flow hypergraph (CDHG), and emphasizes semantic information of CHCs by representing the control and data flow through ternary hyperedges. We then propose a new GNN architecture, R-HyGNN, extending Relational Graph Convolutional Networks, to handle hypergraphs. To evaluate the ability of R-HyGNN to extract semantic information from programs, we use R-HyGNNs to train models on the two graph representations, and on five proxy tasks with increasing difficulty, using benchmarks from CHC-COMP 2021 as training data. The most difficult proxy task requires the model to predict the occurrence of clauses in counter-examples, which subsumes satisfiability of CHCs. CDHG achieves 90.59% accuracy in this task. Furthermore, R-HyGNN has perfect predictions on one of the graphs consisting of more than 290 clauses. Overall, our experiments indicate that R-HyGNN can capture intricate program features for guiding verification problems.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 29 of its 57 references that are in the map. First posted on arXiv 14 Jun 2022.
Builds on
29 of 57 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
17 more
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2018Hypergraph Neural Networkscited by 482
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2018Learning a SAT Solver from Single-Bit Supervisioncited by 198
- 2018Syntax-Directed Variational Autoencoder for Structured Datacited by 103
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
- 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 80
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
- 2017Premise Selection for Theorem Proving by Deep Graph Embeddingcited by 44
- 2020LambdaNet: Probabilistic Type Inference using Graph Neural Networkscited by 44
- 2017Structural Deep Embedding for Hyper-Networkscited by 33
- 2019Learning and Evaluating Contextual Embedding of Source Codecited by 33
- 2019Property Invariant Embedding for Automated Reasoningcited by 22
- 2014Convolutional Neural Networks over Tree Structures for Programming Language Processingcited by 10
- 2013Disjunctive Interpolants for Horn-Clause Verification (Extended Technical Report)cited by 2
- 2021Competition Report: CHC-COMP-21cited by 1
Built on by
Citing papers per year: 2024: 1.
1 paper.