Abstract
Nonnegative matrix factorization (NMF) has been successfully applied in several data mining tasks. Recently, there is an increasing interest in the acceleration of NMF, due to its high cost on large matrices. On the other hand, the privacy issue of NMF over federated data is worthy of attention, since NMF is prevalently applied in image and text analysis which may involve leveraging privacy data (e.g., medical image and record) across several parties (e.g., hospitals). In this paper, we study the acceleration and security problems of distributed NMF. Firstly, we propose a distributed sketched alternating nonnegative least squares (DSANLS) framework for NMF, which utilizes a matrix sketching technique to reduce the size of nonnegative least squares subproblems with a convergence guarantee. For the second problem, we show that DSANLS with modification can be adapted to the security setting, but only for one or limited iterations. Consequently, we propose four efficient distributed NMF methods in both synchronous and asynchronous settings with a security guarantee. We conduct extensive experiments on several real datasets to show the superiority of our proposed methods.
Introduction
Nonnegative Matrix Factorization (NMF) is a cornerstone of modern data mining, widely used for feature extraction and topic modeling. However, as datasets scale to billions of entries, the computational cost of iterative Nonnegative Least Squares (NLS) subproblems becomes a significant bottleneck. Furthermore, in federated learning scenarios where data is distributed across multiple organizations (e.g., hospitals), privacy concerns prevent the sharing of raw data. Existing distributed NMF algorithms often fail to address these dual challenges of efficiency and security simultaneously.
Distributed Sketched NMF (DSANLS)
To address computational overhead, the authors propose DSANLS, which incorporates matrix sketching. By multiplying large data matrices by a random sketching matrix $S$, the dimensionality of the subproblems is reduced from $n$ to $d$ (where $d \ll n$). This reduction significantly lowers both local computation and inter-node communication costs.
To ensure convergence to a stationary point of the original problem, DSANLS utilizes a Proximal Coordinate Descent (PCD) solver. This solver includes a regularization term that stabilizes the sketched updates, ensuring that the algorithm does not just solve the "sketched" problem but converges to a solution for the original data.
Secure Federated Learning
The framework is extended to secure settings through four protocols: Syn-SD/SSD (Synchronous) and Asyn-SD/SSD (Asynchronous). These protocols provide $(N-1)$-privacy, ensuring that even if all other nodes collude, an individual party's data remains protected.
A critical innovation is the "Seed Trick": instead of communicating large random matrices, nodes broadcast a single integer seed. This allows each node to locally generate identical sketching matrices, drastically reducing communication volume from $O(nk)$ to $O(dk)$. This is particularly effective when combined with the sketching approach to minimize the data footprint during the "All-Reduce" phase.
Experimental Evaluation
The methods were tested on six real-world datasets, including MNIST (images), Reuters (text), and DBLP (social networks).
- Performance: DSANLS significantly outperforms the state-of-the-art MPI-FAUN. Although sketching introduces noise that may require more iterations, the per-iteration speedup is so substantial that total time-to-convergence is much lower.
- Scalability: The framework exhibits near-linear scalability with the number of nodes, making it suitable for massive distributed systems.
- Robustness: Asynchronous methods (Asyn-SSD) proved superior in handling "stragglers" and imbalanced workloads typical of real-world federated environments, where node performance can vary significantly.
Conclusion
This work presents a robust solution for large-scale, privacy-sensitive NMF. By combining matrix sketching with secure federated protocols, the authors achieve a "win-win" in terms of performance and data protection. Future research directions include extending these techniques to Nonnegative Tensor Factorization for higher-dimensional data analysis.
Summary updated