Finding the Needle in a Haystack: Unsupervised Rationale Extraction from Long Text Classifiers

Kamil Bujel, Andrew Caines, Helen Yannakoudakis, Marek Rei
3/14/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Long-sequence transformers are designed to improve the representation of longer texts by language models and their performance on downstream document-level tasks. However, not much is understood about the quality of token-level predictions in long-form models. We investigate the performance of such architectures in the context of document classification with unsupervised rationale extraction. We find standard soft attention methods to perform significantly worse when combined with the Longformer language model. We propose a compositional soft attention architecture that applies RoBERTa sentence-wise to extract plausible rationales at the token-level. We find this method to significantly outperform Longformer-driven baselines on sentiment classification datasets, while also exhibiting significantly lower runtimes.

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!

Cite this paper

@article{bujel2023finding,
  title  = {Finding the Needle in a Haystack: Unsupervised Rationale Extraction from Long Text Classifiers},
  author = {Kamil Bujel and Andrew Caines and Helen Yannakoudakis and Marek Rei},
  year   = {2023},
  eprint = {2303.07991},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.07991v1}
}

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

Discussion