Multi-Granularity Open Intent Classification via Adaptive Granular-Ball Decision Boundary

Yanhua Li, Xiaocao Ouyang, Chaofan Pan, Jie Zhang, Sen Zhao, Shuyin Xia, Xin Yang, Guo-Yin Wang, Tianrui Li

Abstract

Open Intent Classification (OIC) is a critical task for dialogue systems, requiring the ability to recognize known user intents while identifying out-of-domain queries. Traditional boundary-based methods often assume a single spherical distribution per class, which fails to capture the complex, non-Gaussian nature of real-world intent data. This paper proposes MOGB (Multi-granularity Open intent classification), a framework that models each intent as a collection of adaptive "granular balls." By recursively partitioning classes into sub-regions, MOGB creates tighter, multi-granularity decision boundaries that significantly reduce open space risk. Experimental results across three benchmark datasets demonstrate that MOGB consistently outperforms state-of-the-art methods, particularly in challenging low-resource scenarios.

1. Introduction: The Challenge of Open Space Risk

In modern dialogue systems, identifying when a user's query falls outside the system's trained capabilities is as important as correctly classifying known intents. This is the core of Open Intent Classification (OIC). Existing methods typically learn a single spherical decision boundary for each known class. However, empirical evidence suggests that only about 57% of intents in common datasets follow a Gaussian distribution.

Forcing non-spherical data into a single sphere creates two primary types of "open space risk":

  1. Inter-open intent: Gaps between class spheres where unknown intents can be misclassified.
  2. Intra-open intent: Empty regions within a large, loose sphere that do not contain actual known data points, leading the model to falsely accept unknown inputs as known.
Conceptual illustration of open space risk (a) and the proposed multi-granularity boundary solution (b).

2. Methodology: The MOGB Framework

The MOGB approach moves away from the "one class = one sphere" assumption by modeling intents through an adaptive granular-ball approach. The framework consists of two primary modules that work in tandem.

2.1 Hierarchical Representation Learning

This module employs an iterative feedback loop between clustering and classification.

  • Adaptive Granular-Ball Clustering: Starting with a single large ball, the system recursively splits it into smaller balls based on purity (the proportion of samples belonging to the same class) and sample count. This allows the model to adaptively determine the optimal number of sub-regions for each intent.
  • Nearest Sub-Centroid Classifier: During training, the model optimizes representations by pulling data points toward their nearest sub-centroid rather than a single global class center. This forces the network to learn the fine-grained semantic structure inherent in the data.

2.2 Multi-Granularity Decision Boundary

During inference, the model utilizes the entire collection of granular balls to define the decision space. An input is classified as a known intent if it falls within the radius of any granular ball associated with that class. If the input falls outside all existing granular balls, it is flagged as "unknown."

The MOGB architecture, illustrating the iterative learning process and the resulting multi-granularity decision boundaries.

3. Experimental Evaluation

The researchers evaluated MOGB on three standard benchmarks: StackOverflow (20 classes), SNIPS (7 classes), and BANKING (77 classes). To simulate real-world "open world" conditions, they tested the model under varying "known class ratios" (25%, 50%, and 75%), where a portion of the classes are withheld during training.

4. Key Insights and Results

MOGB consistently outperformed state-of-the-art baselines like ADB and DA-ADB. Key findings include:

  • Superior Performance in Hard Scenarios: In the most difficult setting (25% known classes), MOGB improved the F1-score for all intents by 3.6% to 6.5% compared to the strongest baselines.
  • Effective Risk Mitigation: The model showed significant improvements in the F1-U metric (unknown intent detection), proving that multi-granularity boundaries are more effective at excluding out-of-domain samples by eliminating internal "empty space."
  • Cognitive Inspiration: The "Macro-First" philosophy of granular-ball computing mimics human cognition, where coarse-grained information is processed before zooming into finer details.

5. Conclusion

MOGB addresses a fundamental limitation in intent classification by replacing rigid spherical boundaries with adaptive, multi-granularity regions. This "shrink-wrap" approach to data modeling effectively mitigates both inter- and intra-open intent risks. Future work may explore applying this granular-ball logic to other open-world domains, such as image recognition and anomaly detection.

Summary updated

BibTeX
@inproceedings{li2025multi,
  author = {Yanhua Li and Xiaocao Ouyang and Chaofan Pan and Jie Zhang and Sen Zhao and Shuyin Xia and Xin Yang and Guo-Yin Wang and Tianrui Li},
  title = {{Multi-Granularity Open Intent Classification via Adaptive Granular-Ball Decision Boundary}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i23.34630},
}
Figure