mlsanityData to 7 Oct 2026

Using Graph Neural Networks for Program Termination

arXiv 2207.14648 ↗First posted 28 Jul 2022cs.SE cs.AI cs.LGcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  8. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  9. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  10. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  11. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  12. 2017Graph Attention Networkscited by 8,854
38 more
  1. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  2. 2017Mask R-CNNcited by 7,259
  3. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  5. 2017Inductive Representation Learning on Large Graphscited by 6,284
  6. 2022Generative Adversarial Networkscited by 5,603
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  8. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  9. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  11. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  12. 2018How Powerful are Graph Neural Networks?cited by 4,355
  13. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  14. 2014Going Deeper with Convolutionscited by 4,231
  15. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  16. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  17. 2013Auto-Encoding Variational Bayescited by 3,980
  18. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  19. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  20. 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,259
  21. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  22. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  23. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  24. 2018YOLOv3: An Incremental Improvementcited by 2,652
  25. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  26. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  27. 2018Deep contextualized word representationscited by 2,285
  28. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
  29. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  30. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  31. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  32. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  33. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
  34. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
  35. 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,571
  36. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
  37. 2014DeepWalk: Online Learning of Social Representationscited by 1,543
  38. 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.