Interpreting Graph Neural Networks for NLP With Differentiable Edge Masking
Schlichtkrull, Michael Sejr, De Cao, Nicola, Titov, Ivan
Graph neural networks (GNNs) have become a popular approach to integrating structural inductive biases into NLP models. However, there has been little work on interpreting them, and specifically on understanding which parts of the graphs (e.g. In this work, we introduce a post-hoc method for interpreting the predictions of GNNs which identifies unnecessary edges. Given a trained GNN model, we learn a simple classifier that, for every edge in every layer, predicts if that edge can be dropped. We use our technique as an attribution method to analyze GNN models for two tasks - question answering and semantic role labeling - providing insights into the information flow in these models. We show that we can drop a large proportion of edges without deteriorating the performance of the model, while we can analyse the remaining edges for interpreting model predictions. Graph Neural Networks (GNNs) have in recent years been shown to provide a scalable and highly performant means of incorporating linguistic information and other structural biases into NLP models. While GNNs often yield strong performance, such models are complex, and it can be difficult to understand the'reasoning' behind their predictions. For NLP practitioners, it is highly desirable to know which linguistic information a given model encodes and how that encoding happens (Jumelet & Hupkes, 2018; Giulianelli et al., 2018; Goldberg, 2019). The difficulty in interpreting GNNs represents a barrier to such analysis.
Oct-1-2020
- Country:
- North America > United States
- Massachusetts (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Colorado > Boulder County
- Boulder (0.04)
- Europe
- Germany > Berlin (0.04)
- Netherlands > North Holland
- Amsterdam (0.04)
- Italy > Tuscany
- Florence (0.05)
- Denmark > Capital Region
- Copenhagen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Japan (0.04)
- Middle East > Jordan (0.04)
- China > Hong Kong (0.04)
- North America > United States
- Genre:
- Research Report (1.00)
- Industry:
- Health & Medicine (0.46)
- Technology: