Back to search

Iowa State University

Leveraging coding techniques and redundancy for speeding up distributed computing and robustifying distributed learning

Abstract

dc:description.abstract

Distributed computing is extensively used nowadays to facilitate the processing of large amounts of data for a wide range of applications, including, but not limited to, machine learning, large-scale sorting, matrix computations, and database queries. Executing jobs of large magnitude requires an increased amount of resources that are often unavailable in one machine; instead, a cluster of servers is utilized. Such setups often suffer from long communication phases that impede the execution of algorithms. Also, these systems are prone to Byzantine behavior where a server may return erroneous results due to an error or malicious activity. These problems become of greater importance as much work is outsourced to external computing services and can have irreversible consequences for the algorithms, such as compromising the quality of the inference of a machine learning model. In the first part of this work, we will focus on a popular framework that facilitates large-scale computations, known as MapReduce, to demonstrate methods that significantly speed up the overall execution. In MapReduce, a job is partitioned into multiple smaller tasks executed on different servers. The servers need to exchange intermediate information to complete the computation. There is ample experimental evidence that this so-called Shuffle phase can present a bottleneck to the algorithm and slow down the entire framework. The reason lies in this phase accounting for a significant fraction of the overall time for several classes of algorithms. Prior approaches explore a trade-off between computation and communication and manage to reduce the time spent on shuffling by means of computational redundancy. In this work, we demonstrate the major weaknesses of such approaches as the algorithms scale. Their fundamental disadvantage is that the original job must be divided into an exponential number of smaller tasks; this requirement entails major bottlenecks stemming from increased encoding complexity. In our work, we utilize structures from design theory known as resolvable designs to apply coding theoretic ideas in setups executing one or multiple jobs in parallel; these designs are used to decide the tasks each server runs. We have extensively tested our schemes on Amazon EC2 clusters and demonstrate speedups of up to 4.69x compared to existing approaches. In the latter two parts of this dissertation, we turn our attention to the problem of erroneous behavior of servers in distributed computing and focus specifically on training models on distributed clusters. The training is a critical component of most machine learning pipelines, and it can be made to fail if some machines return corrupted computations to the central machine that coordinates the protocol, also called the parameter server (PS). Prior methods use robust aggregation, redundancy, or a combination of the two to alleviate distorted gradients returned by some servers. In our initial work in this area, our primary goal is to filter the corrupted gradients. We propose a method that leverages Latin squares and bipartite expander graphs to redundantly assign gradient computations to the servers. We consider optimal adversarial attacks where an adversary possesses complete knowledge of the system and show that if it mounts judicious attacks, previous techniques either fail or converge to ineffectual models. Specifically, we provide an upper bound on the worst-case fraction of corrupted gradients based on the eigenvalues of the adjacency matrix of the utilized graph. We show that our method enjoys a 36% reduction in the fraction of corrupted gradients and an average of 20% advantage in CIFAR-10 classification accuracy. In the last part of this work, we are concerned with detecting the adversarial servers to exclude them from the training process altogether. We initially consider strong attacks, as in the case of expander graphs. Subsequently, we relax this assumption and allow for weaker adversaries. One relaxation we investigate is the assumption that the set of adversarial servers may only change every few iterations of the optimization algorithm; this enables the PS to utilize historical data from previous iterations to detect the adversaries. We use constructions from design theory to assign the tasks in this case as well. Our algorithm can effectively detect all adversaries in at most five iterations while achieving an accuracy benefit of at least 25% (averaged over strong and weak attack scenarios) compared to the state-of-the-art on the CIFAR-10 data set. Our detection schemes also achieve reductions in the fraction of corrupted gradients ranging from 16% to 99%.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
dissertation
Discipline thesis:degree_discipline
Electrical engineering
Department dc:contributor.department
Department of Electrical and Computer Engineering
Grantor
Iowa State University
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Konstantinidis, Konstantinos
Advisors dc:contributor.advisor
  • Ramamoorthy, Aditya
  • Wang, Zhengdao
  • Vaswani, Namrata
  • Ganapathysubramanian, Baskar
  • Song, Sung-Yell
ORCID dc:identifier.orcid

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://dr.lib.iastate.edu/handle/20.500.12876/kv7k0mPv

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Konstantinidis, Konstantinos. Leveraging coding techniques and redundancy for speeding up distributed computing and robustifying distributed learning. dissertation thesis, Iowa State University, 2022. https://dr.lib.iastate.edu/handle/20.500.12876/kv7k0mPv