Interpreting Neural Networks with Nearest Neighbors

By Eric Wallace, Shi Feng, Jordan L. Boyd-Graber. 2018

57 citations recorded by the source corpus.

Local model interpretation methods explain individual predictions by assigning an importance value to each input feature. This value is often determined by measuring the change in confidence when a feature is removed. However, the confidence of neural networks is not a robust measure of model uncertainty. This issue makes reliably judging the importance of the input features difficult. We address this by changing the test-time behavior of neural networks using Deep k-Nearest Neighbors. Without harming text classification accuracy, this algorithm provides a more robust uncertainty metric which we use to generate feature importance values. The resulting interpretations better align with human perception than baseline methods. Finally, we use our interpretation method to analyze model predictions on dataset annotation artifacts.

Subfields: Artificial Intelligence

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Eric Wallace
  2. Matt Gardner
  3. Noah A. Smith
  4. Sameer Singh
  5. Jordan L. Boyd-Graber
  6. Hannaneh Hajishirzi
  7. Luke S. Zettlemoyer
  8. Yejin Choi

Citations in the corpus