Introduction
In modern Natural Language Processing (NLP), intent classification systems are frequently deployed in dynamic environments where they encounter "new" intents not present in the original training data. New Intent Discovery (NID) is the critical task of identifying these novel categories within unlabeled data while maintaining robust performance on known intents.
Existing NID methodologies often struggle with a fundamental "Quantity and Quality Dilemma." Most models rely on fixed semantic similarity thresholds to identify positive pairs for contrastive learning. A strict threshold ensures high precision but suffers from low recall, missing many valid positive samples. Conversely, a relaxed threshold increases recall but introduces "noisy" samples from disparate categories, degrading the quality of the supervisory signal. This dilemma stems from a reliance on point-to-point distances in feature space, which ignores the underlying structural relationships—the inherent "web" of connectivity—between similar data points.
The Diffusion Weighted Graph Framework (DWGF)
To overcome these limitations, we propose the Diffusion Weighted Graph Framework (DWGF). This approach moves beyond simple semantic similarity by modeling data as a graph and diffusing neighborhood relationships across multi-hop "semantic paths."
1. Diffusion Weighted Graph (DWG)
Instead of treating samples as isolated points, DWGF treats them as nodes in a graph. It identifies "semantic paths" by analyzing shared neighbors. If two samples share a common neighbor, that neighbor acts as a "bridge." By performing multi-hop diffusion, the model can identify positive keys that are further away in the feature space but remain structurally connected through these bridges.
2. Soft Weighting Strategy
Recognizing that not all discovered positives are equally reliable, DWGF implements a soft weighting strategy. Samples are assigned weights based on their diffusion frequency; a sample reached multiple times through various paths is considered a highly reliable positive and receives a higher weight in the contrastive loss function.
3. Graph Smoothing Filter (GSF)
During the inference stage, the framework introduces a novel post-processing step called the Graph Smoothing Filter. By applying a normalized graph Laplacian to extracted features, the GSF acts as a low-pass filter. This process smooths out "high-frequency noise," effectively correcting semantically ambiguous samples located at cluster boundaries by pulling them toward their more certain neighbors.
Experimental Evaluation
The DWGF was evaluated on three primary NID benchmarks: BANKING (77 fine-grained intents), StackOverflow (20 technical categories), and CLINC (150 multi-domain intents). The framework achieved state-of-the-art (SOTA) results across all datasets and metrics, including Accuracy, Normalized Mutual Information (NMI), and Adjusted Rand Index (ARI).
- BANKING: Improved Accuracy by 2.56% over the previous SOTA (CLNN).
- CLINC: Improved Accuracy by 3.25% over CLNN.
- StackOverflow: Improved Accuracy by 0.90%.
Analysis and Discussion
Ablation studies highlight that the DWG component is the most critical element of the framework. For instance, removing DWG caused the Accuracy on the BANKING dataset to plummet from 79.38% to 33.05%, confirming that structural diffusion is essential for generating high-quality supervisory signals.
However, the framework does introduce additional complexity. Performance is sensitive to hyperparameters such as the number of diffusion rounds ($r$) and the neighborhood size ($k$). As shown in the sensitivity analysis, while diffusion significantly improves accuracy over the baseline ($r=0$), the optimal neighborhood size varies by dataset.
Conclusion
The Diffusion Weighted Graph Framework demonstrates that connectivity in feature space is a more robust indicator of intent similarity than raw distance. By leveraging multi-hop diffusion and inference-time graph smoothing, DWGF effectively resolves the Quantity and Quality Dilemma, setting a new standard for New Intent Discovery. Future work will focus on automating hyperparameter selection and optimizing the computational efficiency of graph construction for larger datasets.
Summary updated