Skip to main content
QUICK REVIEW

[Paper Review] LS-Tree: Model Interpretation When the Data Are Linguistic

Jianbo Chen, Michael I. Jordan|arXiv (Cornell University)|Feb 11, 2019
Topic ModelingComputer Science25 references5 citations
TL;DR

LS-Tree introduces a model-agnostic interpretation method for NLP models that assigns least-squares-based importance scores to words using syntactic parse trees, linking these scores to the Banzhaf value in coalitional game theory. It enables detection of word interactions and diagnostics for nonlinearity, adversative relations, and overfitting across models like BERT, LSTM, CNN, and linear models.

ABSTRACT

We study the problem of interpreting trained classification models in the setting of linguistic data sets. Leveraging a parse tree, we propose to assign least-squares based importance scores to each word of an instance by exploiting syntactic constituency structure. We establish an axiomatic characterization of these importance scores by relating them to the Banzhaf value in coalitional game theory. Based on these importance scores, we develop a principled method for detecting and quantifying interactions between words in a sentence. We demonstrate that the proposed method can aid in interpretability and diagnostics for several widely-used language models.

Motivation & Objective

  • To develop a model-agnostic interpretation method for NLP models that leverages syntactic structure to improve interpretability.
  • To quantify word-level importance scores using least squares on parse tree nodes, grounded in coalitional game theory.
  • To detect and quantify interactions between words in a sentence using Cook’s distance in linear regression.
  • To diagnose model behavior, including nonlinearity, sensitivity to adversative words, and overfitting, using interaction scores.
  • To provide a diagnostic tool for overfitting based on variance differences in interaction scores between training and test sets.

Proposed method

  • Construct a characteristic function v(S) = f(S) - f(∅) for each subset S of words in a parse tree, representing the contribution of word subsets to model output.
  • Solve a least-squares optimization problem to find word importance scores ψ that minimize ∑[v(S) - ∑_{i∈S} ψ_i]² over all parse tree subsets S.
  • Define the LS-Tree value as the solution to this least-squares problem, linking it formally to the Banzhaf value in coalitional game theory.
  • Use Cook’s distance in linear regression to quantify interactions between sibling nodes in the parse tree, identifying influential word pairs.
  • Apply permutation tests on interaction score variances between training and test sets to detect overfitting.
  • Evaluate the method on four models—linear, CNN, LSTM, and BERT—across three datasets (SST, IMDB, Yelp) to assess interpretability and diagnostics.

Experimental results

Research questions

  • RQ1Can a model-agnostic interpretation method effectively assign word importance scores by leveraging syntactic constituency structure?
  • RQ2How can word interactions in a sentence be systematically quantified using parse tree structure and regression diagnostics?
  • RQ3To what extent can LS-Tree detect nonlinearity in deep learning models like BERT, LSTM, and CNN?
  • RQ4How do different models handle adversative relations (e.g., 'not', 'while') in context, and can LS-Tree quantify this sensitivity?
  • RQ5Can variance differences in LS-Tree interaction scores between training and test sets serve as a reliable diagnostic for overfitting?

Key findings

  • BERT consistently assigns the highest average interaction score across all datasets, indicating greater sensitivity to word interactions than other models.
  • On the SST and IMDB datasets, BERT outperforms other models in capturing adversative relations, likely due to its pre-training on large-scale text.
  • On the Yelp dataset, which has more training data, CNN and LSTM models perform comparably to BERT in detecting adversative relations.
  • The LS-Tree interaction scores for 'while' are significantly higher when it carries adversative meaning, with the clearest distinction observed in BERT.
  • Overfitted models exhibit larger average variance in interaction scores on test data compared to training data, a pattern observed across CNN, LSTM, and BERT.
  • Permutation tests on interaction score variances show p-values below 0.05 during overfitting phases, supporting their use as an early stopping criterion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.