Abstract
Part-of-Speech (POS) tagging for social media is challenging due to informal language and a lack of labeled data. We present the Target Preserved Adversarial Neural Network (TPANN), a model designed to transfer knowledge from formal news text (WSJ) to the noisy Twitter domain. By combining adversarial training to learn domain-invariant features with a target-domain autoencoder to preserve task-relevant nuances, TPANN achieves state-of-the-art performance on multiple Twitter benchmarks without relying on manual features.
Introduction
Part-of-Speech (POS) tagging is a fundamental NLP task, yet standard models trained on formal corpora like the Wall Street Journal (WSJ) often fail when applied to social media. Twitter's unique challenges include non-standard orthography (e.g., "2mor"), frequent use of emoticons, and abbreviations. Furthermore, while formal text has abundant labeled data, labeled Twitter data is scarce. This "domain shift" necessitates robust transfer learning techniques that can leverage large out-of-domain labeled sets and in-domain unlabeled data.
Methodology: The TPANN Architecture
The proposed Target Preserved Adversarial Neural Network (TPANN) addresses domain shift through a multi-task learning framework. It consists of four primary modules:
- Feature Extractor: To handle the high rate of out-of-vocabulary words, a CNN extracts character-level features. These are combined with word embeddings and processed by a bidirectional LSTM (bi-LSTM) to capture contextual information.
- POS Tagging Classifier: This module performs the primary task of predicting grammatical tags based on the extracted features.
- Domain Discriminator: Using a Gradient Reversal Layer (GRL), this component acts as an adversary. It attempts to distinguish between WSJ and Twitter inputs, forcing the feature extractor to learn representations that are "domain-invariant."
- Target Domain Autoencoder: To prevent adversarial training from discarding useful Twitter-specific features, a seq2seq autoencoder reconstructs the target domain data. This ensures that the latent space retains information critical for tagging informal text.
Experimental Setup
The model was trained using labeled data from the WSJ (Penn TreeBank v3) and unlabeled Twitter data (UNL, 1.1M tokens). Evaluation was conducted on several benchmarks including RIT-Twitter, NPSCHAT, and ARK-Twitter.
Results and Discussion
TPANN demonstrated superior performance across most benchmarks. On the RIT-Twitter test set, it achieved an accuracy of 90.92%, significantly outperforming standard bi-LSTM models and previous state-of-the-art systems like the ARK Tagger.
Key Insights
- Adversarial Effectiveness: The adversarial component successfully "blurs" the distinction between domains. Visualization via t-SNE plots confirmed that feature distributions from WSJ and Twitter become highly overlapping after training.
- The Role of the Autoencoder: Ablation studies show that adding the autoencoder (TPANN) provides a final performance boost over adversarial training alone, confirming that preserving target-domain nuances is vital.
- Character-level Robustness: The CNN-based character features allow the model to generalize to variations like "loooove" or "talkin," which are common in social media but absent from formal training sets.
Conclusion and Future Work
TPANN provides a powerful, purely neural approach to cross-domain POS tagging. While it excels in general tagging, it was slightly outperformed on specific subsets by models using manual gazetteers for proper noun identification. Future work could involve integrating external knowledge bases to further improve accuracy on noisy, entity-rich social media text.
Summary updated