Inferensys

Glossary

Open Set Recognition

A classification paradigm where a model must accurately identify known, enrolled devices while simultaneously detecting and rejecting any previously unseen, unknown, or rogue emitters as an 'unknown' class.
Engineer deploying small language model to edge device, IoT sensor visible on desk, technical hardware setup in bright workspace.
CLASSIFICATION PARADIGM

What is Open Set Recognition?

A classification paradigm where a model must accurately identify known, enrolled devices while simultaneously detecting and rejecting any previously unseen, unknown, or rogue emitters as an 'unknown' class.

Open Set Recognition (OSR) is a classification paradigm where a model must accurately identify known, enrolled device classes while simultaneously detecting and rejecting any previously unseen, unknown, or rogue emitters by assigning them to an 'unknown' class. Unlike traditional closed-set classification, which forcibly maps every input to one of the known classes, OSR operates under the realistic assumption that the model will encounter novel signals from devices it was never trained on.

In RF fingerprinting, OSR is critical for physical layer security because an authentication system must not only verify legitimate transmitters but also flag zero-day spoofing attacks and unauthorized radios. This is typically achieved by learning a discriminative embedding space where known device clusters are compact, and a rejection boundary is established using techniques like OpenMax or Extreme Value Theory (EVT) to model the probability that a sample belongs to an unknown distribution.

BEYOND CLOSED-SET CLASSIFICATION

Core Characteristics of Open Set Recognition

Open Set Recognition (OSR) extends traditional classification by requiring models to operate in the real world where unknown, never-before-seen emitters constantly appear. Unlike closed-set systems that forcibly map every input to a known class, OSR systems must simultaneously identify known devices and reject unknown imposters.

01

Open Space Risk Management

The fundamental challenge of OSR is formally bounding open space risk—the measurable danger of labeling an unknown input as known. A robust OSR model must define a compact abatement probability for each known class, ensuring that feature space far from any training sample is labeled 'unknown' rather than incorrectly assigned to the nearest known emitter. This is achieved through techniques like extreme value theory to model the boundary between known and unknown space.

02

Discriminative Feature Embedding

OSR systems rely on learning a latent representation where known classes form tight, separable clusters with significant inter-class margins. The empty space between clusters becomes the unknown rejection zone. Key techniques include:

  • Center loss to minimize intra-class variance
  • Angular margin penalties to maximize inter-class separation
  • Contrastive learning to explicitly push unknown-like samples away from known centroids
03

Thresholding on Activation Statistics

Rather than relying solely on the maximum softmax probability—which is notoriously unreliable for unknown inputs—modern OSR systems apply calibrated thresholds to activation statistics. Common approaches include:

  • Energy-based scores derived from logit magnitudes
  • Mahalanobis distance from class-conditional Gaussian fits in feature space
  • OpenMax, which recalibrates softmax scores using a Weibull distribution fitted to extreme distances per class
04

Novelty Detection vs. Open Set Recognition

While related, these paradigms differ critically:

  • Novelty Detection: Assumes only normal data during training; detects any deviation as novel. No multi-class discrimination.
  • Open Set Recognition: Trains on multiple known classes and must simultaneously perform fine-grained classification of knowns while rejecting unknowns. This dual objective makes OSR significantly more challenging and directly applicable to RF emitter identification where many legitimate devices must be distinguished from rogue transmitters.
05

Evaluation Metrics Beyond Accuracy

Closed-set accuracy is dangerously misleading for OSR. Proper evaluation requires:

  • Open Set Classification Rate (OSCR) curves that plot correct known classification against false positive rate as threshold varies
  • Area Under the ROC Curve (AUROC) for binary known-vs-unknown detection
  • F1-score at a fixed, low false positive rate relevant to security applications
  • Closed-set accuracy on known classes only, reported separately from rejection performance
06

Generative Models for Unknown Synthesis

A powerful training strategy involves synthesizing proxy unknowns to teach the model where the open space boundary should lie. Techniques include:

  • Generative Adversarial Networks (GANs) trained to produce samples at the fringes of known class distributions
  • Manifold sampling that generates points on the learned data manifold but far from any class centroid
  • Mixup and CutMix variants that create ambiguous samples between known classes, forcing the model to assign low confidence to boundary regions
OPEN SET RECOGNITION

Frequently Asked Questions

Addressing the most critical questions about building RF fingerprinting systems that can confidently identify known devices while detecting and rejecting unknown, rogue, or spoofed emitters.

Open Set Recognition (OSR) is a classification paradigm where a machine learning model must simultaneously perform two tasks: accurately identify known, enrolled devices into their correct classes, and detect any input from a previously unseen, unknown, or rogue emitter, labeling it as 'unknown' rather than forcibly misclassifying it into a known class. In the context of RF fingerprinting, this means the system distinguishes between a legitimate, authorized transmitter and a sophisticated impersonator or a completely new device that was not present during training. This is fundamentally different from traditional 'closed set' classification, which assumes all possible classes are known during training and will always map an input to one of them, creating a critical security vulnerability. An effective OSR system builds a decision boundary that not only separates known classes but also encapsulates the 'known world' to reject anything outside it, using techniques like extreme value theory to model the distribution of known class activations and set a rejection threshold.

CLASSIFICATION PARADIGM COMPARISON

Open Set vs. Closed Set Recognition

A technical comparison of the assumptions, outputs, and operational constraints distinguishing closed set and open set classification frameworks for RF emitter identification.

FeatureClosed Set RecognitionOpen Set Recognition

World Assumption

All test classes are known and present in the training set

Unknown, novel, or rogue emitter classes may appear during inference

Output Space

Fixed set of K known classes

K known classes + 1 'unknown' rejection class

Decision Boundary Type

Partitioning boundaries between known classes only

Closed boundaries around each known class with open space risk management

Unknown Emitter Handling

Rogue Device Detection

Typical ROC Metric

Top-1 Classification Accuracy

Area Under ROC Curve (AUROC) with open-set F1

Primary Risk

Misclassifying one known emitter as another

Falsely accepting an unknown emitter as a known, authorized device

Thresholding Mechanism

Softmax probability maximum

OpenMax, EVM, or distance-based rejection score

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.