Abstract
Few-shot slot tagging is critical for scaling Natural Language Understanding (NLU) to long-tail domains where annotated data is scarce. While multi-source transfer learning is a common remedy, the inclusion of dissimilar source domains can introduce "negative transfer," where noisy data degrades model performance. This paper proposes a novel framework that combines a similarity-based domain selection strategy with a Shared-Private Network (SP-Net). By filtering out irrelevant source domains and disentangling class-level features from word-specific noise, our approach achieves state-of-the-art performance on SNIPS and NER benchmarks while utilizing less training data.
Introduction
Slot tagging identifies semantic entities (e.g., "CITY", "TIME") within user queries, serving as a foundational component of NLU systems. Developing these models for new domains is challenging due to the high cost of data annotation. Few-shot learning addresses this by transferring knowledge from data-rich source domains to a data-poor target domain. However, the prevailing assumption that "more data is always better" is often flawed in multi-source settings. Training on source domains that are semantically distant from the target can introduce noise, a phenomenon known as negative transfer.
Conceptual Framework: The Case for Domain Selection
The core intuition of this work is that not all source domains contribute equally to the initialization of a target model. By omitting dissimilar domains, we can ensure that the model's starting parameters are closer to the target domain's local optimum.
Methodology
Similarity-Based Domain Selection
To identify the most relevant source domains, the authors employ three complementary metrics:
- Target Vocabulary Covered (TVC): Measures the overlap of unique tokens between source and target.
- TF-IDF Similarity (TIS): Captures fine-grained corpus-level feature correlations.
- Label Overlap (LO): Evaluates the intersection of semantic label sets.
A weighted combination of these scores is used to rank and select the optimal subset of source domains, preventing the "poisoning" effect of irrelevant data.
Shared-Private Network (SP-Net)
Once the optimal source domains are selected, the SP-Net architecture facilitates robust knowledge transfer. SP-Net utilizes BERT for initial word encoding and then splits these embeddings into two distinct components.
The network consists of:
- Shared Layer: Extracts features common to all words within a specific class (e.g., syntactic patterns typical of "Cities").
- Private Layer: Captures information unique to specific words that does not generalize across the domain.
By applying contrastive loss and orthogonality constraints, the model filters out private noise, relying solely on stable shared features to generate "label prototypes" for few-shot classification.
Experimental Results
The proposed method was evaluated on the SNIPS and NER benchmarks. Key findings include:
- The "More is Less" Paradox: Experimental results confirmed that training on a subset of three well-selected source domains often yielded higher F1 scores than using all four available domains. This confirms that dissimilar data acts as a "poison" during transfer.
- Performance Gains: On the SNIPS 1-shot task, the full framework achieved an F1 score of 75.34, a +3.71 improvement over the base SP-Net without domain selection. On the NER benchmark, it reached an F1 of 40.05 in the 5-shot setting, outperforming previous baselines.
- Cost-Effectiveness: Superior performance was achieved with a smaller training set, reducing the computational overhead associated with large-scale multi-source training.
Conclusion
This research demonstrates that strategic data omission is as important as data inclusion in few-shot learning. By combining similarity-based domain selection with feature disentanglement via SP-Net, we can mitigate negative transfer and build more efficient, high-performing NLU models. Future work will explore extending this selection process from the domain level to individual episodes or samples for even finer-grained data pruning.
Summary updated