Inferensys

Glossary

Open-Set Recognition

A classification paradigm where the model must not only classify known modulation schemes but also detect and reject unknown modulation types not seen during training.
ML engineer managing model training cluster on laptop, GPU utilization visible, technical deep learning setup.
CLASSIFICATION PARADIGM

What is Open-Set Recognition?

Open-Set Recognition (OSR) is a classification paradigm where a model must accurately classify known classes while simultaneously detecting and rejecting samples from unknown classes not present during training.

Open-Set Recognition fundamentally differs from traditional closed-set classification by acknowledging that a deployed model will inevitably encounter unknown modulation schemes or novel signal types. Instead of forcibly mapping every input to a known class, an OSR system must quantify prediction uncertainty and reject inputs that fall outside the learned known-class manifold. This is achieved through techniques like OpenMax, which replaces the standard softmax layer with a Weibull-calibrated rejection mechanism, or by learning compact class-specific feature embeddings with clear distance thresholds.

In automatic modulation recognition, OSR is critical for electronic warfare and spectrum monitoring where adversaries may deploy unseen waveforms. Architectures such as prototypical networks and deep support vector data description (Deep SVDD) learn a hyperspherical boundary around known I/Q sample clusters. Performance is evaluated using metrics like AUROC and open-set F1-score, which measure the trade-off between correctly classifying known modulations and flagging out-of-distribution or novel class signals for human analysis.

BEYOND CLOSED-SET CLASSIFICATION

Key Characteristics of Open-Set Recognition

Open-Set Recognition (OSR) extends traditional classification by requiring models to not only identify known modulation schemes but also detect and reject unknown or novel signal types not present during training. This paradigm is critical for real-world electronic warfare and cognitive radio systems where encountering an unseen waveform is the norm, not the exception.

01

Known-Unknown Discrimination

The core capability of OSR is the simultaneous classification of known classes and the rejection of unknown classes. Unlike closed-set models that force an input into one of K predefined categories, an OSR model must quantify uncertainty and declare 'I don't know this modulation.' This is achieved by learning a decision boundary that encloses known class manifolds in feature space, leaving the rest of the space as the open-set region. A robust OSR system minimizes both open-set risk—the probability of misclassifying an unknown as a known—and closed-set risk—the probability of misclassifying one known class as another.

K+1
Minimum Output Classes
03

Reciprocal Point Learning

An adversarial learning framework that explicitly models the boundary between known and unknown space. Instead of just learning class centroids, the model learns reciprocal points—representations of the potential open space—for each known class. The classifier is trained to push known samples toward their class centroid while pulling them away from all reciprocal points. During inference, the distance to reciprocal points serves as a direct measure of openness, enabling principled rejection of inputs that lie closer to the 'otherness' representation than to any known class.

04

Generative OpenMax (G-OpenMax)

An enhancement to OpenMax that uses a Generative Adversarial Network (GAN) to synthesize realistic samples of unknown classes during training. By generating synthetic open-set examples that lie near the boundaries of known class manifolds, the classifier learns a tighter, more informed decision boundary. This addresses a key weakness of standard OpenMax: its reliance on only known-class statistics. G-OpenMax explicitly exposes the model to 'what an unknown might look like,' significantly improving open-set detection at lower signal-to-noise ratios.

05

Extreme Value Theory (EVT) Foundations

OSR is mathematically grounded in Extreme Value Theory, which models the distribution of rare events in the tails of probability distributions. The key insight is that the probability of a sample belonging to a known class decays as a function of its distance from the class's training examples. By fitting an EVT model—specifically a Weibull distribution—to the tail of the distance distribution for each class, OSR algorithms can compute a statistically principled probability that a given input is an outlier. This provides a theoretical basis for setting rejection thresholds.

06

Metric Learning for Open-Set Embeddings

Modern OSR approaches use deep metric learning objectives like prototypical networks or angular margin losses to structure the embedding space. The goal is to create compact, well-separated clusters for known classes with a large angular margin between them. Unknown samples naturally fall into the interstitial space between clusters or far from any centroid. By measuring cosine similarity or Euclidean distance to learned prototypes, the system can reject inputs that fail to exceed a similarity threshold, making the rejection decision geometrically interpretable.

OPEN-SET RECOGNITION

Frequently Asked Questions

Addressing the most critical questions about open-set recognition for automatic modulation classification, where models must identify known signals and reject unknown threats.

Open-Set Recognition (OSR) in automatic modulation classification is a classification paradigm where the model must not only correctly identify known modulation schemes seen during training but also detect and reject unknown modulation types that were absent from the training set. Unlike traditional closed-set classification, which forces every input into one of the pre-defined known classes, OSR introduces an explicit rejection mechanism. The model outputs a 'known-unknown' decision boundary, typically by thresholding a confidence score derived from the softmax probability, logit energy, or distance in an embedding space. In electronic warfare and spectrum monitoring, this capability is critical because adversaries constantly deploy novel waveforms, proprietary modulation schemes, and adaptive signals that will never appear in a static training corpus. A robust OSR system prevents the dangerous failure mode of confidently misclassifying a novel threat as a benign known modulation, such as mistaking a custom low-probability-of-intercept (LPI) waveform for standard QPSK.

CLASSIFICATION PARADIGM COMPARISON

Open-Set vs. Closed-Set vs. Out-of-Distribution Detection

A technical comparison of three distinct recognition paradigms for handling unknown modulation schemes in automatic modulation classification systems.

FeatureClosed-Set RecognitionOpen-Set RecognitionOut-of-Distribution Detection

Primary Objective

Classify inputs into one of K known classes

Classify known classes AND reject unknown classes

Detect inputs that deviate from training distribution

Handles Unknown Classes

Provides Known-Class Labels

Decision Boundary Type

Partitioning of entire feature space

Compact known-class regions with open background space

Density-based boundary around in-distribution data

Typical Output

Softmax over K classes

Softmax over K+1 classes or class-conditional rejection score

Anomaly score or binary in/out decision

Training Data Requirement

Balanced samples from all K classes

Samples from K known classes only

In-distribution samples only (no outliers required)

Rejection Mechanism

None (forced classification)

Explicit unknown class or threshold on confidence

Statistical distance or density threshold

False Positive Risk on Unknowns

100% (always misclassifies)

Configurable via rejection threshold

Configurable via detection threshold

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.