Text Classification through Glyph-aware Disentangled Character Embedding and Semantic Sub-character Augmentation

Takumi Aoki, Shunsuke Kitada, Hitoshi Iyatomi
11/9/2020
cs.CLcs.AIcs.LG

Official code: IyatomiLab/GDCE-SSA (3 stars, Jupyter Notebook, PyTorch, last commit 2020-12-06).

Abstract

We propose a new character-based text classification framework for non-alphabetic languages, such as Chinese and Japanese. Our framework consists of a variational character encoder (VCE) and character-level text classifier.

Show full abstract

The VCE is composed of a $β$-variational auto-encoder ($β$-VAE) that learns the proposed glyph-aware disentangled character embedding (GDCE). Since our GDCE provides zero-mean unit-variance character embeddings that are dimensionally independent, it is applicable for our interpretable data augmentation, namely, semantic sub-character augmentation (SSA). In this paper, we evaluated our framework using Japanese text classification tasks at the document- and sentence-level. We confirmed that our GDCE and SSA not only provided embedding interpretability but also improved the classification performance. Our proposal achieved a competitive result to the state-of-the-art model while also providing model interpretability. Our code is available on https://github.com/IyatomiLab/GDCE-SSA

View on arXivView PDF

Code Implementations(1)

PyTorch

Official Implementation of "Text Classification Thorugh Glyph-aware Disentangled Character Embedding and Semantic Sub-character Augmentation"

30Jupyter Notebook, PythonNov 9, 20205 years ago
data-augmentationdocument-classificationnatural-language-processingpytorchpytorch-lightning+2 more

Similar Papers

Cite this paper

@article{aoki2020text,
  title  = {Text Classification through Glyph-aware Disentangled Character Embedding and Semantic Sub-character Augmentation},
  author = {Takumi Aoki and Shunsuke Kitada and Hitoshi Iyatomi},
  year   = {2020},
  eprint = {2011.04184},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.04184}
}

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

Discussion