A Decentralized Framework for Kernel PCA With Projection Consensus Constraints

Fan He, Ruikai Yang, Lei Shi, Xiaolin Huang

TL;DR

This paper introduces a novel decentralized framework for Kernel PCA (kPCA) that addresses the challenge of data-dependent local solutions in distributed settings. By proposing a "projection consensus constraint," they enable local nodes to collaboratively approximate the global kPCA solution efficiently and without a central server, outperforming traditional decentralized approaches and central kPCA in terms of speed.

What Problem Does This Paper Address?

Kernel PCA (kPCA) is a powerful technique for nonlinear dimensionality reduction, but its application to distributed datasets, where data is spread across multiple nodes without a central fusion center, presents significant challenges. Unlike linear PCA, where local solutions can be directly averaged or consensus-achieved, kPCA's local projection directions are inherently data-dependent. This means that simply enforcing consensus on local solutions (e.g., wj = wq) fails because each node's optimal direction is unique to its local data. This "representation discrepancy" makes it difficult to design effective decentralized algorithms that can leverage information from neighboring nodes while avoiding the pitfalls of data heterogeneity. Existing decentralized linear PCA methods are not directly applicable, and previous attempts at decentralized kPCA have either relied on a central server or struggled with this fundamental issue.

Methods

The core innovation of this paper is the projection consensus constraint. Instead of forcing local solutions (wj) to be identical, they propose that each local solution wj should be the projection of the global optimal solution (u) onto the column space of the local data (span{$(Xj)}). This is mathematically expressed as wj = $(Xj)Kj¹$(Xj)T u.

To solve this decentralized optimization problem, they develop a fully non-parametric, fast, and communication-efficient algorithm based on the Alternating Direction Method of Multipliers (ADMM). The algorithm is designed to avoid explicit computation of the nonlinear mapping $(·), relying instead on kernel evaluations K(x, x'). Key aspects of the algorithm include:

  • Introduction of a global variable z: This variable acts as a proxy for the global solution and is used to link local nodes.
  • ADMM formulation: The problem is reformulated into a series of subproblems that can be solved iteratively.
  • Analytic updates: Each iteration of the ADMM algorithm provides analytical solutions for the variables, making it computationally efficient.
  • Approximation for implicit mapping: To handle the implicit nature of the feature map $(·), one of the ADMM iterations is solved using an approximation.

Datasets

The experiments were conducted using the MNIST dataset. Images were vectorized into 784-dimensional vectors. For central kPCA, due to its high computational complexity, a subset of digits (0, 3, 5, 8) was used, randomly and evenly distributed to local nodes.

Key Insights and Ideas

  • The "representation discrepancy" is the key challenge for decentralized kPCA: Unlike linear PCA, where local solutions can be directly aggregated, kPCA's data-dependent local solutions require a more sophisticated approach to achieve consensus.
  • Projection onto local column space is the solution: The proposed "projection consensus constraint" elegantly addresses this by ensuring local solutions are the best possible approximations of the global optimum within their local data's subspace. This allows for effective information sharing without requiring identical local solutions.
  • ADMM is well-suited for this decentralized kernel problem: The ADMM framework, with its ability to handle distributed optimization and its iterative nature, proves effective in solving the complex, non-parametric kPCA problem.
  • Non-parametric nature is crucial for practical kPCA: The algorithm's ability to avoid explicit computation of the feature map $(·)` is essential for kPCA, as the explicit form of `$(·) is often unknown or computationally prohibitive.

Key Results

  • High Similarity: The proposed decentralized algorithm achieved high similarity (above 0.912 even with 80 nodes) between its local solutions (aj) and the global solution (agt) obtained by central kPCA.
  • Significant Speedup: The decentralized algorithm demonstrated a substantial speed advantage over central kPCA, with its running time being independent of the network size, whereas central kPCA's complexity scales quadratically with the number of nodes. For instance, with 80 nodes, the decentralized approach was significantly faster.
  • Improved Performance with Consensus: Experiments showed that when local nodes had limited data, the decentralized algorithm improved the solution quality by adding consensus constraints, allowing nodes to cooperate. This improvement was less pronounced when local nodes already had substantial data.
  • Effectiveness with Varying Neighbors: The similarity increased with more neighbors, indicating that the projection consensus constraints effectively leverage information from the network.

Limitations and Future Work

  • Hyper-parameter Tuning: The paper mentions that the tuning strategy for the ADMM hyper-parameter p used in experiments is "of course not optimal but works well." This suggests that optimal hyper-parameter selection could further improve performance.
  • Approximation in ADMM: One of the ADMM iterations is solved by approximation to handle the implicit mapping. While the convergence analysis shows the algorithm still converges, the impact of this approximation on practical performance could be a point of further investigation.
  • Future Work: The authors suggest exploring the application of random features as a future direction. This could potentially eliminate the need for raw data exchange between nodes, further enhancing privacy and communication efficiency.

Summary updated

BibTeX
@article{he2025decentralized,
  author = {Fan He and Ruikai Yang and Lei Shi and Xiaolin Huang},
  title = {{A Decentralized Framework for Kernel PCA With Projection Consensus Constraints}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2025},
  doi = {10.1109/tpami.2025.3537318},
}
Figure