A BERT-based Dual Embedding Model for Chinese Idiom Prediction

Minghuan Tan, Jing Jiang
11/4/2020
cs.CL

Official code: VisualJoyce/ChengyuBERT (17 stars, Python, MIT, last commit 2021-12-29).

Abstract

Chinese idioms are special fixed phrases usually derived from ancient stories, whose meanings are oftentimes highly idiomatic and non-compositional. The Chinese idiom prediction task is to select the correct idiom from a set of candidate idioms given a context with a blank.

Show full abstract

We propose a BERT-based dual embedding model to encode the contextual words as well as to learn dual embeddings of the idioms. Specifically, we first match the embedding of each candidate idiom with the hidden representation corresponding to the blank in the context. We then match the embedding of each candidate idiom with the hidden representations of all the tokens in the context thorough context pooling. We further propose to use two separate idiom embeddings for the two kinds of matching. Experiments on a recently released Chinese idiom cloze test dataset show that our proposed method performs better than the existing state of the art. Ablation experiments also show that both context pooling and dual embedding contribute to the improvement of performance.

View on arXivView PDF

Code Implementations(1)

MIT

[COLING 2020] BERT-based Models for Chengyu

173Python, ShellJun 8, 20204 years agoMIT
bert-embeddingsbert-modelchengyuidiomsmultiple-choice-question-answering+1 more

Similar Papers

Cite this paper

@article{tan2020bertbased,
  title  = {A BERT-based Dual Embedding Model for Chinese Idiom Prediction},
  author = {Minghuan Tan and Jing Jiang},
  year   = {2020},
  eprint = {2011.02378},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.02378}
}

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

Discussion