C-parameter version of robust bounded one-class support vector classification

Junyou Ye, Zhixia Yang, Yi-Xiao Hu, Zheng ZhangScientific 2025

Abstract

$\nu$-one-class support vector classification ($\nu$-OCSVC) has garnered significant attention for its remarkable performance in handling single-class classification and anomaly detection. Nonetheless, the model does not yield a unique decision boundary, and potentially compromises learning performance when the training data is contaminated by some outliers or mislabeled observations. This paper presents a novel C-parameter version of bounded one-class support vector classification (C-BOCSVC) to determine a unique decision boundary. The distance from the origin to decision boundary is the geometrical margin in the space $\mathbb{R}^{n+1}$ (higher 1-dimension than feature space), and its maximization corresponds to the structural risk minimization (SRM) principle inscribed by an $L_2$-norm regularization term both on the normal direction and bias of the decision boundary. To enhance the anti-noise and anti-outlier abilities of C-BOCSVC, the alternative robust version (C-RBOCSVC) is also developed, which incorporates the k-nearest neighbor relative density to assign varying weights to observations and mitigate the negative impact of outliers on the optimal decision boundary.

Introduction

One-class classification (OCC) is a critical task in machine learning, particularly for applications like fraud detection, medical diagnosis, and system monitoring where only "normal" data is readily available. The $\nu$-one-class support vector classifier ($\nu$-OCSVC) has long been the standard tool for these tasks. However, it suffers from two primary drawbacks: the non-uniqueness of the decision boundary bias and a high sensitivity to noise or outliers in the training set. This paper introduces C-BOCSVC and its robust counterpart, C-RBOCSVC, to address these fundamental limitations.

Methodology

C-BOCSVC: Ensuring Uniqueness

The core innovation of C-BOCSVC is the inclusion of an $L_2$-norm regularization term for the bias ($b$) in addition to the normal direction ($w$). Geometrically, this approach interprets the decision boundary in a space one dimension higher than the original feature space. This formulation transforms the optimization into a strongly convex quadratic programming problem, which guarantees a unique global solution.

Geometric comparison of ν-OCSVC and C-BOCSVC. Subfigure (b) illustrates the higher-dimensional space where the unique boundary is determined.

C-RBOCSVC: Robustness through Density Weighting

To mitigate the impact of "dirty" data, the authors developed C-RBOCSVC. This model employs a $k$-nearest neighbor ($k$-NN) relative density weighting scheme. Observations in high-density regions—typical of the target class—are assigned higher weights, while those in low-density regions—likely outliers—receive weights near zero. This allows the model to effectively ignore outliers during the training process, leading to a more accurate and stable decision boundary.

Illustration of k-nearest neighbor relative density. Outliers exhibit significantly lower relative density as the compression factor increases, allowing for effective weighting.

Experimental Results

The proposed models were evaluated against state-of-the-art classifiers across various datasets:

  • UCI Benchmarks: Across 14 standard datasets, C-BOCSVC showed superior performance on clean data, while C-RBOCSVC consistently outperformed competitors on contaminated data (10% outliers).
  • Computational Efficiency: C-BOCSVC often proved faster than $\nu$-OCSVC because the unique global solution eliminates the need for the secondary search for support vectors typically required to determine the bias.
  • Real-World Application: In a pneumonia detection task using Chest X-Ray images, C-RBOCSVC maintained high accuracy even when the training set was intentionally mislabeled, whereas standard models like SVDD and $\nu$-OCSVC experienced significant performance drops.

Conclusion

C-BOCSVC and C-RBOCSVC provide a more reliable and robust framework for one-class classification. By ensuring a unique decision boundary and incorporating density-based weighting, these models overcome the traditional weaknesses of $\nu$-OCSVC. Future work may explore adaptive weighting schemes and sparse regularization to further enhance performance in high-dimensional and dynamic environments.

Summary updated

BibTeX
@inproceedings{ye2025c,
  author = {Junyou Ye and Zhixia Yang and Yi-Xiao Hu and Zheng Zhang},
  title = {{C-parameter version of robust bounded one-class support vector classification}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-85151-7},
}
Figure