Skip to content
Conference

LLM-Based Automatic Metamorphic Test Case Generation for LLM Fairness Testing

Jul 2026 · International Conference on Artificial Intelligence Testing · pp. 9-16 · 0 citations · 22 references

Abstract

As Large Language Models (LLMs) are used more widely, it has become important to evaluate their fairness and prevent biased responses to sensitive attributes. A major challenge in fairness evaluation is the oracle problem, where the lack of a clear ground truth makes it hard to assess outputs with traditional testing. Metamorphic Testing (MT) addresses this by checking the consistency between source and follow-up test cases using Metamorphic Relations (MRs). However, in existing approaches, the generation of test cases is often template-driven, and the identification of sensitive attributes is manually predefined by humans, which limits coverage and relies heavily on the designer’s judgment. This study compares the quality of metamorphic test cases generated automatically by LLMs with those created manually by humans. The research involves defining Metamorphic Relations, generating follow-up cases using both LLMs and human participants, and evaluating them using expert judgment with Cohen’s Kappa to measure agreement on MR conformity and sensitive attribute relevance. By contrasting LLM-generated cases with template-driven and manually constructed approaches, this study aims to examine which method provides better coverage and alignment with fairness requirements. The results are expected to support the development of more effective and automated fairness testing for LLMs.

View source

Similar papers

Review

Judging the LLM Judges: A Human-Centric Validation of LLM-Generated Training Data for Software Retrieval

A lightweight quality-assessment protocol is presented for LLM-generated synthetic training data and applied to 13,579 synthetic user reviews generated from GitHub issues across four open-source Android applications, high-lighting the need for hybrid human-AI verification when synthetic data is used in security-critica...

Ogtay Hasanov, Saad Ezzini · 0 citations
#artificial intelligence Preprint Sep 2026

MAWILE: Multi-Axis Workbench for Inspecting LLM Evaluators

MAWILE is introduced, a developer-facing workbench for auditing judge sensitivity across four surfaces: the judge prompt, judge rubric, target-system input, and target-system output, and it audits binary, ordinal, and pairwise judges without requiring gold labels.

Jackson Hassell, Farima Fatahi Bayat, Pouya Pezeshkpour et al. · 0 citations
#artificial intelligence Preprint Sep 2026

VEX-Bench: Benchmarking Verification Complexity of LLM-Generated Misinformation

The VEX-Bench is introduced, a unified benchmark for evaluating the verification complexity of LLM-generated misinformation, as perceived during screening, across models and generation methods, and shows that no single method dominates all dimensions, underscoring the need for multi-dimensional evaluation.

Hanxun Huang, Yu-Tao Wu, Qi-Zhou Wang et al. · 0 citations
#natural language process... Preprint Sep 2026

LLJ Cards: Best practices for the Use of LLMs as Judges

LLJ Cards is introduced, a framework that synthesizes best practices from measurement theory, natural language generation, and machine learning literature into practical guidelines for LLJ-based evaluations and provides a structured framework for applying these principles in the design and reporting of automated evalua...

Khaoula Chehbouni, Melina Medjdoub, Florian Carichon et al. · 0 citations
Preprint Sep 2026

JEV as a Judge for Agent Trace Security: An Empirical Comparison with Generative LLM Judges

Security evaluation of tool-using agents requires judging actions in context, yet generative judges add latency, explanation overhead, and output-validation failures. We study whether JEV, a typed decision model, offers a useful alternative for retrospective trace classification. We evaluate JEV and four generative jud...

Zhi-Qiang Wang, Yi-Chao Gao · 2 citations · ⚡1
Open access 2026

Auditable LLM Safety-Judge Selection via Confidence-Interval Filtering on Unsafe Recall

A confidence-interval (CI) filtered two-stage judge-screening framework that reduces the rate of selecting judges that fail the unsafe-recall screen by an order of magnitude and emits an explicit low-confidence or abort verdict when no judge has sufficient calibration evidence.

Ji-Xiang Yang, Jun-Fei Yi, Jin-Han Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.