Skip to main content
QUICK REVIEW

[Paper Review] Saliency Learning: Teaching the Model Where to Pay Attention

Reza Ghaeini, Xiaoli Z. Fern|arXiv (Cornell University)|Feb 22, 2019
Explainable Artificial Intelligence (XAI)Computer Science20 references12 citations
TL;DR

This paper proposes saliency learning, a method that trains deep neural networks to attend to relevant input features by incorporating ground-truth explanation annotations into the loss function via gradient-based saliency regularization. The approach improves model reliability and performance by aligning model attention with desired evidence, resulting in higher F1 scores, accuracy, and saliency alignment compared to standard training.

ABSTRACT

Deep learning has emerged as a compelling solution to many NLP tasks with remarkable performances. However, due to their opacity, such models are hard to interpret and trust. Recent work on explaining deep models has introduced approaches to provide insights toward the model's behaviour and predictions, which are helpful for assessing the reliability of the model's predictions. However, such methods do not improve the model's reliability. In this paper, we aim to teach the model to make the right prediction for the right reason by providing explanation training and ensuring the alignment of the model's explanation with the ground truth explanation. Our experimental results on multiple tasks and datasets demonstrate the effectiveness of the proposed method, which produces more reliable predictions while delivering better results compared to traditionally trained models.

Motivation & Objective

  • To address the issue of deep learning models relying on spurious statistical biases in data rather than meaningful evidence.
  • To improve model interpretability and reliability by ensuring predictions are made for the right reasons.
  • To develop a training method that aligns model attention (via saliency) with ground-truth explanation annotations.
  • To verify that saliency-trained models are more sensitive to perturbations in critical, annotated input parts.
  • To demonstrate the effectiveness of saliency learning across multiple NLP tasks and datasets.

Proposed method

  • The method introduces a saliency regularization term to the model's loss function using hinge loss to penalize misalignment between predicted saliency and ground-truth explanation masks.
  • Saliency is computed as the gradient of the model’s output with respect to input embeddings, aggregated across all embedding dimensions for each word.
  • For each word, if the ground-truth explanation mask Z[i] = 1, the model is encouraged to have positive gradient contribution; otherwise, it is penalized if the gradient is positive.
  • The regularization term is defined as λ × Σ max(0, -Z[i] × Σ_j ∂f_θ(X,y)/∂X_{i,j}) for all words i, where λ controls the strength of regularization.
  • The approach extends gradient-based saliency regularization to intermediate layers of deep networks, not just input layers, improving alignment and performance.
  • The method uses simulated explanations (e.g., trigger words for events) to train models to attend to semantically relevant parts of text.

Experimental results

Research questions

  • RQ1Can incorporating explanation annotations into the training process improve model reliability and performance?
  • RQ2Does saliency learning lead to better alignment between model attention and desired explanation cues?
  • RQ3Are saliency-trained models more sensitive to the removal of critical, annotated words in positive examples?
  • RQ4How does saliency learning compare to standard training in terms of F1, accuracy, and saliency accuracy?
  • RQ5Does extending saliency regularization to intermediate network layers improve performance compared to input-only regularization?

Key findings

  • The saliency-trained model achieved significantly higher F1 scores and accuracy on the ACE, ERE, CBT-NE, and CBT-CN datasets compared to the baseline model.
  • On the ACE dataset, the saliency-trained model achieved a 32.6% reduction in true positive rate (TPR) after removing contributory words, compared to 40.9% for the saliency-trained model, confirming higher sensitivity to critical input parts.
  • The saliency-trained model demonstrated superior saliency alignment with ground-truth explanations, as shown in visualization of top salient words in Table 3.
  • The method improved precision, F1, and accuracy across all evaluated datasets, with the most substantial gains observed on CBT-NE and CBT-CN.
  • The verification experiment confirmed that saliency-trained models are more sensitive to perturbations in annotated contributory words, indicating stronger alignment with desired attention mechanisms.
  • The approach outperformed standard training and prior gradient-based regularization methods by focusing on positive evidence rather than irrelevant or negative annotations.

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.