The University of Texas at Austin
Towards opportunistic collaborative learning in mobile environments
Abstract
dc:description.abstractSmartphones, wearable devices, and other devices that fill mobile computing environments are imbued with increasingly complex sensing, computation, and communication abilities. These devices continuously gather data to support the training of deep learning models, enabling applications on these devices to perform tasks such as image processing, next-word prediction, and content recommendation. Model training typically requires a large set of data, ideally one that exhibits a representation of data that personalizes to the requirements of individual users. Many existing systems that utilize collected data to train such models rely on a centralized entity that either extracts data from devices in order to centrally train a global model or manages on-device training processes that contribute to an orchestration of federated learning. However, in mobile environments, ensuring global connectivity is often a challenge, and the central server can become a bottleneck. Additionally, there are increasing public concerns about moving raw user data from devices to the server, in terms of data privacy and ownership. A fundamental characteristic of mobile devices is their capacity to traverse physical spaces and encounter one another. Recent advancements in device-to-device connectivity technologies such as Wi-Fi Direct and Bluetooth empower devices to discover and communicate directly with their peers in proximity without reliance on pre-established infrastructure. Combined with their enhanced computing capabilities and the data they generate locally, these rich device-to-device communication capabilities enable them to collaborate for model training with crowdsourced data distributed on these devices. Nevertheless, even though this approach is technically feasible, several fundamental challenges remain. The first crucial challenge I tackle in this dissertation is rooted in two foundational observations about in situ training in device-to-device networks of mobile devices: (1) the model is expected to provide outputs that are tailored to a specific owner and context and (2) the data collected by a device may differ greatly from any other device, especially in label distribution (i.e., the number of data points assigned with a certain label can be significantly fewer or more than other devices). In other words, the former underscores the potential benefits of personalizing the model and the training process for individual devices, and the latter highlights that the data available to train the model may be skewed. Taken together, these two observations inspire a novel approach that I call Opportunistic Collaborative Learning, or OppCL. In OppCL, when two devices encounter one another, they exchange summaries of their available data, which include information on data skewness or other statistics about the data. Each device then uses the others' summary to check the relevance with respect to what it seeks to learn and determine whether asking for learning support is beneficial. However, even when a device only chooses to collaborate with other devices that have relevant data, model training can be hindered by encountering devices with a particular skewness too often. To prevent this, I designed gradient replay, which keeps a history of previous model updates associated with the skewness of data the updates are obtained from, to build an aggregated update that fits a particular device's personalization goal. The second critical challenge in enabling collaboration among devices pertains to the resource limitations inherent in some of these devices. For instance, while today's mobile phones possess computational capabilities to run real-time AR applications, smaller IoT devices often lack such computational prowess. Moreover, the brevity of many encounters presents an additional obstacle, as it may not allow for adequate time to conduct collaborative model training. These limitations prevent opportunities for collaboration with devices that could potentially contribute valuable data to enhance the model. In response to these challenges, I built an adaptive strategy for opportunistic learning that dynamically determines the optimal level of model reduction, taking into account the computational resource constraints of collaborating devices and the duration of their encounters. This strategy expedites the convergence process and improves model performance as devices have a larger pool of devices they can collaborate with. While excessive model reduction can lead to a performance regression, I introduce techniques that make training feasible and rectify noise stemming from suboptimal updates. While several tools exist to evaluate deep learning algorithms and even some that involve various forms of distribution, reliance on opportunistic fleeting interactions among devices necessitates a new approach to evaluating these new approaches. In particular, it is crucial to run simulations to understand the real-world implications of deploying the aforementioned algorithms. However, existing tools fall short when it comes to testing these fully decentralized learning algorithms in mobile networks. The ideal simulator should be (1) easily configurable with various settings and parameters that affect the training process, including learning algorithms, data distribution, resource constraints, and encounter patterns, (2) scalable to evaluate the performance of the algorithm with a large cohort of devices, and (3) fast so that algorithm developers can run numerous iterations of evaluations swiftly to test a prototype or find the optimal configuration of an algorithm. To address this need, I created Overmind, a decentralized learning simulator that meets these criteria, offering flexibility to be used for decentralized learning algorithms in general other than OppCL. In this dissertation, I demonstrate Overmind's capabilities with various algorithms, datasets, models, and mobility traces. I emphasize its high-speed simulation mode, which provides approximated results with minimum error while significantly expediting the simulation process.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Department thesis:degree_department
- Electrical and Computer Engineering
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Lee, Sangsu
- Advisors dc:contributor.advisor
-
- Julien, Christine, D. Sc.
- Zheng, Xi, Ph. D.
- Committee members dc:contributor.committeemember
-
- Garg, Vijay
- Lalanda, Philippe
- Vikalo, Haris
- Gerstlauer, Andreas
Subjects
dc:subject × 3Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/128116