paper-with-me

홈 › Papers

AutoTestForge: A Multidimensional Automated Testing Framework for Natural Language Processing Models

2025-03-07 · Hengrui Xing, Cong Tian, Liang Zhao, Zhi Ma, Wensheng Wang, Nan Zhang, Chao Huang, Zhenhua Duan

In recent years, the application of behavioral testing in Natural Language Processing (NLP) model evaluation has experienced a remarkable and substantial growth. However, the existing methods continue to be restricted by the requirements for 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 in this paper. Within AutoTestForge, through the utilization of Large Language Models (LLMs) to automatically generate test templates and instantiate them, manual involvement is significantly reduced. Additionally, a mechanism for the validation of test case labels based on differential testing is implemented which makes use of a multi-model voting system to guarantee the quality of test cases. The framework also extends the test suite across three dimensions, taxonomy, fairness, and robustness, offering a comprehensive evaluation of the capabilities of NLP models. This expansion enables a more in-depth and thorough assessment of the models, providing valuable insights into their strengths and weaknesses. A comprehensive evaluation across sentiment analysis (SA) and semantic textual similarity (STS) tasks demonstrates that AutoTestForge consistently outperforms existing datasets and testing tools, achieving higher error detection rates (an average of $30.89\%$ for SA and $34.58\%$ for STS). Moreover, different generation strategies exhibit stable effectiveness, with error detection rates ranging from $29.03\% - 36.82\%$.

📄 PDF Abstract BibTeX arXiv:2503.05102

Code (0)

등록된 구현이 없습니다.

Tasks

FairnessSemantic Textual SimilaritySentiment AnalysisSTS

Similar Papers 제목 키워드 기반

A framework for paired-sample hypothesis testing for high-dimensional data

2023-09-28 · Ioannis Bargiotas, Argyris Kalogeratos, Nicolas Vayatis

The standard paired-sample testing approach in the multidimensional setting applies multiple univariate tests on the individual features, followed by p-value adjustments. Such an approach suffers when the data carry nume…

Two-sample testing

Integration of cognitive tasks into artificial general intelligence test for large models

2024-02-04 · Youzhi Qu, Chen Wei, Penghui Du, Wenxin Che 외

During the evolution of large models, performance evaluation is necessarily performed to assess their capabilities and ensure safety before practical application. However, current model evaluations mainly rely on specifi…

LLM-Rubric: A Multidimensional, Calibrated Approach to Automated Evaluation of Natural Language Texts

2024-12-31 · Helia Hashemi, Jason Eisner, Corby Rosset, Benjamin Van Durme 외

This paper introduces a framework for the automated evaluation of natural language texts. A manually constructed rubric describes how to assess multiple dimensions of interest. To evaluate a text, a large language model …

Language ModelingLanguage ModellingLarge Language Model

Counterfactual Situation Testing: From Single to Multidimensional Discrimination

2025-02-03 · Jose M. Alvarez, Salvatore Ruggieri

We present counterfactual situation testing (CST), a causal data mining framework for detecting individual discrimination in a dataset of classifier decisions. CST answers the question "what would have been the model out…

AttributecounterfactualCounterfactual ReasoningFairness

PyResBugs: A Dataset of Residual Python Bugs for Natural Language-Driven Fault Injection

2025-05-09 · Domenico Cotroneo, Giuseppe De Rosa, Pietro Liguori

This paper presents PyResBugs, a curated dataset of residual bugs, i.e., defects that persist undetected during traditional testing but later surface in production, collected from major Python frameworks. Each bug in the…