iOS as Acceleration
Alexander K. Chen
TL;DR
The paper investigates harnessing commodity iOS devices as local accelerators for practical ML workloads when cloud or high-end hardware is unavailable. It introduces a proof-of-concept pipeline-parallel framework that partitions model weights across devices and uses a host-worker setup to accelerate modest tasks, achieving up to 44% training-time reductions on ResNet-34 and notable inference-time gains. The study also explores on-device tool usage and notes significant limitations, including memory constraints, thermal throttling, and the challenges of translating models to static-graph frameworks. The results suggest that ubiquitous mobile devices can meaningfully contribute to ML compute in constrained environments, with potential extensions to larger-scale models and richer mobile-edge use cases in future work.
Abstract
Practical utilization of large-scale machine learning requires a powerful compute setup, a necessity which poses a significant barrier to engagement with such artificial intelligence in more restricted system environments. While cloud computing offers a solution to weaker local environments, certain situations like training involving private or sensitive data, physical environments not available through the cloud, or higher anticipated usage costs, necessitate computing locally. We explore the potential to improve weaker local compute systems at zero additional cost by taking advantage of ubiquitous yet underutilized resources: mobile phones. Specifically, recent iOS phones are equipped with surprisingly powerful processors, but they also face limitations like memory constraints, thermal throttling, and OS sandboxing. We present a proof-of-concept system demonstrating a novel approach to harness an iOS device via distributed pipeline parallelism, achieving significant benefits in a lesser compute environment by accelerating modest model training, batch inference, and agentic LRM tool-usage. We discuss practical use-cases, limitations, and directions for future work. The findings of this paper highlight the potential for the improving commonplace mobile devices to provide greater contributions to machine learning.
