Coupling Distant Annotation and Adversarial Training for Cross-Domain Chinese Word Segmentation

Ning Ding, Dingkun Long, Guangwei Xu, Muhua Zhu, Pengjun Xie, Xiaobin Wang, Haitao Zheng

Introduction

Chinese Word Segmentation (CWS) is a fundamental prerequisite for downstream Chinese Natural Language Processing (NLP) tasks, such as sentiment analysis, machine translation, and information retrieval. Unlike English, Chinese text lacks explicit word delimiters (spaces), making segmentation a complex sequence labeling problem. While modern deep learning models achieve near-human performance on standard newswire datasets, their performance degrades significantly when applied to specialized target domains like medical journals, legal patents, or fantasy novels.

The Challenge: The Domain Gap

The performance drop in cross-domain CWS is primarily attributed to two factors:

  1. The Out-of-Vocabulary (OOV) Problem: Specialized domains contain unique terminology (e.g., "Streptococcus" in medicine or invented names in fantasy novels) that do not appear in general-purpose training data.
  2. The Distribution Gap: The frequency and usage patterns of common words vary across domains, leading to model confusion.
Conceptual illustration of the domain gap between Newswire and Medical domains.

Traditional solutions rely on manually curated dictionaries or expensive human labeling for every new domain. However, high-quality dictionaries are often unavailable for niche fields, and manual annotation is not scalable.

The DAAT Framework

To address these challenges, the authors propose DAAT (Distant Annotation and Adversarial Training), a framework that automatically bridges the domain gap without requiring human-labeled target data. DAAT consists of two main components: a statistical word miner for labeling and an adversarial network for feature extraction.

The complete DAAT framework architecture, integrating Distant Annotation (DA) and Adversarial Training (AT).

1. Distant Annotation (DA)

Instead of a static dictionary, DAAT employs a Domain-specific Words Miner to identify potential words in raw, unlabeled target text. The miner evaluates candidate character sequences using four key statistical signals:

  • Mutual Information (MI): Quantifies the internal cohesion of a character sequence.
  • Entropy Score (ES): Measures the diversity of the surrounding context, identifying sequences that function as independent units.
  • tf-idf: Highlights terms that are uniquely characteristic of the target domain.
  • Word Frequency: Filters out noise and rare typos.

By combining these signals with a base segmenter trained on source data, the system generates a "distantly annotated" dataset for the target domain.

2. Adversarial Training (AT)

Automatic labeling is inherently noisy. To prevent the model from overfitting to these errors, DAAT utilizes an adversarial training strategy. The architecture features three encoders: a source-specific encoder, a target-specific encoder, and a Shared Encoder.

A discriminator is trained to identify whether a feature representation originated from the source or target domain. Simultaneously, the Shared Encoder is trained to "fool" the discriminator. This adversarial process forces the Shared Encoder to extract domain-agnostic features—universal linguistic patterns that are valid across both domains—while the private encoders capture domain-specific nuances.

Experimental Evaluation

The researchers used the PKU (Newswire) dataset as the source domain and evaluated the model on five challenging target domains: three fantasy novels (DoLuoDaLu, FanRenXiuXianZhuan, and ZhuXian), a Medical dataset (Dermatology), and a Patent dataset.

Key Results

  • State-of-the-Art Performance: DAAT consistently outperformed previous methods. It achieved significant F1-score improvements, including a +2.2 gain in the Medical domain and a +3.7 gain in the Patent domain compared to existing baselines.
  • Drastic OOV Reduction: The Word Miner proved highly effective. In the DL novel dataset, the OOV rate plummeted from 11.15% to just 1.23% after the miner identified domain-specific proper nouns.
  • Robustness: The combination of DA and AT was crucial. While the Word Miner provided the necessary vocabulary, the adversarial training acted as a noise filter, ensuring the model remained robust despite the imperfections of automatic labeling.

Conclusion

The DAAT framework demonstrates that coupling statistical word mining with adversarial feature learning is a powerful strategy for unsupervised domain adaptation in CWS. By eliminating the need for human-curated dictionaries, DAAT provides a scalable path for applying NLP to increasingly specialized fields. Future work may involve integrating large-scale pre-trained language models to further enhance the richness of the shared feature space.

Summary updated

BibTeX
@inproceedings{ding2020coupling,
  author = {Ning Ding and Dingkun Long and Guangwei Xu and Muhua Zhu and Pengjun Xie and Xiaobin Wang and Haitao Zheng},
  title = {{Coupling Distant Annotation and Adversarial Training for Cross-Domain Chinese Word Segmentation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.595},
}
Figure