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.
Glossary
One-Class SVM

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
One-Class SVM is a foundational algorithm for novelty detection. The following concepts represent the modern deep learning extensions and statistical frameworks that build upon its core principle of defining a boundary around normal data.
Deep SVDD
The direct neural network successor to One-Class SVM. Instead of using a kernel to map data, Deep SVDD trains a neural network to map normal samples into a minimal-volume hypersphere. The network learns to extract features that minimize the radius of the enclosing sphere, treating points far from the center as anomalies. This eliminates the need for manual kernel engineering.
Out-of-Distribution Detection
The specific task of identifying inputs that fall outside the training manifold. While One-Class SVM uses a geometric boundary, modern OOD detection employs:
- Energy-Based Models assigning low energy to in-distribution data
- Mahalanobis Distance in feature space with class-conditional Gaussian fits
- Monte Carlo Dropout to estimate epistemic uncertainty at inference time
Extreme Value Theory (EVT)
The statistical foundation for calibrating rejection thresholds in open set systems. EVT models the distribution of extreme events—the tail of the distance distribution from the decision boundary. The OpenMax algorithm uses Weibull calibration on EVT to replace SoftMax probabilities with an explicit unknown class probability, providing a rigorous alternative to One-Class SVM's hinge-based boundary.
Contrastive Learning
A self-supervised representation learning framework that creates embeddings ideal for open set rejection. Contrastive Learning pulls samples from the same emitter together and pushes dissimilar emitters apart. Combined with Angular Margin Losses like ArcFace, this produces highly discriminative feature spaces where unknown emitters naturally fall into low-density regions far from known class prototypes.
Conformal Prediction
A distribution-free statistical framework that provides rigorous guarantees for unknown class rejection. Unlike One-Class SVM's fixed boundary, Conformal Prediction produces prediction sets with a guaranteed marginal coverage probability (e.g., 95%). For emitter recognition, this means the system can provably bound the false acceptance rate of unknown devices without assumptions about the data distribution.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us