Granular Ball Support Vector Regression (GBSVR)
- Granular Ball Support Vector Regression (GBSVR) is a framework that replaces raw data points with compact granular balls to improve SVR efficiency and robustness.
- It employs a top-down splitting strategy with quantile-based discretization to generate granular balls characterized by centroids, radii, and aggregated labels.
- GBSVR reduces quadratic programming complexity from O(m³) to O(n³) and shows enhanced R² and RMSE performance across synthetic, benchmark, and real-world forecasting tasks.
Granular Ball Support Vector Regression (GBSVR) is a machine learning framework for regression that integrates the granular ball data summarization paradigm with support vector regression (SVR) to address the high computational cost and outlier sensitivity inherent in traditional SVR, particularly for large-scale and noisy datasets. GBSVR replaces raw data points with a compact representation via granular balls, each characterized by a centroid, a radius, and an aggregated label, enabling more efficient quadratic programming, reduced memory usage, and enhanced robustness to outliers by leveraging group-level information (Rastogi et al., 13 Mar 2025).
1. Definition and Construction of Granular Balls
A granular ball, denoted , provides a compact summary of a subset of the input space. Given , a granular ball centered at with radius is defined as
In the GBSVR framework, each ball not only clusters proximal data points but is also attached a "ball-label" , computed as the average response of its constituent points.
The generation of granular balls proceeds by a top-down splitting strategy governed by a regression-purity metric. Since the regression targets are continuous, they are first discretized into quantiles, assigning each sample a label in . For any candidate ball 0, define
1
Splitting continues until all balls satisfy a purity threshold 2 and a minimum cardinality 3. Splitting is performed via K-means with 4, recalculating centroids 5, radii 6, and ball-labels 7 at each step.
2. Discretization and Ball-Generation Process
Discretization is essential for quantifying regression purity. The target values 8 are sorted, cut-points are defined at 9-th quantiles for 0, and each 1 is assigned an interval label 2. This quantile-based discretization ensures approximately uniform label distributions, supporting effective purity evaluation during ball construction.
The granular regression ball generation process is summarized as follows:
- Assign quantile labels to 3.
- Initialize a single ball covering all data.
- Iteratively split any ball with insufficient purity or too few samples using 4-means, updating 5 and 6.
- Terminate when all final balls satisfy purity and cardinality criteria.
3. Integration of Granular Balls into SVR
After grouping, the data is represented as 7 granular balls 8. SVR now operates on these representatives, not the original dataset. For classical 9-SVR, the constraints for a data point 0 are
1
For a granular ball 2, the constraint considers the furthest member along the normal direction, yielding
3
and so the SVR constraints become: \begin{align} |w| r_i + \hat{y}_i - w \cdot c_i - b &\le \epsilon + \xi_i, \ w \cdot c_i + b - \hat{y}_i - |w| r_i &\le \epsilon + \xi_i*. \end{align}
The primal GBSVR formulation is: 4 The dual introduces Lagrange multipliers 5, yielding the following: 6 with the dual objective
7
4. End-to-End Algorithmic Workflow
The GBSVR methodology consists of the following workflow:
- Input data 8.
- Discretize response values 9 into 0 quantile intervals.
- Generate granular regression balls 1.
- Select SVR hyperparameters: 2 (tube width), 3 (regularization), and kernel 4 (e.g., RBF kernel).
- Solve the dual quadratic program on 5 representatives.
- Recover the model parameters 6.
- For new input 7, predict as 8.
Granular ball generation proceeds until each ball achieves purity at least 9 and cardinality at least 0. Model training concludes once the dual optimization reaches standard SVR convergence thresholds.
5. Computational Complexity Considerations
Traditional 1-SVR on 2 datapoints solves a quadratic program (QP) of size 3, requiring 4 time and 5 memory. In GBSVR, the problem is reduced to 6 representatives, so the QP is 7, resulting in 8 time and 9 memory. Given that 0, this confers a theoretical and practical complexity reduction on the order of 1, with empirical results often yielding an order-of-magnitude improvement in runtime (Rastogi et al., 13 Mar 2025).
6. Empirical Evaluation and Results
GBSVR demonstrates robust performance across synthetic, benchmark, and real-world forecasting tasks. Experiments employ 5-fold cross-validation and RBF kernels.
- On synthetic datasets (e.g., 2 and 3 with heteroscedastic Gaussian and uniform noise), GBSVR achieves up to 1–2% higher 4 and 10–20% lower RMSE compared to SVR/NuSVR.
- UCI benchmarks (AutoMPG, Servo, Yacht, Machine, etc.) report the following representative compression rates:
| Dataset | Samples × Features | # Granular Balls |
|---|---|---|
| Real Estate Valuation | 414 × 6 | 147 |
| AutoMPG | 392 × 7 | 137 |
| Autos | 159 × 25 | 59 |
| Servo | 167 × 4 | 56 |
| Yacht | 308 × 6 | 56 |
| Machine | 209 × 7 | 74 |
GBSVR yields the highest 5 (e.g., improvements of 0.05–0.10), lowest error metrics, and %%%%59260%%%% training speed-up (e.g., 1s vs. 9s on Servo).
- In stock price forecasting (Apple, Google, NVIDIA, Tesla; 5-day sliding window), for example, GBSVR on Apple yields 8 (vs. 0.9782 for SVR, 0.9784 for NuSVR) and MAE of 0.0623 (compared to 0.0710/0.0737).
- For short-term wind speed forecasting (36,000 samples, sliding window), GBSVR delivers (30-min horizon) 9 vs. 0.8006 (SVR), RMSE 0.2917 vs. 0.3106, and (20-min horizon) 0 vs. 0.8091, RMSE 0.2633 vs. 0.2973.
In all scenarios, GBSVR outperforms classical SVR and NuSVR with respect to both predictive accuracy and computational efficiency, attributable to its ability to compress the data through granular balls and to mitigate the impact of outliers (Rastogi et al., 13 Mar 2025).