Research map / Large language models / Language, safety and interpretability
Visualizing and Understanding Neural Models in NLP
Jiwei Li, Xinlei Chen, Eduard Hovy, Dan Jurafsky
Stanford University · Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
7measured effects
4improved
2no clear effect
1hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LSTM or Bi-LSTM instead of standard recurrent model | sentiment classifier on SST · SST sentence level, fine-grained | accuracy: 0.429 -> 0.469 (LSTM), 0.488 (Bi-LSTM) | Improved |
| use LSTM or Bi-LSTM instead of standard recurrent model | sentiment classifier on SST · SST sentence level, coarse-grained | accuracy: 0.850 -> 0.870 (LSTM), 0.878 (Bi-LSTM) | Improved |
| gated architectures (LSTM, Bi-LSTM) instead of simple recurrent model | saliency on 'I hate the movie' · SST saliency visualization | focus on key word 'hate' | Improved |
| larger word dimensionality for sentiment task | sequence models on SST · SST representation plots | functional dimensions | Hurt |
| first-derivative saliency used to explain sentence with two clauses | standard recurrent model · 'I hate the movie though the plot is interesting' | saliency vs prediction | No clear effect |
| add concessive clause to a negative clause | sentence representation · SST representation plots | movement toward positive sentiment | No clear effect |
| add negative clause to a positive clause | sentence representation · SST representation plots | movement toward negative sentiment | Improved |
Open problems in faithfulness of LLM explanations
Do explanation and dialogue evaluations hold beyond English, one dataset and a few models?
- Data and tests are in English or a few languages only. · 37 papers state it
- Labels and scores come from an LLM judge that may carry bias. · 21 papers state it
- Results come from a few models, mostly around 10B or smaller. · 18 papers state it
Closest papers by meaning
- Visualizing and Understanding Multilayer Perceptron Models: A Case Study in Speech Processing (ICML 2017 · similarity 0.85)
- Gradient-based Analysis of NLP Models is Manipulable (EMNLP 2020 · similarity 0.85)
- Towards a Deep and Unified Understanding of Deep Neural Models in NLP (ICML 2019 · similarity 0.85)
- Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inference (EMNLP 2018 · similarity 0.84)
- Discovering Salient Neurons in deep NLP models (JMLR 2023 · similarity 0.84)
- Explaining NLP Models via Minimal Contrastive Editing (MiCE) (ACL 2021 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.