Ellipsoid-Based Decision Boundaries for Open Intent Classification

Yuetian Zou, Hanlei Zhang, Hua Xu, Songze Li, Long Xiao · DOI

Abstract

Open Intent Classification (OIC) is a vital task for AI-driven customer service, requiring models to accurately categorize known user requests while gracefully rejecting unknown or "out-of-scope" intents. Traditional boundary-based methods typically employ hyperspheres to define known intent spaces. However, real-world data in high-dimensional feature spaces is often anisotropic (stretched), leading to high open-space risk when using rigid spherical boundaries. This paper introduces EliDecide, a novel framework that utilizes learnable ellipsoidal decision boundaries. By integrating supervised contrastive learning with a dual-loss optimization strategy, EliDecide more tightly encapsulates known intent distributions, significantly improving OIC performance.

Introduction

In modern dialogue systems, identifying what a user wants is only half the battle. The system must also recognize when a request falls outside its trained capabilities. This challenge, known as Open Intent Classification (OIC), is essential for maintaining system reliability and user trust. Most existing boundary-based OIC models attempt to wrap known classes within a hypersphere (a "ball"). While simple, this geometric constraint often fails to match the actual distribution of language features, which tend to be elongated or compressed along different dimensions.

The Limitation of Spherical Boundaries

The core issue with spherical boundaries is the mismatch between the boundary shape and the data distribution. If a class of "payment issues" is stretched in the feature space, a sphere must either be too small—missing valid known samples—or too large—incorporating "open space" where unknown intents might be incorrectly classified as known. This phenomenon is known as open-space risk.

Comparison of spherical (left) and ellipsoidal (right) decision boundaries.

As shown in the figure above, ellipsoidal boundaries provide the flexibility to "hug" the data distribution more tightly, reducing the area of open space included within the known intent boundary.

The EliDecide Framework

The researchers propose EliDecide, a two-stage framework designed to create precise, flexible boundaries for OIC.

The two-stage EliDecide framework architecture.

Stage 1: Representation Learning

EliDecide begins by using a pre-trained BERT model as a backbone. To enhance class separability, it employs Supervised Contrastive Learning (SCL). This process forces samples belonging to the same intent to cluster tightly while pushing different intents apart, creating a highly discriminative feature space.

Stage 2: Ellipsoid Boundary Construction

Instead of a fixed radius, EliDecide parameterizes an ellipsoid for each class using a learnable nonsingular matrix. This matrix allows the model to adjust the scale and orientation of the boundary along different feature directions. To optimize these boundaries, the framework uses a dual-loss mechanism:

  • Expansion Loss: Ensures the boundary expands to cover all known training samples.
  • Contraction Loss: Utilizes "pseudo-open" samples—synthetic unknowns created by mixing features from different known classes—to pull the boundary inward, preventing over-expansion into empty territory.

Experimental Results

EliDecide was evaluated on three benchmark datasets: Banking (77 intents), OOS (150 intents), and StackOverflow (20 categories). The model was tested across varying Known Class Ratios (KCR) to simulate environments where only a fraction of possible intents are known during training.

Key findings include:

  • State-of-the-Art Performance: EliDecide consistently outperformed previous boundary-based methods. For instance, on the OOS dataset with a 25% KCR, it achieved an F1-score of 84.48, a significant improvement over methods like ADB (79.18).
  • Robustness in Data-Scarce Scenarios: The performance gains were most pronounced at lower KCRs (25% and 50%), indicating that ellipsoidal boundaries are exceptionally effective at defining "safe zones" when surrounded by a vast sea of unknown possibilities.
  • Comparison with LLMs: Interestingly, EliDecide (based on BERT) outperformed much larger models like Llama 3 on this specific task. While LLMs are powerful generalists, they often struggle with the precise "rejection" task required for OIC compared to specialized boundary-based models.

Conclusion

EliDecide demonstrates that the geometric shape of a decision boundary is a critical factor in Open Intent Classification. By moving from spheres to learnable ellipsoids, the model can more accurately represent the complex distributions of natural language features. This approach significantly reduces open-space risk and sets a new standard for OIC performance, particularly in challenging, low-data environments. Future research may explore extending these ellipsoidal boundaries to multi-modal contexts or real-time incremental learning.

Summary updated

BibTeX
@inproceedings{zou2026ellipsoid,
  author = {Yuetian Zou and Hanlei Zhang and Hua Xu and Songze Li and Long Xiao},
  title = {{Ellipsoid-Based Decision Boundaries for Open Intent Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i41.40837},
}
Figure