Abstract
The divide and conquer (D&C) strategy, which partitions massive datasets into manageable blocks and aggregates their results, is a cornerstone of modern large-scale data analysis. This paper integrates D&C with Local Average Regression (LAR) methods, such as k-Nearest Neighbors and Nadaraya-Watson, to infer relationships in massive input-output pairs. While standard D&C approaches can achieve optimal learning rates, they are often limited by a strict constraint on the number of data blocks ($m$). We analyze these limitations and propose two novel variants—Data-Dependent Parameter LAR and Qualified AVM-LAR—that significantly relax or eliminate this restriction. Theoretical analysis and experimental results on synthetic and real-world datasets, including 3D road network data, demonstrate that these variants maintain minimax optimal learning rates even when data is heavily partitioned.
Introduction
As datasets grow into the "massive" category, they frequently exceed the primary memory of single machines and become computationally prohibitive for standard global models. The Divide and Conquer (D&C) strategy has emerged as the standard solution: split the data into $m$ blocks, compute a local estimate on each, and average the results.
While D&C is well-established for global models like Kernel Ridge Regression, its application to Local Average Regression (LAR)—methods that predict values by averaging nearby data points—presents unique challenges. The primary hurdle is the "localization" property. If a dataset is split too thinly, a specific data block may contain no points near a target query. In such cases, the local estimate from that block becomes noise, which, when averaged, degrades the accuracy of the final global prediction. This paper investigates the theoretical limits of D&C for LAR and proposes methods to overcome the "$m$-restriction."
Methodology
The research evaluates three primary algorithmic frameworks for scaling LAR:
1. Standard AVM-LAR (Algorithm 1)
This serves as the baseline approach. The dataset is split into $m$ disjoint blocks. A standard LAR (such as Nadaraya-Watson) is applied to each block independently, and the final prediction is the simple arithmetic mean of these $m$ estimates.
2. Data-Dependent Parameter LAR (Algorithm 2)
Inspired by the adaptive nature of k-Nearest Neighbors (KNN), this variant adjusts the "bandwidth" (the search radius for neighbors) based on the density of each specific data block. By allowing the radius to grow in sparse blocks, the algorithm ensures that every block contributes a meaningful local estimate rather than noise.
3. Qualified AVM-LAR (Algorithm 3)
This is the paper's most significant contribution. For any given test point, the algorithm evaluates each data block. If a block contains no samples within a specified radius ($h$) of the test point, it is "disqualified" and excluded from the final average. Only "active" blocks contribute to the prediction. This counter-intuitive strategy—improving accuracy by ignoring certain data segments—prevents empty or sparse blocks from diluting the high-quality estimates of blocks with relevant local data.
Theoretical Insights: The $m$-Restriction
The authors provide rigorous mathematical proofs (Theorems 1–4) demonstrating that these modified approaches achieve the minimax optimal learning rate. A key discovery is the "$m$-restriction": in standard averaging, if the number of blocks $m$ exceeds a specific threshold, the error grows exponentially.
While Nadaraya-Watson (NWK) is highly sensitive to this restriction due to its fixed window size, KNN is naturally more robust because its window expands automatically to find a fixed number of points. The proposed Qualified AVM-LAR effectively brings this robustness to a wider range of LAR methods, allowing for massive parallelization without loss of accuracy.
Experimental Results
The theoretical assertions were validated through both synthetic simulations and real-world applications.
- Synthetic Simulations: Using Wendland functions to simulate smooth surfaces with Gaussian noise, the authors tested the algorithms in 1D and 5D spaces. The results confirmed that the proposed variants maintain stability as dimensionality and the number of blocks increase.
- 3D Road Network Data: The algorithms were applied to a dataset from North Jutland, Denmark, containing over 414,000 points to predict elevation based on spatial coordinates. As the number of blocks ($m$) increased to 1024, the error of the standard AVM-LAR increased more than tenfold (from ~25 to ~350). Conversely, the Qualified AVM-LAR remained stable, matching the performance of a "Global" model that processes all data simultaneously.
- Comparison with DKRR: The Qualified LAR approach demonstrated superior stability compared to Divide and Conquer Kernel Ridge Regression (DKRR) when the data was partitioned into very small, numerous pieces.
Conclusion
This research demonstrates that local regression can be scaled to massive datasets effectively, provided the aggregation strategy accounts for the localization of data. By implementing a "qualification" check or data-dependent bandwidths, practitioners can utilize the computational benefits of divide and conquer without falling victim to the $m$-restriction. Future work may explore applying these qualification strategies to other non-parametric methods and addressing the persistent challenges of high-dimensional data.
Summary updated