Papers
Topics
Authors
Recent
Search
2000 character limit reached

Weighted Minkowski Distance

Updated 1 June 2026
  • Weighted Minkowski Distance is a generalization of standard Minkowski norms that incorporates nonnegative, normalized weights to adjust the contribution of each feature.
  • It enables robust clustering through adaptive weight and exponent mechanisms, mitigating noisy dimensions and alleviating the curse of dimensionality.
  • Scalable implementations via explicit kernel feature mappings allow efficient computation and practical integration into advanced k-means extensions.

The weighted Minkowski distance is a generalization of the standard Minkowski (or LpL_p) norms that introduces nonnegative, typically normalized, weight parameters—one per feature dimension or coordinate—to modulate the contribution of each feature when computing inter-point distances. It is central to modern clustering algorithms where features vary significantly in relevance or noise characteristics and is especially prominent in adaptive extensions of kk-means, both in input and (explicit) kernel-induced feature spaces (Aradnia et al., 2020, Amorim et al., 26 Mar 2026). This distance, parametrized by weights w=(w1,,wd)w = (w_1, \ldots, w_d) and exponent p>0p>0, interpolates between selective and uniform feature usage, enables robust clustering, and can alleviate the “curse of dimensionality” via fractional norms and power-mean aggregation mechanisms.

1. Mathematical Definition and Norm Properties

Let x,yRdx, y \in \mathbb{R}^d and w=(w1,,wd)w=(w_1,\dots,w_d) be a vector of nonnegative feature weights summing to one. The weighted Minkowski distance of order p>0p>0 is

dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.

