What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Chenyang, Hong, Yining, Lewis, Grace A., Wu, Tongshuang, Kästner, Christian
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910603657871360
author Yang, Chenyang
Hong, Yining
Lewis, Grace A.
Wu, Tongshuang
Kästner, Christian
author_facet Yang, Chenyang
Hong, Yining
Lewis, Grace A.
Wu, Tongshuang
Kästner, Christian
contents Machine learning models make mistakes, yet sometimes it is difficult to identify the systematic problems behind the mistakes. Practitioners engage in various activities, including error analysis, testing, auditing, and red-teaming, to form hypotheses of what can go (or has gone) wrong with their models. To validate these hypotheses, practitioners employ data slicing to identify relevant examples. However, traditional data slicing is limited by available features and programmatic slicing functions. In this work, we propose SemSlicer, a framework that supports semantic data slicing, which identifies a semantically coherent slice, without the need for existing features. SemSlicer uses Large Language Models to annotate datasets and generate slices from any user-defined slicing criteria. We show that SemSlicer generates accurate slices with low cost, allows flexible trade-offs between different design dimensions, reliably identifies under-performing data slices, and helps practitioners identify useful data slices that reflect systematic problems.
format Preprint
id arxiv_https___arxiv_org_abs_2409_09261
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing
Yang, Chenyang
Hong, Yining
Lewis, Grace A.
Wu, Tongshuang
Kästner, Christian
Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
Machine learning models make mistakes, yet sometimes it is difficult to identify the systematic problems behind the mistakes. Practitioners engage in various activities, including error analysis, testing, auditing, and red-teaming, to form hypotheses of what can go (or has gone) wrong with their models. To validate these hypotheses, practitioners employ data slicing to identify relevant examples. However, traditional data slicing is limited by available features and programmatic slicing functions. In this work, we propose SemSlicer, a framework that supports semantic data slicing, which identifies a semantically coherent slice, without the need for existing features. SemSlicer uses Large Language Models to annotate datasets and generate slices from any user-defined slicing criteria. We show that SemSlicer generates accurate slices with low cost, allows flexible trade-offs between different design dimensions, reliably identifies under-performing data slices, and helps practitioners identify useful data slices that reflect systematic problems.
title What Is Wrong with My Model? Identifying Systematic Problems with Semantic Data Slicing
topic Software Engineering
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2409.09261