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 · DOI

Abstract

Open Intent Classification (OIC) is critical for dialogue systems to distinguish between known user intents and emerging unknown ones. Traditional methods often rely on a single hypersphere boundary per class, which fails to capture the complex, non-Gaussian distributions of real-world intent data. This leads to significant "open space risk" and "empirical risk." We present MOGB (Multi-Granularity Open Intent Classification), a framework that utilizes adaptive granular-ball clustering to "shrink-wrap" intent distributions with multiple boundaries of varying sizes. Our approach significantly reduces misclassification and achieves state-of-the-art performance on major benchmarks, particularly in low-resource scenarios.

Introduction

In modern dialogue systems, the ability to recognize when a user's goal falls outside the system's pre-defined capabilities is as important as correctly identifying known goals. This task, known as Open Intent Classification, faces a fundamental challenge: the "Gaussian Myth." While many models assume intent clusters are compact spheres, research suggests nearly half of real-world intents follow irregular, non-spherical distributions.

Comparison between traditional single-boundary methods (a) and the proposed multi-granularity boundary approach (b).

As illustrated in the figure above, traditional single-boundary methods suffer from two main issues: Empirical Risk, where tight boundaries exclude valid known intents, and Open Space Risk, where loose boundaries include "empty" space where unknown intents can be wrongly accepted. MOGB addresses these by using multiple "granular balls" to more accurately fit the data distribution.

Methodology: The MOGB Framework

MOGB addresses these risks through a two-module architecture designed to capture the true geometry of intent data.

The MOGB architecture, featuring Hierarchical Representation Learning and Multi-Granularity Decision Boundary acquisition.

1. Hierarchical Representation Learning (HRL)

Instead of a single centroid per class, MOGB employs Adaptive Granular-Ball Clustering. This iterative process splits a class's representation into smaller "balls" based on purity and sample density. To refine these clusters, a Nearest Sub-centroid Classifier is used during training, forcing the BERT-based encoder to pull samples toward their specific sub-cluster centers, thereby gathering similar semantics more effectively.

2. Multi-Granularity Decision Boundary

During the inference phase, the system evaluates test samples against a collection of granular balls of varying sizes. A sample is classified as "unknown" only if it falls outside every granular ball of every known class. This multi-ball strategy allows for gaps between sub-clusters of the same class, effectively eliminating "intra-open" risk where unknown intents might otherwise hide inside a large, single-class boundary.

Experimental Evaluation

The MOGB framework was evaluated on three benchmark datasets: StackOverflow (20 classes), SNIPS (7 classes), and BANKING (77 classes). To test robustness, the researchers varied the "known class ratio" at 25%, 50%, and 75%.

Key Results

MOGB consistently outperformed strong baselines like ADB and DA-ADB across all metrics. The improvements were most pronounced in the most challenging "low-data" scenario (25% known classes):

  • StackOverflow: Accuracy improved by 4.76%, and the F1-score for unknown intents (F1-U) rose by 3.54% over the previous best method.
  • Ablation Insights: Performance dropped significantly when either the Hierarchical Learning or Multi-Granularity Boundary components were removed, confirming that both representation and boundary shape are critical.
  • Granularity Balance: Researchers found that while more boundaries generally help, there is an optimal limit; too many small balls can lead to overfitting.

Conclusion

By abandoning the restrictive "one-sphere-per-class" paradigm in favor of adaptive granular-ball boundaries, MOGB provides a more accurate and robust solution for Open Intent Classification. This "macro-to-micro" cognitive approach handles complex data geometries efficiently. Future work will focus on making these boundaries evolvable in real-time to handle the dynamic nature of production dialogue environments.

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