Abstract
Chinese sentiment analysis faces unique challenges due to the lack of explicit word delimiters, leading to a trade-off between semantic granularity and out-of-vocabulary (OOV) issues. This paper introduces the Multi-Channel Convolutional Neural Network (MCCNN), a model that processes text through three parallel channels: words, characters, and pinyin. By fusing these representations, the MCCNN captures diverse linguistic features, significantly improving performance over single-channel models. Evaluation on four benchmark datasets shows that the MCCNN achieves state-of-the-art results, particularly in scenarios with high OOV rates or long documents.
Introduction
Unlike English, where spaces clearly separate words, Chinese text is a continuous stream of characters. This necessitates automated segmentation for word-level analysis, which is prone to errors and often results in a massive vocabulary with high OOV rates. Conversely, character-level models avoid segmentation errors but may lose the semantic "chunks" provided by words. Pinyin, the phonetic romanization of Chinese, offers a compact representation but discards visual and semantic character information. This paper systematically investigates these representations, proposing a multi-channel approach to leverage their complementary strengths.
Methodology: The MCCNN Architecture
The proposed Multi-Channel Convolutional Neural Network (MCCNN) is designed to integrate multiple levels of linguistic granularity. The architecture consists of three primary stages:
- Input Channels: A single sentence is converted into three distinct sequences: words, characters, and pinyin.
- Feature Extraction: Each sequence passes through its own embedding layer, followed by a convolutional layer. The convolution uses filters of varying sizes (e.g., 2, 3, and 4) to capture different n-gram features. A global max-pooling layer then extracts the most salient features from each channel.
- Fusion and Classification: The pooled features from all three channels are concatenated into a single feature vector. This vector is fed into a dense layer with a softmax activation to predict the sentiment label (Positive, Negative, or Neutral).
Data and Representation Analysis
The effectiveness of the MCCNN was evaluated on four datasets: Customer-Reviews (CR), Amazon-Dianping (AD), PKU-Product-Reviews (Product), and ChnSentiCorp-4000 (Hotel). A critical factor in model performance is the relationship between vocabulary size and the Out-of-Vocabulary (OOV) rate.
As shown in the analysis, word-level representations suffer from significantly higher OOV rates compared to character or pinyin levels. While word-level models perform well when the OOV rate is low, character-level models are more robust when encountering unseen words because they can still process the individual components. Pinyin, despite its phonetic nature, maintains a very small vocabulary and surprisingly low OOV rates, contributing valuable information to the ensemble.
Key Results and Insights
The MCCNN demonstrates several key advantages:
- Synergistic Performance: Combining Pinyin, Character, and Word channels consistently outperforms any single-representation model. The channels act as complementary features, allowing the model to "vote" across different linguistic levels.
- Robustness to Document Length: Compared to baselines like
fastText, which averages features, the MCCNN's convolutional layers are better at capturing local, position-dependent semantic features, making it superior for longer documents. - The Pinyin Factor: Pinyin-based models performed remarkably well, often within 1% accuracy of character-based models, despite the "many-to-one" mapping of characters to pinyin.
- Pre-training Benefits: Initializing the word channel with pre-trained embeddings provided a significant boost, particularly for smaller datasets like "Product" where training data is limited.
Conclusion
The Multi-Channel Convolutional Neural Network provides a robust framework for Chinese sentiment analysis by effectively fusing word, character, and pinyin representations. While more computationally intensive than simple architectures, its ability to mitigate OOV issues and capture multi-granular features leads to superior accuracy. Future work will explore more efficient ways to disambiguate pinyin contextually and investigate multi-channel extensions for other lightweight architectures.
Summary updated