A Study of the Plausibility of Attention between RNN Encoders in Natural Language Inference

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Nguyen, Duc Hau, Sébillot, Pascale
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910796091490304
author Nguyen, Duc Hau
Nguyen, Duc Hau
Sébillot, Pascale
author_facet Nguyen, Duc Hau
Nguyen, Duc Hau
Sébillot, Pascale
contents Attention maps in neural models for NLP are appealing to explain the decision made by a model, hopefully emphasizing words that justify the decision. While many empirical studies hint that attention maps can provide such justification from the analysis of sound examples, only a few assess the plausibility of explanations based on attention maps, i.e., the usefulness of attention maps for humans to understand the decision. These studies furthermore focus on text classification. In this paper, we report on a preliminary assessment of attention maps in a sentence comparison task, namely natural language inference. We compare the cross-attention weights between two RNN encoders with human-based and heuristic-based annotations on the eSNLI corpus. We show that the heuristic reasonably correlates with human annotations and can thus facilitate evaluation of plausible explanations in sentence comparison tasks. Raw attention weights however remain only loosely related to a plausible explanation.
format Preprint
id arxiv_https___arxiv_org_abs_2501_13735
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Study of the Plausibility of Attention between RNN Encoders in Natural Language Inference
Nguyen, Duc Hau
Nguyen, Duc Hau
Sébillot, Pascale
Computation and Language
Attention maps in neural models for NLP are appealing to explain the decision made by a model, hopefully emphasizing words that justify the decision. While many empirical studies hint that attention maps can provide such justification from the analysis of sound examples, only a few assess the plausibility of explanations based on attention maps, i.e., the usefulness of attention maps for humans to understand the decision. These studies furthermore focus on text classification. In this paper, we report on a preliminary assessment of attention maps in a sentence comparison task, namely natural language inference. We compare the cross-attention weights between two RNN encoders with human-based and heuristic-based annotations on the eSNLI corpus. We show that the heuristic reasonably correlates with human annotations and can thus facilitate evaluation of plausible explanations in sentence comparison tasks. Raw attention weights however remain only loosely related to a plausible explanation.
title A Study of the Plausibility of Attention between RNN Encoders in Natural Language Inference
topic Computation and Language
url https://arxiv.org/abs/2501.13735