In feature spaces induced by explicit (approximate) kernel mappings ϕ:RDRD\phi: \mathbb{R}^D \to \mathbb{R}^{D'}, the distance is

Dw,p(ϕ(x),ϕ(y))=(j=1D(wj)pϕj(x)ϕj(y)p)1/p.D_{w,p}\bigl(\phi(x),\phi(y)\bigr) = \biggl(\sum_{j=1}^{D'}(w_j)^{p} |\phi_j(x) - \phi_j(y)|^p\biggr)^{1/p}.

This formulation covers the Euclidean (kk0, kk1), Manhattan (kk2), and Chebyshev (kk3) distances as special cases, but allows arbitrary exponents—including fractional kk4—and arbitrary nonnegative weights.

Weighted Minkowski distances are not metrics for all kk5; for kk6 they are quasinorms (sometimes termed “fractional norms”), lacking convexity but providing useful discriminatory power in high dimension (Aradnia et al., 2020).

2. Weight and Exponent Learning Mechanisms

Feature relevance is encoded through the kk7 weights. In clustering formulations such as Minkowski-weighted kk8-means (mwk-means) and its kernel variants, each cluster kk9 may be endowed with its own weight vector w=(w1,,wd)w = (w_1, \ldots, w_d)0. These weights are adapted in closed form in each iteration: w=(w1,,wd)w = (w_1, \ldots, w_d)1 where w=(w1,,wd)w = (w_1, \ldots, w_d)2 is within-cluster dispersion of feature w=(w1,,wd)w = (w_1, \ldots, w_d)3 (Aradnia et al., 2020). Thus, features with lower dispersion receive more weight, effectively downweighting noisy or uninformative dimensions.

The Minkowski exponent w=(w1,,wd)w = (w_1, \ldots, w_d)4 governs the selectivity versus uniformity of feature usage. Empirical or data-driven selection is achieved by maximizing the contrast w=(w1,,wd)w = (w_1, \ldots, w_d)5 or maximizing relative variance w=(w1,,wd)w = (w_1, \ldots, w_d)6, both of which often peak for w=(w1,,wd)w = (w_1, \ldots, w_d)7—sometimes even w=(w1,,wd)w = (w_1, \ldots, w_d)8 (Aradnia et al., 2020).

3. The Power-Mean Aggregation and Feature Selectivity

The weighted Minkowski clustering objective can be reformulated as a sum of power means of within-cluster dispersions: w=(w1,,wd)w = (w_1, \ldots, w_d)9 where p>0p>00 is the p>0p>01-dispersion of feature p>0p>02 in cluster p>0p>03, p>0p>04 is the power mean of order p>0p>05, and p>0p>06 (Amorim et al., 26 Mar 2026).

This structure leads to:

  • Low p>0p>07 (p>0p>08): p>0p>09 approaches x,yRdx, y \in \mathbb{R}^d0, making the objective focus on compact (informative) features, favoring sparse, selective usage.
  • Large x,yRdx, y \in \mathbb{R}^d1 (x,yRdx, y \in \mathbb{R}^d2): x,yRdx, y \in \mathbb{R}^d3 approaches the geometric or uniform mean, yielding nearly equal weighting of all features.

Suppression of noisy or high-dispersion features is explicit: for large x,yRdx, y \in \mathbb{R}^d4 relative to other x,yRdx, y \in \mathbb{R}^d5, x,yRdx, y \in \mathbb{R}^d6 tends to zero as a power law x,yRdx, y \in \mathbb{R}^d7 (Amorim et al., 26 Mar 2026).

4. Alternating Optimization in x,yRdx, y \in \mathbb{R}^d8-Means Frameworks

Clustering algorithms based on weighted Minkowski distances typically alternate three steps:

  1. Assignment: Points assigned to nearest cluster using x,yRdx, y \in \mathbb{R}^d9.
  2. Center Update: Cluster centers recomputed as Minkowski centers, minimizing w=(w1,,wd)w=(w_1,\dots,w_d)0 for each w=(w1,,wd)w=(w_1,\dots,w_d)1.
  3. Weight Update: Weights updated via w=(w1,,wd)w=(w_1,\dots,w_d)2, normalized to sum to one.

Each step strictly decreases the objective, guaranteeing convergence in a finite number of steps due to the finiteness of possible partitions (Aradnia et al., 2020, Amorim et al., 26 Mar 2026).

When implemented in explicit kernel feature spaces, the algorithm bypasses w=(w1,,wd)w=(w_1,\dots,w_d)3 kernel matrix computation by employing finite-dimensional mappings, thus scaling linearly in both w=(w1,,wd)w=(w_1,\dots,w_d)4 and w=(w1,,wd)w=(w_1,\dots,w_d)5 for distance and center computations, and enabling easy feature-weight learning (Aradnia et al., 2020).

5. Fractional Norms and Distance Concentration Effects

Distance concentration—the phenomenon wherein distances between points in high dimensions become nearly identical—can severely degrade clustering reliability. For w=(w1,,wd)w=(w_1,\dots,w_d)6, the expected contrast w=(w1,,wd)w=(w_1,\dots,w_d)7 decays as dimension increases, leading to clustering ambiguity.

By contrast, setting w=(w1,,wd)w=(w_1,\dots,w_d)8 (especially w=(w1,,wd)w=(w_1,\dots,w_d)9) in the weighted Minkowski norm reverses this trend: the contrast grows as p>0p>00, enhancing discrimination between clusters in high-dimensional regimes (Aradnia et al., 2020). This adjustable discrimination is a principal reason for the revival of non-Euclidean, and fractional, norms in modern unsupervised learning.

6. Theoretical Guarantees and Suppression of Noisy Features

The power-mean structure allows precise theoretical bounds: p>0p>01 and for the weighted clustering objective,

p>0p>02

(Amorim et al., 26 Mar 2026). As p>0p>03, noisy features are assigned vanishingly small weights; as p>0p>04, weights approach equality, sacrificing selective suppression. Therefore, weighted Minkowski clustering provides explicit, parameter-controlled guarantees on noise and outlier feature suppression.

7. Computational Benefits via Explicit Feature Mapping

In kernelized p>0p>05-means, direct computation of the Gram matrix for p>0p>06 samples incurs p>0p>07 memory and time per iteration. Replacing implicit kernels with explicit, approximate finite-dimensional feature maps (e.g., via Fourier series sampling for homogeneous additive kernels) yields embeddings p>0p>08 that satisfy p>0p>09, reducing memory to dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.0 and per-distance computation to dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.1 (Aradnia et al., 2020). This enables scalability to large datasets while allowing for explicit feature weighting and integration of advanced dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.2-means extensions in the transformed space.

Algorithm Memory Complexity Distance Computation Weight Learning
Kernel dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.3-means dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.4 dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.5 Indirect
Explicit KMWK-means dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.6 dp,w(x,y)=(j=1dwjxjyjp)1/p.d_{p,w}(x,y) = \left( \sum_{j=1}^d w_j\,|x_j-y_j|^p \right)^{1/p}.7 Direct (vector)

This choice yields efficient clustering, robust selectivity through the weight/exponent mechanism, and practical applicability to nonlinearly separable or high-dimensional data (Aradnia et al., 2020).


Weighted Minkowski distances, through adaptable exponents and learned weights, offer a unified and theoretically grounded extension to classical distance measures—supporting robust, interpretable, and scalable unsupervised learning both in the original and kernel-embedded feature domains.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Weighted Minkowski Distance.