Can Pre-trained Language Models Interpret Similes as Smart as Human?

Qianyu He, Sijie Cheng, Zhixu Li, Rui Xie, Yanghua Xiao
3/16/2022
cs.CLcs.AI

Official code: Abbey4799/PLMs-Interpret-Simile (14 stars, Python, last commit 2023-01-04).

Abstract

Simile interpretation is a crucial task in natural language processing. Nowadays, pre-trained language models (PLMs) have achieved state-of-the-art performance on many tasks.

Show full abstract

However, it remains under-explored whether PLMs can interpret similes or not. In this paper, we investigate the ability of PLMs in simile interpretation by designing a novel task named Simile Property Probing, i.e., to let the PLMs infer the shared properties of similes. We construct our simile property probing datasets from both general textual corpora and human-designed questions, containing 1,633 examples covering seven main categories. Our empirical study based on the constructed datasets shows that PLMs can infer similes' shared properties while still underperforming humans. To bridge the gap with human performance, we additionally design a knowledge-enhanced training objective by incorporating the simile knowledge into PLMs via knowledge embedding methods. Our method results in a gain of 8.58% in the probing task and 1.37% in the downstream task of sentiment classification. The datasets and code are publicly available at https://github.com/Abbey4799/PLMs-Interpret-Simile.

View on arXivView PDF

Code Implementations(1)

Code and datasets for the paper "Can Pre-trained Language Models Interpret Similes as Smart as Human?" (ACL 2022)

141Python, ShellMar 14, 20223 years ago

Similar Papers

Cite this paper

@article{he2022pretrained,
  title  = {Can Pre-trained Language Models Interpret Similes as Smart as Human?},
  author = {Qianyu He and Sijie Cheng and Zhixu Li and Rui Xie and Yanghua Xiao},
  year   = {2022},
  eprint = {2203.08452},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.08452}
}

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

Discussion