TL;DR
This paper introduces DAAT, a framework that tackles the "domain shift" problem in Chinese Word Segmentation (CWS) by combining automatic data labeling with adversarial learning. By mining domain-specific words from unlabeled text and using an adversarial discriminator to extract domain-invariant features, the authors achieve state-of-the-art performance across diverse domains—like medical texts and fantasy novels—without requiring any manually curated dictionaries.
What Problem Does This Paper Address?
Chinese Word Segmentation is a foundational task in NLP because, unlike English, Chinese text lacks spaces between words. While neural models have mastered segmenting standard news text, their performance craters when applied to specialized domains like medicine or literature.
The authors identify two primary culprits:
- The Distribution Gap: Models trained on news data (source) struggle with the different linguistic patterns of a target domain (e.g., patents).
- Out-of-Vocabulary (OOV) Words: Domain-specific terms—like "Lysozyme" in medicine or "Soul-devouring" in a fantasy novel—simply don't exist in general training sets. As shown in Figure 1, words common in one domain are often entirely absent or used differently in another.
Existing solutions often rely on expensive, human-curated dictionaries for every new domain, which isn't scalable. DAAT aims to bridge this gap using only unlabeled raw text from the target domain.
Methods
The DAAT (Distant Annotation and Adversarial Training) framework consists of two main modules, illustrated in the detailed architecture in Figure 2.
1. Distant Annotation (DA)
Instead of asking for a dictionary, the authors "mine" one. They use a Domain-Specific Words Miner that identifies potential words in unlabeled target text based on three statistical signals:
- Mutual Information (MI): Measures "internal tightness"—how often characters appear together compared to apart.
- Entropy Score (ES): Measures "external flexibility"—how diverse the characters surrounding a potential word are. A true word should appear in many different contexts.
- tf-idf: Identifies words that are particularly important to the specific target corpus.
These mined words are combined with a base segmenter (trained on the source domain) to automatically label the raw target text, creating a "distantly annotated" dataset.
2. Adversarial Training (AT)
Automatic labeling is inherently noisy. To make the model more robust, the authors use an adversarial setup:
- Private Encoders: Separate Gated Convolutional Neural Networks (GCNNs) learn features unique to the source and target domains.
- Shared Encoder: A third GCNN attempts to learn features that are common to both domains.
- Discriminator: A classifier tries to guess whether a feature came from the source or target domain. The shared encoder is trained to "fool" this discriminator, forcing it to extract domain-agnostic features.
Datasets
The researchers used the PKU dataset (newswire) as the source domain. They evaluated their model on five distinct target domains:
- Novels: Three Chinese fantasy novel datasets (DL, FR, ZX).
- Medical: A dermatology (DM) dataset.
- Patent: A patent (PT) dataset.
These target datasets were provided as raw, unlabeled text, simulating a real-world scenario where a researcher has plenty of data but no budget for manual annotation.
Key Insights and Ideas
- Rethinking "Word-ness": The paper demonstrates that statistical properties (tightness and flexibility) are powerful enough to identify domain-specific entities without linguistic supervision.
- Synergy of DA and AT: The Distant Annotation provides the "ground truth" (albeit noisy) for the target domain, while Adversarial Training ensures the model doesn't overfit to the specific quirks of the source domain.
- Visualizing Invariance: The authors used t-SNE to project the learned features. As seen in Figure 5, while domain-specific features (green and black) stay separate, the domain-agnostic features (red and blue) overlap significantly, proving the adversarial module successfully learned a shared representation.
Key Results
DAAT achieved significant improvements over previous state-of-the-art methods like WEB-CWS and CWS-DICT:
- F1-Score Gains: The model saw absolute F1 improvements ranging from +0.6% on novels to a massive +3.7% on patent data.
- OOV Reduction: The Distant Annotation module was highly effective at catching new words. In the medical domain, the OOV rate dropped from 25.93% (using a news-based model) to just 5.42%.
- Data Efficiency: As shown in Figure 6, even providing just 5% of the unlabeled target data for distant annotation leads to a significant jump in performance compared to using source data alone.
Limitations and Future Work
The authors note that the quality of the Distant Annotation depends on a probability threshold ($p_{val}$). If the threshold is too low, the model is flooded with noise; if it's too high, it misses valid OOV words. While the adversarial training helps mitigate this noise, the system still relies on having a "large enough" corpus of raw target text to generate reliable statistics. Future work could explore how to apply these techniques to "low-resource" domains where even unlabeled text is scarce.
Summary updated