NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

EPTAS for k-means Clustering of Affine Subspaces

Eduard Eiben, Fedor V. Fomin, Petr A. Golovach, William Lochet, Fahad Panolan, Kirill Simonov

This paper, titled "EPTAS for $k$-means Clustering of Affine Subspaces," presents a significant theoretical breakthrough in handling incomplete data within one of machine learning's most fundamental tasks: clustering.

TL;DR

The authors provide the first Efficient Polynomial Time Approximation Scheme (EPTAS) for $k$-means clustering when data points have missing entries. By modeling incomplete data as axis-parallel affine subspaces, they overcome the lack of a triangle inequality to achieve a $(1+\epsilon)$-approximation in time that scales quadratically with the number of points but exponentially with the number of clusters and missing dimensions.

What Problem Does This Paper Address?

In real-world datasets, it is common for features to be missing or corrupted. Standard $k$-means clustering assumes every data point is a fully specified vector in $\mathbb{R}^d$. When entries are missing, a "point" effectively becomes a $\Delta$-point: an axis-parallel affine subspace of dimension $\Delta$ (where $\Delta$ is the number of missing coordinates).

The challenge is that the "distance" between a center and a subspace does not satisfy the triangle inequality—the bedrock of most geometric clustering algorithms. While previous work had found solutions for $\Delta=0$ (standard points) and $\Delta=1$ (lines), the problem remained open for higher dimensions of missing data ($\Delta > 1$). The authors aim to bridge this gap by providing a provably good approximation algorithm that remains efficient as the number of data points ($n$) grows.

Methods

The authors build upon the landmark sampling-based approach of Kumar, Sabharwal, and Sen (2010). Their algorithm is an iterative sampling scheme that "discovers" the cluster centers coordinate by coordinate.

Key technical components include:

  • Partial Clustering: A framework to track "partially discovered" centers. The algorithm maintains a set of coordinates where the center is already estimated and iteratively expands this set.
  • Handling "Bad" Coordinates: If many points in a cluster are missing the same coordinate, sampling won't help estimate the center for that dimension. The authors prove that the number of such problematic coordinates is bounded by $\Delta$.
  • Useless Sets of Coordinates: A novel technical concept used to identify dimensions where a center can be set to match another center (or a guessed value) without significantly increasing the total cost.
  • Recursive Refinement: The algorithm uses a series of lemmas to show that they can either find a good set of points to sample from or identify a "useless" coordinate to simplify the problem.

Datasets

Not discussed in the paper. As a theoretical computer science paper, the focus is entirely on computational complexity proofs and algorithmic design. No empirical evaluation on real-world or synthetic datasets is provided.

Key Insights and Ideas

  • Geometry of Missing Data: The "aha moment" is treating missing data not as a nuisance to be imputed, but as a geometric object (an affine flat). This allows the use of high-dimensional geometry tools.
  • Breaking the Triangle Inequality Barrier: Most clustering algorithms fail because they rely on $dist(a, c) \leq dist(a, b) + dist(b, c)$. The authors circumvent this by showing that while the inequality fails globally for subspaces, a version of it holds if you carefully exclude a small set of "maximal" coordinates.
  • Dimension-Independent Approximation: The EPTAS result is powerful because the exponent of $n$ (the number of points) is constant (specifically $n^2$). The "hardness" of the problem is pushed into a function $f(k, \epsilon, \Delta)$ that is independent of the number of points, making it "efficient" for very large datasets with few clusters.

Key Results

  • Theorem 1: The authors prove the existence of a $(1+\epsilon)$-approximation algorithm for $k$-means clustering of $\Delta$-points in $\mathbb{R}^d$.
  • Computational Complexity: The running time is $2^{O(\frac{\Delta^7 k^3}{\epsilon} \log \frac{k\Delta}{\epsilon})} n^2 d$.
  • Generality: This is the first PTAS/EPTAS for the $k$-means objective on axis-parallel subspaces for any $\Delta > 1$. It generalizes the previous state-of-the-art which only handled lines ($\Delta=1$).

Limitations and Future Work

  • Practicality of Constants: While the algorithm is "efficient" in a complexity theory sense (polynomial in $n$), the constant factor in the exponent of the $2^{O(\dots)}$ term is massive. This makes the current algorithm a theoretical proof of concept rather than a tool for immediate deployment.
  • Axis-Parallel Constraint: The current work only applies to axis-parallel subspaces (representing missing features). Extending this to arbitrary affine subspaces (representing more complex data corruptions) remains an open and difficult problem.
  • $k$-median and $k$-center: While $k$-center has a known PTAS, the $k$-median version of this problem for $\Delta > 1$ remains unsolved.
  • Linear Time: The authors suggest that future work could improve the dependency on $n$ from quadratic ($n^2$) to linear ($n$), potentially through the development of "coresets" for subspaces.

Summary updated

BibTeX
@inproceedings{eiben2021eptas,
  author = {Eduard Eiben and Fedor V. Fomin and Petr A. Golovach and William Lochet and Fahad Panolan and Kirill Simonov},
  title = {{EPTAS for k-means Clustering of Affine Subspaces}},
  booktitle = {SODA},
  year = {2021},
  doi = {10.1137/1.9781611976465.157},
}
Figure