Towards Explainability in NLP: Analyzing and Calculating Word Saliency through Word Properties

Jialiang Dong, Zhitao Guan, Longfei Wu, Zijian Zhang, Xiaojiang Du
7/17/2022
cs.CL

No confident code implementation found for this paper.

Abstract

The wide use of black-box models in natural language processing brings great challenges to the understanding of the decision basis, the trustworthiness of the prediction results, and the improvement of the model performance. The words in text samples have properties that reflect their semantics and contextual information, such as the part of speech, the position, etc.

Show full abstract

These properties may have certain relationships with the word saliency, which is of great help for studying the explainability of the model predictions. In this paper, we explore the relationships between the word saliency and the word properties. According to the analysis results, we further establish a mapping model, Seq2Saliency, from the words in a text sample and their properties to the saliency values based on the idea of sequence tagging. In addition, we establish a new dataset called PrSalM, which contains each word in the text samples, the word properties, and the word saliency values. The experimental evaluations are conducted to analyze the saliency of words with different properties. The effectiveness of the Seq2Saliency model is verified.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dong2022towards,
  title  = {Towards Explainability in NLP: Analyzing and Calculating Word Saliency through Word Properties},
  author = {Jialiang Dong and Zhitao Guan and Longfei Wu and Zijian Zhang and Xiaojiang Du},
  year   = {2022},
  eprint = {2207.08083},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08083v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.08083.svg)](https://codeofpaper.com/paper/2207.08083)

Discussion