<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>NURD: Negative-Unlabeled Learning for Online Datacenter Straggler Prediction</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2022 Summer</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10357265</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of Machine Learning and Systems 4 (MLSys 2022)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Yi Ding</author><author>Avinash Rao</author><author>Hyebin Song</author><author>Rebecca Willett</author><author>Henry Hoffmann</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Datacenters execute large computational jobs, which are composed of smaller tasks. A job completes when all its tasks finish, so stragglers-rare, yet extremely slow tasks-are a major impediment to datacenter performance. Accurately predicting stragglers would enable proactive intervention, allowing datacenter operators to mitigate stragglers before they delay a job. While much prior work applies machine learning to predict computer system performance, these approaches rely on complete labels-i.e., sufficient examples of all possible behaviors, including straggling and non-straggling-or strong assumptions about the underlying latency distributions-e.g., whether Gaussian or not. Within a running job, however, none of this information is available until stragglers have revealed themselves when they have already delayed the job. To predict stragglers accurately and early without labeled positive examples or assumptions on latency distributions, this paper presents NURD, a novel Negative-Unlabeled learning approach with Reweighting and Distribution-compensation that only trains on negative and unlabeled streaming data. The key idea is to train a predictor using finished tasks of non-stragglers to predict latency for unlabeled running tasks, and then reweight each unlabeled task's prediction based on a weighting function of its feature space. We evaluate NURD on two production traces from Google and Alibaba, and find that compared to the best baseline approach, NURD produces 2-11 percentage point increases in the F1 score in terms of prediction accuracy, and 4.7-8.8 percentage point improvements in job completion time.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>Stragglers impede job completion in datacenter-scale computing. Here, a computational job is split into many tasks, each of which is executed in parallel on different machines before their results are aggregated when the last task completes. Stragglers are rare, extremely slow tasks within a job that can degrade overall performance-by as much as 30-50% <ref type="bibr">(Ananthanarayanan et al., 2013;</ref><ref type="bibr">Reiss et al., 2011;</ref><ref type="bibr">Zheng &amp; Lee, 2018)</ref>. A straggler is commonly defined as a task with at least 90th percentile (p90) latency; i.e., at least 90% of tasks finish earlier than the straggler <ref type="bibr">(Hao et al., 2017;</ref><ref type="bibr">2020)</ref>. We refer to stragglers as the positive class since they are the minority and abnormal, and nonstragglers are the negative class since they are the majority and expected <ref type="bibr">(Chandola et al., 2009)</ref>.</p><p>Mitigating stragglers is a fundamental problem in datacenters <ref type="bibr">(Zhou et al., 2021;</ref><ref type="bibr">Belay et al., 2014;</ref><ref type="bibr">Adya et al., 2016;</ref><ref type="bibr">Handley et al., 2017;</ref><ref type="bibr">Haque et al., 2015;</ref><ref type="bibr">Nelson et al., 2015;</ref><ref type="bibr">Ayers et al., 2019)</ref>. Recent work uses predictive models to monitor executing tasks and predict stragglers before they 1 MIT CSAIL 2 University of Chicago 3 Pennsylvania State University. Correspondence to: Yi Ding &lt;ding1@csail.mit.edu&gt;.</p><p>Proceedings of the 5 th MLSys Conference, Santa Clara, CA, USA, 2022. Copyright 2022 by the author(s). reveal themselves with long run times <ref type="bibr">(Ananthanarayanan et al., 2010;</ref><ref type="bibr">Ren et al., 2015;</ref><ref type="bibr">Yadwadkar et al., 2014;</ref><ref type="bibr">Zhou et al., 2020)</ref>. Once a straggler is correctly predicted, proactive interventions-such as relaunching the same task on a different machine-will be triggered to mitigate the straggling behavior <ref type="bibr">(Ananthanarayanan et al., 2013;</ref><ref type="bibr">Aktas et al., 2017;</ref><ref type="bibr">Aktas &amp; Soljanin, 2019)</ref>. Machine learning techniques have been applied to model the complicated, nonlinear relationships between features (e.g., CPU utilization) and computation behavior (e.g., latency)-a recent survey has details <ref type="bibr">(Penney &amp; Chen, 2019</ref>). However, most existing work either heavily relies on complete labels-i.e., observing labeled samples from all classes at training-or strong assumptions about the underlying latency distribution-e.g., whether Gaussian or not. When predicting stragglers on live data-i.e., running jobs in the datacenter-stragglers are not revealed early because they finish last. Therefore, there are insufficient labels in the training set due to a lack of positive examples of stragglers, and it is hard to pre-specify the latency distribution for each job, which render most learning methods ineffective for straggler prediction within a running job. Moreover, since the characteristics of each job are usually unique in datacenters <ref type="bibr">(Reiss et al., 2012;</ref><ref type="bibr">Guo et al., 2019)</ref>, it is difficult to train a model on one job and apply it to another directly. Therefore, this paper proposes a technique that constructs a unique predictive model for each job on the fly-that is, as the job is running and before stragglers reveal themselves with long completion time.</p><p>We present NURD, a novel negative-unlabeled learning approach for online straggler prediction that requires no labeled positive examples or assumptions on the latency distributions. NURD uses finished tasks (i.e., negative examples, non-stragglers) to train a model to predict latency as a function of observed task features for running tasks. NURD's key insight is that this predictor will be biased towards nonstragglers, so it then reweights these latency predictions using a function of task features-i.e., each running task's probability of being included in the set of finished tasks given its observed features. Intuitively, this weighting function indicates how dissimilar a particular running task's features are from those that are finished; i.e., it preserves latency predictions for tasks that are similar to finished tasks (i.e., non-stragglers), and increases predicted latency for those that are different. With this reweighting scheme, NURD predicts stragglers early and accurately by reducing the prediction bias due to a lack of stragglers at training.</p><p>To summarize, our main contributions are as follows:</p><p>&#8226; We propose a novel negative-unlabeled learning approach based on reweighting predictions and demonstrate its efficacy for online straggler prediction when no labeled stragglers exist in the training set. &#8226; We evaluate NURD on Google production traces <ref type="bibr">(Reiss et al., 2011)</ref>, where we observe an 11 percentage point increase in the F1 score and 4.7 percentage point improvement in job completion time relative to the best baseline approach. Similarly, on Alibaba production traces (Alibaba), we see a 2 point increase in the F1 score and an 8.8 point improvement in job completion time. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">BACKGROUND</head><p>Datacenter terminology. Datacenter-scale computations, or jobs, are composed of sub-computations called tasks.</p><p>Because datacenter performance is critical, jobs are continually monitored and tasks' behavior in a variety of metrics are recorded at regular time checkpoints <ref type="bibr">(Reiss et al., 2011;</ref><ref type="bibr">2012)</ref>. These recorded measurements are a set of features that characterize each task. The choice of metrics to monitor (and thus features to capture) depends on the specific system on which the job is deployed. Ideally, datacenters would record metrics related to resource usage, microarchitectural behavior, and job scheduling <ref type="bibr">(Zheng &amp; Lee, 2018)</ref>. In such scenario, a straggler prediction algorithm could be applied at each checkpoint using the features from each task to predict its future latency. If a particular task is expected to stragglei.e., exceed an operator-specified latency threshold-then the job scheduler or human operator could be alerted to trigger intervention to mitigate stragglers.</p><p>Straggler mitigation. Straggler mitigation is an important part of datacenter scheduling <ref type="bibr">(Dean &amp; Barroso, 2013;</ref><ref type="bibr">Schwarzkopf &amp; Bailis, 2018;</ref><ref type="bibr">Aktas &amp; Soljanin, 2019;</ref><ref type="bibr">Dean &amp; Ghemawat, 2004;</ref><ref type="bibr">Zaharia et al., 2008;</ref><ref type="bibr">Ananthanarayanan et al., 2011)</ref>. Performance-aware schedulers predict which tasks are likely to straggle and then allocate additional resources to them <ref type="bibr">(Ananthanarayanan et al., 2010;</ref><ref type="bibr">Yadwadkar et al., 2014;</ref><ref type="bibr">Ren et al., 2015)</ref>. Wrangler is a typical system like this, using linear support vector machines to classify stragglers by oversampling stragglers to deal with imbalanced labels in the training set <ref type="bibr">(Yadwadkar et al., 2014)</ref>. Another example is LinnOS, which uses neural networks to predict anomalous I/O latency by training on tens of thousands of I/O operations from a single hardware device with known latency <ref type="bibr">(Hao et al., 2020)</ref>. A clear limitation of these approaches is that they require positive examples of stragglers. To the best of our knowledge, prior performanceaware schedulers assume that they have access to at least some examples of stragglers to train a model. This is a strong assumption that does not hold if users develop new jobs that are different from existing jobs (which is the common case for datacenter jobs <ref type="bibr">(Reiss et al., 2012;</ref><ref type="bibr">Guo et al., 2019)</ref>) or if datacenters install new hardware that induces new causes of straggling behavior. Thus, there is a need for performance-aware scheduling approaches that produce accurate predictions without positive examples of stragglers.</p><p>Problem formulation. Given the above discussion, we formalize the online straggler prediction problem as follows.</p><p>Imagine we have T time checkpoints. At the t-th checkpoint where t &#8712; [T ], n tasks are observed for a job, and the i-th task is associated with a feature vector x ti &#8712; R d , where d is the number of features (measurements) that characterize the task. Task i has true latency y i &#8712; R + . Let &#964; stra denote the target latency threshold that denotes straggling (e.g., the p90 latency), and S := {i &#8712; [n] : y i &#8805; &#964; stra } denote the set of tasks that are true stragglers. Our goal is to identify the straggler set S . The challenge is that we do not observe y i for all tasks at the t-th checkpoint. Rather, we only observe y i when y i &#8804; &#964; run t &#8804; &#964; stra , where &#964; run t is the latency at t-th time checkpoint. Let F t := {i &#8712; [n] : y i &#8804; &#964; run t } denote the tasks that finish before t-th time checkpoint, and R t be the list of tasks that are still running at the t-th time checkpoint. At each t-th checkpoint, given x ti for i &#8712; [n] and y i for i &#8712; F t , we estimate a set of stragglers &#348; from the unfinished tasks at &#964; run t . Our goal is to correctly identify stragglers, so that intervention can occur as early as possible.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">RELATED WORK</head><p>We notice the following limitations from the existing approaches applied to online straggler prediction:</p><p>&#8226; Difficulty of accounting for the drift between training and test distribution (supervised learning in &#167;3.1). &#8226; Only using information from the feature space and ignoring the observed latency (outlier detection in &#167;3.2). &#8226; Incorrect independence assumptions on labels given features (PU learning in &#167;3.3). &#8226; Heavy reliance on pre-specified latency distribution (censored and survival regression in &#167;3.4).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Supervised Learning</head><p>Supervised learning uses labeled samples to learn a predictor h t so that &#375;ti = h t (x ti ) for i-th task at t-th checkpoint; this predictor could estimate the latency of the unlabeled samples. Critically, however, the distribution of the unlabeled samples is different from that of the labeled samples; that is, the nature of the straggler prediction problem necessitates a distribution drift between training and prediction, and we must be robust to that drift. Without accounting for this drift, latency predictions for stragglers will be heavily biased <ref type="bibr">(Qui&#241;onero-Candela et al., 2009;</ref><ref type="bibr">Zhang et al., 2013)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Outlier Detection (Unsupervised Learning)</head><p>Outlier-or anomaly-detection is a family of unsupervised learning techniques that identifies rare events which differ from the general distribution of a population <ref type="bibr">(Chandola et al., 2007;</ref><ref type="bibr">Alam et al., 2019;</ref><ref type="bibr">Sipple, 2020)</ref>. These techniques separate nominal and anomalous distributions based on the observations in the feature space only. Although stragglers can be thought of as outliers, our online straggler prediction problem is critically different from outlier detection problems studied in the literature because stragglers-by definition-are outliers in latency, which are not necessarily outliers in the feature space. As such, while we have access to each task's features at t-th time checkpoint, their latency values are revealed only up to time t. To address the issue of only using information from feature space, NURD proposes to reweight the predicted latency with a weighting function to reduce the prediction bias in latency due to a lack of stragglers at training. Empirically, we evaluate fourteen existing outlier detection methods in &#167;7 to demonstrate that outlier detection methods have limited discriminative power in identifying stragglers within running jobs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">PU Learning (Semi-supervised Learning)</head><p>Positive-unlabeled (PU) learning is a family of semisupervised learning techniques that use both labeled and unlabeled samples to train a classifier <ref type="bibr">(Bekker &amp; Davis, 2020)</ref>. PU learning approaches learn from the two sets of examples, where the first set (positive) only contains examples from the first class, while the other set (unlabeled) contains examples from both classes. Existing PU learning <ref type="bibr">(Lee &amp; Liu, 2003;</ref><ref type="bibr">Elkan &amp; Noto, 2008;</ref><ref type="bibr">Mordelet &amp; Vert, 2014;</ref><ref type="bibr">Kiryo et al., 2017)</ref> assumes that observations of the labels are independent of the features given the classes (positive or negative); that is, the labeled examples are a random sample from the positive examples. However, this assumption is violated in online straggler prediction because only some non-stragglers with lower latency values have a chance to be sampled, while other non-stragglers with higher latency values are not included in the labeled set.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Censored and Survival Regression</head><p>Censored regression is a family of techniques to handle the situation where the value to be predicted (latency in this case) is censored; i.e., some values are missing but known to exceed certain thresholds <ref type="bibr">(Powell, 1986)</ref>. Survival regression is a related field that predicts when a system will survive beyond a certain time point. The latency variable in the online straggler prediction problem can be viewed as being censored at each checkpoint t because the latency values above t are not revealed. There are both linear (Tobit <ref type="bibr">(Tobin, 1958)</ref>) and non-linear (Grabit <ref type="bibr">(Sigrist &amp; Hirnschall, 2019</ref>)) methods for censored regression. The Cox proportional hazard (CoxPH) model is a popular approach for survival analysis <ref type="bibr">(Cox, 1972)</ref>. All three methods can be used to estimate latency with incomplete labels: latency can be viewed as being censored at each checkpoint t because the latency values above t are not revealed; alternatively, we could cast the problem as estimating whether a task will survive beyond the designated straggling latency. While the technical details of all three models differ greatly, they share a common assumption: that the underlying task latency behavior is known a priori. Tobit and Grabit assume the latency follows a Gaussian distribution, and they predict censored values according to this assumption. CoxPH makes a more relaxed assumption: rather than assuming a particular distribution, it assumes that all task's transformed survival curves (survival probability over time) have the same shape <ref type="bibr">(Hosmer et al., 2008)</ref>, an assumption that does not hold in the online straggler prediction problem as heterogeneous behavior (either in the tasks themselves or the machines executing those tasks) is a common cause of straggling. In addition, the CoxPH model assumes that the relationship between a task's features and straggling behavior does not change over time, but this is not true in practice and NURD explicitly accounts for this behavior ( &#167;4.3).</p><p>Algorithm 1 Online straggler prediction with NURD.</p><p>Input: T : number of time checkpoints; F 0 : list of tasks finished at initial checkpoint t = 0; R 0 : list of tasks running at initial checkpoint t = 0; &#964; stra &gt; 0: latency threshold; &#945; &gt; 0: calibration parameter; &gt; 0: minimum positive weight.</p><p>Output: &#348; 1: Initialize X fin and X run with features from tasks in F 0 and R 0 , i.e., X fin = {x 0i ; i &#8712; F 0 }, X run = {x 0i ; i &#8712; R 0 }. 2: Initialize Y fin in F 0 , i.e., Y fin = {y i ; i &#8712; F 0 }. 3: Straggler set &#348; &#8592; &#8709;. 4: Compute centroids of X fin and the rest running tasks X run , denoted as c fin and c run . 5: &#961; = c fin 2 / c runc fin 2 . Compute latency indicator 6: &#948; = 1 1+&#961;&#945;.</p><p>Compute calibration term 7: for each time checkpoint t = 1, . . . , T do 8:</p><p>Update tasks finished between t -1 and t-th checkpoint 9:</p><p>Update sets of finished and running tasks 10:</p><p>, and X run &#8592; {x ti ; i &#8712; R t }. 11: Update latency prediction model h t and PS estimation model g t using updated X fin , Y fin , and X run . 12:</p><p>for each task i &#8712; R t do 13:</p><p>Get initial latency prediction &#375;ti = h t (x ti ). 14:</p><p>Get PS estimation z ti = g t (x ti ). 15:</p><p>w ti = max( , min(z ti + &#948;, 1)) Construct final weighting function 16:</p><p>Get adjusted latency prediction &#375;adj ti = &#375;ti w ti . 17:</p><p>if &#375;adj ti &#8805; &#964; stra then 18: is relatively small compared to the maximum latency.</p><p>To reduce the false positives in predictions, we hope to increase the weighting value such that &#375;ti will not be enlarged too much. Therefore, &#948; should be relatively large but not exceed 1; i.e., w ti = min(z ti + &#948;, 1). &#8226; If the latency threshold is greater than the half of the maximum latency (right side of Figure <ref type="figure">1</ref>), the latency threshold is relatively large. To reduce the false negatives in predictions, we hope to decrease the weighting value such that &#375;ti will be enlarged enough. Therefore, &#948; should be relatively small but not make w ti negative; i.e., w ti = max( , min(z ti + &#948;, 1)), where is a small positive scalar.</p><p>With this insight, we address the remaining questions as follows:</p><p>(1) how to determine whether the latency threshold is relatively large or small when the job is still running (since the actual task latencies are unknown), and (2) how to set &#948;.</p><p>Determining whether latency threshold is relatively large or small. As noted in &#167;3 prior work for outlier detection and censored regression assumes a distribution (almost always Gaussian) for the values (in this case latency) they Algorithm 3 Scheduling with fewer machines than tasks. are trying to predict. Such an assumption makes determining the relative size of the latency threshold trivial. A key distinction of NURD is that it makes no such assumption (and Figure <ref type="figure">1</ref> shows that no single assumption would suffice). Specifically, NURD estimates the relative magnitude of the latency threshold from tasks' observed features, rather than from assumptions about the latency distribution. Inspired by the insight that running tasks' features are different from those of finished tasks, NURD compares the feature centroids of finished tasks (non-stragglers) c fin and those of running tasks c run before starting prediction. Empirically, NURD computes &#961; = c fin 2 / c runc fin 2 .</p><p>The intuition is that &#961; indicates how far potential stragglers are from non-stragglers. If potential stragglers are far from non-stragglers (left side of Figure <ref type="figure">1</ref>), c run is likely to be far from c fin and &#961; &#8804; 1. In this case, the unweighted latency prediction &#375;ti is easily pushed over the threshold, which makes PS overcorrect the latency predictions. Therefore, increasing the weight by making &#948; relatively large has little effect on true positives, but decreases false positives. In contrast, if potential stragglers are close to non-stragglers (right side of Figure <ref type="figure">1</ref>), c run is likely to be close to c fin and &#961; &gt; 1. In this case, true stragglers may not be easily pushed over the threshold by &#375;ti because the features of all tasks are not so different, which makes PS alone not enough for reweighting. Therefore, reducing the weight by making &#948; relatively small increases the true positives significantly, despite a possible small increase in false positives.</p><p>Setting &#948;. Assuming &#948; &#8712; (-&#945;, &#945;), where &#945; &gt; 0. As discussed above, &#948; is a function of &#961;. When the latency threshold is relatively small (&#961; &#8804; 1), &#948; is relatively large.</p><p>When the latency threshold is relatively large (&#961; &gt; 1), &#948; is relatively small. Therefore, NURD uses a function</p><p>With z ti , &#948;, and &#375;ti , NURD obtains</p><p>NURD identifies stragglers if &#375;adj ti &#8805; &#964; stra ; i.e., the predicted latency exceeds the latency threshold. Since the exact value of &#964; stra is unknown a priori, it can either be selected manually by users or automatically by techniques such as those in LinnOS <ref type="bibr">(Hao et al., 2020)</ref> that estimate the inflection point in the latency CDF. Determining the latency threshold is beyond the scope of this work. Tests with a wide variety of thresholds show that NURD produces results that are robust to the different latency thresholds.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Updating Models Online</head><p>As the job is running, NURD accumulates examples of finished tasks at each checkpoint and NURD uses these new examples to update both the latency predictor h t and propensity score model in Equation 2 once the true task latencies are known. Thus, NURD improves prediction results as it collects more finished tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">SCHEDULING</head><p>After NURD predicts a straggler, it can trigger the schedulers to mitigate straggling behavior, e.g., relaunching the predicted stragglers on other machines. To demonstrate how NURD can be used to reduce job completion time, we design schedulers to reassign tasks once a task is predicted to straggle. Our schedulers are based on the common strategy of relaunching predicted straggling tasks on new machines since it has been proved to be effective at mitigating stragglers <ref type="bibr">(Ananthanarayanan et al., 2013;</ref><ref type="bibr">Lee et al., 2015;</ref><ref type="bibr">Ren et al., 2015)</ref>. We consider two different situations: more machines than tasks and fewer machines than tasks.</p><p>&#8226; More machines than tasks. When more machines are available than tasks, a task that is predicted to be a straggler can be terminated and reassigned to a new machine immediately. Algorithm 2 summarizes the scheduling procedure when more machines are available than tasks. &#8226; Fewer machines than tasks. When fewer machines are available than tasks, it is possible that not all predicted stragglers can be reassigned to new machines immediately.</p><p>The scheduler needs to regularly check if there are new machines that just finished running tasks at each checkpoint. Should that be the case, these machines will also be considered for future assignment. Then, NURD will evaluate each running task and predicts if it will straggle.</p><p>If that is the case and there are machines available, this task will be terminated and relaunched on a new machine immediately. Otherwise, the scheduler will move on to the next active task and wait for new machines at the next time checkpoint. Algorithm 3 summarizes the scheduling procedure when fewer machines are available than tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">EXPERIMENTAL SETUP</head><p>Evaluation methodology. We evaluate NURD's ability to predict stragglers as jobs are running. We construct a simulator by parsing publicly available data traces and converting them into a time-series format; i.e., a series of the statistics available for each timestamp. The simulator replicates real execution by sending NURD the features that would be available at each time checkpoint. We use two public production traces from Google <ref type="bibr">(Reiss et al., 2011)</ref> and Alibaba <ref type="bibr">(Alibaba)</ref> to demonstrate generality:</p><p>&#8226; Google traces. The Google traces include 29 days of data from 12.5K machines <ref type="bibr">(Reiss et al., 2011;</ref><ref type="bibr">goo)</ref>. The trace consists of a number of jobs, each of which has tasks from 100 to 9999. We filter to only include production jobs with 100 or more tasks, which reduces the 650K jobs and 25M tasks to 8425 jobs and 1.1M tasks. There are 15 features per task including resource usage, microarchitectural, and scheduling behavior, shown in Table <ref type="table">1</ref>. &#8226; Alibaba traces. The Alibaba traces include two subsets of traces (Alibaba; ali): (1) 2017 traces consisting of 1.3K machines over 12 hours; (2) 2018 traces consisting of 4K machines over 8 days. The trace consists of a number of tasks, each of which has numerous instances. We filter the tasks to those with at least 100 instances, reducing to 1M tasks. There are 4 features per instance including CPU and memory usages, shown in Table <ref type="table">2</ref>.</p><p>For all evaluations, NURD works on live data and makes predictions about which tasks will straggle without seeing any stragglers at training. The evaluations are run on a dual Initial training data. For each job, we first wait for 4% of the entire tasks to complete as the initial training set, which are all non-stragglers. As the job is running, the training size increases as more tasks finish and are added to the training set. We only wait for a small amount of tasks to finish because we aim to mimic the real online experiments and start predicting as early as possible.</p><p>Latency threshold. We tested latency thresholds from p70 to p95 and the p90 results are representative of the average behavior over all those data points. We present results that use p90 as the latency threshold, i.e., any task's latency higher than 90th percentile latency is considered a straggler.</p><p>Comparisons. We compare to the following approaches:</p><p>&#8226; Supervised learning: we compare to gradient boosting trees (GBTR), a widely-used regression model that achieves high predictive power in various prediction tasks <ref type="bibr">(Chen &amp; Guestrin, 2016</ref>). &#8226; Outlier detection: we compare to fourteen existing outlier detection methods with implementations available including ABOD <ref type="bibr">(Kriegel et al., 2008)</ref>, CBLOF <ref type="bibr">(He et al., 2003)</ref>, HBOS <ref type="bibr">(Goldstein &amp; Dengel, 2012)</ref>, IFOR-EST <ref type="bibr">(Liu et al., 2008)</ref>, KNN <ref type="bibr">(Ramaswamy et al., 2000)</ref>, LOF <ref type="bibr">(Breunig et al., 2000)</ref>, MCD <ref type="bibr">(Hardin &amp; Rocke, 2004)</ref>, OCSVM <ref type="bibr">(Sch&#246;lkopf et al., 2001)</ref>, PCA <ref type="bibr">(Shyu et al., 2003)</ref>, SOS <ref type="bibr">(Janssens et al., 2012)</ref>, LSCP <ref type="bibr">(Zhao et al., 2019a)</ref>, COF <ref type="bibr">(Tang et al., 2002)</ref>, SOD <ref type="bibr">(Kriegel et al., 2009)</ref>, and XGBOD <ref type="bibr">(Zhao &amp; Hryniewicki, 2018)</ref>, for which we use implementations from a state-of-the-art outlier detection library PyOD <ref type="bibr">(Zhao et al., 2019b)</ref> <ref type="foot">foot_0</ref> . &#8226; PU learning: we compare to two PU learning methods with implementations available including PU-EN <ref type="bibr">(Elkan &amp; Noto, 2008)</ref> and PU-BG <ref type="bibr">(Mordelet &amp; Vert, 2014)</ref>, for which we use implementations from pulearn package<ref type="foot">foot_1</ref> . &#8226; Censored and survival regression: we compare to three censored and survival regression methods with implementations available including Tobit <ref type="bibr">(Tobin, 1958)</ref>, Grabit <ref type="bibr">(Sigrist &amp; Hirnschall, 2019)</ref>, and Cox proportional hazard model <ref type="bibr">(Tian et al., 2005)</ref>, for which we use implementation from the author<ref type="foot">foot_2</ref> and lifelines library<ref type="foot">foot_3</ref> . &#8226; Wrangler: we compare to Wrangler <ref type="bibr">(Yadwadkar et al., 2014)</ref>, a systems solution for straggler prediction by oversampling stragglers to address the issue of training set imbalance. It uses linear support vector machines for interpretability. Since Wrangler assumes positive examples of stragglers at training, we randomly sample 2/3 non-stragglers and stragglers from each job as training to mimic the same situation in the original paper. &#8226; NURD-NC: we compare to NURD-NC, a variant of NURD that does not including reweighting based on latency space, i.e., w ti = z ti in Algorithm 1. This comparison aims to demonstrate the significance of accounting for the differences in latency thresholds for different jobs.</p><p>Hyperparameter tuning. Since different jobs have different optimal hyperparameter settings, it is challenging to tune hyperparameters for each job individually for each method. To do a fair comparison, we select 6 jobs from each dataset to be used for hyperparameter tuning. For the Google traces, We choose the same 6 representative jobs analyzed by humans in prior work <ref type="bibr">(Zheng &amp; Lee, 2018)</ref> as they are known to have mixed causes for straggling behavior.</p><p>For the Alibaba traces, we choose the first 6 tasks in the dataset. Then for each learning method evaluated, we manually tune these jobs to find the optimal hyperparameters and apply them to all jobs. For NURD in particular, we set &#945; = 0.5 and = 0.05 in Algorithm 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">EXPERIMENTAL EVALUATION</head><p>The key takeaways of our evaluation are as follows. Compared to the best baseline approach:</p><p>&#8226; NURD achieves 11 and 2 percentage point increases in the F1 score for Google and Alibaba production traces, beled running tasks, and then reweight each unlabeled task's prediction based on a weighting function of its feature space.</p><p>Extensive evaluation results on two real-world production traces demonstrates the effectiveness of NURD for online straggler prediction. Looking ahead, there is a possibility to apply transfer learning <ref type="bibr">(Pan &amp; Yang, 2009)</ref> to incorporate knowledge from other jobs to improve predictions. We will incorporate transfer learning and deploy our methods in real-world datacenters for future datacenter-scale research.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://github.com/yzhao062/pyod</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>https://pulearn.github.io/pulearn/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>https://github.com/fabsig/KTBoost</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3"><p>https://github.com/CamDavidsonPilon/ lifelines/</p></note>
		</body>
		</text>
</TEI>
