Oversampling Divide-and-conquer for Response-skewed Kernel Ridge Regression

Jingyi Zhang, Xiaoxiao Sun · DOI

Abstract

The divide-and-conquer method has been widely used for estimating large-scale kernel ridge regression estimates. Unfortunately, when the response variable is highly skewed, the divide-and-conquer kernel ridge regression (dacKRR) may overlook the underrepresented region and result in unacceptable results. We combine a novel response-adaptive partition strategy with the oversampling technique synergistically to overcome the limitation. Through the proposed novel algorithm, we allocate some carefully identified informative observations to multiple nodes (local processors). Although the oversampling technique has been widely used for addressing discrete label skewness, extending it to the dacKRR setting is nontrivial. We provide both theoretical and practical guidance on how to effectively over-sample the observations under the dacKRR setting. Furthermore, we show the proposed estimate has a smaller risk than that of the classical dacKRR estimate under mild conditions. Our theoretical findings are supported by both simulated and real-data analyses.

The Challenge of Response Skewness in Distributed Learning

Kernel Ridge Regression (KRR) is a cornerstone of non-parametric modeling, prized for its flexibility. However, its computational cost scales cubically with the number of samples ($O(N^3)$), making it impractical for large datasets. The standard solution is the divide-and-conquer approach (dacKRR), which partitions data into $k$ chunks, processes them independently on local nodes, and averages the results.

While efficient, dacKRR relies on a critical assumption: that random partitions are representative of the global data distribution. In many high-impact domains—such as seismic monitoring, financial risk assessment, or rare disease diagnosis—the response variable ($Y$) is highly skewed. In these "response-skewed" scenarios, the most critical information often resides in rare "peaks" or outliers. Random partitioning frequently leaves local nodes with few or no samples from these informative regions. As a result, local models fail to learn the underlying signal, and the final averaged model "smooths over" the very features researchers care about most.

Classical dacKRR fails to capture the peaks of a skewed response function, resulting in a smoothed-over estimate.

Methods: Strategic Oversampling for Regression

To address this, we introduce a novel Oversampling divide-and-conquer KRR framework. Unlike traditional oversampling used in classification (like SMOTE), our method is designed for continuous regression. The workflow consists of three integrated steps:

  1. Response-Adaptive Slicing: The range of the response variable $Y$ is divided into $l$ equally-spaced intervals or "slices."
  2. Strategic Oversampling: We identify "minority" slices—those containing significantly fewer observations than the most frequent "majority" slice. Rare observations within these slices are duplicated until every slice has a comparable number of data points.
  3. Distributed Allocation & De-duplication: These balanced slices are then distributed across $k$ local nodes. To maintain statistical validity and avoid issues with data dependency, a "de-duplication" step is performed within each node before executing standard KRR.
The proposed oversampling strategy duplicates rare observations to balance slices before distributing them across nodes.

By ensuring that rare, informative signals are represented on every node, the local estimates become robust to underrepresented regions, leading to a much more accurate global model.

Key Insights and Results

Our research provides both theoretical and empirical evidence for the superiority of this approach:

  • Theoretical Risk Reduction: We mathematically prove that the oversampling estimate achieves a smaller mean squared error (risk) than classical dacKRR. Specifically, the variance term in the error bound is tightened by replacing the original sample size $N$ with an effective sample size $\tilde{N}$ derived from the oversampling process.
  • Empirical Performance: In simulations using "Uni-peak" and "Double-peak" functions, our method consistently outperformed classical dacKRR, often matching the accuracy of "Full" KRR (which uses the entire dataset at once) while maintaining the speed of distributed processing.
  • Real-World Application: Testing on the Melbourne Housing Market dataset—where luxury properties represent rare, high-value signals—demonstrated that our method significantly improves price prediction for unique homes compared to standard distributed methods.

Conclusion and Future Work

Oversampling is a powerful yet underutilized tool in the context of continuous regression and distributed learning. By intelligently duplicating informative observations, we can overcome the inherent limitations of random partitioning in skewed datasets.

Future research will explore the use of unequally-spaced slicing to further optimize the algorithm for complex distributions and investigate methods to mitigate computational overhead in cases of extreme skewness, where the total number of observations after oversampling can grow significantly.

Summary updated

Abstract

The divide-and-conquer method has been widely used for estimating large-scale kernel ridge regression estimates. Unfortunately, when the response variable is highly skewed, the divide-and-conquer kernel ridge regression (dacKRR) may overlook the underrepresented region and result in unacceptable results. We combine a novel response-adaptive partition strategy with the oversampling technique synergistically to overcome the limitation. Through the proposed novel algorithm, we allocate some carefully identified informative observations to multiple nodes (local processors). Although the oversampling technique has been widely used for addressing discrete label skewness, extending it to the dacKRR setting is nontrivial. We provide both theoretical and practical guidance on how to effectively over-sample the observations under the dacKRR setting. Furthermore, we show the proposed estimate has a smaller risk than that of the classical dacKRR estimate under mild conditions. Our theoretical findings are supported by both simulated and real-data analyses.
BibTeX
@misc{zhang2021oversampling,
  author = {Jingyi Zhang and Xiaoxiao Sun},
  title = {{Oversampling Divide-and-conquer for Response-skewed Kernel Ridge Regression}},
  year = {2021},
  eprint = {2107.05834},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.05834},
}
Figure