{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T16:45:01Z","timestamp":1787330701468,"version":"build-2736575974"},"reference-count":49,"publisher":"Association for Computing Machinery (ACM)","issue":"9","funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62192734, 62402372"],"award-info":[{"award-number":["62192734, 62402372"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2026,9,30]]},"abstract":"<jats:p>\n                    In recent years, the application of behavioral testing in Natural Language Processing (NLP) model evaluation has experienced substantial growth. However, existing methods are restricted by reliance on manual labor and the limited scope of capability assessment. To address these limitations, we introduce AutoTestForge, an automated and multidimensional testing framework for NLP models. Through the integration of Large Language Models (LLMs) to automatically generate test templates and instantiate them, manual involvement is significantly reduced. Additionally, a mechanism for validating test case labels based on differential testing is proposed, which makes use of a multi-model voting system to guarantee the quality of test cases. The framework expands the test suite across three dimensions: taxonomy, fairness, and robustness, offering a comprehensive evaluation of the capabilities of NLP models. This expansion enables an in-depth and thorough assessment of the models, providing valuable insights into their strengths and weaknesses. A comprehensive evaluation across the Sentiment Analysis (SA) task and Semantic Textual Similarity (STS) task demonstrates that AutoTestForge consistently outperforms existing datasets and testing tools with higher failure rates (an average of\n                    <jats:inline-formula content-type=\"math\/tex\">\n                      <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(32.35\\%\\)<\/jats:tex-math>\n                    <\/jats:inline-formula>\n                    for SA and\n                    <jats:inline-formula content-type=\"math\/tex\">\n                      <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(31.61\\%\\)<\/jats:tex-math>\n                    <\/jats:inline-formula>\n                    for STS). Moreover, different generation strategies exhibit stable effectiveness with failure rates ranging from\n                    <jats:inline-formula content-type=\"math\/tex\">\n                      <jats:tex-math notation=\"LaTeX\" version=\"MathJax\">\\(25.77\\% {\\text{ to }} 38.04\\%\\)<\/jats:tex-math>\n                    <\/jats:inline-formula>\n                    .\n                  <\/jats:p>","DOI":"10.1145\/3783995","type":"journal-article","created":{"date-parts":[[2025,12,12]],"date-time":"2025-12-12T03:00:54Z","timestamp":1765508454000},"page":"1-33","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["AutoTestForge: A Multidimensional Automated Testing Framework for Natural Language Processing Models"],"prefix":"10.1145","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9081-6174","authenticated-orcid":false,"given":"Hengrui","family":"Xing","sequence":"first","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5429-4580","authenticated-orcid":false,"given":"Cong","family":"Tian","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1751-8618","authenticated-orcid":false,"given":"Liang","family":"Zhao","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-2045-4822","authenticated-orcid":false,"given":"Zhi","family":"Ma","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-0980-7628","authenticated-orcid":false,"given":"Wensheng","family":"Wang","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3870-2505","authenticated-orcid":false,"given":"Nan","family":"Zhang","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9300-1787","authenticated-orcid":false,"given":"Chao","family":"Huang","sequence":"additional","affiliation":[{"name":"University of Southampton, Southampton, United Kingdom of Great Britain and Northern Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3119-3242","authenticated-orcid":false,"given":"Zhenhua","family":"Duan","sequence":"additional","affiliation":[{"name":"Xidian University, Xi\u2019an, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,8,21]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11042-022-13428-4"},{"key":"e_1_3_2_3_2","first-page":"1","volume-title":"Proceedings of the 2022 International Conference on Artificial Intelligence, Big Data, Computing and Data Communication Systems (icABCD)","author":"Sefara T. J.","year":"2022","unstructured":"T. J. Sefara, M. Mbooi, K. Mashile, T. Rambuda, and M. Rangata. 2022. A toolkit for text extraction and analysis for natural language processing tasks. In Proceedings of the 2022 International Conference on Artificial Intelligence, Big Data, Computing and Data Communication Systems (icABCD). IEEE, 1\u20136."},{"key":"e_1_3_2_4_2","unstructured":"A. Okrent. 2016. 9 Little Translation Mistakes That Caused Big Problems. Mental Floss."},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSPEC.2019.8678513"},{"key":"e_1_3_2_6_2","unstructured":"C. Xiang. 2023. \u2018He Would Still Be Here\u2019: Man Dies by Suicide After Talking with AI Chatbot Widow Says. VICE. Retrieved from https:\/\/www.vice.com\/en\/article\/man-dies-by-suicide-after-talking-with-ai-chatbot-widow-says\/"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1126\/science.aau2706"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE56229.2023.00052"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598099"},{"key":"e_1_3_2_10_2","first-page":"4153","volume-title":"Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)","author":"Tan S.","year":"2021","unstructured":"S. Tan, S. Joty, K. Baxter, A. Taeihagh, G. A. Bennett, and M.-Y. Kan. 2021. Reliability testing for natural language processing systems. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). C. Zong, F. Xia, W. Li, and R. Navigli (Eds.), Association for Computational Linguistics, 4153\u20134169. Retrieved from https:\/\/aclanthology.org\/2021.acl-long.321"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-981-15-1967-3"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/W18-5446"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.naacl-main.324"},{"key":"e_1_3_2_14_2","first-page":"5389","volume-title":"Proceedings of the 36th International Conference on Machine Learning","volume":"97","author":"Recht B.","year":"2019","unstructured":"B. Recht, R. Roelofs, L. Schmidt, and V. Shankar. 2019. Do ImageNet classifiers generalize to ImageNet? In Proceedings of the 36th International Conference on Machine Learning. K. Chaudhuri and R. Salakhutdinov (Eds.), Proceedings of Machine Learning Research, Vol. 97, PMLR, 5389\u20135400. Retrieved from https:\/\/proceedings.mlr.press\/v97\/recht19a.html"},{"key":"e_1_3_2_15_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Belinkov Y.","year":"2018","unstructured":"Y. Belinkov and Y. Bisk. 2018. Synthetic and natural noise both break neural machine translation. In Proceedings of the International Conference on Learning Representations. Retrieved from https:\/\/openreview.net\/forum?id=BJ8vJebC"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P19-1073"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2020.acl-main.442"},{"key":"e_1_3_2_18_2","first-page":"1267","volume-title":"Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)","author":"Pilehvar M. T.","year":"2019","unstructured":"M. T. Pilehvar and J. Camacho-Collados. 2019. WiC: The word-in-context dataset for evaluating context-sensitive meaning representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers). J. Burstein, C. Doran, and T. Solorio (Eds.), Association for Computational Linguistics, 1267\u20131273. Retrieved from https:\/\/aclanthology.org\/N19-1128"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2022.acl-long.230"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3600211.3604738"},{"key":"e_1_3_2_21_2","unstructured":"G. Yang M. Haque Q. Song W. Yang and X. Liu. 2022. TestAug: A Framework for Augmenting Capability-Based NLP Tests. In Proceedings of the 29th International Conference on Computational Linguistics N. Calzolari C.-R. Huang H. Kim J. Pustejovsky L. Wanner K.-S. Choi P.-M. Ryu H.-H. Chen L. Donatelli H. Ji S. Kurohashi (Eds.) International Committee on Computational Linguistics 3480\u20133495 [Online]. Retrieved from https:\/\/aclanthology.org\/2022.coling-1.307\/"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3368208"},{"key":"e_1_3_2_23_2","doi-asserted-by":"crossref","first-page":"7181","DOI":"10.18653\/v1\/2023.acl-long.396","volume-title":"Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)","author":"Hlavnova E.","year":"2023","unstructured":"E. Hlavnova and S. Ruder. 2023. Empowering cross-lingual behavioral testing of NLP models with typological features. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, 7181\u20137198."},{"key":"e_1_3_2_24_2","doi-asserted-by":"crossref","first-page":"63","DOI":"10.18653\/v1\/2022.clinicalnlp-1.7","volume-title":"Proceedings of the 4th Clinical Natural Language Processing Workshop","author":"Van Aken B.","year":"2022","unstructured":"B. Van Aken, S. Herrmann, and A. L\u00f6ser. 2022. What do you see in this patient? Behavioral testing of clinical NLP models. In Proceedings of the 4th Clinical Natural Language Processing Workshop. Association for Computational Linguistics, 63\u201373."},{"key":"e_1_3_2_25_2","doi-asserted-by":"crossref","first-page":"6706","DOI":"10.18653\/v1\/2023.findings-emnlp.446","volume-title":"Findings of the Association for Computational Linguistics: EMNLP 2023","author":"Wu J.","year":"2023","unstructured":"J. Wu, L. Liu, and D.-Y. Yeung. 2023. Towards general error diagnosis via behavioral testing in machine translation. In Findings of the Association for Computational Linguistics: EMNLP 2023. Association for Computational Linguistics, 6706\u20136720."},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/D13-1170"},{"key":"e_1_3_2_27_2","volume-title":"Advances in Neural Information Processing Systems","author":"Zhang X.","year":"2015","unstructured":"X. Zhang, J. Zhao, and Y. LeCun. 2015. Character-level convolutional networks for text classification. In Advances in Neural Information Processing Systems. C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (Eds.), Vol. 28, Curran Associates, Inc. Retrieved from https:\/\/proceedings.neurips.cc\/paper_files\/paper\/2015\/file\/250cf8b51c773f3f8dc8b4be867a9a02-Paper.pdf"},{"key":"e_1_3_2_28_2","first-page":"115","volume-title":"Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL \u201905)","author":"Pang B.","year":"2005","unstructured":"B. Pang and L. Lee. 2005. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL \u201905). K. Knight, H. T. Ng, and K. Oflazer (Eds.), Association for Computational Linguistics, 115\u2013124. Retrieved from https:\/\/aclanthology.org\/P05-1015"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.5555\/2002472.2002491"},{"key":"e_1_3_2_30_2","first-page":"1","volume-title":"Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval \u201917)","author":"Cer D.","year":"2017","unstructured":"D. Cer, M. Diab, E. Agirre, I. Lopez-Gazpio, and L. Specia. 2017. SemEval-2017 task 1: Semantic textual similarity multilingual and crosslingual focused evaluation. In Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval \u201917). S. Bethard, M. Carpuat, M. Apidianaki, S. M. Mohammad, D. Cer, and D. Jurgens (Eds.), Association for Computational Linguistics, 1\u201314. Retrieved from https:\/\/aclanthology.org\/S17-2001"},{"key":"e_1_3_2_31_2","volume-title":"Proceedings of the 3rd International Workshop on Paraphrasing (IWP \u201905)","author":"Dolan W. B.","year":"2005","unstructured":"W. B. Dolan and C. Brockett. 2005. Automatically constructing a corpus of sentential paraphrases. In Proceedings of the 3rd International Workshop on Paraphrasing (IWP \u201905). Retrieved from https:\/\/aclanthology.org\/I05-5002"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/SPW.2018.00016"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2020.acl-main.540"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2019.23138"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2020.emnlp-demos.16"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.5555\/3495724.3495883"},{"key":"e_1_3_2_37_2","doi-asserted-by":"crossref","unstructured":"B. Atil S. Aykent A. Chittams L. Fu R. J. Passonneau E. Radcliffe G. R. Rajagopal A. Sloan T. Tudrej F. Ture et al. 2025. Non-determinism of \u201cdeterministic\u201d LLM settings. arXiv:2408.04667. Retrieved from https:\/\/arxiv.org\/abs\/2408.04667","DOI":"10.18653\/v1\/2025.eval4nlp-1.12"},{"key":"e_1_3_2_38_2","volume-title":"Proceedings of the International Conference on Learning Representations","author":"Holtzman A.","year":"2020","unstructured":"A. Holtzman, J. Buys, L. Du, M. Forbes, and Y. Choi. 2020. The curious case of neural text degeneration. In Proceedings of the International Conference on Learning Representations. Retrieved from https:\/\/openreview.net\/forum?id=rygGQyrFvH"},{"key":"e_1_3_2_39_2","first-page":"2111","volume-title":"Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE)","author":"Nie P.","year":"2023","unstructured":"P. Nie, R. Banerjee, J. J. Li, R. J. Mooney, and M. Gligoric. 2023. Learning deep semantics for test completion. In Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE), 2111\u20132123."},{"key":"e_1_3_2_40_2","first-page":"1355","volume-title":"Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE)","author":"Liu Z.","year":"2023","unstructured":"Z. Liu, C. Chen, J. Wang, X. Che, Y. Huang, J. Hu, and Q. Wang. 2023. Fill in the blank: Context-aware automated text input generation for mobile GUI testing. In Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE), 1355\u20131367."},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3653718"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE48619.2023.00063"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3623298"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE56229.2023.00181"},{"key":"e_1_3_2_45_2","unstructured":"K. Li and Y. Yuan. 2024. Large language models as test case generators: Performance evaluation and enhancement. arXiv:2404.13340. Retrieved from https:\/\/arxiv.org\/abs\/2404.13340"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3708525"},{"key":"e_1_3_2_47_2","volume-title":"Automating Specification-Based Software Testing","author":"Poston R. M.","year":"1996","unstructured":"R. M. Poston. 1996. Automating Specification-Based Software Testing. IEEE Computer Society Press."},{"key":"e_1_3_2_48_2","first-page":"41","volume-title":"Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)","author":"R\u00f6ttger P.","year":"2021","unstructured":"P. R\u00f6ttger, B. Vidgen, D. Nguyen, Z. Waseem, H. Margetts, and J. Pierrehumbert. 2021. HateCheck: Functional tests for hate speech detection models. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers). Association for Computational Linguistics, 41\u201358."},{"key":"e_1_3_2_49_2","first-page":"120","volume-title":"Proceedings of the Workshop on Human Evaluation of NLP Systems (HumEval)","author":"Bhatt S.","year":"2021","unstructured":"S. Bhatt, R. Jain, S. Dandapat, and S. Sitaram. 2021. A case study of efficacy and challenges in practical human-in-loop evaluation of NLP systems using checklist. In Proceedings of the Workshop on Human Evaluation of NLP Systems (HumEval). Association for Computational Linguistics, 120\u2013130."},{"key":"e_1_3_2_50_2","doi-asserted-by":"crossref","first-page":"7017","DOI":"10.18653\/v1\/2024.findings-emnlp.412","volume-title":"Findings of the Association for Computational Linguistics: EMNLP 2024","author":"Zhao R.","year":"2024","unstructured":"R. Zhao, A. K\u00f6ksal, Y. Liu, L. Weissweiler, A. Korhonen, and H. Schuetze. 2024. SynthEval: Hybrid behavioral testing of NLP models with synthetic evaluation. In Findings of the Association for Computational Linguistics: EMNLP 2024. Y. Al-Onaizan, M. Bansal, and Y.-N. Chen (Eds), Association for Computational Linguistics, 7017\u20137034. Retrieved from https:\/\/aclanthology.org\/2024.findings-emnlp.412"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3783995","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T16:21:43Z","timestamp":1787329303000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3783995"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,21]]},"references-count":49,"journal-issue":{"issue":"9","published-print":{"date-parts":[[2026,9,30]]}},"alternative-id":["10.1145\/3783995"],"URL":"https:\/\/doi.org\/10.1145\/3783995","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,21]]},"assertion":[{"value":"2025-07-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-12-04","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-08-21","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}