{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,19]],"date-time":"2026-11-19T16:49:04Z","timestamp":1795106944890,"version":"4.10.3"},"reference-count":41,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>According to our survey of machine learning for vulnerability detection (ML4VD), 9 in every 10 papers published in the past five years define ML4VD as a function-level binary classification problem:<\/jats:p>\n                  <jats:p>From our experience as security researchers, faced with deciding whether a given function makes the program vulnerable to attacks, we would often first want to understand the context in which this function is called.<\/jats:p>\n                  <jats:p>\n                    In this paper, we study how often this decision can really be made without further context and study both vulnerable and non-vulnerable functions in the most popular ML4VD datasets. We call a function \u201c\n                    <jats:italic toggle=\"yes\">vulnerable<\/jats:italic>\n                    \u201d if it was involved in a patch of an actual security flaw and confirmed to cause the program\u2019s vulnerability. It is \u201c\n                    <jats:italic toggle=\"yes\">non-vulnerable<\/jats:italic>\n                    \u201d otherwise. We find that in almost all cases this decision\n                    <jats:italic toggle=\"yes\">cannot<\/jats:italic>\n                    be made without further context. Vulnerable functions are often vulnerable only\n                    <jats:italic toggle=\"yes\">because<\/jats:italic>\n                    a corresponding vulnerability-inducing calling context exists while non-vulnerable functions would often be vulnerable\n                    <jats:italic toggle=\"yes\">if<\/jats:italic>\n                    a corresponding context existed.\n                  <\/jats:p>\n                  <jats:p>But why do ML4VD techniques achieve high scores even though there is demonstrably not enough information in these samples? Spurious correlations: We find that high scores can be achieved even when only word counts are available. This shows that these datasets can be exploited to achieve high scores without actually detecting any security vulnerabilities.<\/jats:p>\n                  <jats:p>We conclude that the prevailing problem statement of ML4VD is ill-defined and call into question the internal validity of this growing body of work. Constructively, we call for more effective benchmarking methodologies to evaluate the true capabilities of ML4VD, propose alternative problem statements, and examine broader implications for the evaluation of machine learning and programming analysis research.<\/jats:p>","DOI":"10.1145\/3728887","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"388-410","source":"Crossref","is-referenced-by-count":36,"title":["Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0666-5025","authenticated-orcid":false,"given":"Niklas","family":"Risse","sequence":"first","affiliation":[{"name":"MPI-SP, Bochum, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-1217-7467","authenticated-orcid":false,"given":"Jing","family":"Liu","sequence":"additional","affiliation":[{"name":"MPI-SP, Bochum, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4470-1824","authenticated-orcid":false,"given":"Marcel","family":"B\u00f6hme","sequence":"additional","affiliation":[{"name":"MPI-SP, Bochum, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"Daniel Arp Erwin Quiring Feargus Pendlebury Alexander Warnecke Fabio Pierazzi Christian Wressnegger Lorenzo Cavallaro and Konrad Rieck. 2022. Dos and Don\u2019ts of Machine Learning in Computer Security. In 31st USENIX Security Symposium (USENIX Security 22). USENIX Association Boston MA 3971\u20133988. https:\/\/www.usenix.org\/conference\/usenixsecurity22\/presentation\/arp"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","unstructured":"Marcel B\u00f6hme Cristian Cadar and Abhik Roychoudhury. 2021. Fuzzing: Challenges and Opportunities. IEEE Software (2021) 1\u20139. doi:10.1109\/MS.2020.3016773","DOI":"10.1109\/MS.2020.3016773"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","unstructured":"Marcel B\u00f6hme Valentin J. M. Man\u00e8s and Sang Kil Cha. 2023. Boosting Fuzzer E\ufb03ciency: An Information Theoretic Perspective. Commun. ACM 66 11 (oct 2023) 89\u201397. doi:10.1145\/3611019","DOI":"10.1145\/3611019"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","unstructured":"Sicong Cao Xiaobing Sun Xiaoxue Wu David Lo Lili Bo Bin Li Xiaolei Liu Xingwei Lin and Wei Liu. 2024. Snopy: Bridging Sample Denoising with Causal Graph Learning for Effective Vulnerability Detection. In Proceedings of the 39th IEEE\/ACM International Conference on Automated Software Engineering (Sacramento CA USA) (ASE \u201924). Association for Computing Machinery New York NY USA 606\u2013618. doi:10.1145\/3691620.3695057","DOI":"10.1145\/3691620.3695057"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","unstructured":"S. Chakraborty R. Krishna Y. Ding and B. Ray. 2022. Deep Learning Based Vulnerability Detection: Are We There Yet? IEEE Transactions on Software Engineering 48 09 (sep 2022) 3280\u20133296. doi:10.1109\/TSE.2021.3087402","DOI":"10.1109\/TSE.2021.3087402"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","unstructured":"Yizheng Chen Zhoujie Ding Lamya Alowain Xinyun Chen and David Wagner. 2023. DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detection. In Proceedings of the 26th International Symposium on Research in Attacks Intrusions and Defenses (Hong Kong China) (RAID \u201923). Association for Computing Machinery New York NY USA 654\u2013668. doi:10.1145\/3607199.3607242","DOI":"10.1145\/3607199.3607242"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Koen Claessen and John Hughes. 2000. QuickCheck: a lightweight tool for random testing of Haskell programs. SIGPLAN Not. 35 9 (sep 2000) 268\u2013279. doi:10.1145\/357766.351266","DOI":"10.1145\/357766.351266"},{"key":"e_1_3_1_9_2","doi-asserted-by":"crossref","unstructured":"Jacob Cohen. 1960. A Coe\ufb03cient of Agreement for Nominal Scales. Educational and Psychological Measurement 20 (1960) 37 \u2013 46. https:\/\/api.semanticscholar.org\/CorpusID:15926286","DOI":"10.1177\/001316446002000104"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","unstructured":"Roland Croft M. Ali Babar and M. Mehdi Kholoosi. 2023. Data Quality for Software Vulnerability Datasets. In Proceedings of the 45th International Conference on Software Engineering (Melbourne Victoria Australia) (ICSE \u201923). IEEE Press 121\u2013133. doi:10.1109\/ICSE48619.2023.00022","DOI":"10.1109\/ICSE48619.2023.00022"},{"key":"e_1_3_1_11_2","unstructured":"S. Desikan and G. Ramesh. 2006. Software Testing: Principles and Practice. Pearson Education Canada. https:\/\/books.google.de\/books?id=Yt2yRW6du9wC"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","unstructured":"Jiahao Fan Yi Li Shaohua Wang and Tien N. Nguyen. 2020. A C\/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries. In Proceedings of the 17th International Conference on Mining Software Repositories (Seoul Republic of Korea) (MSR \u201920). Association for Computing Machinery New York NY USA 508\u2013512. doi:10.1145\/3379597.3387501","DOI":"10.1145\/3379597.3387501"},{"key":"e_1_3_1_13_2","doi-asserted-by":"crossref","unstructured":"Octavio Galland and Marcel B\u00f6hme. 2025. Invivo Fuzzing by Amplifying Actual Executions. In Proceedings of the 47th International Conference on Software Engineering (ICSE\u201925). 13 pages.","DOI":"10.1109\/ICSE55347.2025.00172"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","unstructured":"Mary Jean Harrold and Alessandro Orso. 2008. Retesting software during development and maintenance. In 2008 Frontiers of Software Maintenance. 99\u2013108. doi:10.1109\/FOSM.2008.4659253","DOI":"10.1109\/FOSM.2008.4659253"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","unstructured":"Haibo He and Edwardo A. Garcia. 2009. Learning from Imbalanced Data. IEEE Transactions on Knowledge and Data Engineering 21 9 (2009) 1263\u20131284. doi:10.1109\/TKDE.2008.239","DOI":"10.1109\/TKDE.2008.239"},{"key":"e_1_3_1_16_2","first-page":"576","article-title":"An axiomatic basis for computer programming","volume":"10","author":"Anthony C","year":"1969","unstructured":"C. Anthony R. Hoare. 1969. An axiomatic basis for computer programming. Commun. ACM 12, 10 (1969), 576\u2013580.","journal-title":"Commun. ACM 12"},{"key":"e_1_3_1_17_2","volume-title":"Proceedings of the 36th International Conference on Neural Information Processing Systems","author":"Izmailov Pavel","year":"2024","unstructured":"Pavel Izmailov, Polina Kirichenko, Nate Gruver, and Andrew Gordon Wilson. 2024. On feature learning in the presence of spurious correlations. In Proceedings of the 36th International Conference on Neural Information Processing Systems (New Orleans, LA, USA) (NIPS \u201922). Curran Associates Inc., Red Hook, NY, USA, Article 2791, 17 pages."},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.5555\/2486788.2486877"},{"key":"e_1_3_1_19_2","unstructured":"Barbara Kitchenham and Stuart Charters. 2007. Guidelines for performing Systematic Literature Reviews in Software Engineering. 2 (01 2007)."},{"key":"e_1_3_1_20_2","doi-asserted-by":"crossref","unstructured":"J Richard Landis and Gary G. Koch. 1977. The measurement of observer agreement for categorical data. Biometrics 33 1 (1977) 159\u201374. https:\/\/api.semanticscholar.org\/CorpusID:11077516","DOI":"10.2307\/2529310"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","unstructured":"Quang Loc Le Azalea Raad Jules Villard Josh Berdine Derek Dreyer and Peter W. O\u2019Hearn. 2022. Finding real bugs in big programs with incorrectness logic. Proc. ACM Program. Lang. 6 OOPSLA1 Article 81 (apr 2022) 27 pages. doi:10.1145\/3527325","DOI":"10.1145\/3527325"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","unstructured":"Zhen Li Ning Wang Deqing Zou Yating Li Ruqian Zhang Shouhuai Xu Chao Zhang and Hai Jin. 2024. On the Effectiveness of Function-Level Vulnerability Detectors for Inter-Procedural Vulnerabilities. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering (Lisbon Portugal) (ICSE \u201924). Association for Computing Machinery New York NY USA Article 157 12 pages. doi:10.1145\/3597503.3639218","DOI":"10.1145\/3597503.3639218"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","unstructured":"Stephan Lipp Sebastian Banescu and Alexander Pretschner. 2022. An empirical study on the effectiveness of static C code analyzers for vulnerability detection. In Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis (Virtual South Korea) (ISSTA 2022). Association for Computing Machinery New York NY USA 544\u2013555. doi:10.1145\/3533767.3534380","DOI":"10.1145\/3533767.3534380"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","unstructured":"Zhongxin Liu Zhijie Tang Junwei Zhang Xin Xia and Xiaohu Yang. 2024. Pre-training by Predicting Program Dependencies for Vulnerability Analysis Tasks. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering (Lisbon Portugal) (ICSE \u201924). Association for Computing Machinery New York NY USA Article 151 13 pages. doi:10.1145\/3597503.3639142","DOI":"10.1145\/3597503.3639142"},{"key":"e_1_3_1_25_2","doi-asserted-by":"crossref","unstructured":"Ruijie Meng Martin Mirchev Marcel B\u00f6hme and Abhik Roychoudhury. 2024. Large Language Model guided Protocol Fuzzing. In Proceedings of the Network and Distributed System Security Symposium (NDSS\u201924). 15 pages.","DOI":"10.14722\/ndss.2024.24556"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.5555\/1965094"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","unstructured":"Rohan Padhye Caroline Lemieux and Koushik Sen. 2019. JQF: coverage-guided property-based testing in Java. In Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis (Beijing China) (ISSTA 2019). Association for Computing Machinery New York NY USA 398\u2013401. doi:10.1145\/3293882.3339002","DOI":"10.1145\/3293882.3339002"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","unstructured":"Rohan Padhye Caroline Lemieux Koushik Sen Mike Papadakis and Yves Le Traon. 2019. Semantic fuzzing with zest. In Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis (Beijing China) (ISSTA 2019). Association for Computing Machinery New York NY USA 329\u2013340. doi:10.1145\/3293882.3330576","DOI":"10.1145\/3293882.3330576"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","unstructured":"Kai Petersen Sairam Vakkalanka and Ludwik Kuzniarz. 2015. Guidelines for conducting systematic mapping studies in software engineering: An update. Information and Software Technology 64 (08 2015). doi:10.1016\/j.infsof.2015.03.007","DOI":"10.1016\/j.infsof.2015.03.007"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","unstructured":"Md Mahbubur Rahman Ira Ceka Chengzhi Mao Saikat Chakraborty Baishakhi Ray and Wei Le. 2024. Towards Causal Deep Learning for Vulnerability Detection. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering (Lisbon Portugal) (ICSE \u201924). Association for Computing Machinery New York NY USA Article 153 11 pages. doi:10.1145\/3597503.3639170","DOI":"10.1145\/3597503.3639170"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","unstructured":"Niklas Risse. 2023. Detecting Overfitting of Machine Learning Techniques for Automatic Vulnerability Detection. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (San Francisco CA USA) (ESEC\/FSE 2023). Association for Computing Machinery New York NY USA 2189\u20132191. doi:10.1145\/3611643.3617845","DOI":"10.1145\/3611643.3617845"},{"key":"e_1_3_1_32_2","unstructured":"Niklas Risse and Marcel B\u00f6hme. 2024. Uncovering the Limits of Machine Learning for Automatic Vulnerability Detection. In Proceedings of the 33rd USENIX Security Symposium (USENIX Sec\u201924). 19 pages."},{"key":"e_1_3_1_33_2","unstructured":"Shiori Sagawa Aditi Raghunathan Pang Wei Koh and Percy Liang. 2020. An Investigation of Why Overparameterization Exacerbates Spurious Correlations. In Proceedings of the 37th International Conference on Machine Learning (Proceedings of Machine Learning Research Vol. 119) Hal Daum\u00e9 III and Aarti Singh (Eds.). PMLR 8346\u20138356. https:\/\/proceedings.mlr.press\/v119\/sagawa20a.html"},{"key":"e_1_3_1_34_2","doi-asserted-by":"crossref","unstructured":"Philipp Dominik Schubert Ben Hermann and Eric Bodden. 2019. PhASAR: An Inter-procedural Static Analysis Framework for C\/C++. In International Conference on Tools and Algorithms for Construction and Analysis of Systems. https:\/\/api.semanticscholar.org\/CorpusID:93002205","DOI":"10.1007\/978-3-030-17465-1_22"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","unstructured":"Adriana Sejfia Satyaki Das Saad Shafiq and Nenad Medvidovi\u0107. 2024. Toward Improved Deep Learning-based Vulnerability Detection. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering (Lisbon Portugal) (ICSE \u201924). Association for Computing Machinery New York NY USA Article 62 12 pages. doi:10.1145\/3597503.3608141","DOI":"10.1145\/3597503.3608141"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","unstructured":"Benjamin Steenhoek Hongyang Gao and Wei Le. 2024. Dataflow Analysis-Inspired Deep Learning for E\ufb03cient Vulnerability Detection. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering (Lisbon Portugal) (ICSE \u201924). Association for Computing Machinery New York NY USA Article 16 13 pages. doi:10.1145\/3597503.3623345","DOI":"10.1145\/3597503.3623345"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","unstructured":"Saad Ullah Mingji Han Saurabh Pujar Hammond Pearce Ayse Coskun and Gianluca Stringhini. 2024. LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation Framework and Benchmarks. In 2024 IEEE Symposium on Security and Privacy (SP). 862\u2013880. doi:10.1109\/SP54263.2024.00210","DOI":"10.1109\/SP54263.2024.00210"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","unstructured":"Yue Wang Weishi Wang Shafiq Joty and Steven C.H. Hoi. 2021. CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing Marie-Francine Moens Xuanjing Huang Lucia Specia and Scott Wentau Yih (Eds.). Association for Computational Linguistics Online and Punta Cana Dominican Republic 8696\u20138708. doi:10.18653\/v1\/2021.emnlp-main.685","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","unstructured":"Bozhi Wu Shangqing Liu Yang Xiao Zhiming Li Jun Sun and Shang-Wei Lin. 2023. Learning Program Semantics for Vulnerability Detection via Vulnerability-Specific Inter-procedural Slicing. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (San Francisco CA USA) (ESEC\/FSE 2023). Association for Computing Machinery New York NY USA 1371\u20131383. doi:10.1145\/3611643.3616351","DOI":"10.1145\/3611643.3616351"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","unstructured":"Han Zheng Flavio Toffalini Marcel B\u00f6hme and Mathias Payer. 2025. MendelFuzz: The Return of the Deterministic Stage. In Proceedings of the ACM International Conference on the Foundations of Software Engineering (FSE\u201925). 21 pages. doi:10.1145\/3715713","DOI":"10.1145\/3715713"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","unstructured":"Weining Zheng Yuan Jiang and Xiaohong Su. 2021. Vu1SPG: Vulnerability detection based on slice property graph representation learning. In 2021 IEEE 32nd International Symposium on Software Reliability Engineering (ISSRE). 457\u2013467. doi:10.1109\/ISSRE52982.2021.00054","DOI":"10.1109\/ISSRE52982.2021.00054"},{"key":"e_1_3_1_42_2","volume-title":"Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks","author":"Zhou Yaqin","year":"2019","unstructured":"Yaqin Zhou, Shangqing Liu, Jingkai Siow, Xiaoning Du, and Yang Liu. 2019. Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks. Curran Associates Inc., Red Hook, NY, USA."}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728887","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:50:54Z","timestamp":1787493054000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728887"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":41,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728887"],"URL":"https:\/\/doi.org\/10.1145\/3728887","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}