StyLEx: Explaining Style Using Human Lexical Annotations

Shirley Anugrah Hayati, Kyumin Park, Dheeraj Rajagopal, Lyle Ungar, Dongyeop Kang
10/14/2022
cs.CL

Official code: minnesotanlp/stylex (1 star, Python, last commit 2023-02-14).

Abstract

Large pre-trained language models have achieved impressive results on various style classification tasks, but they often learn spurious domain-specific words to make predictions (Hayati et al., 2021). While human explanation highlights stylistic tokens as important features for this task, we observe that model explanations often do not align with them.

Show full abstract

To tackle this issue, we introduce StyLEx, a model that learns from human-annotated explanations of stylistic features and jointly learns to perform the task and predict these features as model explanations. Our experiments show that StyLEx can provide human-like stylistic lexical explanations without sacrificing the performance of sentence-level style prediction on both in-domain and out-of-domain datasets. Explanations from StyLEx show significant improvements in explanation metrics (sufficiency, plausibility) and when evaluated with human annotations. They are also more understandable by human judges compared to the widely-used saliency-based explanation baseline.

View on arXivView PDF

Code Implementations(1)

Code for Hayati et al's paper "StyLEx: Explaining Styles with Lexicon-Based Human Perception"

10PythonJan 23, 20233 years ago
area-datastatus-archived

Similar Papers

Cite this paper

@article{hayati2022stylex,
  title  = {StyLEx: Explaining Style Using Human Lexical Annotations},
  author = {Shirley Anugrah Hayati and Kyumin Park and Dheeraj Rajagopal and Lyle Ungar and Dongyeop Kang},
  year   = {2022},
  eprint = {2210.07469},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.07469}
}

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

Discussion