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

Fuzzy e-Means: Fuzzy c-Means on Large Data with Moving-Average Mini-Batch Updates

Paritosh Tiwari, Punit RathorearXiv 2026

Imagine you’re trying to organize a massive library. In a "hard" world (like standard k-means clustering), every book belongs to exactly one category: History or Fiction. But the real world is messy. A historical novel belongs to both.

Fuzzy c-means (FCM) is the algorithm for that messy reality. It doesn't just put a data point in a box; it gives it a "membership degree"—say, 70% History, 30% Fiction. The problem? FCM is notoriously slow. To update its categories, it usually has to look at every single book in the library, over and over again. When your "library" contains 100 million data points, the system grinds to a halt.

TL;DR

This paper introduces e-FCM, a high-speed version of fuzzy clustering that swaps slow, full-dataset sweeps for nimble mini-batch updates. By using exponential moving averages and a clever two-stage "hard-then-fuzzy" strategy, it reaches high-quality solutions up to 20 times faster than standard methods on massive datasets.

What Problem Does This Paper Address?

The standard way to solve FCM is through Alternating Optimization (AO). It’s reliable but expensive: every single iteration requires a full pass over the data. On a million-point dataset with thousands of clusters, a single pass can take seconds, and you might need hundreds of them.

Existing "fast" alternatives often fall into traps. Some take random samples, but if a cluster is small and rare, the sample might miss it entirely. Others use "stochastic" updates (updating as they go), but these often "freeze" too early, getting stuck with mediocre results because the learning rate drops before the centroids have found their best positions.

Methods

The authors created e-FCM by adapting a recent k-means optimizer called "e-means." The "e" stands for exponential moving average (EMA).

Instead of waiting for a full pass to move a cluster center (centroid), e-FCM updates the centroid after seeing a small "mini-batch" of data. It keeps a running tally of two things for each cluster:

  1. The Mass: The sum of membership weights assigned to it.
  2. The Sum: The weighted sum of the data points themselves.

The "aha!" moment in the method is the Two-Phase Strategy:

  • Phase 1 (The Hard Phase): It starts with one single pass of "hard" k-means. This quickly puts the cluster centers in the right neighborhood and uses a "revival" rule to relocate any clusters that ended up empty.
  • Phase 2 (The Fuzzy Phase): It then switches to fuzzy updates. Crucially, it turns off the revival rule here. Why? Because in fuzzy logic, even a distant cluster gets a tiny bit of weight from every point. A "revival" rule would mistake a small, valid, distant group for an "empty" cluster and accidentally delete it.

Datasets

The authors didn't go easy on their algorithm. They tested it on 28 different configurations, including:

  • The Classics: MNIST (handwritten digits), Covertype (forest data), and KDD99 (network intrusion detection).
  • The Giants: One-million-point image embedding sets (SIFT1M, DEEP1M, CLIP1M, DINO1M) with up to 16,384 clusters.
  • The Fuzzy Benchmarks: Simulated brain MRI scans (where voxels naturally contain multiple tissue types) and a massive set of 109.5 million satellite pixels (EuroSAT).

Key Insights and Ideas

  • The $m=2$ Trap: Most people use a "fuzzifier" value of $m=2$ by default. The authors found that in high-dimensional space, $m=2$ is a disaster—it causes all your clusters to collapse into a single point at the center of the data. They show that as dimensions go up, you need a much "sharper" (closer to 1) fuzzifier to keep clusters distinct.
  • Moving Averages are the Engine: By using EMA, the algorithm ensures that old, potentially "bad" guesses from early in the run eventually fade away, allowing the centroids to stay mobile until they find the true centers.
  • Hard Starts Save Soft Finishes: Starting with a "hard" k-means pass prevents the fuzzy algorithm from getting stuck in the "poor local minima" that often plague fuzzy clustering when it starts from purely random points.

Key Results

The efficiency gains are striking. As shown in the authors' analysis of passes and speed, e-FCM hits the quality of 25 full AO iterations in just 2 to 4 passes.

Fig. 1. e-FCM against AO-FCM on all 28 configurations. (a) Passes to reach AO@25, the objective of AO-FCM after 25 iterations (median over seeds; the hard epoch counts as a pass), against training points per cluster. (b) Wall-clock speed-up to reach AO@25, against the time of one AO-FCM pass.
  • Speed: On million-point datasets with 1,024 clusters, e-FCM is 11 to 20 times faster than the standard AO method.
  • Accuracy: It typically ends within 0.16% of the objective reached by a fully converged (and much slower) standard solver.
  • Scale: It successfully handled the EuroSAT dataset with over 100 million points, a scale where traditional fuzzy methods often become impractical.

Limitations and Future Work

While e-FCM is a speed demon on large data, it’s actually slower than the standard method on small, low-dimensional problems. If a full pass of your data takes only a few milliseconds, the overhead of managing mini-batches and GPU kernels actually costs more than it saves.

The authors also note that they currently use "dense" memberships—calculating the connection between every point and every cluster. For future work, they suggest "truncated" memberships (only calculating the top few closest clusters) to scale even further, potentially to hundreds of thousands of clusters.

Summary updated

BibTeX
@misc{tiwari2026fuzzy,
  author = {Paritosh Tiwari and Punit Rathore},
  title = {{Fuzzy e-Means: Fuzzy c-Means on Large Data with Moving-Average Mini-Batch Updates}},
  year = {2026},
  eprint = {2611.29241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29241},
}
Figure