Deep Online Probability Aggregation Clustering

Yuxuan Yan, Na Lu, Ruofan Yan

Introduction

Deep clustering has traditionally relied on an alternating pipeline: features are clustered using methods like K-means, and these clusters serve as pseudo-labels to refine the neural network. However, this paradigm faces significant hurdles. Center-based methods are notoriously sensitive to initialization, and repeated global clustering is computationally expensive. Furthermore, many modern "online" methods impose rigid "balanced cluster" constraints that fail to represent real-world data distributions.

Deep Online Probability Aggregation Clustering (DPAC) addresses these issues by introducing a "centerless" objective. By aggregating sample probabilities based on spatial distances in a mini-batch fashion, DPAC achieves state-of-the-art performance without the instability of cluster centers or the need for artificial balancing.

Methodology

Probability Aggregation Clustering (PAC)

The foundational concept is Probability Aggregation Clustering (PAC). Unlike K-means, which measures distance to a central point, PAC defines an objective function based on the distance between all pairs of samples, weighted by the probability of shared cluster membership. The algorithm updates a sample's cluster probability by "aggregating" the probabilities of its neighbors. If a sample's spatial neighbors have a high probability for a specific cluster, the sample's own probability for that cluster increases.

Algorithm 1: The core PAC iterative process.

Online Probability Aggregation (OPA)

To integrate PAC into deep learning frameworks, the authors developed the Online Probability Aggregation (OPA) module. OPA acts as a plug-in that computes target "pseudo-labels" for each mini-batch. It utilizes efficient matrix operations to calculate a distance matrix and update probabilities, making the computational overhead comparable to a standard loss function.

Algorithm 2: PyTorch-style implementation of the OPA module.

Weight Contrastive Loss (WCL)

DPAC further enhances training through a Weight Contrastive Loss (WCL). Standard contrastive learning often suffers from "semantic distortion," where two images of the same class are treated as negatives. WCL uses the soft clustering information from OPA to filter these negatives, reducing the penalty for pushing apart representations that likely belong to the same semantic category.

Experimental Evaluation

The authors evaluated DPAC across nine diverse datasets, including natural image benchmarks (CIFAR-10, CIFAR-100, STL-10, ImageNet-10/Dogs) and non-image data (Coil-100, Isolet, Pendigits, MNIST).

Key Results

  • State-of-the-Art Performance: DPAC set new benchmarks for accuracy, achieving 93.4% on both CIFAR-10 and STL-10, outperforming established models like SCAN and SPICE.
  • Robustness and Efficiency: PAC demonstrated lower variance and a more stable parameter range compared to Fuzzy C-Means. The OPA module's reliance on mini-batch matrix operations ensures it remains faster and more memory-efficient than offline K-means approaches.
  • Flexibility: Because the objective function naturally avoids cluster collapse, DPAC does not require explicit balanced-cluster constraints, allowing it to handle datasets with varying category frequencies.

Conclusion

DPAC represents a shift away from center-based deep clustering toward a more stable, collective spatial approach. While it faces challenges in extremely fine-grained scenarios where initial feature representations are highly similar, its robustness and efficiency make it a powerful tool for unsupervised representation learning. Future work may see this "centerless" logic applied to graph learning and multi-modal domains.

Summary updated

BibTeX
@inproceedings{yan2024deep,
  author = {Yuxuan Yan and Na Lu and Ruofan Yan},
  title = {{Deep Online Probability Aggregation Clustering}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73668-1\_3},
}
Figure