Saved in:
Bibliographic Details
Main Authors: Zhao, Raoyuan, Köksal, Abdullatif, Liu, Yihong, Weissweiler, Leonie, Korhonen, Anna, Schütze, Hinrich
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.17437
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912108821610496
author Zhao, Raoyuan
Köksal, Abdullatif
Liu, Yihong
Weissweiler, Leonie
Korhonen, Anna
Schütze, Hinrich
author_facet Zhao, Raoyuan
Köksal, Abdullatif
Liu, Yihong
Weissweiler, Leonie
Korhonen, Anna
Schütze, Hinrich
contents Traditional benchmarking in NLP typically involves using static held-out test sets. However, this approach often results in an overestimation of performance and lacks the ability to offer comprehensive, interpretable, and dynamic assessments of NLP models. Recently, works like DynaBench (Kiela et al., 2021) and CheckList (Ribeiro et al., 2020) have addressed these limitations through behavioral testing of NLP models with test types generated by a multistep human-annotated pipeline. Unfortunately, manually creating a variety of test types requires much human labor, often at prohibitive cost. In this work, we propose SYNTHEVAL, a hybrid behavioral testing framework that leverages large language models (LLMs) to generate a wide range of test types for a comprehensive evaluation of NLP models. SYNTHEVAL first generates sentences via LLMs using controlled generation, and then identifies challenging examples by comparing the predictions made by LLMs with task-specific NLP models. In the last stage, human experts investigate the challenging examples, manually design templates, and identify the types of failures the taskspecific models consistently exhibit. We apply SYNTHEVAL to two classification tasks, sentiment analysis and toxic language detection, and show that our framework is effective in identifying weaknesses of strong models on these tasks. We share our code in https://github.com/Loreley99/SynthEval_CheckList.
format Preprint
id arxiv_https___arxiv_org_abs_2408_17437
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SYNTHEVAL: Hybrid Behavioral Testing of NLP Models with Synthetic CheckLists
Zhao, Raoyuan
Köksal, Abdullatif
Liu, Yihong
Weissweiler, Leonie
Korhonen, Anna
Schütze, Hinrich
Computation and Language
Traditional benchmarking in NLP typically involves using static held-out test sets. However, this approach often results in an overestimation of performance and lacks the ability to offer comprehensive, interpretable, and dynamic assessments of NLP models. Recently, works like DynaBench (Kiela et al., 2021) and CheckList (Ribeiro et al., 2020) have addressed these limitations through behavioral testing of NLP models with test types generated by a multistep human-annotated pipeline. Unfortunately, manually creating a variety of test types requires much human labor, often at prohibitive cost. In this work, we propose SYNTHEVAL, a hybrid behavioral testing framework that leverages large language models (LLMs) to generate a wide range of test types for a comprehensive evaluation of NLP models. SYNTHEVAL first generates sentences via LLMs using controlled generation, and then identifies challenging examples by comparing the predictions made by LLMs with task-specific NLP models. In the last stage, human experts investigate the challenging examples, manually design templates, and identify the types of failures the taskspecific models consistently exhibit. We apply SYNTHEVAL to two classification tasks, sentiment analysis and toxic language detection, and show that our framework is effective in identifying weaknesses of strong models on these tasks. We share our code in https://github.com/Loreley99/SynthEval_CheckList.
title SYNTHEVAL: Hybrid Behavioral Testing of NLP Models with Synthetic CheckLists
topic Computation and Language
url https://arxiv.org/abs/2408.17437