A One-Class SVM is an unsupervised learning algorithm that learns a decision function for novelty detection by fitting a hyper-sphere or hyper-plane around the majority of the training data in a high-dimensional feature space. Unlike standard binary SVMs, it requires only a single class of 'normal' examples during training, making it ideal for scenarios where anomalies are rare, costly to obtain, or undefined. The algorithm's core objective is to separate the normal data distribution from the origin, maximizing the margin between the origin and the learned boundary.
Glossary
One-Class SVM

What is One-Class SVM?
A support vector machine variant trained exclusively on 'normal' data to learn a tight decision boundary, classifying any point outside this boundary as an anomaly or novelty.
The model is governed by the hyperparameter ν (nu), which sets an upper bound on the fraction of training errors and a lower bound on the fraction of support vectors. By applying a kernel trick—such as the Radial Basis Function (RBF) kernel—the One-Class SVM can capture complex, non-linear boundaries in the original input space. In network telemetry, it is deployed to model baseline KPI behavior, flagging subtle deviations in metrics like latency or throughput that signal a contextual anomaly without requiring a pre-labeled catalog of failure modes.
Key Characteristics
One-Class SVM learns a decision boundary around the 'normal' class, treating everything outside as an anomaly. This makes it uniquely suited for scenarios where anomalies are rare, undefined, or too costly to simulate.
The Core Principle: Origin Separation
The algorithm maps input data into a high-dimensional feature space and finds a hyperplane that maximally separates the training data from the origin. It treats the origin as the only representative of the anomaly class. The optimization objective is to find a small region in feature space that contains most of the training data, controlled by the nu (ν) parameter, which sets an upper bound on the fraction of training errors and a lower bound on the fraction of support vectors.
The Kernel Trick for Non-Linear Boundaries
Real-world network telemetry is rarely linearly separable. One-Class SVM uses kernel functions to implicitly project data into a higher-dimensional space without computing the coordinates. The Radial Basis Function (RBF) kernel is the most common choice, as it can model tight, non-convex boundaries around complex normal data distributions. The gamma (γ) parameter defines how far the influence of a single training example reaches; a low gamma creates a smooth, generalized boundary, while a high gamma risks overfitting to noise.
Training on Pristine Data Only
A critical operational requirement is that the training dataset must be clean and representative of normal behavior. Any anomalies present in the training set will be learned as 'normal,' permanently blinding the model to that type of fault. This contrasts with supervised methods and makes One-Class SVM ideal for novelty detection in controlled environments like a newly commissioned 5G cell site, where a baseline of fault-free performance counters can be established before anomalies appear.
Decision Function and Anomaly Scoring
During inference, the model computes a signed distance from each new data point to the separating hyperplane. A negative score indicates the point is outside the learned boundary and is flagged as an anomaly. The magnitude of the score can serve as a continuous anomaly severity metric, allowing operations teams to prioritize alerts. This is more informative than a simple binary label, enabling dynamic thresholding based on operational context.
Sensitivity Control via Nu Parameter
The nu (ν) parameter is the primary tuning knob for model sensitivity. It accepts values between 0 and 1. A lower ν (e.g., 0.01) forces a tighter boundary, accepting fewer training points as normal and potentially increasing false positives. A higher ν (e.g., 0.1) allows more training points inside the boundary, increasing the model's tolerance to variance but risking false negatives. This parameter directly maps to the expected fraction of outliers in the training set.
Computational Complexity and Scalability
The standard One-Class SVM has a training time complexity between O(n²) and O(n³), where n is the number of training samples, making it challenging for massive, high-velocity telemetry streams. However, the model is defined only by its support vectors—the few training points that lie on or outside the margin. Inference is therefore very fast, scaling linearly with the number of support vectors. For large-scale RAN deployments, linear kernel approximations or incremental learning variants are often preferred.
Frequently Asked Questions
Explore the core mechanics and practical applications of the One-Class Support Vector Machine, a foundational algorithm for unsupervised anomaly and novelty detection in high-dimensional network telemetry.
A One-Class Support Vector Machine (OC-SVM) is an unsupervised learning algorithm trained exclusively on 'normal' data to learn a decision boundary that encapsulates the majority of the data points in a high-dimensional feature space. Unlike traditional binary SVMs that separate two classes, the OC-SVM's objective is to separate the entire training set from the origin. It achieves this by finding a maximal-margin hyperplane that maximizes the distance between the origin and the projected data. The algorithm maps input data into a feature space via a kernel function (typically a Radial Basis Function (RBF) kernel) and then constructs a boundary such that most of the training points lie on one side. A new data point is classified as an anomaly if it falls on the origin side of this hyperplane, meaning it lies outside the learned 'normal' region. 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 setting the expected outlier ratio.
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 within a broader toolkit of techniques for identifying rare events. The following concepts are essential for understanding its application in network telemetry.
Novelty Detection
The specific machine learning task that One-Class SVM is designed to solve. The model is trained exclusively on a clean dataset of 'normal' operating states. Its goal is to determine if a new, unseen observation belongs to the same distribution or is an outlier. This differs from outlier detection, which often involves identifying anomalies within a contaminated training set. In network telemetry, novelty detection is ideal for identifying previously unknown fault signatures.
Isolation Forest
An alternative unsupervised algorithm that takes a fundamentally different approach. Instead of learning a boundary around normal data, it explicitly isolates anomalies by randomly partitioning the feature space. Anomalies, being 'few and different,' require fewer random splits to be isolated. This method is often computationally faster than One-Class SVM on high-dimensional telemetry data and does not require kernel trick optimization.
Autoencoder
A neural network architecture that serves as a deep learning alternative to One-Class SVM. It compresses input data into a lower-dimensional latent space and then reconstructs it. The core principle is that the network learns only the patterns of normal data. An anomaly is flagged when the reconstruction error—the difference between the input and output—exceeds a set threshold, indicating the data does not conform to learned normality.
Support Vector Machine (SVM)
The supervised predecessor from which One-Class SVM is derived. A standard SVM finds a maximum-margin hyperplane that separates two or more classes. One-Class SVM adapts this by finding a hyperplane that separates the entire training dataset from the origin in a high-dimensional feature space, effectively creating a tight boundary around the 'normal' class without needing negative examples.
Kernel Trick
A mathematical technique critical to One-Class SVM's power. It implicitly maps data into a high-dimensional feature space without explicitly computing the coordinates, allowing the algorithm to find complex, non-linear decision boundaries. The Radial Basis Function (RBF) kernel is the most common choice for network telemetry, as it can model the intricate, non-linear relationships of performance management counters.
Concept Drift
A production challenge that directly impacts One-Class SVM models. It occurs when the statistical properties of 'normal' network behavior change over time due to software upgrades or traffic pattern shifts. A static One-Class SVM boundary will become stale, generating false positives. Continuous monitoring and periodic retraining are required to adapt the model to the new normal state.

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