Research Article

Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications

Volume: 12 Number: 4 December 31, 2025

Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications

Abstract

Soft errors caused by transient hardware faults can lead to silent data corruptions (SDCs) in scientific applications, potentially impacting correctness and reliability. Traditional fault injection (FI) methods provide accurate vulnerability measurements but are prohibitively time-consuming and resource-intensive. In this work, we propose a function-level prediction framework for SDC vulnerability and criticality in CPU-based scientific applications using Graph Neural Networks (GNNs). Static code features are extracted from LLVM intermediate representation and used to construct function call graphs, enabling GCN, GAT, and GraphSAGE models to capture both intra-function characteristics and inter-function dependencies. The problem is formulated as both regression and classification, predicting continuous vulnerability and criticality scores as well as binary labels. The evaluation is conducted on 30 applications (90 functions) from the PolyBench benchmark suite using leave-one-application-out cross-validation, ensuring that the model is tested on unseen applications. Among the evaluated architectures, GraphSAGE achieves the highest performance (F1 = 0.80, MAE = 0.17), showing strong generalization across diverse workloads. Feature correlation and model-based importance analyses identify the most influential LLVM features, and results demonstrate that the proposed approach provides fine-grained, accurate predictions without the need for exhaustive FI campaigns, enabling more efficient and targeted fault-tolerance strategies.

Keywords

References

  1. Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2018). A survey of machine learning for big code and naturalness. ACM Computing Surveys, 51(4). https://doi.org/10.1145/3212695
  2. Arslan, S., & Unsal, O. (2021). Efficient selective replication of critical code regions for SDC mitigation leveraging redundant multithreading. Journal of Supercomputing, 77(12), 14130–14160. https://doi.org/10.1007/s11227-021-03804-6
  3. Cao, S., Sun, X., Bo, L., Wu, R., Li, B., & Tao, C. (2022, May 21-29). MVD: Memory-related vulnerability detection based on flow-sensitive graph neural networks. In: Proceedings of the 44th International Conference on Software Engineering (ICSE’22) (pp. 1456–1468), Pittsburgh Pennsylvania. https://doi.org/10.1145/3510003.3510219
  4. Fey, M., & Lenssen, J. E. (2019). Fast graph representation learning with PyTorch Geometric. In: Proceedings of the ICLR Workshop on Representation Learning on Graphs and Manifolds. https://doi.org/10.48550/arXiv.1903.02428
  5. Hamilton, W. L., Ying, R., & Leskovec, J. (2017). Inductive representation learning on large graphs. In: Advances in Neural Information Processing Systems (NeurIPS), (pp. 1024–1034). https://doi.org/10.48550/arXiv.1706.02216
  6. Kipf, T. N., & Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In: International Conference on Learning Representations (ICLR). https://doi.org/10.48550/arXiv.1609.02907
  7. Laguna, I., Schulz, M., Richards, D. F., Calhoun, J., & Olson, L. N. (2016, March 12-18). IPAS: Intelligent protection against silent output corruption in scientific applications. In: Proceedings of the 2016 International Symposium on Code Generation and Optimization (CGO '16). Association for Computing Machinery (pp. 227–2389, Barcelona, Spain. https://doi.org/10.1145/2854038.2854059
  8. Lu, Q., Farahani, M., Wei, J., & Pattabiraman, K. (2015, August 3-5). LLFI: An intermediate code level fault injection tool for hardware faults. In: Proceedings of the International Conference on Dependable Systems and Networks (DSN ’15), Vancouver, BC, Canada. https://doi.org/10.1109/QRS.2015.13

Details

Primary Language

English

Subjects

Dependable Systems, Deep Learning

Journal Section

Research Article

Publication Date

December 31, 2025

Submission Date

August 19, 2025

Acceptance Date

November 14, 2025

Published in Issue

Year 2025 Volume: 12 Number: 4

APA
Arslan Yılmaz, S. (2025). Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications. Gazi University Journal of Science Part A: Engineering and Innovation, 12(4), 979-998. https://doi.org/10.54287/gujsa.1766028
AMA
1.Arslan Yılmaz S. Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications. GU J Sci, Part A. 2025;12(4):979-998. doi:10.54287/gujsa.1766028
Chicago
Arslan Yılmaz, Sanem. 2025. “Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications”. Gazi University Journal of Science Part A: Engineering and Innovation 12 (4): 979-98. https://doi.org/10.54287/gujsa.1766028.
EndNote
Arslan Yılmaz S (December 1, 2025) Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications. Gazi University Journal of Science Part A: Engineering and Innovation 12 4 979–998.
IEEE
[1]S. Arslan Yılmaz, “Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications”, GU J Sci, Part A, vol. 12, no. 4, pp. 979–998, Dec. 2025, doi: 10.54287/gujsa.1766028.
ISNAD
Arslan Yılmaz, Sanem. “Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications”. Gazi University Journal of Science Part A: Engineering and Innovation 12/4 (December 1, 2025): 979-998. https://doi.org/10.54287/gujsa.1766028.
JAMA
1.Arslan Yılmaz S. Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications. GU J Sci, Part A. 2025;12:979–998.
MLA
Arslan Yılmaz, Sanem. “Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications”. Gazi University Journal of Science Part A: Engineering and Innovation, vol. 12, no. 4, Dec. 2025, pp. 979-98, doi:10.54287/gujsa.1766028.
Vancouver
1.Sanem Arslan Yılmaz. Graph Neural Network-Based Prediction of Soft Error Vulnerability and Criticality of Functions in Scientific Applications. GU J Sci, Part A. 2025 Dec. 1;12(4):979-98. doi:10.54287/gujsa.1766028