A Fine-grained Interpretability Evaluation Benchmark for Neural NLP

Lijie Wang, Yaozong Shen, Shuyuan Peng, Shuai Zhang, Xinyan Xiao, Hao Liu, Hongxuan Tang, Ying Chen, Hua Wu, Haifeng Wang

Abstract

Deep learning models have achieved remarkable performance in Natural Language Processing (NLP), yet they often operate as "black boxes," lacking transparency in their decision-making processes. This paper introduces a comprehensive benchmark designed to rigorously evaluate model interpretability. Covering three distinct tasks in both English and Chinese, the benchmark provides high-quality, token-level human rationales and a novel metric—consistency under perturbation—to measure how faithfully a model's explanations reflect its internal logic.

Introduction

While saliency methods have been developed to explain model decisions, evaluating the quality of these explanations remains a significant challenge. Interpretability is generally assessed through two lenses: plausibility (alignment with human intuition) and faithfulness (accuracy in representing the model's actual reasoning). Existing evaluation datasets often suffer from being limited to English, focusing on single tasks, or providing only coarse-grained rationales. To address these gaps, this work presents a multi-task, multi-lingual benchmark with fine-grained annotations.

Methodology and Dataset Construction

The benchmark is built upon three fundamental properties of a high-quality rationale:

  • Sufficiency: The rationale contains enough information for a human to reach the correct prediction.
  • Compactness: Every token in the rationale is essential; removing any part degrades the prediction.
  • Comprehensiveness: The rationale captures all supporting evidence within the text.
Comparison of the proposed benchmark against existing interpretability datasets across key properties.

To measure faithfulness, the researchers introduced a perturbation-based metric. By creating "perturbed" versions of inputs (e.g., using synonyms or syntactic shifts) that preserve meaning, the researchers can test if a model provides consistent rationales for similar inputs. This consistency is quantified using Mean Average Precision (MAP).

The workflow for benchmark construction, including data collection, perturbation, and rationale annotation.

Tasks and Granularity

The benchmark spans three representative NLP tasks:

  1. Sentiment Analysis (SA): SST and Movie Reviews (English); Baidu API logs (Chinese).
  2. Semantic Textual Similarity (STS): Quora Question Pairs (English); LCQMC (Chinese).
  3. Machine Reading Comprehension (MRC): SQuAD 2.0 (English); DuReader (Chinese).

Unlike many previous efforts that provide sentence-level highlights, this benchmark offers token-level annotations, allowing for a more precise evaluation of model behavior.

Key Insights and Results

The researchers evaluated several models, including LSTM and RoBERTa variants, using saliency methods such as Integrated Gradients (IG), Attention-based (ATT), and LIME.

  • Model Complexity vs. Interpretability: Interestingly, while Transformers (RoBERTa) significantly outperform LSTMs in accuracy, LSTMs often show comparable interpretability. This suggests that higher model performance does not automatically translate to more logical or human-like reasoning.
  • Saliency Method Performance: Integrated Gradients (IG) generally excelled at producing plausible, human-like explanations. In contrast, Attention-based (ATT) methods proved more faithful to the model's internal decision process, particularly in sentence-pair tasks like STS.
  • Metric Precision: The study advocates for Token-F1 over standard Intersection-Over-Union (IOU) metrics, demonstrating that Token-F1 provides a more accurate measure of alignment with fine-grained human rationales.

Conclusion

This benchmark provides a standardized framework for tracking progress in NLP interpretability. By emphasizing token-level granularity and faithfulness through perturbation, the authors move the field closer to "trustworthy AI"—systems that not only provide correct answers but do so for the right reasons. Future work will look to expand the benchmark to more complex reasoning tasks like Natural Language Inference (NLI) and further explore the causal links between accuracy and explanation quality.

Summary updated

BibTeX
@inproceedings{wang2022fine,
  author = {Lijie Wang and Yaozong Shen and Shuyuan Peng and Shuai Zhang and Xinyan Xiao and Hao Liu and Hongxuan Tang and Ying Chen and Hua Wu and Haifeng Wang},
  title = {{A Fine-grained Interpretability Evaluation Benchmark for Neural NLP}},
  booktitle = {CoNLL},
  year = {2022},
  doi = {10.18653/v1/2022.conll-1.6},
}
Figure