Abstract
Distributed machine learning has been widely studied to scale up model training in the presence of massive data. We study distributed machine learning from a different perspective, where training sample information is inherently decentralized across different parties. We propose an asynchronous stochastic gradient descent (SGD) algorithm for this feature distributed machine learning (FDML) problem, enabling joint learning from decentralized features with theoretical convergence guarantees under bounded asynchrony. Our algorithm preserves data confidentiality by not requiring the sharing of original features or local model parameters. We implement FDML in a parameter server architecture and evaluate it against centralized and local-only training using a real-world dataset of 5 million samples and 8,700 features. Experimental results demonstrate the effectiveness and efficiency of the proposed system.
Introduction
Most distributed machine learning research focuses on data-parallel (horizontal) scaling, where different workers possess different samples (rows) of a dataset. However, many industrial scenarios involve feature-distributed (vertical) data, where different organizations hold different attributes (columns) for the same set of users. For instance, a shopping application and a web browser might belong to the same parent company but operate under strict privacy regulations that prevent them from merging raw customer data into a single database.
The challenge lies in training a joint model that leverages these distributed features while preventing raw feature leakage, keeping local model parameters private, and handling varying processing speeds (asynchrony) between parties. This paper introduces the Feature Distributed Machine Learning (FDML) framework to address these requirements.
The FDML Framework
The FDML framework utilizes a structural decomposition to enable collaborative training without raw data exchange.
Composite Model Structure
Instead of a single monolithic model, each party $j$ maintains a local sub-model $\alpha^j$. This sub-model processes local features to produce a "local prediction" (a scalar or vector). These local predictions are then sent to a central server, which aggregates them using a "hyper-linear structure"—similar to a final dense layer or softmax—to generate the global output.
Asynchronous SGD and Privacy
Training is conducted via Stochastic Gradient Descent. To mitigate the impact of "stragglers" (slow workers), the framework employs a Stale Synchronous Parallel (SSP) protocol. This allows faster parties to proceed with iterations as long as they do not exceed a predefined staleness threshold $\tau$ relative to the slowest party.
Privacy is maintained through minimal information exchange: parties only share local predictions and receive aggregated global gradients. They never expose raw features or internal model weights. To further protect against model inversion attacks, the framework supports Differential Privacy (DP) by allowing parties to inject controlled noise into their local predictions.
Experimental Evaluation
The authors evaluated FDML on two datasets: the standard a9a (UCI Census Income) benchmark and the massive Tencent MyApp Dataset. The latter consists of 5 million records and 8,700 features distributed across three apps: MyApp, QQ Browser, and Mobile Safeguard.
Performance Comparison
The experiments compared FDML against two baselines:
- Local Training: Models trained using only the features available to a single party.
- Centralized Training: A theoretical upper bound where all features are merged into one location (violating privacy).
As shown in the results, FDML significantly outperforms local models. On the Tencent dataset, the Test AUC for a Logistic Regression model increased from 0.6573 (Local) to 0.6971 (FDML). Crucially, FDML's performance closely tracks the centralized baseline, often within 1% AUC, demonstrating that collaborative learning provides substantial gains without needing to centralize data.
Key Insights and Discussion
A primary contribution of this work is the theoretical proof that FDML’s asynchronous approach matches the $O(1/\sqrt{T})$ convergence rate of centralized, synchronous SGD. This ensures that privacy and decentralization do not come at the cost of fundamental optimization efficiency.
However, vertical federated learning presents unique challenges. Unlike horizontal scaling, where losing a worker only reduces the sample size, losing a worker in FDML means losing an entire dimension of the feature space for every sample, which can severely impact the model's ability to capture complex feature interactions. While the current hyper-linear aggregation is efficient, future work may explore more complex cross-party architectures to capture non-linear interactions between features held by different parties.
Conclusion
FDML provides a robust and efficient framework for collaborative machine learning on decentralized features. By combining structural model decomposition with asynchronous SGD and differential privacy, it enables organizations to build superior models while respecting data locality and privacy constraints. The system's ability to approach centralized performance levels on industrial-scale datasets makes it a viable solution for real-world privacy-preserving AI.
Summary updated