Pith. sign in

REVIEW 1 cited by

Automatic Generation of Behavioral Test Cases For Natural Language Processing Using Clustering and Prompting

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2408.00161 v2 pith:5OPWKVKJ submitted 2024-07-31 cs.CL cs.AIcs.ETcs.LG

classification cs.CLcs.AIcs.ETcs.LG
keywords testapproachbehavioralcaseslanguagemodelsdomainnatural
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Recent work in behavioral testing for natural language processing (NLP) models, such as Checklist, is inspired by related paradigms in software engineering testing. They allow evaluation of general linguistic capabilities and domain understanding, hence can help evaluate conceptual soundness and identify model weaknesses. However, a major challenge is the creation of test cases. The current packages rely on semi-automated approach using manual development which requires domain expertise and can be time consuming. This paper introduces an automated approach to develop test cases by exploiting the power of large language models and statistical techniques. It clusters the text representations to carefully construct meaningful groups and then apply prompting techniques to automatically generate Minimal Functionality Tests (MFT). The well-known Amazon Reviews corpus is used to demonstrate our approach. We analyze the behavioral test profiles across four different classification algorithms and discuss the limitations and strengths of those models.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Human-Calibrated Automated Testing and Validation of Generative Language Models

    cs.CL 2024-11 conditional novelty 4.0 of 10

    The paper proposes HCAT, a human-calibrated evaluation framework for RAG models, combining automated tests, embedding metrics, and conformal prediction.

Pith tools