Abstract
Standard word embedding models often ignore the internal structure of logographic languages like Chinese. This paper proposes two novel models, charCBOW and charSkipGram, which incorporate character components (radicals) to capture finer-grained semantic information. By mapping radical variants to their root forms, these models achieve significant performance gains in word similarity and text classification tasks over traditional context-only models.
The Challenge of Logographic Embeddings
In Natural Language Processing (NLP), embeddings are the standard method for representing word meaning mathematically. Popular models like Word2Vec (CBOW and SkipGram) typically learn these representations by analyzing a word's external context—the neighbors it appears with.
However, Chinese characters are logograms, and over 80% of them are "phono-semantic compounds." This means they contain an internal "radical" that provides a direct hint to the character's meaning. For example, the character for "he" (他) contains the radical for "human" (亻). Relying solely on external context ignores this stable, inherent semantic signal that has been part of the language for millennia. The authors argue that internal components can serve as vital semantic anchors, especially for rare characters where external context is sparse.
Methodology: charCBOW and charSkipGram
The authors developed two "component-enhanced" models by modifying the classic Word2Vec architectures to account for internal character structure:
- charCBOW: Instead of relying only on surrounding characters to predict a target, this model uses both the surrounding characters and their internal radicals as input.
- charSkipGram: This model uses a central character to predict both the surrounding characters and their respective internal components.
The "Secret Sauce": Radical Normalization
A significant technical hurdle in Chinese NLP is that radicals often change shape based on their position within a character. For instance, the "water" radical is 水 when standing alone but becomes 氵 when placed on the left side of another character.
To prevent the model from treating these variants as separate entities, the authors performed radical normalization. They manually mapped 24 common radical variants back to their original "root" forms. This ensures the model learns a single, robust representation for core semantic concepts like "water," "human," or "fire," regardless of their visual presentation.
Key Results and Insights
The component-enhanced models consistently outperformed standard character-level embeddings across multiple benchmarks:
- Word Similarity: On the HIT-CIR’s Extended Tongyici Cilin (E-TC) benchmark,
charCBOWandcharSkipGramshowed higher Spearman’s rank correlation across nearly all categories compared to basic Word2Vec. - Text Classification: The performance jump was particularly notable in specialized domains. In the "Military" category of a Tencent news dataset, the
charCBOW-bimodel achieved an F1-score of 59.1%, a dramatic improvement over the 47.8% achieved by the standard bi-gram CBOW. - Hierarchical Semantics: The results suggest that for logographic languages, semantics are hierarchical. Information exists at the component level, the character level, and the word level. By capturing the first level (components), the models become more resilient to data sparsity.
Conclusion
By looking inside the character, charCBOW and charSkipGram provide a more nuanced and accurate representation of Chinese semantics. While this work focuses on semantic radicals, future research could extend this to phonetic components to assist in tasks like speech recognition. The ultimate goal is a unified framework that coordinates the entire hierarchy from component to character to word.
Summary updated