DeepLens: Interactive Out-of-distribution Data Detection in NLP Models

Da Song, Zhijie Wang, Yuheng Huang, Lei Ma, Tianyi Zhang
3/2/2023
cs.HCcs.LG

No official code found. Best implementation: ma-labo/DeepLens (10 stars, MIT, last commit 2023-09-22).

Abstract

Machine Learning (ML) has been widely used in Natural Language Processing (NLP) applications. A fundamental assumption in ML is that training data and real-world data should follow a similar distribution. However, a deployed ML model may suffer from out-of-distribution (OOD) issues due to distribution shifts in the real-world data. Though many algorithms have been proposed to detect OOD data from text corpora, there is still a lack of interactive tool support for ML developers. In this work, we propose DeepLens, an interactive system that helps users detect and explore OOD issues in massive text corpora. Users can efficiently explore different OOD types in DeepLens with the help of a text clustering method. Users can also dig into a specific text by inspecting salient words highlighted through neuron activation analysis. In a within-subjects user study with 24 participants, participants using DeepLens were able to find nearly twice more types of OOD issues accurately with 22% more confidence compared with a variant of DeepLens that has no interaction or visualization support.

View on arXivView PDF

Code Implementations(1)

ma-labo/DeepLensCommunity100%
MIT

Code for CHI'23 - DeepLens

100CSS, HTMLJan 25, 20233 years agoMIT

Similar Papers

Cite this paper

@article{song2023deeplens,
  title  = {DeepLens: Interactive Out-of-distribution Data Detection in NLP Models},
  author = {Da Song and Zhijie Wang and Yuheng Huang and Lei Ma and Tianyi Zhang},
  year   = {2023},
  eprint = {2303.01577},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.01577v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.01577.svg)](https://codeofpaper.com/paper/2303.01577)

Discussion