TL;DR
This survey provides a comprehensive overview of the evolution of machine learning from server-centric to client-centric approaches, driven by the increasing capabilities of mobile devices and the need for enhanced privacy. It details the motivations, challenges, and current advancements in client-based inference and training, offering a valuable resource for researchers and practitioners in the field.
What Problem Does This Paper Address?
The paper addresses the growing limitations of traditional server-based machine learning, which struggles with the immense data volumes, computational demands, and privacy concerns associated with modern applications. As mobile devices become more powerful, there's a clear need to leverage their local resources for machine learning tasks. This shift, termed "client-based machine learning," aims to reduce server burden, enhance user privacy by keeping data local, and improve efficiency through reduced data transmission. The paper surveys the landscape of this transition, from server-based distributed learning to client-based inference and training, highlighting the challenges and opportunities.
Methods
The paper surveys existing methods and categorizes them based on their approach to machine learning. It covers:
- Centralized Machine Learning: The traditional approach where all processing occurs on a single machine.
- Server-Based Distributed Training: Techniques that distribute computation across multiple servers, including data parallelism and model parallelism. Key communication frameworks like MapReduce/AllReduce and Parameter Servers are discussed.
- Client-Based Inference: Running trained machine learning models directly on client devices (e.g., smartphones) for tasks like computer vision and natural language processing.
- Client-Based Training: Training machine learning models using local data on client devices, with aggregated results sent to a server. This includes federated learning and split learning as prominent examples.
- Optimization Algorithms: A review of various gradient descent-based optimizers and their applicability to client-based training, considering factors like time and space complexity.
Datasets
The paper references several datasets used in the context of machine learning research, particularly for evaluating distributed and federated learning algorithms. Notably, it mentions:
- LEAF: A benchmark dataset specifically designed for client-based training, which includes datasets like FEMNIST, Shakespeare, Twitter, CelebA, Reddit, and Synthetic Dataset. These datasets are characterized by their user-partitioned nature, reflecting the non-IID data typical in client-based scenarios.
- Other datasets mentioned in the context of specific algorithms include MNIST, CIFAR-10, CoverType, RCV1, and ImageNet.
Key Insights and Ideas
- The Rise of Client-Based ML: The increasing computational power of mobile devices, coupled with privacy concerns and the desire for lower latency, makes client-based machine learning a natural and necessary evolution.
- Privacy as a Primary Driver: Unlike server-based approaches that require raw data transfer, client-based methods inherently offer better privacy by processing data locally.
- Trade-offs are Crucial: Client-based training and inference involve significant trade-offs between model accuracy, computational cost, communication overhead, and resource consumption on mobile devices.
- Federated Learning and Split Learning as Key Paradigms: These two approaches represent the forefront of client-based training, each offering distinct ways to distribute learning tasks while preserving data privacy.
- Heterogeneity is a Major Challenge: The diverse hardware and network capabilities of mobile devices pose a significant challenge for designing scalable and efficient client-based systems.
- The Need for New Standards: The paper highlights the lack of standardized benchmarks and evaluation metrics for client-based training, hindering direct comparison of different methods.
Key Results
As this is a survey paper, it doesn't present novel experimental results but rather synthesizes findings from existing research. Key takeaways from the surveyed literature include:
- Client-based inference is feasible: Applications in computer vision and natural language processing have demonstrated successful on-device execution.
- Federated learning can achieve good model performance: Despite challenges like non-IID data, federated learning has shown promise in improving model accuracy.
- Split learning offers communication efficiency: It can adapt well to large models and a high number of clients, potentially achieving higher validation accuracy with less computation than some other methods.
- GD-based optimizers have varying applicability: While some, like SGD, are generally applicable, others like SVRG have higher complexity or specific limitations for client-based scenarios.
Limitations and Future Work
The authors identify several key limitations and suggest future research directions:
- Non-IID Training Sets: This remains a significant challenge, as local datasets are inherently unbalanced and non-IID. Developing algorithms robust to this data distribution is crucial.
- Aggregation Methods: Designing effective, efficient, and robust aggregation methods for potentially tens of thousands of client updates is an open problem.
- Security & Privacy: While raw data leakage is mitigated, attacks on trained models (e.g., model poisoning) are still a concern. Research is needed on balancing privacy and accuracy, and on secure aggregation techniques.
- General Mobile Training Framework: The development of comprehensive frameworks that support on-device training across various tasks is needed.
- Standardization and Benchmarking: Establishing clear standards and releasing more benchmark datasets are essential for fair comparison and advancement of client-based training.
- 5G Integration: Exploring how 5G's high bandwidth and low latency can further enhance client-based training, including device-to-device communication, is a promising avenue.
- Trade-off between Model Complexity and Privacy: Further research is needed to understand how to balance placing complex model layers on clients for better privacy against the computational burden.
Summary updated