Introduction
Supervised sequence tagging models, such as Conditional Random Fields (CRFs), are highly effective when training and test data share the same distribution. However, their performance typically degrades significantly when applied to new domains—such as social media or biomedical text—due to "domain shift." In these scenarios, models encounter unfamiliar vocabulary or known words used in novel syntactic contexts.
While semi-supervised learning (SSL) offers a path to leverage unlabeled data from the target domain, traditional approaches face scalability issues. Self-training often reinforces existing model biases, and standard graph-based SSL methods struggle with the exponential complexity of structured sequence tagging. This paper presents a scalable framework that combines the sequence-modeling strengths of CRFs with the global consistency of graph-based label propagation.
Methodology: Type-Based Graph Propagation
The core innovation of this approach is the shift from processing individual tokens (specific word occurrences) to types ($n$-gram patterns). This decoupling allows the model to bypass the combinatorial explosion typically associated with graph-based structured learning.
The proposed algorithm follows an iterative pipeline:
- Initial Training: A standard CRF is trained on labeled source data (e.g., the Wall Street Journal corpus).
- Posterior Decoding: The CRF estimates tag probabilities for words in a large, unlabeled target dataset.
- Token-to-Type Mapping: These probabilities are aggregated across all occurrences of the same trigram types.
- Graph Construction and Propagation: A similarity graph is constructed where each node represents a trigram type. Edges connect trigrams appearing in similar contexts, determined via Pointwise Mutual Information (PMI). Label propagation then "smooths" the tag distributions across neighboring nodes.
- Retraining: The CRF is retrained using both the original labeled data and the newly generated "pseudo-labels" from the target domain.
As shown in Figure 1, this method allows the model to resolve ambiguities. For instance, the trigram "[you book a]" can be linked to "[to book a]" and "[you log a]" through the graph, helping the model correctly identify "book" as a verb even if that specific usage was rare in the source training data.
Experimental Results
The framework was evaluated on two distinct target domains: Internet search queries (QuestionBank) and biomedical abstracts (BioTreebank). In both cases, the semi-supervised approach significantly outperformed both the supervised baseline and standard self-training methods.
On the Questions evaluation set, the semi-supervised CRF achieved 86.8% accuracy, a substantial improvement over the 83.8% supervised baseline. In the Biomedical domain, the model reached 87.6%. The results demonstrate that the method is particularly effective when the similarity graph is dense; in the biomedical domain, nearly 50% of trigrams were disconnected, leading to slightly less dramatic gains compared to the question domain.
Conclusion
This graph-based SSL framework provides a scalable solution for domain adaptation in structured tagging tasks. By propagating information through $n$-gram types, the model learns to handle out-of-vocabulary words—such as "unrar" or technical bio-terms—by associating them with known words in similar contexts. Crucially, because the graph is only used during the training phase, the final CRF remains highly efficient for real-world deployment.
Summary updated