Hong Kong University of Science and Technology
Enhancing performance and efficiency in learned indexes and adaptive gradient compression with bandwidth awareness in distributed training
Abstract
dc:description<p>Recent advances in machine learning have spurred innovative approaches to traditional database management systems, with learned indexes emerging as a transformative paradigm. Unlike conventional indexes that utilize static data structures (e.g., B-trees, hash maps), learned indexes harness predictive models to approximate the position or existence of data within a dataset. Moreover, they offer a reduced memory footprint by compactly encoding indexing information through model parameters. Their predictive capabilities also extend to range queries and join operations, offering a versatile tool for query optimization. The shift towards learned indexes challenges traditional database design and presents new opportunities for performance improvements in handling large-scale data.</p> <p>In this thesis, we introduce Hyper —a highly efficient learned index characterized by a novel two-phase hybrid construction approach. This approach synergistically combines bottom-up construction for leaf nodes with top-down construction for inner nodes, thereby achieving an optimal balance between performance and memory usage. Specifically, the bottom-up construction is distribution-aware, enhancing the solution by narrowing the con-figuration search within each partition and at a more coarse-grained level. Conversely, the top-down approach ensures precise model predictions, thereby minimizing unnecessary search overhead at each level.</p> <p>Hyper adeptly manages concurrent writes and structural adjustments without compromising query performance. We tested Hyper on both real-world and synthetic datasets, comparing it against seven cutting-edge learned indexes and multiple traditional data structures tailored for dynamic workloads. The results are compelling: Hyper demonstrates a remarkable performance increase, achieving up to a 3.75× boost and a drastic reduction in index memory requirements by up to 1610× in single-thread evaluations. In scenarios of high concurrency, Hyper further distinguishes itself, recording performance improvements of up to 5.73×, 3.72×, and 3.99× across read-only, read-write, and write-only workloads, respectively.</p> <p>In the second part of this thesis, we concentrate on optimizing communication via two key methods: adaptive bandwidth management and strategic use of diverse compression techniques for different DNN layers. The core of our research is adaptive bandwidth allocation, designed to meet changing network demands, ensuring efficient resource use and consistent quality. We also investigate how various compression methods interact with DNN architectures, aiming for improved compression by tailoring methods to specific layer functions. This adaptive, varied approach to DNN design is expected to greatly enhance network data transmission, meeting the need for high-speed, low-latency communication.</p> <p>We present Kimad, a solution providing adaptive gradient compression that dynamically adjusts compression ratios by continuously monitoring bandwidth to suit specific neural network layer needs. Our comprehensive testing and validation underscore Kimads exceptional performance, setting a new standard for adaptive compression in distributed deep learning.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Shunkang
- Contributors dc:contributor
-
- Yang, Can
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-150651