Federated Deep Subspace Clustering

Yupei Zhang, Ruojia Feng, Yifei Wang, Xuequn ShangarXiv 2024 · DOI

Abstract

This paper introduces FDSC, a private-protected subspace clustering (SC) approach with federated learning (FC) schema. In each client, there is a deep subspace clustering network accounting for grouping the isolated data, composed of a encode network, a self-expressive layer, and a decode network. FDSC is achieved by uploading the encode network to communicate with other clients in the server. Besides, FDSC is also enhanced by preserving the local neighborhood relationship in each client. With the effects of federated learning and locality preservation, the learned data features from the encoder are boosted so as to enhance the self-expressiveness learning and result in better clustering performance. Experiments test FDSC on public datasets and compare with other clustering methods, demonstrating the effectiveness of FDSC.

Introduction

Subspace clustering (SC) is a powerful tool for partitioning high-dimensional data, such as images, by assuming that data points lie in a union of low-dimensional subspaces. While Deep Subspace Clustering (DSC) has improved this by using auto-encoders to handle non-linear data, it faces significant hurdles in the modern data landscape. Real-world data is often distributed across silos (e.g., hospitals or mobile devices) where privacy regulations prevent raw data sharing. Furthermore, data heterogeneity across these clients makes a single global model perform poorly on local tasks.

Existing Federated Learning (FL) methods mostly focus on supervised learning. This research introduces Federated Deep Subspace Clustering (FDSC) to tackle unsupervised subspace clustering in decentralized environments where data is both private and diverse.

Methodology

The FDSC framework utilizes a hybrid architecture designed to balance global collaborative learning with local data adaptation:

  • Shared Encoder: Every client maintains an encoder network. These weights are aggregated at a central server and broadcast back, allowing all clients to benefit from a robust, global feature extractor.
  • Private Decoder & Self-Expressive Layer: To respect local data distributions, the decoder and the self-expressive layer—responsible for learning cluster relationships—remain local to each client.
  • Locality Preservation: A regularization term aligns the learned self-expressive matrix with a local adjacency matrix calculated via $k$-Nearest Neighbors ($k$-NN). This forces the model to respect the geometric structure of local data points.
Figure 1: The FDSC architecture showing the communication between the global model and individual clients, highlighting shared encoders and private components.

Experimental Evaluation

The researchers evaluated FDSC on four image benchmarks: MNIST (handwritten digits), ORL (faces), COIL20, and COIL100 (objects). The model was trained using Stochastic Gradient Descent (SGD) with momentum, alternating between local training rounds and global encoder aggregation.

Key Results

FDSC was compared against state-of-the-art centralized methods like Deep Subspace Clustering Networks (DSCN) and Low-Rank Subspace Clustering (LRSC):

  • Superior Accuracy: On the MNIST dataset, FDSC achieved an Accuracy (ACC) of 83.8%, outperforming the centralized DSCN (81.7%).
  • Robustness to Heterogeneity: FDSC maintained high Normalized Mutual Information (NMI) and Adjusted Rand Index (ARI) scores even when data distributions varied significantly across clients.
  • Feature Visualization: t-SNE scatter plots demonstrate that FDSC produces tighter, more distinct clusters than local training alone. Heatmaps of the self-expression matrices confirmed that FDSC learns a much cleaner "block" structure, indicating successful identification of underlying subspaces.
Figure 3: t-SNE visualizations of learned features across multiple clients, illustrating the model's ability to form well-separated clusters in a decentralized setting.

Conclusion and Future Work

FDSC demonstrates that partial model sharing—specifically the encoder—is sufficient to learn a robust feature space collectively while allowing for personalized local clustering. The integration of geometric guidance via $k$-NN further sharpens the cluster affinity matrices.

Future research directions include integrating more advanced architectures like Vision Transformers (ViT) to enhance global feature representation and exploring dynamic graph updates that evolve as the encoder improves. Additionally, optimizing communication efficiency for edge devices remains a critical area for practical deployment.

Summary updated

BibTeX
@misc{zhang2024federated,
  author = {Yupei Zhang and Ruojia Feng and Yifei Wang and Xuequn Shang},
  title = {{Federated Deep Subspace Clustering}},
  year = {2024},
  eprint = {2501.00230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.00230},
}
Figure