Saved in:
Bibliographic Details
Main Authors: Schoenegger, Loris, Xia, Yuxi, Roth, Benjamin
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.14252
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917210482540544
author Schoenegger, Loris
Xia, Yuxi
Roth, Benjamin
author_facet Schoenegger, Loris
Xia, Yuxi
Roth, Benjamin
contents The increasing difficulty to distinguish language-model-generated from human-written text has led to the development of detectors of machine-generated text (MGT). However, in many contexts, a black-box prediction is not sufficient, it is equally important to know on what grounds a detector made that prediction. Explanation methods that estimate feature importance promise to provide indications of which parts of an input are used by classifiers for prediction. However, these are typically evaluated with simple classifiers and tasks that are intuitive to humans. To assess their suitability beyond these contexts, this study conducts the first systematic evaluation of explanation quality for detectors of MGT. The dimensions of faithfulness and stability are evaluated with five automated experiments, and usefulness is assessed in a user study. We use a dataset of ChatGPT-generated and human-written documents, and pair predictions of three existing language-model-based detectors with the corresponding SHAP, LIME, and Anchor explanations. We find that SHAP performs best in terms of faithfulness, stability, and in helping users to predict the detector's behavior. In contrast, LIME, perceived as most useful by users, scores the worst in terms of user performance at predicting detector behavior.
format Preprint
id arxiv_https___arxiv_org_abs_2408_14252
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Evaluation of Explanation Methods for Black-Box Detectors of Machine-Generated Text
Schoenegger, Loris
Xia, Yuxi
Roth, Benjamin
Machine Learning
Computation and Language
The increasing difficulty to distinguish language-model-generated from human-written text has led to the development of detectors of machine-generated text (MGT). However, in many contexts, a black-box prediction is not sufficient, it is equally important to know on what grounds a detector made that prediction. Explanation methods that estimate feature importance promise to provide indications of which parts of an input are used by classifiers for prediction. However, these are typically evaluated with simple classifiers and tasks that are intuitive to humans. To assess their suitability beyond these contexts, this study conducts the first systematic evaluation of explanation quality for detectors of MGT. The dimensions of faithfulness and stability are evaluated with five automated experiments, and usefulness is assessed in a user study. We use a dataset of ChatGPT-generated and human-written documents, and pair predictions of three existing language-model-based detectors with the corresponding SHAP, LIME, and Anchor explanations. We find that SHAP performs best in terms of faithfulness, stability, and in helping users to predict the detector's behavior. In contrast, LIME, perceived as most useful by users, scores the worst in terms of user performance at predicting detector behavior.
title An Evaluation of Explanation Methods for Black-Box Detectors of Machine-Generated Text
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2408.14252