# Building Interpretable Interaction Trees for Deep NLP Models

arXiv: https://arxiv.org/abs/2007.04298 · HTML: https://mlsanity.com/paper/2007.04298/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 29 Jun 2020.

## Built on by (most cited first, 1 of 1)

- [Interpreting Sentiment Composition with Latent Semantic Tree](https://mlsanity.com/paper/2308.16588/) (2023)

## Abstract (arXiv)

This paper proposes a method to disentangle and quantify interactions among words that are encoded inside a DNN for natural language processing. We construct a tree to encode salient interactions extracted by the DNN. Six metrics are proposed to analyze properties of interactions between constituents in a sentence. The interaction is defined based on Shapley values of words, which are considered as an unbiased estimation of word contributions to the network prediction. Our method is used to quantify word interactions encoded inside the BERT, ELMo, LSTM, CNN, and Transformer networks. Experimental results have provided a new perspective to understand these DNNs, and have demonstrated the effectiveness of our method.
