Year: 2023
Type: dissertation
Abstract: Eigen is a large-scale, cloud-native cluster management system that features end-to-end resource optimization in a hierarchical resource management system. The system hierarchically organizes machines in the cluster (i.e., machines are assigned to non-empty layer, empty layer, and offline layer respectively), and simultaneously optimizes resources using three novel algorithms. Vectorized Resource optimization (VRO) is a heuristic resource scheduling algorithm that consolidates non-empty machines. Eigen optimizes the skewness across resource dimensions and migration costs. Exponential Smoothing (ES) with Smoothed Adaptive Margins is a statistical auto-scaler that proactively scales empty machines over a short-term period. Eigen also optimizes the scaling of workload spikes. Temporal CNN (TCN) with Minimum-stock policy is a deep neural network-based auto-scaler that proactively scales offline machines over a long-term period. Finally, Eigen optimizes the scaling when resources cannot be instantaneously scaled. ElasticSearch Database (ESDB) is a cloud-native multi-tenant database that processes extremely skewed workloads in real-time. The approach is enabled by dynamic secondary hashing, a novel workload balancing approach which optimizes resource utilization through resolving tenant-level and dynamic hotspots. This mechanism relies on a dynamic routing table that enables real-time workload balancing to allow balanced write across the shards. At the same time, it provides read-your-write consistency and avoids the heavy burden induced by distributed queries. In summary, within the systems (Eigen, ESDB and PXAI), we study, design and evaluate novel resource optimization approaches, and develop computationally efficient XAI tools. The evaluation results show that the proposed resource optimization approaches (in Eigen and ESDB) overcome the disadvantages of previous work and significantly improve resource utilization in distributed systems. Moreover, the case studies of PXAI demonstrate the effectiveness of PXAI in explaining ML models, while the evaluation results show that PXAI significantly improves the computation efficiency of XAI tools. Provenance-enabled XAI (PXAI) is a local and model-agnostic XAI tool for enhancing the transparency and robustness of AI/ML-based system resource optimizations. The tool is enabled by a provenance graph that captures data/computing dependencies of input features, model parameters, intermediate computation results and outputs of ML models. Based on the provenance graph, we develop provenance-enabled model inference that excludes irrelevant variables and computations for XAI tools. Then we define approximate subgraphs that are XAI-approximate, and design provenance-enabled approximate subgraph searching algorithms to exclude insignificant variables and computations. The approach decouples XAI from original ML computing and improves the computation efficiency of XAI tools by reducing redundant computing, therefore, improving the explainability of AI/ML models used in distributed systems. Distributed systems have evolved into large-scale cloud platforms that support parallel computing of workloads from hundreds of thousands of users. Administrators of distributed systems are finding that improving resource utilization without violating service level agreements (SLAs) is becoming more and more challenging due to the ever-increasing complexity of workloads. Benefiting from adaptivity, statistical and machine learning (ML) algorithms, which automatically reconfigure the system based on historical and real-time workloads, have been widely adopted for resource optimization. Unfortunately, existing optimization approaches are far from optimal, particularly in terms of 1. resource scheduling, which allocates multi-dimensional resources for heterogeneous workloads; 2. auto-scaling, which automatically allocates/de-allocates resources based on dynamic workloads; 3. workload balancing, which balances skewed workloads; and 4. explainable AI (XAI) which aims to improve the explainability of black-box ML models, and enhance system robustness and transparency. In this dissertation, we show that the resource utilization of distributed systems can be improved through the collaboration of statistical and ML-based resource scheduling, auto-scaling and workload balancing, while the transparency and robustness of the systems can be enhanced through data dependency techniques that track data/computation flow and enable efficient XAI computing in large-scale. We validate our thesis through the design of three complementary systems: Eigen, ESDB, and PXAI.
Author: Zhang, Jiachi
Institution: Georgetown University
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6991999151
