Exploiting Word Internal Structures for Generic Chinese Sentence Representation

Shaonan Wang, Jiajun Zhang, Chengqing Zong

Abstract

Traditional Natural Language Processing (NLP) models often treat Chinese words as atomic units or purely compositional character sequences. However, Chinese words possess unique internal structures where characters carry significant semantic weight. This paper introduces a "mixed character-word" architecture that leverages a Mask Gate to weight character importance and Adaptive Max-Pooling to combine whole-word (atomic) and character-based (compositional) representations. Experimental results on sentence and word similarity tasks demonstrate that this approach significantly outperforms standard baselines, particularly for low-frequency and out-of-vocabulary words.

Introduction

In many alphabetic languages, words are typically the smallest units of meaning. In Chinese, however, the internal structure of a word—its constituent characters—is highly informative. For instance, the word for "airport" (机场) is composed of "machine" (机) and "field" (场).

Current NLP models face a trade-off: an atomic approach treats words as single units, failing on rare words that the model hasn't encountered frequently. Conversely, a purely compositional approach builds word meanings from characters, which fails for "non-transparent" words like proper names (e.g., "Hongqiao" 虹桥, where the literal meaning of "rainbow bridge" does not denote an airport). This research addresses the challenge of creating generic sentence representations by balancing these two paradigms through a novel gating and pooling mechanism.

Methods

The proposed architecture operates at the word level while incorporating internal character information. It features two primary innovations:

  1. The Mask Gate: Not all characters in a word contribute equally to its meaning. The Mask Gate is a neural layer that learns to assign weights to characters based on their semantic importance within a specific word. For example, in the word for "taxi" (出租车), the character for "car" (车) acts as the semantic core, while "rent" (租) serves as a modifier.
  2. Adaptive Max-Pooling: The model generates two distinct representations for every word: an Atomic (full-form) version and a Compositional (character-weighted) version. Instead of simple averaging, the model employs element-wise max-pooling. This allows the system to dynamically select the most salient features from either the whole-word or the character-level representation for every dimension of the embedding.
Figure 4: The overall architecture illustrating the transition from compositional and atomic word forms to the final sentence representation.

These enhanced word representations are then integrated into standard sentence composition models, such as LSTMs or Deep Averaging Networks (DAN), to produce final sentence vectors.

Experimental Setup

The researchers utilized several datasets to train and validate their approach:

  • Training: A collection of over 30,000 Chinese paraphrase pairs extracted from the NIST2003 and CWMT2015 machine translation evaluation corpora.
  • Sentence Similarity (Testing): To evaluate the model, the authors constructed a new dataset of sentence pairs from People’s Daily and Baidu Encyclopedia, which were rated by humans for similarity on a scale of 0-5.
  • Word Similarity: The WordSim-297 benchmark was used to assess whether internal word structures improved word-level semantics.

Results and Discussion

The proposed "Mixed" model (G5) consistently outperformed all baselines across different composition functions. On the human-rated sentence similarity test set, the model achieved a Pearson correlation of 0.852, significantly higher than standard word-only models (~0.81) or basic character-enhanced models (~0.83).

Figure 5: Performance comparison of the proposed Mixed Character-Word model (G5) against various baseline groups (G1-G4) on the sentence similarity test set.

Key Insights

  • Frequency and Transparency: High-frequency words are best handled by atomic representations, whereas low-frequency or out-of-vocabulary words benefit immensely from the compositional character-based approach. The model effectively learns "transparency," leaning on characters for literal words (e.g., "airport") and relying on atomic embeddings for metaphorical terms or names.
  • Efficiency of Simple Models: Interestingly, when using these high-quality word representations, simpler sentence models like DAN or Matrix transformations often outperformed complex LSTMs. This suggests that capturing accurate word-level semantics is a fundamental requirement for effective sentence representation.

Conclusion

By exploiting the internal structure of Chinese words, the proposed mixed architecture provides a more robust framework for sentence representation. While the current evaluation relies on a relatively small human-rated dataset, the results indicate significant potential for cross-linguistic application to other morphologically rich languages, such as German or Finnish. Future work will explore larger-scale benchmarks and the application of these gated structures to more complex linguistic tasks.

Summary updated

BibTeX
@inproceedings{wang2017exploiting,
  author = {Shaonan Wang and Jiajun Zhang and Chengqing Zong},
  title = {{Exploiting Word Internal Structures for Generic Chinese Sentence Representation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1029},
}
Figure