{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,1]],"date-time":"2026-07-01T03:34:31Z","timestamp":1782876871635,"version":"3.54.5"},"reference-count":56,"publisher":"Association for Computing Machinery (ACM)","issue":"6","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2025,7,31]]},"abstract":"<jats:p>\n            The Multi-Criteria Test Suite Minimization (MCTSM) problem aims to remove redundant test cases, guided by adequacy criteria such as code coverage or fault detection capability. However, current techniques either exhibit a high loss of fault detection ability or face scalability challenges due to the NP-hard nature of the problem, which limits their practical utility. We propose\n            <jats:sc>TripRL<\/jats:sc>\n            , a novel technique that integrates traditional criteria such as statement coverage and fault detection ability with test coverage similarity into an Integer Linear Program (ILP), to produce a diverse reduced test suite with high test effectiveness.\n            <jats:sc>TripRL<\/jats:sc>\n            leverages bipartite graph representation and its embedding for concise ILP formulation and combines ILP with effective Reinforcement Learning (RL) training. This combination renders large-scale test suite minimization more scalable and enhances test effectiveness. Our empirical evaluations demonstrate that\n            <jats:sc>TripRL<\/jats:sc>\n            \u2019s runtime scales linearly with the magnitude of the MCTSM problem. Notably, for large test suites from the Defects4J dataset where existing approaches fail to provide solutions within a reasonable time frame, our technique consistently delivers solutions in less than 47 minutes. The reduced test suites produced by\n            <jats:sc>TripRL<\/jats:sc>\n            also maintain the original statement coverage and fault detection ability while having a higher potential to detect unknown faults.\n          <\/jats:p>","DOI":"10.1145\/3715008","type":"journal-article","created":{"date-parts":[[2025,1,27]],"date-time":"2025-01-27T15:53:31Z","timestamp":1737993211000},"page":"1-23","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Scalable Similarity-Aware Test Suite Minimization with Reinforcement Learning"],"prefix":"10.1145","volume":"34","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2058-2055","authenticated-orcid":false,"given":"Sijia","family":"Gu","sequence":"first","affiliation":[{"name":"Department of Electrical and Computer Engineering, The University of British Columbia, Vancouver, British Columbia, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8783-7967","authenticated-orcid":false,"given":"Ali","family":"Mesbah","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, The University of British Columbia, Vancouver, British Columbia, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,7,2]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"Joshua Achiam. 2018. Spinning up in deep reinforcement learning. Retrieved from https:\/\/github.com\/openai\/spinningup"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3070549"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2014.43"},{"key":"e_1_3_1_5_2","doi-asserted-by":"crossref","first-page":"3243","DOI":"10.1609\/aaai.v34i04.5723","article-title":"Exploratory combinatorial optimization with reinforcement learning","volume":"34","author":"Barrett Thomas","year":"2020","unstructured":"Thomas Barrett, William Clements, Jakob Foerster, and Alex Lvovsky. 2020. Exploratory combinatorial optimization with reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34, 3243\u20133250.","journal-title":"Proceedings of the AAAI Conference on Artificial Intelligence"},{"key":"e_1_3_1_6_2","first-page":"56","volume-title":"Proceedings of the 2012 28th IEEE International Conference on Software Maintenance (ICSM)","author":"Bavota Gabriele","year":"2012","unstructured":"Gabriele Bavota, Abdallah Qusef, Rocco Oliveto, Andrea De Lucia, and David Binkley. 2012. An empirical analysis of the distribution of unit test smells and their impact on software maintenance. In Proceedings of the 2012 28th IEEE International Conference on Software Maintenance (ICSM). IEEE, 56\u201365."},{"key":"e_1_3_1_7_2","first-page":"1","volume-title":"Proceedings of the ACM\/IEEE 42nd International Conference on Software Engineering","author":"Bertolino Antonia","year":"2020","unstructured":"Antonia Bertolino, Antonio Guerriero, Breno Miranda, Roberto Pietrantuono, and Stefano Russo. 2020. Learning-to-rank vs ranking-to-learn: Strategies for regression testing in continuous integration. In Proceedings of the ACM\/IEEE 42nd International Conference on Software Engineering, 1\u201312."},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.5555\/998675.999417"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/3437963.3441783"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2948707"},{"key":"e_1_3_1_11_2","first-page":"419","volume-title":"Proceedings of the 2019 IEEE\/ACM 41st International Conference on Software Engineering (ICSE)","author":"Cruciani Emilio","year":"2019","unstructured":"Emilio Cruciani, Breno Miranda, Roberto Verdecchia, and Antonia Bertolino. 2019. Scalable approaches for test suite reduction. In Proceedings of the 2019 IEEE\/ACM 41st International Conference on Software Engineering (ICSE). IEEE, 419\u2013429."},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/3209978.3209987"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0377-0427(00)00413-1"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939754"},{"key":"e_1_3_1_15_2","unstructured":"GUROBI. 2023. Gurobi Optimization. Retrieved September 4 2023 from https:\/\/www.gurobi.com\/"},{"key":"e_1_3_1_16_2","unstructured":"GZoltar. 2023. GZoltar Java Library for Automatic Debugging. Retrieved September 27 2023 from https:\/\/github.com\/GZoltar\/gzoltar"},{"key":"e_1_3_1_17_2","first-page":"738","volume-title":"Proceedings of the 2012 34th International Conference on Software Engineering (ICSE)","author":"Hao Dan","year":"2012","unstructured":"Dan Hao, Lu Zhang, Xingxia Wu, Hong Mei, and Gregg Rothermel. 2012. On-demand test suite reduction. In Proceedings of the 2012 34th International Conference on Software Engineering (ICSE). IEEE, 738\u2013748."},{"key":"e_1_3_1_18_2","first-page":"115","volume-title":"Proceedings of the 2015 IEEE 23rd International Conference on Program Comprehension","author":"Hauptmann Benedikt","year":"2015","unstructured":"Benedikt Hauptmann, Sebastian Eder, Maximilian Junker, Elmar Juergens, and Volkmar Woinke. 2015. Generating refactoring proposals to remove clones from automated system tests. In Proceedings of the 2015 IEEE 23rd International Conference on Program Comprehension. IEEE, 115\u2013124."},{"key":"e_1_3_1_19_2","first-page":"419","volume-title":"Proceedings of the 2009 IEEE 31st International Conference on Software Engineering","author":"Hsu Hwa-You","year":"2009","unstructured":"Hwa-You Hsu and Alessandro Orso. 2009. MINTS: A general framework and tool for supporting test-suite minimization. In Proceedings of the 2009 IEEE 31st International Conference on Software Engineering. IEEE, 419\u2013429."},{"key":"e_1_3_1_20_2","unstructured":"Shengyi Huang Rousslan Fernand Julien Dossa Antonin Raffin Anssi Kanervisto and Weixun Wang. 2022. The 37 implementation details of proximal policy optimization. In ICLR Blog Track. Retrieved June 7 2024 from https:\/\/iclr-blog-track.github.io\/2022\/03\/25\/ppo-implementation-details\/"},{"key":"e_1_3_1_21_2","unstructured":"Shengyi Huang and Santiago Onta\u00f1\u00f3n. 2020. A closer look at invalid action masking in policy gradient algorithms. arXiv:2006.14171. Retrieved from https:\/\/arxiv.org\/abs\/2006.14171"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/CoG52621.2021.9619076"},{"key":"e_1_3_1_23_2","unstructured":"IBM. 2023. IBM ILOG CPLEX Optimizer. Retrieved September 4 2023 from https:\/\/www.ibm.com\/products\/ilog-cplex-optimization-studio\/cplex-optimizer"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2007.18"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/2610384.2628055"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/2635868.2635929"},{"key":"e_1_3_1_27_2","first-page":"6351","article-title":"Learning combinatorial optimization algorithms over graphs","volume":"30","author":"Khalil Elias","year":"2017","unstructured":"Elias Khalil, Hanjun Dai, Yuyu Zhang, Bistra Dilkina, and Le Song. 2017. Learning combinatorial optimization algorithms over graphs. In Proceedings of the Advances in Neural Information Processing Systems, Vol. 30, 6351\u20136361.","journal-title":"Proceedings of the Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2018.2809600"},{"key":"e_1_3_1_29_2","first-page":"1008","article-title":"Actor-critic algorithms","volume":"12","author":"Konda Vijay","year":"1999","unstructured":"Vijay Konda and John Tsitsiklis. 1999. Actor-critic algorithms. In Proceedings of the Advances in Neural Information Processing Systems, Vol. 12, 1008\u20131014.","journal-title":"Proceedings of the Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_30_2","first-page":"537","article-title":"Combinatorial optimization with graph convolutional networks and guided tree search","volume":"31","author":"Li Zhuwen","year":"2018","unstructured":"Zhuwen Li, Qifeng Chen, and Vladlen Koltun. 2018. Combinatorial optimization with graph convolutional networks and guided tree search. In Proceedings of the Advances in Neural Information Processing Systems, Vol. 31, 537\u2013546.","journal-title":"Proceedings of the Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_31_2","first-page":"1039","volume-title":"Proceedings of the 40th International Conference on Software Engineering","author":"Lin Jun-Wei","year":"2018","unstructured":"Jun-Wei Lin, Reyhaneh Jabbarvand, Joshua Garcia, and Sam Malek. 2018. Nemo: Multi-criteria test-suite minimization with integer nonlinear programming. In Proceedings of the 40th International Conference on Software Engineering, 1039\u20131049."},{"key":"e_1_3_1_32_2","unstructured":"Sahil Manchanda Akash Mittal Anuj Dhawan Sourav Medya Sayan Ranu and Ambuj Singh. 2019. Learning heuristics over large graphs via deep reinforcement learning. arXiv:1903.03332. Retrieved from https:\/\/arxiv.org\/abs\/1903.03332"},{"key":"e_1_3_1_33_2","doi-asserted-by":"crossref","first-page":"540","DOI":"10.1109\/ICSM.2013.91","volume-title":"Proceedings of the 2013 IEEE International Conference on Software Maintenance","author":"Marijan Dusica","year":"2013","unstructured":"Dusica Marijan, Arnaud Gotlieb, and Sagar Sen. 2013. Test case prioritization for continuous regression testing: An industrial case study. In Proceedings of the 2013 IEEE International Conference on Software Maintenance. IEEE, 540\u2013543."},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.cor.2021.105400"},{"key":"e_1_3_1_35_2","first-page":"1396","article-title":"Randomized block Krylov methods for stronger and faster approximate singular value decomposition","volume":"28","author":"Musco Cameron","year":"2015","unstructured":"Cameron Musco and Christopher Musco. 2015. Randomized block Krylov methods for stronger and faster approximate singular value decomposition. In Proceedings of the Advances in Neural Information Processing Systems, Vol. 28, 1396\u20131404.","journal-title":"Proceedings of the Advances in Neural Information Processing Systems"},{"key":"e_1_3_1_36_2","unstructured":"Annamalai Narayanan Mahinthan Chandramohan Rajasekar Venkatesan Lihui Chen Yang Liu and Shantanu Jaiswal. 2017. graph2vec: Learning distributed representations of graphs. arXiv:1707.05005. Retrieved from https:\/\/arxiv.org\/abs\/1707.05005"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/TETCI.2022.3222545"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2020.110632"},{"key":"e_1_3_1_39_2","first-page":"1700","volume-title":"Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE)","author":"Pan Rongqi","year":"2023","unstructured":"Rongqi Pan, Taher A. Ghaleb, and Lionel Briand. 2023. ATM: Black-box test case minimization based on test code similarity and evolutionary search. In Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 1700\u20131711."},{"key":"e_1_3_1_40_2","first-page":"910","volume-title":"Proceedings of the 2021 IEEE\/ACM 43rd International Conference on Software Engineering (ICSE)","author":"Petrovi\u0107 Goran","year":"2021","unstructured":"Goran Petrovi\u0107, Marko Ivankovi\u0107, Gordon Fraser, and Ren\u00e9 Just. 2021. Does mutation testing improve testing practices? In Proceedings of the 2021 IEEE\/ACM 43rd International Conference on Software Engineering (ICSE). IEEE, 910\u2013921."},{"issue":"10","key":"e_1_3_1_41_2","doi-asserted-by":"crossref","first-page":"3900","DOI":"10.1109\/TSE.2021.3107634","article-title":"Practical mutation testing at scale: A view from Google","volume":"48","author":"Petrovi\u0107 Goran","year":"2021","unstructured":"Goran Petrovi\u0107, Marko Ivankovi\u0107, Gordon Fraser, and Ren\u00e9 Just. 2021. Practical mutation testing at scale: A view from Google. IEEE Transactions on Software Engineering 48, 10 (2021), 3900\u20133912.","journal-title":"IEEE Transactions on Software Engineering"},{"issue":"268","key":"e_1_3_1_42_2","first-page":"1","article-title":"Stable-Baselines3: Reliable reinforcement learning implementations","volume":"22","author":"Raffin Antonin","year":"2021","unstructured":"Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dormann. 2021. Stable-Baselines3: Reliable reinforcement learning implementations. Journal of Machine Learning Research 22, 268 (2021), 1\u20138.","journal-title":"Journal of Machine Learning Research"},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1287\/ijoc.1060.0189"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.5555\/850947.853294"},{"key":"e_1_3_1_45_2","unstructured":"John Schulman Filip Wolski Prafulla Dhariwal Alec Radford and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv:1707.06347. Retrieved from https:\/\/arxiv.org\/abs\/1707.06347"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3092709"},{"key":"e_1_3_1_47_2","article-title":"Linear regression in Python","volume":"8","author":"Stojiljkovic Mirko","year":"2021","unstructured":"Mirko Stojiljkovic. 2021. Linear regression in Python. Real Python 8. Retrieved from https:\/\/realpython.com\/linear-regression-in-python","journal-title":"Real Python"},{"key":"e_1_3_1_48_2","volume-title":"Introduction to Linear Algebra","author":"Strang Gilbert","year":"2022","unstructured":"Gilbert Strang. 2022. Introduction to Linear Algebra. SIAM."},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1145\/2736277.2741093"},{"key":"e_1_3_1_50_2","unstructured":"Mark Towers Jordan K. Terry Ariel Kwiatkowski John U. Balis Gianluca de Cola Tristan Deleu Manuel Goul\u00e3o Andreas Kallinteris Arjun K. G. Markus Krimmel et al. 2023. Gymnasium. Retrieved from https:\/\/doi.org\/10.5281\/zenodo.8127026"},{"key":"e_1_3_1_51_2","unstructured":"TripRL. 2024. Scalable Similarity-Aware Test Suite Minimization with Reinforcement Learning. Retrieved from https:\/\/anonymous.4open.science\/r\/tsm-rl-F9A6\/"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180203"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1002\/9781119606475"},{"issue":"3","key":"e_1_3_1_54_2","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3392031","article-title":"Multi-objective integer programming approaches for solving the multi-criteria test-suite minimization problem: Towards sound and complete solutions of a particular search-based software-engineering problem","volume":"29","author":"Xue Yinxing","year":"2020","unstructured":"Yinxing Xue and Yan-Fu Li. 2020. Multi-objective integer programming approaches for solving the multi-criteria test-suite minimization problem: Towards sound and complete solutions of a particular search-based software-engineering problem. ACM Transactions on Software Engineering and Methodology 29, 3 (2020), 1\u201350.","journal-title":"ACM Transactions on Software Engineering and Methodology"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3517838"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1002\/stv.430"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3452296.3472902"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3715008","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,3]],"date-time":"2025-07-03T03:17:56Z","timestamp":1751512676000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3715008"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,7,2]]},"references-count":56,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2025,7,31]]}},"alternative-id":["10.1145\/3715008"],"URL":"https:\/\/doi.org\/10.1145\/3715008","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,7,2]]},"assertion":[{"value":"2024-08-24","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-12-29","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-07-02","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}