Using Graph Neural Networks for Program Termination
Not on the map. Why?
Abstract (arXiv)
Termination analyses investigate the termination behavior of programs, intending to detect nontermination, which is known to cause a variety of program bugs (e.g. hanging programs, denial-of-service vulnerabilities). Beyond formal approaches, various attempts have been made to estimate the termination behavior of programs using neural networks. However, the majority of these approaches continue to rely on formal methods to provide strong soundness guarantees and consequently suffer from similar limitations. In this paper, we move away from formal methods and embrace the stochastic nature of machine learning models. Instead of aiming for rigorous guarantees that can be interpreted by solvers, our objective is to provide an estimation of a program's termination behavior and of the likely reason for nontermination (when applicable) that a programmer can use for debugging purposes. Compared to previous approaches using neural networks for program termination, we also take advantage of the graph representation of programs by employing Graph Neural Networks. To further assist programmers in understanding and debugging nontermination bugs, we adapt the notions of attention and semantic segmentation, previously used for other application domains, to programs. Overall, we designed and implemented classifiers for program termination based on Graph Convolutional Networks and Graph Attention Networks, as well as a semantic segmentation Graph Neural Network that localizes AST nodes likely to cause nontermination. We also illustrated how the information provided by semantic segmentation can be combined with program slicing to further aid debugging.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 375 of its 1,819 references that are in the map. First posted on arXiv 28 Jul 2022.
Builds on
375 of 1,819 references.
References · 375
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2017Graph Attention Networkscited by 8,854
38 more
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2017Mask R-CNNcited by 7,259
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2022Generative Adversarial Networkscited by 5,603
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2014Going Deeper with Convolutionscited by 4,231
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,259
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2018YOLOv3: An Incremental Improvementcited by 2,652
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2018Deep contextualized word representationscited by 2,285
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,571
- 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
50 most cited of 375 All 375 (JSON)
Built on by
Not cited yet.