Inferensys

Glossary

One-Class SVM

A support vector algorithm that learns a decision boundary surrounding the normal training data in a high-dimensional kernel space to isolate outliers and novelties.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
NOVELTY DETECTION ALGORITHM

What is One-Class SVM?

A support vector algorithm that learns a decision boundary surrounding the normal training data in a high-dimensional kernel space to isolate outliers and novelties.

A One-Class SVM is an unsupervised learning algorithm that estimates the support of a data distribution to perform novelty detection. Unlike standard binary classifiers, it is trained exclusively on 'normal' data and learns a decision function that is positive in a dense region capturing most of the training points, and negative elsewhere. The algorithm implicitly maps input vectors into a high-dimensional feature space via a kernel function and iteratively finds the maximal-margin hyperplane that best separates the training set from the origin.

The model's behavior is governed by the nu parameter, an upper bound on the fraction of training errors and a lower bound on the fraction of support vectors. By projecting new samples into the same kernel space, the One-Class SVM computes a signed distance to the separating hyperplane; negative scores flag out-of-distribution or anomalous emitters. This makes it a foundational technique in open set emitter recognition for rejecting unknown transmitters whose hardware impairments fall outside the learned boundary.

CORE MECHANISMS

Key Features of One-Class SVM

One-Class SVM learns a compact decision boundary around normal training data in a high-dimensional kernel space, enabling robust novelty detection without requiring labeled anomalies.

01

Origin Separation via Hyperplane

The algorithm maps data into a kernel feature space and constructs a maximal-margin hyperplane that separates the training data from the origin. The ν (nu) parameter controls the upper bound on the fraction of training errors and the lower bound on the fraction of support vectors, effectively tuning the model's sensitivity to outliers. Points falling on the origin side of the hyperplane are classified as anomalies.

ν ∈ (0,1]
Nu Parameter Range
02

Kernel Trick for Complex Boundaries

One-Class SVM employs kernel functions to implicitly project data into high-dimensional spaces where complex, non-linear decision boundaries become linearly separable. Common kernels include:

  • RBF (Radial Basis Function): Captures localized, spherical boundaries around normal clusters
  • Polynomial Kernel: Models higher-order feature interactions
  • Sigmoid Kernel: Approximates neural network activation behavior The choice of kernel and its hyperparameters (e.g., γ in RBF) critically determines the granularity of the learned boundary.
RBF
Most Common Kernel
03

Support Vectors Define the Boundary

Only a subset of training points—the support vectors—define the decision boundary. These are the data points lying exactly on or within the margin. The model's complexity and memory footprint are proportional to the number of support vectors, not the total training set size. In open set emitter recognition, support vectors represent the most characteristic or borderline examples of a known transmitter's fingerprint, enabling efficient inference on resource-constrained edge devices.

Sparse
Model Representation
04

Dual Formulation and Optimization

The optimization problem is solved in its Lagrangian dual form, which expresses the decision function solely in terms of inner products between data points. This dual formulation enables the kernel trick and transforms the problem into a convex quadratic programming task with a single global minimum—guaranteeing reproducibility. The Sequential Minimal Optimization (SMO) algorithm is commonly used to efficiently solve this dual problem by decomposing it into the smallest possible sub-problems.

Convex
Optimization Landscape
05

Decision Function and Anomaly Scoring

The learned model outputs a real-valued decision score for each test sample, not just a binary label. The sign of the decision function indicates class membership (positive for normal, negative for anomaly), while the magnitude reflects the distance from the boundary. This continuous score is invaluable for open set emitter recognition, as it allows operators to set calibrated rejection thresholds based on Extreme Value Theory (EVT) or operational risk tolerance, rather than relying on a hard binary cutoff.

Continuous
Score Type
06

Robustness to Imbalanced Data

Unlike binary classifiers that require both positive and negative examples, One-Class SVM is trained exclusively on normal class samples. This makes it inherently robust to severe class imbalance—a critical advantage in emitter recognition where comprehensive libraries of adversary or unknown device signatures are unavailable by definition. The model does not require assumptions about the distribution or prevalence of anomalies, making it ideal for open set recognition scenarios where the space of unknowns is unbounded.

No Anomalies
Training Requirement
ONE-CLASS SVM

Frequently Asked Questions

Clear, technically precise answers to common questions about the One-Class Support Vector Machine algorithm and its role in open set emitter recognition and anomaly detection.

A One-Class Support Vector Machine (OC-SVM) is an unsupervised learning algorithm that learns a decision boundary surrounding the normal training data in a high-dimensional kernel space to isolate outliers and novelties. Unlike standard binary SVMs that separate two classes with a maximum-margin hyperplane, the OC-SVM separates the entire training dataset from the origin. The algorithm maps input data into a feature space via a kernel function—typically a Radial Basis Function (RBF) kernel—and finds a hyperplane that maximizes the margin between the origin and the mapped data points. The key hyperparameter ν (nu) controls the upper bound on the fraction of training errors and the lower bound on the fraction of support vectors, effectively tuning the model's sensitivity to outliers. During inference, new samples are scored by their signed distance from the separating hyperplane; negative scores indicate anomalies falling on the origin side of the boundary. In the context of open set emitter recognition, an OC-SVM is trained exclusively on feature embeddings from known authorized transmitters, and any emitter whose embedding falls outside the learned boundary is flagged as an unknown or potentially hostile device.

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.