Investigating an Effective Character-level Embedding in Korean Sentence Classification

Won-Ik Cho, Seok Min Kim, Nam Soo KimarXiv 2019

Abstract

Different from the writing systems of many Romance and Germanic languages, some languages or language families show complex conjunct forms in character composition. For such cases where the conjuncts consist of the components representing consonant(s) and vowel, various character encoding schemes can be adopted beyond merely making up a one-hot vector. However, there has been little work done on intra-language comparison regarding performances using each representation. In this study, utilizing the Korean language which is character-rich and agglutinative, we investigate an encoding scheme that is the most effective among Jamo-level one-hot, character-level one-hot, character-level dense, and character-level multi-hot. Classification performance with each scheme is evaluated on two corpora: one on binary sentiment analysis of movie reviews, and the other on multi-class identification of intention types. The result displays that the character-level features show higher performance in general, although the Jamo-level features may show compatibility with the attention-based models if guaranteed adequate parameter set size.

Introduction

In natural language processing, the representation of text is a fundamental building block for model performance. While English and other Romance languages rely on a small set of characters, the Korean writing system (Hangul) is "featural." Characters are syllabic blocks composed of sub-units called Jamo (consonants and vowels). For example, the Jamo 'ㄱ', 'ㅏ', and 'ㄴ' combine to form the character '간' (kan).

With over 11,000 possible syllabic combinations, Korean presents a unique challenge: should models treat each block as a unique character, or decompose them into their constituent Jamo? This paper provides a systematic intra-language comparison to determine which encoding scheme—ranging from sub-character Jamo to dense character embeddings—is most effective for sentence classification tasks.

Encoding Representations

The researchers evaluated five distinct encoding schemes to capture the structural and semantic nuances of Korean text. These schemes vary in dimensionality and feature type, as detailed in the table below.

Comparison of the five Korean text representation schemes, including Jamo-level and character-level approaches.
  • (i) Jamo-level One-hot: Decomposes characters into three slots (initial, medial, and final sounds).
  • (ii) Modified Jamo-level: An extension accounting for Jamo used in isolation, common in informal social media text.
  • (iii) Sparse Character-level: A traditional one-hot encoding for the ~2,500 most common Korean syllables.
  • (iv) Dense Character-level: 100-dimensional vectors trained using fastText, capturing contextual meaning.
  • (v) Multi-hot Character-level: A hybrid approach where a single vector represents a character by activating bits corresponding to its constituent Jamo.

Experimental Setup

The encodings were evaluated using two Recurrent Neural Network architectures: a standard BiLSTM and a BiLSTM with Self-Attention (BiLSTM-SA). Performance was measured on two benchmark datasets:

  1. NSMC (Naver Sentiment Movie Corpus): 200,000 movie reviews for binary sentiment analysis.
  2. 3i4K: ~61,000 utterances labeled with seven intention types (e.g., command, question). This dataset is particularly challenging due to intonation-dependent meanings.

Results and Discussion

The experimental results indicate that character-level features generally outperform Jamo-level features in classification tasks.

Classification performance (Accuracy and F1-score) across datasets and models for the five representation schemes.

Key Findings

  • Superiority of Dense Embeddings: The Dense Character-level (fastText) model achieved the highest accuracy on both NSMC (83.82%) and 3i4K (88.44%). This suggests that contextual information is more critical for sentiment and intent than raw structural decomposition.
  • Attention and Jamo-level Features: Interestingly, Jamo-level features (i) showed significant improvement when paired with Self-Attention. The attention mechanism likely allows the model to focus on specific sub-character markers, such as suffixes, that define grammatical roles.
  • Efficiency of Multi-hot Encodings: The Multi-hot approach (v) emerged as a strong runner-up, offering performance comparable to dense vectors but with significantly lower computational overhead. In training, Multi-hot models were up to five times faster than sparse one-hot models.
  • Sparsity Issues: The Sparse Character-level model (iii) suffered from overfitting, particularly on the smaller 3i4K dataset, due to its high-dimensional parameter space.

Conclusion

This study demonstrates that while dense character-level embeddings provide the best overall performance for Korean sentence classification, multi-hot encodings offer a highly efficient alternative that preserves structural relationships. Future work may explore how these sub-character representations integrate with Transformer-based architectures like BERT, which have become the modern standard for NLP tasks.

Summary updated

BibTeX
@misc{cho2019investigating,
  author = {Won-Ik Cho and Seok Min Kim and Nam Soo Kim},
  title = {{Investigating an Effective Character-level Embedding in Korean Sentence Classification}},
  year = {2019},
  eprint = {1905.13656},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.13656},
}
Figure