Improving Nonparametric Classification via Local Radial Regression with an Application to Stock Prediction

Ruixing Cao, Akifumi Okuno, Kei Nakagawa, Hidetoshi ShimodairaarXiv 2021

Abstract

Nonparametric classification methods, such as k-nearest neighbors (k-NN), are widely used due to their distribution-free nature. However, they frequently exhibit asymptotic bias as the local neighborhood size increases. While existing solutions like Local Polynomial Regression (LPoR) attempt to correct this bias, they often fall victim to the "curse of dimensionality." This paper proposes Local Radial Regression (LRR), a novel approach that reduces the dimensionality of local regression by focusing exclusively on the radial distance from a query point. We demonstrate that LRR achieves minimax optimal convergence rates and outperforms traditional methods in both synthetic benchmarks and real-world stock market trend prediction.

Introduction

In supervised classification, nonparametric estimators like k-NN and kernel smoothers are popular because they do not assume a specific functional form for the data. However, these methods suffer from a fundamental flaw: asymptotic bias. As the neighborhood around a query point grows to encompass sufficient samples, the estimator simply averages labels within that region, failing to account for how the underlying probability changes as one moves away from the center.

Existing bias-correction techniques have significant drawbacks. Local Polynomial Regression (LPoR) models bias using all available features, making it highly sensitive to the number of dimensions ($d$). Multiscale k-NN (MS-k-NN) offers a theoretical fix but involves regressing on dependent k-NN estimators, leading to mathematical complexity and potential instability.

Methodology: Local Radial Regression (LRR)

The authors introduce Local Radial Regression (LRR) and its logistic variant, Local Radial Logistic Regression (LRLR), to address these limitations. The core innovation lies in three key principles:

  1. Radial Simplification: Instead of performing regression across all $d$ dimensions, LRR focuses solely on the radial distance ($r$) between the query point and its neighbors.
  2. Raw Outcome Regression: Unlike MS-k-NN, which uses averaged k-NN values, LRR regresses on the independent raw labels ($Y$) of the neighboring points.
  3. Extrapolation: The model fits a polynomial (typically of degree 2) to these distances and extrapolates the value to $r=0$ to obtain a bias-corrected probability estimate at the query point.
Comparison of LRR with existing local regression methods.

By reducing the explanatory variable to a single dimension (distance), LRR requires significantly fewer parameters, enhancing stability in data-sparse environments. Theoretically, the paper proves that LRR achieves the minimax optimal convergence rate for $\beta$-Hölder smooth functions.

Experimental Evaluation

The researchers evaluated LRR and LRLR using both synthetic and real-world datasets.

Synthetic Data

A complex, bi-modal distribution in 3D space was used to test the models' ability to handle non-trivial local structures. LRLR achieved a concordance rate of 0.716, significantly outperforming standard k-NN (0.706) and LPoR (0.551).

Stock Market Prediction

The method was applied to monthly closing prices for eight major global indices (1989–2021), including the S&P 500, FTSE 100, DAX, TOPIX, and Hang Seng. To handle varying trading days per month, the authors employed Indexing Dynamic Time Warping (IDTW) to calculate distances between sequences.

Results and Discussion

LRLR consistently outperformed baselines (k-NN, MS-k-NN, and random chance) across most indices. In simulated trading strategies, LRLR (specifically with a weight function $w(r)=1/r$) yielded the highest cumulative returns for the S&P 500 and DAX, effectively outperforming simple buy-and-hold or standard k-NN strategies.

The success of LRR highlights several key insights:

  • Distance is Sufficient: For local bias correction, the radial distance alone captures enough information to eliminate the leading bias term, rendering the full feature direction unnecessary.
  • Independence Matters: Regressing on raw outcomes avoids the covariance issues inherent in MS-k-NN, leading to a more efficient estimator.

Conclusion

Local Radial Regression provides a robust, theoretically sound, and computationally efficient framework for nonparametric classification. While its performance is dependent on the choice of distance metric and can vary across specific markets (e.g., the Japanese TOPIX), its ability to mitigate the curse of dimensionality makes it a powerful tool for high-dimensional tasks where local structures are critical. Future work may explore its application in other sparse, high-dimensional domains.

Summary updated

BibTeX
@misc{cao2021improving,
  author = {Ruixing Cao and Akifumi Okuno and Kei Nakagawa and Hidetoshi Shimodaira},
  title = {{Improving Nonparametric Classification via Local Radial Regression with an Application to Stock Prediction}},
  year = {2021},
  eprint = {2112.13951},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.13951},
}
Figure