Context-Sensitive Visualization of Deep Learning Natural Language Processing Models
Andrew Dunn, Diana Inkpen, R\u{a}zvan Andonie

TL;DR
This paper introduces a context-sensitive visualization method for Transformer-based NLP models that identifies influential word groups affecting model outputs using dependency parsing and systematic token removal, visualized via heatmaps.
Contribution
It presents a novel visualization approach that leverages dependency parsing and token removal to highlight influential text segments in Transformer NLP models.
Findings
Effective identification of influential word groups
Enhanced interpretability of Transformer models
Visual heatmaps of key token influences
Abstract
The introduction of Transformer neural networks has changed the landscape of Natural Language Processing (NLP) during the last years. So far, none of the visualization systems has yet managed to examine all the facets of the Transformers. This gave us the motivation of the current work. We propose a new NLP Transformer context-sensitive visualization method that leverages existing NLP tools to find the most significant groups of tokens (words) that have the greatest effect on the output, thus preserving some context from the original text. First, we use a sentence-level dependency parser to highlight promising word groups. The dependency parser creates a tree of relationships between the words in the sentence. Next, we systematically remove adjacent and non-adjacent tuples of \emph{n} tokens from the input text, producing several new texts with those tokens missing. The resulting texts…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsMulti-Head Attention · Linear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Dense Connections · Softmax · Attention Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Dropout · Attention Is All You Need
