Importance Sampling Deterministic Annealing for Clustering

Jiangshe Zhang, Lizhen Ji, Meng Wang

Most clustering algorithms fail when future data deviates from the training distribution. This paper introduces Information Theoretical Importance Sampling Clustering (ITISC), a minimax-based approach that optimizes for the "worst-case" distribution shift, making clusters significantly more robust to real-world data drift.

The Problem: The Fragility of the i.i.d. Assumption

The "i.i.d. assumption"—that training and test data come from identical distributions—is the Achilles' heel of classic clustering. In reality, distributions shift: power grid loads change seasonally, and recommendation systems encounter evolving user behaviors.

Standard methods like K-means or Fuzzy C-means (FCM) are "greedy" toward the majority of current data. They often ignore boundary points or minority clusters, treating them as noise. However, if the distribution shifts, those "outliers" might become the new center of gravity. ITISC aims to create a model that remains reliable under a range of potential future distribution deviations.

Methodology: A Minimax Optimization Problem

Instead of simply minimizing distortion (like distance to centers), ITISC minimizes the maximum possible distortion under a constrained distribution shift. The framework uses Importance Sampling weights ($w_i$) to represent a data point's contribution to a potential "future" distribution, with the shift bounded by Kullback-Leibler (KL) divergence.

The resulting objective function utilizes a two-level temperature model:

  1. $T_1$ (Fuzziness Temperature): Controls the randomness of cluster membership, similar to the fuzzifier in FCM.
  2. $T_2$ (Deviation Temperature): Controls the expected distribution shift. As $T_2$ decreases, the model becomes more sensitive to boundary points.
Comparison of cluster centers for ITISC (labeled as Fuzzy-ISDA) and standard methods. Note how $T_2=0.1$ pulls centers toward the boundaries compared to $T_2=1.0$ (FCM).

One elegant finding is that classic Fuzzy C-means is a specific instance of ITISC where $T_2 = 1$. This provides a physical interpretation for the fuzzy exponent $m$ as a recalibration of temperature in a thermodynamic system.

Key Insights: The "Fairness" of Boundary Points

Unlike robust clustering methods that try to ignore outliers, ITISC treats boundary points as "high-risk" areas that might become important if the distribution shifts. By assigning higher importance weights to these points, cluster centers are pulled slightly toward the edges of the current data.

This approach is particularly effective for handling minority groups. On an "Extreme" imbalanced dataset, K-means and FCM typically merge minority clusters into the majority. ITISC successfully identifies them as distinct entities because it refuses to write them off as noise.

Clustering results on the 'Extreme' dataset. ITISC successfully identifies the small minority clusters (red stars) that other methods fail to distinguish.

Experimental Results and Real-World Impact

The researchers validated ITISC across synthetic and real-world datasets:

  • Robustness to Drift: In simulations where data means were translated or covariances scaled, ITISC maintained lower within-cluster distances than K-means and FCM.
  • Load Forecasting: In a real-world electricity load forecasting task, a Support Vector Regression (SVR) model trained on ITISC-defined clusters achieved the lowest Mean Squared Error (MSE) in 10 out of 12 months compared to other clustering methods.

Limitations and Future Work

While powerful, ITISC-AO (the iterative optimization algorithm) can struggle to converge when the deviation temperature ($T_2$) is very small. Additionally, the minimax framework is computationally more complex than K-means. Future work may explore applying this "fairness" toward boundary points to design more equitable systems, such as delivery networks in data-sparse rural areas or face recognition systems that better represent minority features.

Summary updated

Abstract

A current assumption of most clustering methods is that the training data and future data are taken from the same distribution. However, this assumption may not hold in most real-world scenarios. In this article, we propose an information theoretical importance sampling based approach for clustering problems (ITISC), which minimizes the worst case of expected distortions under the constraint of distribution deviation. The distribution deviation constraint can be converted to the constraint over a set of weight distributions centered on the uniform distribution derived from importance sampling. The objective of the proposed approach is to minimize the loss under maximum degradation hence the resulting problem is a constrained minimax optimization problem, which can be reformulated as an unconstrained problem using the Lagrange method. The optimization problem can be solved by either an alternating optimization algorithm or a general optimization routine by commercially available software. Experiment results on synthetic datasets and a real-world load forecasting problem validate the effectiveness of the proposed model. Furthermore, we demonstrate that fuzzy c-means is a special case of ITISC with the logarithmic distortion, and this observation provides an interesting physical interpretation for fuzzy exponent <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$m$</tex-math></inline-formula>.
BibTeX
@article{zhang2024importance,
  author = {Jiangshe Zhang and Lizhen Ji and Meng Wang},
  title = {{Importance Sampling Deterministic Annealing for Clustering}},
  journal = {IEEE Trans. Fuzzy Systems},
  year = {2024},
  doi = {10.1109/tfuzz.2023.3345874},
}
Figure