Litcius/Paper detail

Multimodal Surprise Adequacy Analysis of Inputs for Natural Language Processing DNN Models

Seah Kim, Shin Yoo

202122 citationsDOI

Abstract

As Deep Neural Networks (DNNs) are rapidly adopted in various domains, many test adequacy metrics for DNN inputs have been introduced to help evaluating, and validating, trained DNN models. Surprise Adequacy (SA) is one such metric that aims to quantitatively measure how surprising a new input is with respect to the data used to train the given model. While SA has been shown to be effective for computer vision tasks such as image classification or object segmentation, its efficacy for DNN based Natural Language Processing has not been thoroughly studied. This paper evaluates whether it is feasible to apply SA analysis to DNN models trained for NLP tasks. We also show that the input distribution captured in the latent embedding space can be multimodal <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> for some NLP tasks, unlike those observed in computer vision tasks, and investigate if catering for the multimodal property of NLP models can improve SA analysis. An empirical evaluation of extended SA metrics with three NLP tasks and nine DNN models shows that, while unimodal SAs perform sufficiently well for text classification, multimodal SA can outperform unimodal metrics.

Topics & Concepts

Computer scienceSurpriseArtificial intelligenceMetric (unit)EmbeddingNatural language processingProperty (philosophy)Machine learningSegmentationArtificial neural networkPsychologyOperations managementEconomicsSocial psychologyPhilosophyEpistemologyAdversarial Robustness in Machine LearningExplainable Artificial Intelligence (XAI)Software Engineering Research