Abstract
dc:description.abstractArtificial Intelligence (AI) is becoming ubiquitous. AI models are deployed in a variety of settings and scales from large cloud and HPC clusters to the edge. Model sizes have witnessed exponential growth over the past decade. In fact, the largest models contain trillions of parameters and occupy terabytes of memory. This is driven by the need to produce more accurate models since scaling laws suggest that larger models are more accurate . However, on-device memory capacities remain limited and their growth lags behind. Device memory at the top of the memory hierarchy cannot fit large models. This is true for both training and inference. Thus, data must be moved through different memory tiers in order to perform computations on them. Unfortunately, data movement comes at a cost and is often roughly an order of magnitude slower than computation. This dissertation investigates techniques to reduce data movement through the memory hierarchy (I/O) bottlenecks in AI workloads, borrowing from techniques used in classical computer systems design. The overarching theme of techniques presented is data locality. Data access in computer systems has been shown to exhibit both temporal and spatial locality. This property can be used to keep data that is likely to be accessed again cached in fast tiers of memory thus reducing data movement. We focus our efforts on two broad classes of problems 1) inference latency reduction in tree ensemble models and 2) efficient storage of tensors in deep learning models. Both cases involve I/O bound problems providing us with opportunities to optimize them. Optimizing I/O in both use cases enables us to achieve significant end-to-end speedups. The first part of the dissertation presents techniques to reduce inference latency in tree ensemble models. Trees are inherently not cache friendly and their traversal incurs random I/Os. To alleviate this issue, this dissertation develops and presents two novel systems - BLOCKSET and T-Rex. BLOCKSET introduces methods to serialize and deserialize tree ensembles that optimize inference latency when models are not loaded into memory. It introduces the concept of selective access in which only the parts of the model needed for inference are deserialized and loaded on-demand into memory. BLOCKSET rearranges the nodes in a block-aligned storage format to reduce the number of I/Os for inference. T-Rex trades many random I/Os for few sequential I/O by remapping a forest of trees into a single spatial index. The second part of the dissertation investigates efficient deep learning model storage and retrieval in large computing clusters. We present our system DStore - a lightweight, distributed, RDMA-enabled learning model repository that enables fine-grained tensor access and the ability to reuse tensors in a model in a distributed setting. Furthermore, we extend DStore to equip it with the ability to handle provenance and ancestry queries. The new system is called Evostore. We evaluate Evostore's ability to perform continuous transfer learning at scale in an end-to-end Neural Architecture Search (NAS) workload. We then extend Evostore to consider efficient usage of multiple and hierarchical storage tiers. We explore the use of access patterns in caching decisions as well as local client caching in this setting. We thus present PTStore which demonstrates that these applying techniques lead to significant speedups for multiple workflows such as NAS and prefix caching for LLM inference.
Degree
thesis:*- Name thesis:degree_name
- Ph.D.
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor dc:publisher
- Johns Hopkins University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Madhyastha, Meghana
- Advisors dc:contributor.advisor
-
- Burns, Randal
- Vogelstein, Joshua
- Nicolae, Bogdan
- Marina, Mahesh
- ORCID person:identifier.orcid
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://jscholarship.library.jhu.edu/handle/1774.2/70671