Highly Efficient Vertical Federated Clustering with Triangle-Inequality-based Pruning

Feiteng Nie, Shengkun Zhu, Zepeng Liu, Sheng Wang, Yuan Sun, Zhiyong PengarXiv 2026

Imagine two institutions—say, a hospital and a bank—that want to cluster their shared customers to find interesting patterns. The hospital knows about their health; the bank knows about their spending. They have "complementary" features for the same people, but privacy laws mean they can’t just swap spreadsheets.

This is the world of Vertical Federated Learning (VFL). This paper introduces a way to do this clustering up to 50 times faster than traditional methods while keeping the data locked down and the "chatter" between servers to a minimum.

TL;DR

The authors present FedTriCD, a federated clustering algorithm that uses geometric shortcuts (the triangle inequality) to skip unnecessary math and a "proximal leash" to allow local computers to work independently for longer. It achieves massive speedups (up to 50x) and requires significantly fewer communication rounds than existing state-of-the-art methods without sacrificing accuracy.

What Problem Does This Paper Address?

Clustering is the bread and butter of unsupervised learning, but doing it across distributed, private datasets is a headache.

Standard $k$-means (Lloyd’s algorithm) usually requires sharing "cluster centers." As shown in Figure 1, sharing these centers can actually leak sensitive information about the underlying data. A newer approach called CDKM (Coordinate Descent $k$-means) avoids this by sharing objective values instead of centers, which is much safer.

Lloyd-style methods vs. the proposed CDKM-style approach.

However, CDKM is a computational hog. It re-evaluates every point against every cluster in every iteration. Furthermore, in a federated setting, the "network lag" from clients constantly talking to a central server makes the whole process painfully slow.

Methods

The authors tackle this with two main innovations:

  1. TriCD (Triangle-Inequality-based Pruning): The authors noticed that after a few rounds of clustering, most points stop moving (see Figure 2). If a point is already very close to its current cluster center and another cluster is "obviously" too far away, why do the math to check it?
  2. Using the Triangle Inequality (the geometric rule that the sum of two sides of a triangle is greater than the third), they calculate "on-demand" bounds. If a cluster's potential improvement is mathematically impossible based on these bounds, the algorithm simply skips the calculation.
  3. Unlike previous pruning methods, TriCD doesn't require storing massive tables of distances, making it extremely memory-efficient.
The number of points changing assignments drops sharply, suggesting most evaluations are redundant.
  1. FedTriCD (The Federated Framework): To save on communication, they allow clients to perform multiple "local epochs" of updates before syncing with the server.
  2. Proximal Regularization: When clients work alone for too long, they might "drift" away from the global consensus. The authors added a penalty term—a sort of mathematical leash—that discourages local updates from straying too far from the last known global state.
The workflow of one communication round in FedTriCD.

Datasets

The researchers put their algorithm through the wringer using 10 real-world datasets covering everything from music (YearPrediction) and medical data (Epileptic) to image recognition (MNIST, CIFAR-10/100). These ranged from small (1,993 instances) to very large (over 500,000 instances) and high-dimensional (up to 3,072 features).

Key Insights and Ideas

  • The "Aha" Moment on Redundancy: Figure 2 is the smoking gun. It shows that in CDKM, the vast majority of point-to-cluster evaluations are useless after the first 5 iterations. TriCD exploits this by "pruning" those redundant checks.
  • Geometry over Memory: Most "fast" $k$-means algorithms require storing $O(nk)$ bounds (where $n$ is points and $k$ is clusters). TriCD builds its bounds on the fly using cluster-sum vectors, which is a huge win for big data.
  • The Stability of the Leash: The proximal term isn't just a safety feature; it's what allows the algorithm to communicate less frequently without the clustering quality falling apart.

Key Results

  • Speed: TriCD achieved up to a 50.07× speedup over Lloyd’s algorithm on the YearPrediction dataset.
  • Efficiency: On the CIFAR-100 dataset, TriCD reduced the number of objective calculations by a factor of 14.98× compared to standard CDKM.
  • Communication: FedTriCD required significantly fewer rounds of communication than competing federated methods like $F^3KM$, making it much more practical for real-world networks where bandwidth is a bottleneck.
  • Quality: Despite the pruning and the infrequent communication, the "Sum of Squared Errors" (the standard measure of clustering quality) remained competitive with centralized, non-pruned methods.

Limitations and Future Work

While highly efficient, the authors note a few areas for growth:

  • Heterogeneity: The current model assumes features are partitioned somewhat evenly. Real-world data can be much messier (imbalanced partitions).
  • Streaming Data: The current algorithm is designed for static datasets. Adapting this to "streaming" data—where new points arrive constantly—is a logical next step.
  • Constrained Clustering: Future work could involve adding specific constraints, such as ensuring clusters are balanced in size.

Summary updated

Abstract

In many real-world scenarios, multiple parties hold complementary feature subsets for the same samples but cannot share raw data. This makes efficient clustering over distributed feature subsets an important and challenging problem. While vertical federated learning (VFL) enables such collaboration, existing VFL clustering methods often require many communication rounds or substantial local computation. To address these limitations, we first propose TriCD, an exact pruning method for CDKM that preserves the same cluster assignments under the same initialization. TriCD constructs triangle-inequality bounds on demand to skip redundant objective evaluations with negligible extra space. Building upon this, we propose FedTriCD, an efficient federated clustering algorithm. By decomposing the global objective into client-local subproblems, FedTriCD enables pruning-based local optimization using only local data. FedTriCD further reduces communication by allowing multiple local updates between server synchronizations. A proximal regularization term is introduced to control the drift caused by infrequent communication. Our theoretical analysis establishes the exactness and finite convergence of TriCD and provides a bounded-error server-side update guarantee for FedTriCD. Experiments on multiple real-world datasets demonstrate the efficiency and clustering quality of the proposed methods. TriCD achieves up to a 50.07$\times$ speedup over \Lloyd's algorithm. Moreover, FedTriCD achieves competitive clustering quality while requiring fewer local evaluations and fewer communication rounds than state-of-the-art federated clustering methods.
BibTeX
@misc{nie2026highly,
  author = {Feiteng Nie and Shengkun Zhu and Zepeng Liu and Sheng Wang and Yuan Sun and Zhiyong Peng},
  title = {{Highly Efficient Vertical Federated Clustering with Triangle-Inequality-based Pruning}},
  year = {2026},
  eprint = {2611.27117},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27117},
}
Figure