Abstract
The Weber location problem is a fundamental challenge in geometry and statistics, particularly for robust estimation using the $q$-th power of Euclidean distances ($1 \le q < 2$). However, standard iterative methods often fail due to mathematical singularities at data points. This paper presents the $q$-th Power Weiszfeld Algorithm without Singularity (qPWAWS), a novel approach that employs a de-singularity subgradient to effectively bypass these points. We provide the first complete proof of convergence for such an approach and demonstrate its superior performance in real-world applications, specifically in online portfolio selection.
Introduction
The Weber location problem seeks to find a point that minimizes the weighted sum of distances to a set of given points. When utilizing the $q$-th power of Euclidean distances with $1 \le q < 2$, the problem becomes highly robust against outliers compared to the standard squared distance ($q=2$). However, a significant mathematical hurdle arises: the gradient of the cost function is undefined (singular) at the locations of the data points.
As illustrated in Figure 2, standard algorithms like the Weiszfeld method can become "trapped" at these singular points if they are not the global minimum, as the gradient provides no direction for further movement. This "singularity trap" has been a known issue for decades, often leading to sub-optimal solutions in practical applications.
Methodology: The qPWAWS Algorithm
To address the singularity issue, we propose the $q$-th Power Weiszfeld Algorithm without Singularity (qPWAWS). The core of our method lies in two primary innovations: the de-singularity subgradient and an adaptive step size mechanism.
De-singularity Subgradient
When the current iterate $y$ coincides with a data point $x_k$, the traditional gradient $\nabla C_q(y)$ is singular. We define a "de-singularity subgradient" by mathematically isolating and removing the singular term associated with $x_k$. This allows us to calculate a "resultant force" from all other data points in the set.
As shown in Figure 4, this resultant force $-\nabla D_q(x_k)$ provides a valid descent direction, effectively "dragging" the iterate away from the singularity and towards the true minimum. By combining this with an adaptive step size mechanism, qPWAWS ensures continuous descent of the cost function even when hitting a data point.
Convergence and Complexity
We provide a rigorous proof of convergence for qPWAWS, filling long-standing gaps in the literature since the 1970s. Furthermore, we prove that the algorithm achieves superlinear convergence when the global minimum is itself a singular point for $1 < q < 2$, meaning it accelerates as it approaches the solution.
Experimental Results
We evaluated qPWAWS on two real-world financial datasets for Online Portfolio Selection (OPS): the classic NYSE(N) dataset and a new CSI300 dataset containing 47 stocks from the Shanghai and Shenzhen Stock Exchanges.
Our results indicate that the "sweet spot" for the parameter $q$ often lies between 1 and 2 (e.g., $q=1.3$ or $q=1.6$), providing a better balance between robustness and efficiency than the standard median ($q=1$) or mean ($q=2$). In practical tests, qPWAWS successfully escaped singular traps where traditional methods failed, requiring an average of only 2.75 iterations to move past a singularity. This led to higher Cumulative Wealth and better Sharpe Ratios compared to traditional models.
Conclusion
The qPWAWS algorithm offers a robust and theoretically sound solution to the singularity problem in the extended Weber location problem. By leveraging the de-singularity subgradient, it ensures convergence and improves performance in critical applications like financial portfolio management. Future work will explore extending this framework to $L_p$-norms and manifold optimization.
Summary updated