Explaining Relation Classification Models with Semantic Extents

Lars Klöser, Andre Büsgen, Philipp Kohl, Bodo Kraft, Albert Zündorf
8/4/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

In recent years, the development of large pretrained language models, such as BERT and GPT, significantly improved information extraction systems on various tasks, including relation classification. State-of-the-art systems are highly accurate on scientific benchmarks. A lack of explainability is currently a complicating factor in many real-world applications. Comprehensible systems are necessary to prevent biased, counterintuitive, or harmful decisions. We introduce semantic extents, a concept to analyze decision patterns for the relation classification task. Semantic extents are the most influential parts of texts concerning classification decisions. Our definition allows similar procedures to determine semantic extents for humans and models. We provide an annotation tool and a software framework to determine semantic extents for humans and models conveniently and reproducibly. Comparing both reveals that models tend to learn shortcut patterns from data. These patterns are hard to detect with current interpretability methods, such as input reductions. Our approach can help detect and eliminate spurious decision patterns during model development. Semantic extents can increase the reliability and security of natural language processing systems. Semantic extents are an essential step in enabling applications in critical areas like healthcare or finance. Moreover, our work opens new research directions for developing methods to explain deep learning models.

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{klser2023explaining,
  title  = {Explaining Relation Classification Models with Semantic Extents},
  author = {Lars Klöser and Andre Büsgen and Philipp Kohl and Bodo Kraft and Albert Zündorf},
  year   = {2023},
  eprint = {2308.02193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.02193v1}
}

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/2308.02193.svg)](https://codeofpaper.com/paper/2308.02193)

Discussion