<?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'>Online Learning with Optimism and Delay</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10275615</idno>
					<idno type="doi"></idno>
					<title level='j'>Internation conference on machine learning</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Genevieve Flaspohler</author><author>Francesco Orabona</author><author>Judah Cohen</author><author>Soukayna Mouatadid</author><author>Miruna Oprescu</author><author>Paulo Orenstein</author><author>Lester Mackey</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Inspired by the demands of real-time climate and weather forecasting, we develop optimistic online learning algorithms that require no parameter tuning and have optimal regret guarantees under delayed feedback. Our algorithms -- DORM, DORM+, and AdaHedgeD -- arise from a novel reduction of delayed online learning to optimistic online learning that reveals how optimistic hints can mitigate the regret penalty caused by delay. We pair this delay-as-optimism perspective with a new analysis of optimistic learning that exposes its robustness to hinting errors and a new meta-algorithm for learning effective hinting strategies in the presence of delay. We conclude by benchmarking our algorithms on four subseasonal climate forecasting tasks, demonstrating low regret relative to state-of-the-art forecasting models.]]></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>Online learning is a sequential decision-making paradigm in which a learner is pitted against a potentially adversarial environment <ref type="bibr">(Shalev-Shwartz, 2007;</ref><ref type="bibr">Orabona, 2019)</ref>. At time t, the learner must select a play w t from some set of possible plays W. The environment then reveals the loss function &#8467; t and the learner pays the cost &#8467; t (w t ). The learner uses information collected in previous rounds to improve its plays in subsequent rounds. Optimistic online learners additionally make use of side-information or "hints" about expected future losses to improve their plays. Over a period of length T , the goal of the learner is to minimize regret, an objective that quantifies the performance gap between the learner and the best possible constant play in retrospect in some competitor set U: Regret T = sup u&#8712;U T t=1 &#8467; t (w t )-&#8467; t (u). Adversar- ial online learning algorithms provide robust performance in many complex real-world online prediction problems such as climate or weather forecasting.</p><p>In traditional online learning paradigms, the loss for round t is revealed to the learner immediately at the end of round t. However, many real-world applications produce delayed feedback, i.e., the loss for round t is not available until round t + D for some delay period D.<ref type="foot">foot_0</ref> Existing delayed online learning algorithms achieve optimal worst-case regret rates against adversarial loss sequences, but each has drawbacks when deployed for real applications with short horizons T . Some use only a small fraction of the data to train each learner <ref type="bibr">(Weinberger &amp; Ordentlich, 2002;</ref><ref type="bibr">Joulani et al., 2013)</ref>; others tune their parameters using uniform bounds on future gradients that are often challenging to obtain or overly conservative in applications <ref type="bibr">(McMahan &amp; Streeter, 2014;</ref><ref type="bibr">Quanrud &amp; Khashabi, 2015;</ref><ref type="bibr">Joulani et al., 2016;</ref><ref type="bibr">Korotin et al., 2020;</ref><ref type="bibr">Hsieh et al., 2020)</ref>. Only the concurrent work of <ref type="bibr">Hsieh et al. (2020, Thm. 13</ref>) can make use of optimistic hints and only for the special case of unconstrained online gradient descent.</p><p>In this work, we aim to develop robust and practical algorithms for real-world delayed online learning. To this end, we introduce three novel algorithms-DORM, DORM+, and AdaHedgeD-that use every observation to train the learner, have no parameters to tune, exhibit optimal worstcase regret rates under delay, and enjoy improved performance when accurate hints for unobserved losses are available. We begin by formulating delayed online learning as a special case of optimistic online learning and use this "delay-as-optimism" perspective to develop:</p><p>1. A formal reduction of delayed online learning to optimistic online learning (Lems. 1 and 2), 2. The first optimistic tuning-free and self-tuning algorithms with optimal regret guarantees under delay (DORM, DORM+, and AdaHedgeD), 3. A tightening of standard optimistic online learning regret bounds that reveals the robustness of optimistic algorithms to inaccurate hints (Thms. 3 and 4), 4. The first general analysis of follow-the-regularizedleader (Thms. 5 and 10) and online mirror descent algorithms (Thm. 6) with optimism and delay, and 5. The first meta-algorithm for learning a low-regret optimism strategy under delay (Thm. 13).</p><p>We validate our algorithms on the problem of subseasonal forecasting in Sec. 7. Subseasonal forecasting-predicting precipitation and temperature 2-6 weeks in advance-is a crucial task for allocating water resources and preparing for weather extremes <ref type="bibr">(White et al., 2017)</ref>. Subseasonal forecasting presents several challenges for online learning algorithms. First, real-time subseasonal forecasting suffers from delayed feedback: multiple forecasts are issued before receiving feedback on the first. Second, the regret horizons are short: a common evaluation period for semimonthly forecasting is one year, resulting in 26 total forecasts. Third, forecasters cannot have difficult-to-tune parameters in realtime, practical deployments. We demonstrate that our algorithms DORM, DORM+, and AdaHedgeD sucessfully overcome these challenges and achieve consistently low regret compared to the best forecasting models.</p><p>Our Python library for Optimistic Online Learning under Delay (PoolD) and experiment code are available at <ref type="url">https://github.com/geflaspohler/poold</ref>.</p><p>Notation For integers a, b, we use the shorthand [b] {1, . . . , b} and g a:b b i=a g i . We say a function f is proper if it is somewhere finite and never -&#8734;. We let &#8706;f (w) = {g &#8712; R d : f (u) &#8805; f (w) + g, uw , &#8704;u &#8712; R d } denote the set of subgradients of f at w &#8712; R d and say f is &#181;-strongly convex over a convex set W &#8838; int dom f with respect to &#8226; with dual norm &#8226; * if &#8704;w, u &#8712; W and g &#8712; &#8706;f (w), we have f (u) &#8805; f (w) + g, uw + &#181; 2 wu 2 . For differentiable &#968;, we define the Bregman divergence B &#968; (w, u) &#968;(w) -&#968;(u) -&#8711;&#968;(u), wu . We define diam(W) = inf w,w &#8242; &#8712;W ww &#8242; , (r) + max(r, 0), and min(r, s) + (min(r, s)) + .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Preliminaries: Optimistic Online Learning</head><p>Standard online learning algorithms, such as follow the regularized leader (FTRL) and online mirror descent (OMD) achieve optimal worst-case regret against adversarial loss sequences <ref type="bibr">(Orabona, 2019)</ref>. However, many loss sequences encountered in applications are not truly adversarial. Optimistic online learning algorithms aim to improve performance when loss sequences are partially predictable, while remaining robust to adversarial sequences (see, e.g., <ref type="bibr">Azoury &amp; Warmuth, 2001;</ref><ref type="bibr">Chiang et al., 2012;</ref><ref type="bibr">Rakhlin &amp; Sridharan, 2013b;</ref><ref type="bibr">Steinhardt &amp; Liang, 2014)</ref>. In optimistic online learning, the learner is provided with a "hint" in the form of a pseudo-loss lt at the start of round t that represents a guess for the true unknown loss. The online learner can incorporate this hint before making play w t .</p><p>In standard formulations of optimistic online learning, the convex pseudo-loss lt (w t ) is added to the standard FTRL or OMD regularized objective function and leads to optimistic variants of these algorithms: optimistic FTRL (OFTRL, <ref type="bibr">Rakhlin &amp; Sridharan, 2013a)</ref> and single-step optimistic OMD (SOOMD, <ref type="bibr">Joulani et al., 2017, Sec. 7.2)</ref>. Let gt &#8712; &#8706; lt (w t-1 ) and g t &#8712; &#8706;&#8467; t (w t ) denote subgradients of the pseudo-loss and true loss respectively. The inclusion of an optimistic hint leads to the following linearized update rules for play w t+1 :</p><p>with g0 = 0 and arbitrary w 0 (SOOMD) where gt+1 &#8712; R d is the hint subgradient, &#955; &#8805; 0 is a regularization parameter, and &#968; is proper regularization function that is 1-strongly convex with respect to a norm &#8226; . The optimistic learner enjoys reduced regret whenever the hinting error g t+1 -gt+1 * is small <ref type="bibr">(Rakhlin &amp; Sridharan, 2013a;</ref><ref type="bibr">Joulani et al., 2017)</ref>. Common choices of optimistic hints include the last observed subgradient or average of previously observed subgradients <ref type="bibr">(Rakhlin &amp; Sridharan, 2013a)</ref>. We note that the standard FTRL and OMD updates can be recovered by setting the optimistic hints to zero.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Online Learning with Optimism and Delay</head><p>In the delayed feedback setting with constant delay of length D, the learner only observes (&#8467; i ) t-D i=1 before making play w t+1 . In this setting, we propose counterparts of the OFTRL and SOOMD online learning algorithms, which we call optimistic delayed FTRL (ODFTRL) and delayed optimistic online mirror descent (DOOMD) respectively:</p><p>with h 0 0 and arbitrary w 0 , (DOOMD)</p><p>for hint vector h t+1 . Our use of the notation h t+1 instead of gt+1 for the optimistic hint here is suggestive. Our regret analysis in Thms. 5 and 6 reveals that, instead of hinting only for the "future" missing loss g t+1 , delayed online learners should uses hints h t that guess at the summed subgradients of all delayed and future losses: h t = t s=t-D gs .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Delay as Optimism</head><p>To analyze the regret of the ODFTRL and DOOMD algorithms, we make use of the first key insight of this paper:</p><p>Learning with delay is a special case of learning with optimism.</p><p>In particular, ODFTRL and DOOMD are instances of OFTRL and SOOMD respectively with a particularly "bad" choice of optimistic hint gt+1 that deletes the unobserved loss subgradients g t-D+1:t .</p><p>Lemma 1 (ODFTRL is OFTRL with a bad hint). ODFTRL</p><p>The implication of this reduction of delayed online learning to optimistic online learning is that any regret bound shown for undelayed OFTRL or SOOMD immediately yields a regret bound for ODFTRL and DOOMD under delay. As we demonstrate in the remainder of the paper, this novel connection between delayed and optimistic online learning allows us to bound the regret of optimistic, self-tuning, and tuning-free algorithms for the first time under delay.</p><p>Finally, it is worth reflecting on the key property of OFTRL and SOOMD that enables the delay-to-optimism reduction: each algorithm depends on g t and gt+1 only through the sum g 1:t + gt+1 . 2 For the "bad" hints of Lems. 1 and 2, these sums are observable even though g t and gt+1 are not separately observable at time t due to delay. A number of alternatives to SOOMD have been proposed for optimistic OMD <ref type="bibr">(Chiang et al., 2012;</ref><ref type="bibr">Rakhlin &amp; Sridharan, 2013a;</ref><ref type="bibr">b;</ref><ref type="bibr">Kamalaruban, 2016)</ref>. Unlike SOOMD, these procedures all incorporate optimism in two steps, as in the updates w t+1/2 = argmin w&#8712;W g t , w + B &#955;&#968; (w, w t-1/2 ) and w t+1 = argmin w&#8712;W gt+1 , w + B &#955;&#968; (w, w t+1/2 ) (1) described in <ref type="bibr">Rakhlin &amp; Sridharan (2013a, Sec. 2.2)</ref>. It is unclear how to reduce delayed OMD to an instance of one of these two-step procedures, as knowledge of the unobserved g t is needed to carry out the first step.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Delayed and Optimistc Regret Bounds</head><p>To demonstrate the utility of our delay-as-optimism perspective, we first present the following new regret bounds for OFTRL and SOOMD, proved in Apps. B and C respectively.</p><p>Theorem 3 (OFTRL regret). If &#968; is nonnegative, then, for all u &#8712; W, the OFTRL iterates w t satisfy</p><p>Theorem 4 (SOOMD regret). If &#968; is differentiable and 2 For SOOMD, gt + gt+1 -gt = g1:t + gt+1 -(g1:t-1 + gt).</p><p>gT +1 0, then, &#8704;u &#8712; W, the SOOMD iterates w t satisfy</p><p>Both results feature the robust Huber penalty <ref type="bibr">(Huber, 1964)</ref> huber(x, y)</p><p>in place of the more common squared error term 1 2 g t -gt</p><p>2 * . As a result, Thms. 3 and 4 strictly improve the rate-optimal OFTRL and SOOMD regret bounds of <ref type="bibr">Rakhlin &amp; Sridharan (2013a)</ref>; <ref type="bibr">Mohri &amp; Yang (2016)</ref>; <ref type="bibr">Orabona (2019, Thm. 7.28)</ref> and <ref type="bibr">Joulani et al. (2017, Sec. 7</ref>.2) by revealing a previously undocumented robustness to inaccurate hints gt . We will use this robustness to large hint error g t -gt * to establish optimal regret bounds under delay.</p><p>As an immediate consequence of this regret analysis and our delay-as-optimism perspective, we obtain the first general analyses of FTRL and OMD with optimism and delay.</p><p>Theorem 5 (ODFTRL regret). If &#968; is nonnegative, then, for all u &#8712; W, the ODFTRL iterates w t satisfy</p><p>Theorem 6 (DOOMD regret). If &#968; is differentiable and h T +1</p><p>g T -D+1:T , then, for all u &#8712; W, the DOOMD iterates w t satisfy</p><p>Our results show a compounding of regret due to delay: the b t,F term of Thm. 5 is of size O(D + 1) whenever h t * = O(D + 1), and the same holds for b t,O of Thm. 6 if h t+1h t * = O(1). An optimal setting of &#955; therefore delivers O( (D + 1)T ) regret, yielding the minimax optimal rate for adversarial learning under delay <ref type="bibr">(Weinberger &amp; Ordentlich, 2002)</ref>. Thms. 5 and 6 also reveal the heightened value of optimism in the presence of delay: in addition to providing an effective guess of the future subgradient g t , an optimistic hint can approximate the missing delayed feedback ( t-1 s=t-D g s ) and thereby significantly reduce the penalty of delay. If, on the other hand, the hints are a poor proxy for the missing loss subgradients, the novel huber term ensures that we still only pay the minimax optimal &#8730; D + 1 penalty for delayed feedback.</p><p>Related work A classical approach to delayed feedback in online learning is the so-called "replication" strategy in which D + 1 distinct learners take turns observing and responding to feedback <ref type="bibr">(Weinberger &amp; Ordentlich, 2002;</ref><ref type="bibr">Joulani et al., 2013;</ref><ref type="bibr">Agarwal &amp; Duchi, 2011;</ref><ref type="bibr">Mesterharm, 2005)</ref>. While minimax optimal in adversarial settings, this strategy has the disadvantage that each learner only sees T D+1 losses and is completely isolated from the other replicates, exacerbating the problem of short prediction horizons.</p><p>In contrast, we develop and analyze non-replicated delayed online learning strategies that use a combination of optimistic hinting and self-tuned regularization to mitigate the effects of delay while retaining optimal worst-case behavior.</p><p>We are not aware of prior analyses of DOOMD, and, to our knowledge, Thm. 5 and its adaptive generalization Thm. 10 provide the first general analysis of delayed FTRL, apart from the concurrent work of <ref type="bibr">Hsieh et al. (2020, Thm. 1)</ref>. <ref type="bibr">Hsieh et al. (2020, Thm. 13</ref>) and <ref type="bibr">Quanrud &amp; Khashabi (2015, Thm. 2</ref>.1) focus only on delayed gradient descent, <ref type="bibr">Korotin et al. (2020) study General Hedging, and</ref><ref type="bibr">Joulani et al. (2016, Thm. 4</ref>) and <ref type="bibr">Quanrud &amp; Khashabi (2015, Thm. A.5</ref>) study non-optimistic OMD under delay. Thms. 5, 6, and 10 strengthen these results from the literature which feature a sum of subgradient norms (</p><p>Even in the absence of optimism, the latter can be significantly smaller: e.g., if the gradients g s are i.i.d. mean-zero vectors, the former has size &#8486;(D) while the latter has expectation O( &#8730; D). In the absence of optimism, <ref type="bibr">McMahan &amp; Streeter (2014)</ref> obtain a bound comparable to Thm. 5 for the special case of one-dimensional unconstrained online gradient descent.</p><p>In the absence of delay, Cutkosky (2019) introduces metaalgorithms for imbuing learning procedures with optimism while remaining robust to inaccurate hints; however, unlike OFTRL and SOOMD, the procedures of Cutkosky require separate observation of gt+1 and each g t , making them unsuitable for our delay-to-optimism reduction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Tuning Regularizers with Optimism and Delay</head><p>The online learning algorithms introduced so far all include a regularization parameter &#955;. In theory and in practice, these algorithms only achieve low regret if the regularization parameter &#955; is chosen appropriately. In standard FTRL, for example, one such setting that achieves optimal regret is &#955; = T t=1 gt 2 * sup u&#8712;U &#968;(u) . This choice, however, cannot be used in practice as it relies on knowledge of all future unobserved loss subgradients. To make use of online learning algorithms, the tuning parameter &#955; is often set using coarse upper bounds on, e.g., the maximum possible subgradient norm. However, these bounds are often very conservative and lead to poor real-world performance.</p><p>In the following sections, we introduce two strategies for tuning regularization with optimism and delay. Sec. 4 introduces the DORM and DORM+ algorithms, variants of ODFTRL and DOOMD that are entirely tuning-free. Sec. 5 introduces the AdaHedgeD algorithm, an adaptive variant of ODFTRL that is self-tuning; a sequence of regularization parameters &#955; t are set automatically using new, tighter bounds on algorithm regret. All three algorithms achieve the minimax optimal regret rate under delay, support optimism, and have strong real-world performance as shown in Sec. 7.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Tuning-free Learning with Optimism and Delay</head><p>Regret matching (RM) <ref type="bibr">(Blackwell, 1956;</ref><ref type="bibr">Hart &amp; Mas-Colell, 2000)</ref> and regret matching+ (RM+) <ref type="bibr">(Tammelin et al., 2015)</ref> are online learning algorithms that have strong empirical performance. RM was developed to find correlated equilibria in two-player games and is commonly used to minimize regret over the simplex. RM+ is a modification of RM designed to accelerate convergence and used to effectively solve the game of Heads-up Limit Texas Hold'em poker <ref type="bibr">(Bowling et al., 2015)</ref>. RM and RM+ support neither optimistic hints nor delayed feedback, and known regret bounds have a suboptimal scaling with respect to the problem dimension d (Cesa- <ref type="bibr">Bianchi &amp; Lugosi, 2006;</ref><ref type="bibr">Orabona &amp; P&#225;l, 2015)</ref>. To extend these algorithms to the delayed and optimistic setting and recover the optimal regret rate, we introduce our generalizations, delayed optimistic regret matching (DORM)</p><p>wt+1 max(0, (r 1:t-D + h t+1 )/&#955;) q-1 and delayed optimistic regret matching+ (DORM+) w t+1 = wt+1 / 1, wt+1 for h 0 = w0 0, (DORM+)</p><p>Each algorithm makes use of an instantaneous regret vector r t 1 g t , w tg t that quantifies the relative performance of each expert with respect to the play w t and the linearized loss subgradient g t . The updates also include a parameter q &#8805; 2 and its conjugate exponent p = q/(q -1) that is set to recover the minimax optimal scaling of regret with the number of experts (see Cor. 9). We note that DORM and DORM+ recover the standard RM and RM+ algorithms when D = 0, &#955; = 1, q = 2, and h t = 0, &#8704;t.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Tuning-free Regret Bounds</head><p>To bound the regret of the DORM and DORM+ plays, we prove that DORM is an instance of ODFTRL and DORM+ is an instance of DOOMD. This connection enables us to immediately provide regret guarantees for these regretmatching algorithms under delayed feedback and with optimism. We first highlight a remarkable property of DORM and DORM+ that is the basis of their tuning-free nature.</p><p>Under mild conditions:</p><p>The normalized DORM and DORM+ iterates w t are independent of the choice of regularization parameter &#955;.</p><p>Lemma 7 (DORM and DORM+ are independent of &#955;). If the subgradient g t and hint h t+1 only depend on &#955; through (w s , &#955; q-1 ws , g s-1 , h s ) s&#8804;t and (w s , &#955; q-1 ws , g s , h s ) s&#8804;t respectively, then the DORM and DORM+ iterates (w t ) t&#8805;1 are independent of the choice of &#955; &gt; 0.</p><p>Lem. 7, proved in App. E, implies that DORM and DORM+ are automatically optimally tuned with respect to &#955;, even when run with a default value of &#955; = 1. Hence, these algorithms are tuning-free, a very appealing property for real-world deployments of online learning.</p><p>To show that DORM and DORM+ also achieve optimal regret scaling under delay, we connect them to ODFTRL and DOOMD operating on the nonnegative orthant with a special surrogate loss lt (see App. D for our proof):</p><p>Lemma 8 (DORM is ODFTRL and DORM+ is DOOMD).</p><p>The DORM and DORM+ iterates are proportional to ODFTRL and DOOMD iterates respectively with W R d + , &#968;( w) = 1 2 w 2 p , and loss lt ( w) = w, -r t .</p><p>Lem. 8 enables the following optimally-tuned regret bounds for DORM and DORM+ run with any choice of &#955;:</p><p>Corollary 9 (DORM and DORM+ regret). Under the assumptions of Lem. 7, for all u &#8712; &#9651; d-1 and any choice of &#955; &gt; 0, the DORM and DORM+ iterates w t satisfy</p><p>Cor. 9, proved in App. F, suggests a natural hinting strategy for reducing the regret of DORM and DORM+: predict the sum of unobserved instantaneous regrets t s=t-D r s . We explore this strategy empirically in Sec. 7. Cor. 9 also highlights the value of the q parameter in DORM and DORM+: using the easily computed value q = argmin q &#8242; &#8805;2 d 2/q &#8242; (q &#8242; -1) yields the minimax optimal log 2 (d) dependence of regret on dimension <ref type="bibr">(Cesa-Bianchi &amp; Lugosi, 2006;</ref><ref type="bibr">Orabona &amp; P&#225;l, 2015)</ref>. By Lem. 8, setting q in this way is equivalent to selecting a robust 1 2 &#8226; 2 p regularizer <ref type="bibr">(Gentile, 2003)</ref> for the underlying ODFTRL and DOOMD problems.</p><p>Related work Without delay, <ref type="bibr">Farina et al. (2021)</ref> independently developed optimistic versions of RM and RM+ by reducing them to OFTRL and a two-step variant of optimistic OMD (1). Unlike SOOMD, this two-step optimistic OMD requires separate observation of gt+1 and g t , making it unsuitable for our delay-as-optimism reduction and resulting in a different algorithm from DORM+ even when D = 0. In addition, their regret bounds and prior bounds for RM and RM+ (special cases of DORM and DORM+ with q = 2) have suboptimal regret when the dimension d is large <ref type="bibr">(Bowling et al., 2015;</ref><ref type="bibr">Zinkevich et al., 2007)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Self-tuned Learning with Optimism and Delay</head><p>In this section, we analyze an adaptive version of ODFTRL with time-varying regularization &#955; t &#968; and develop strategies for setting &#955; t appropriately in the presence of optimism and delay. We begin with a new general regret analysis of optimistic delayed adaptive FTRL (ODAFTRL)</p><p>where h t+1 &#8712; R d is an arbitrary hint vector revealed before w t+1 is generated, &#968; is 1-strongly convex with respect to a norm &#8226; , and &#955; t &#8805; 0 is a regularization parameter.</p><p>Theorem 10 (ODAFTRL regret). If &#968; is nonnegative and &#955; t is non-decreasing in t, then, &#8704;u &#8712; W, the ODAFTRL iterates w t satisfy</p><p>The proof of this result in App. G builds on a new regret bound for undelayed optimistic adaptive FTRL (OAFTRL). In the absence of delay (D = 0), Thm. 10 strictly improves existing regret bounds <ref type="bibr">(Rakhlin &amp; Sridharan, 2013a;</ref><ref type="bibr">Mohri &amp; Yang, 2016;</ref><ref type="bibr">Joulani et al., 2017)</ref> for OAFTRL by providing tighter guarantees whenever the hinting error h t -t s=t-D g t * is larger than the subgradient magnitude g t * . In the presence of delay, Thm. 10 benefits both from robustness to hinting error in the worst case and the ability to exploit accurate hints in the best case. The bounded-domain factors a t,F strengthen both standard OAFTRL regret bounds and the concurrent bound of <ref type="bibr">Hsieh et al. (2020, Thm. 1)</ref> when diam(W) is small and will enable us to design practical &#955; t -tuning strategies under delay without any prior knowledge of unobserved subgradients. We now turn to these self-tuning protocols.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">Conservative Tuning with Delayed Upper Bound</head><p>Setting aside the a t,F bounded-domain factors in Thm. 10 for now, the adaptive sequence &#955; t = t s=1 b s,F sup u&#8712;U &#968;(u) is known to be a near-optimal minimizer of the ODAFTRL regret bound (McMahan, 2017, Lemma 1). However, this value is unobservable at time t. A common strategy is to play the conservative value</p><p>, where B 0 is a uniform upper bound on the unobserved b s,F terms <ref type="bibr">(Joulani et al., 2016;</ref><ref type="bibr">McMahan &amp; Streeter, 2014)</ref>. In practice, this requires computing an a priori upper bound on any subgradient norm that could possibly arise and often leads to extreme over-regularization (see Sec. 7).</p><p>As a preliminary step towards fully adaptive settings of &#955; t , we analyze in App. H a new delayed upper bound (DUB) tuning strategy which relies only on observed b s,F terms and does not require upper bounds for future losses.</p><p>Theorem 11 (DUB regret). Fix &#945; &gt; 0, and, for a t,F , b t,F as in (2), consider the delayed upper bound (DUB) sequence</p><p>If &#968; is nonnegative, then, for all u &#8712; W, the ODAFTRL iterates w t satisfy</p><p>As desired, the DUB setting of &#955; t depends only on previously observed a t,F and b t,F terms and achieves optimal regret scaling with the delay period D. However, the terms a t,F , b t,F are themselves potentially loose upper bounds for the instantaneous regret at time t. In the following section, we show how the DUB regularization setting can be refined further to produce AdaHedgeD adaptive regularization.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">Refined Tuning with AdaHedgeD</head><p>As noted by <ref type="bibr">Erven et al. (2011);</ref><ref type="bibr">de Rooij et al. (2014)</ref>; <ref type="bibr">Orabona (2019)</ref>, the effectiveness of an adaptive regularization setting &#955; t that uses an upper bound on regret (such as b t,F ) relies heavily on the tightness of that bound. In practice, we want to set &#955; t using as tight a bound as possible. Our next result introduces a new tuning sequence that can be used with delayed feedback and is inspired by the popular AdaHedge algorithm <ref type="bibr">(Erven et al., 2011)</ref>. It makes use of the tightened regret analysis underlying Thm. 10 to enable tighter settings of &#955; t compared to DUB, while still controlling algorithm regret (see proof in App. I).</p><p>Theorem 12 (AdaHedgeD regret). Fix &#945; &gt; 0, and consider the delayed AdaHedge-style (AdaHedgeD) sequence</p><p>&#373;t argmin w&#8712;W F t+1 (w, &#955; t ) + min( gt * ht-g t-D:t * , 1) h tg t-D:t , w , and F t+1 (w, &#955; t ) &#955; t &#968;(w) + g 1:t , w .</p><p>If &#968; is nonnegative, then, for all u &#8712; W, the ODAFTRL iterates satisfy</p><p>Remarkably, Thm. 12 yields a minimax optimal O( (D + 1)T + D) dependence on the delay parameter and nearly matches the Thm. 5 regret of the optimal constant &#955; tuning. Although this regret bound is identical to that in Thm. 11, in practice the &#955; t values produced by AdaHedgeD can be orders of magnitude smaller than those of DUB, granting additional adaptivity. We evaluate the practical implications of these &#955; t settings in Sec. 7.</p><p>As a final note, when &#968; is bounded on U, we recommend choosing &#945; = sup u&#8712;U &#968;(u) so that &#968;(u) &#945; &#8804; 1. For negative entropy regularization &#968;(u) = Related work Our AdaHedgeD &#948; t terms differ from standard AdaHedge increments (see, e.g., <ref type="bibr">Orabona, 2019, Sec. 7.6</ref>) due to the accommodation of delay, the incorporation of optimism, and the inclusion of the final two terms in the min. These non-standard terms are central to reducing the impact of delay on our regret bounds. Prior and concurrent approaches to adaptive tuning under delay do not incorporate optimism and require an explicit upper bound on all future subgradient norms, a quantity which is often difficult to obtain or very loose <ref type="bibr">(McMahan &amp; Streeter, 2014;</ref><ref type="bibr">Joulani et al., 2016;</ref><ref type="bibr">Hsieh et al., 2020)</ref>. Our optimistic algorithms, DUB and AdaHedgeD, admit comparable regret guarantees (Thms. 11 and 12) but require no prior knowledge of future subgradients.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Learning to Hint with Delay</head><p>As we have seen, optimistic hints play an important role in online learning under delay: effective hinting can counteract the increase in regret under delay. In this section, we consider the problem of choosing amongst several competing hinting strategies. We show that this problem can again be treated as a delayed online learning problem. In the following, we will call the original online learning problem the "base problem" and the learning-to-hint problem the "hinting problem."</p><p>Suppose that, at time t, we observe the hints gt of m different hinters arranged into a d &#215; m matrix H t . Each column of H t is one hinter's best estimate of the sum of missing loss subgradients g t-D:t . Our aim is to output a sequence of combined hints h t (&#969; t ) H t &#969; t with low regret relative to the best constant combination strategy &#969; &#8712; &#8486; &#9651; m-1 in hindsight. To achieve this using delayed online learning, we make use of a convex loss function l t (&#969;) for the hint learner that upper bounds the base learner regret. Assumption 1 (Convex regret bound). For any hint sequence (h t ) T t=1 and u &#8712; &#8486;, the base problem admits the regret bound</p><p>As we detail in App. K, Assump. 1 holds for all of the learning algorithms introduced in this paper. For example, by Cor. 9, if the base learner is DORM, we may choose</p><p>For any base learner satisfying Assump. 1, we choose l t (&#969;) = f t (H t &#969;) as our hinting loss, use the tuning-free DORM+ algorithm to output the combination weights &#969; t on each round, and provide the hint h t (&#969; t ) = H t &#969; t to the base learner. The following result, proved in App. J, shows that this learning to hint strategy performs nearly as well as the best constant hint combination strategy in restrospect. Theorem 13 (Learning to hint regret). Suppose the base problem satisfies Assump. 1 and the hinting problem is solved with DORM+ hint iterates &#969; t , hinting losses l t (&#969;) = f t (H t &#969;), no meta-hints for the hinting problem, and q = argmin q &#8242; &#8805;2 m 2/q &#8242; (q &#8242; -1). Then the base problem with hints h</p><p>To quantify the size of this regret bound, consider again the DORM base learner with f t (h t ) = r t q h t -t s=t-D r s q . By Lem. 26 in App. K, &#947; t &#8734; &#8804; d 1/q H t &#8734; r t q for H t &#8734; the maximum absolute entry of H t . Each column of H t is a sum D + 1 subgradient hints, so H t &#8734; is O(D + 1). Thus, for this choice of hinter loss, the huber(&#958; t , &#950; t ) term is O((D + 1)<ref type="foot">foot_1</ref> ), and the hint learner suffers only O(T 1/4 (D + 1) 3/4 ) additional regret from learning to hint. Notably, this additive regret penalty is O( (D + 1)T ) if D = O(T ) (and o( (D + 1)T ) when D = o(T )), so the learning to hint strategy of Thm. 13 preserves minimax optimal regret rates. <ref type="bibr">Rakhlin &amp; Sridharan (2013a, Sec. 4.1)</ref> propose and analyze a method to learn optimism strategies for a two-step OMD base learner. Unlike Thm. 13, the approach does not accommodate delay, and the analyzed regret is only with respect to single hinting strategies &#969; &#8712; {e j } j&#8712;[m] rather than combination strategies, &#969; &#8712; &#9651; m-1 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Related work</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Experiments</head><p>We now apply the online learning techniques developed in this paper to the problem of adaptive ensembling for subseasonal forecasting. Our experiments are based on the subseasonal forecasting data of <ref type="bibr">Flaspohler et al. (2021)</ref> that provides the forecasts of d = 6 machine learning and physics-based models for both temperature and precipitation at two forecast horizons: 3-4 weeks and 5-6 weeks. In operational subseasonal forecasting, feedback is delayed; models make D = 2 or 3 forecasts (depending on the forecast horizon) before receiving feedback. We use delayed, optimistic online learning to play a time-varying convex combination of input models and compete with the best input model over a year-long prediction period (T = 26 semimonthly dates). The loss function is the geographic root-mean squared error (RMSE) across 514 locations in the Western United States.</p><p>We evaluate the relative merits of the delayed online learning techniques presented by computing yearly regret and mean RMSE for the ensemble plays made by the online leaner in each year from 2011-2020. Unless otherwise specified, all online learning algorithms use the recent g hint gs , which approximates each unobserved subgradient at time t with the most recent observed subgradient g t-D-1 . See App. L for full experimental details, App. N for algorithmic details, and App. M for extended experimental results.</p><p>Competing with the best input model The primary benefit of online learning in this setting is its ability to achieve small average regret, i.e., to perform nearly as well as the best input model in the competitor set U without knowing which is best in advance. We run our three delayed online learners-DORM, DORM+, and AdaHedgeD-on all four subseasonal prediction tasks and measure their average loss.</p><p>The average yearly RMSE for the three online learning algorithms and the six input models is shown in Table <ref type="table">1</ref>. The DORM+ algorithm tracks the performance of the best input model for all tasks except Temp. 5-6w. All online learning</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Extended Literature Review</head><p>We review here additional prior work not detailed in the main paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1. General online learning</head><p>We recommend the monographs of Shalev-Shwartz (2012); <ref type="bibr">Orabona (2019)</ref> and the textbook of <ref type="bibr">Cesa-Bianchi &amp; Lugosi (2006)</ref> for surveys of the field of online learning and <ref type="bibr">Joulani et al. (2017)</ref>; <ref type="bibr">McMahan (2017)</ref> for widely applicable and modular analyses of online learning algorithms.</p><p>A.2. Online learning with optimism but without delay <ref type="bibr">Syrgkanis et al. (2015)</ref> analyzed optimistic FTRL and two-step variant of optimistic MD without delay. The work focuses on a particular form of optimism (using the last observed subgradient as a hint) and shows improved rates of convergence to correlated equilibria in multiplayer games. In the absence of delay, <ref type="bibr">Steinhardt &amp; Liang (2014)</ref>  A.5. Online learning without delay for climate forecasting <ref type="bibr">Monteleoni et al. (2011)</ref> applied the Learn-&#945; online learning algorithm of <ref type="bibr">Monteleoni &amp; Jaakkola (2004)</ref> to the task of ensembling climate models. The authors considered historical temperature data from 20 climate models and tracked the changing sequence of which model predicts best at any given time. In this context, the algorithm used was based on a set of generalized Hidden Markov Models, in which the identity of the current best model is the hidden variable and the updates are derived as Bayesian updates. This work was extended to take into account the influence of regional neighboring locations when performing updates <ref type="bibr">(McQuade &amp; Monteleoni, 2012)</ref>. These initial results demonstrated the promise of applying online learning to climate model ensembling, but both methods rely on receiving feedback without delay.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Proof of Thm. 3: OFTRL regret</head><p>We will prove the following more general result for optimistic adaptive FTRL (OAFTRL) w t+1 = argmin w&#8712;W g 1:t + gt+1 , w + &#955; t+1 &#968;(w), (OAFTRL) from which Thm. 3 will follow with the choice &#955; t = &#955; for all t &#8805; 1. Theorem 14 (OAFTRL regret). If &#968; is nonnegative and (&#955; t ) t&#8805;1 is non-decreasing, then, &#8704;u &#8712; W, the OAFTRL iterates w t satisfy, </p><p>.</p><p>To control the drift term we employ the following lemma, proved in App. B.1, which bounds the difference between two OAFTRL optimizers with different losses but common regularizers.</p><p>Lemma 15 (OAFTRL difference bound). The OAFTRL and auxiliary OAFTRL iterates (4), w t and w * t , satisfy</p><p>Letting a = diam(W) &#8712; R &#8746; {&#8734;}, we now bound each drift term summand using the Fenchel-Young inequality for dual norms and Lem. 15:</p><p>To control the auxiliary regret, we begin by invoking the OAFTRL regret bound of Orabona (2019, proof of Thm. 7.28), the nonnegativity of &#968;, and the assumption that (&#955; t ) t&#8805;1 is non-decreasing:</p><p>We next bound the summands in this expression in two ways. Since w * t is the minimizer of F * t , we may apply the Fenchel-Young inequality for dual norms to conclude that</p><p>Moreover, by <ref type="bibr">Orabona (2019, proof of Thm. 7.28</ref>) and the fact that wt minimizes F t+1 (&#8226;, &#955; t ) over W,</p><p>Our collective bounds establish that</p><p>To obtain an interpretable bound on regret, we will minimize the final expression over all convex combinations g * t of g t and gt . The optimal choice is given by</p><p>For this choice, we obtain the bound</p><p>and therefore</p><p>Since g * t is arbitrary, the advertised regret bounds follow as by the strong convexity of Ft .</p><p>Summing the above inequalities and applying the Fenchel-Young inequality for dual norms, we obtain</p><p>which yields the first half of our target bound after rearrangement. The second half follows from the definition of diameter, as w tw * t &#8804; diam(W).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Proof of Thm. 4: SOOMD regret</head><p>We will prove the following more general result for adaptive SOOMD (ASOOMD) w t+1 = argmin w&#8712;W g t + gt+1 -gt , w + &#955; t+1 B &#968; (w, w t ) with arbitrary w 0 and g 0 = g0 = 0 (ASOOMD) from which Thm. 4 will follow with the choice &#955; t = &#955; for all t &#8805; 1.</p><p>Theorem 16 (ASOOMD regret). Fix any &#955; T +1 &#8805; 0. If each (&#955; t+1 -&#955; t )&#968; is proper and differentiable, &#955; 0 0, and gT +1 0, then, for all u &#8712; W, the ASOOMD iterates w t satisfy</p><p>&#955;t+1 huber( g t -gt * , g t + gt+1 -gt * ) .</p><p>Proof. Fix any u &#8712; W, instantiate the notation of <ref type="bibr">Joulani et al. (2017, Sec. 7.2)</ref>, and consider the choices</p><p>&#8226; r 1 = &#955; 2 &#968;, r t = (&#955; t+1 -&#955; t )&#968; for t &#8805; 2, so that r 1:t = &#955; t+1 &#968; for t &#8805; 1,</p><p>&#8226; q t = qt + gt+1 -gt , &#8226; for t &#8805; 0,</p><p>&#8226; q0 (w) = &#955; 1 B &#968; (w, w 0 ) and qt &#8801; 0 for all t &#8805; 1,</p><p>Since, for each t, &#948; t = 0 and &#8467; t is convex, the ADA-MD regret inequality of <ref type="bibr">Joulani et al. (2017, Eq. (24)</ref>) and the choice</p><p>To obtain our advertised bound, we begin with the expression ( <ref type="formula">6</ref>) and invoke the 1-strong convexity of &#968; and the nonnegativity of</p><p>We will bound the final sum in this expression using two lemmas. The first is a bound on the difference between subsequent ASOOMD iterates distilled from <ref type="bibr">Joulani et al. (2016, proof of Prop. 2)</ref>.</p><p>Lemma 17 (ASOOMD iterate bound <ref type="bibr">(Joulani et al., 2016, proof of Prop. 2)</ref>). If &#968; is differentiable and 1-strongly convex with respect to &#8226; , then the ASOOMD iterates satisfy</p><p>The second, proved in App. C.1, is a general bound on g, v -&#955; 2 v 2 under a norm constraint on v.</p><p>Lemma 18 (Norm-constrained conjugate). For any g &#8712; R d and &#955;, c, b &gt; 0, sup</p><p>By Lems. 17 and 18 and the definition of a diam(W), each summand in our regret bound (7) satisfies</p><p>yielding the advertised result.</p><p>C.1. Proof of Lem. 18: Norm-constrained conjugate</p><p>By the definition of the dual norm,</p><p>We compare to the values of less constrained optimization problems to obtain the final inequalities:</p><p>D. Proof of Lem. 8: DORM is ODAFTRL and DORM + is DOOMD Our derivations will make use of several facts about &#8467; p norms, summarized in the next lemma.</p><p>Lemma 19 (&#8467; p norm facts). For p &#8712; (1, &#8734;), &#968;(w) = 1 2 w 2 p , and any vectors w, v &#8712; R d and w0</p><p>Proof. The fact (8) follows from the chain rule as</p><p>The fact (9) follows from Lem. 18 as &#8226; q is the dual norm of &#8226; p .</p><p>We now prove each claim in turn.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.1. DORM is ODAFTRL</head><p>Fix p &#8712; (1, 2], &#955; &gt; 0, and t &#8805; 0. The ODAFTRL iterate with hint -h t+1 , W R d + , &#968;( w) = 1 2 w 2 p , loss subgradients g ODAFTRL 1:t-D = -r 1:t-D , and regularization parameter &#955; takes the form</p><p>proving the claim.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2. DORM+ is DOOMD</head><p>Fix p &#8712; (1, 2] and &#955; &gt; 0, and let ( wt ) t&#8805;0 denote the unnormalized iterates generated by DORM+ with hints h t , instantaneous regrets r t , regularization parameter &#955;, and hyperparameter q. For p = q/(q -1), let ( wt ) t&#8805;0 denote the sequence generated by DOOMD with w0 = 0, hints -h t , W R d + , &#968;( w) = 1 2 w 2 p , loss subgradients g DOOMD t = -r t , and regularization parameter &#955;. We proceed by induction to show that, for each t, wt = wt wt p-2 p .</p><p>Base case By assumption, w0 = 0 = w0 w0 p-2 p , confirming the base case.</p><p>Inductive step Fix any t &#8805; 0 and assume that for each s &#8804; t, ws = ws ws p-2 p . Then, by the definition of DOOMD and our &#8467; p norm facts, wt+1 = argmin</p><p>, completing the inductive step.</p><p>E. Proof of Lem. 7: DORM and DORM+ are independent of &#955;</p><p>We will prove the following more general result, from which the stated result follows immediately.</p><p>Lemma 20 (DORM and DORM+ are independent of &#955;). Consider either DORM or DORM+ plays wt as a function of &#955; &gt; 0, and suppose that for all time points t, the observed subgradient g t and chosen hint h t+1 only depend on &#955; through (w s , &#955; q-1 ws , g s-1 , h s ) s&#8804;t and (w s , &#955; q-1 ws , g s , h s ) s&#8804;t respectively. Then if &#955; q-1 w0 is independent of the choice of &#955; &gt; 0, then so is &#955; q-1 wt for all time points t. As a result, w t &#8733; &#955; q-1 wt is also independent of the choice of &#955; &gt; 0 at all time points.</p><p>Proof. We prove each result by induction on t.</p><p>E.1. Scaled DORM iterates &#955; q-1 wt are independent of &#955; Base case By assumption, h 1 is independent of the choice of &#955; &gt; 0. Hence &#955; q-1 w1 = (h 1 ) q-1 + is independent of &#955; &gt; 0, confirming the base case.</p><p>Inductive step Fix any t &#8805; 0, suppose &#955; q-1 ws is independent of the choice of &#955; &gt; 0 for all s &#8804; t, and consider &#955; q-1 wt+1 = (r 1:t-D + h t+1 ) q-1 + .</p><p>Since r 1:t-D depends on &#955; only through w s and g s for s &#8804; t -D, our &#955; dependence assumptions for (g s , h s+1 ) s&#8804;t ; the fact that, for each s, w s &#8733; &#955; q-1 ws ; and our inductive hypothesis together imply that &#955; q-1 wt+1 is independent of &#955; &gt; 0.</p><p>E.2. Scaled DORM+ iterates &#955; q-1 wt are independent of &#955; Base case By assumption, &#955; q-1 w0 is independent of the choice of &#955; &gt; 0, confirming the base case.</p><p>Inductive step Fix any t &#8805; 0 and suppose &#955; q-1 ws is independent of the choice of &#955; &gt; 0 for all s &#8804; t. Since (p -1)(q -1) = 1,</p><p>Since r t-D depends on &#955; only through w t-D and g t-D , our &#955; dependence assumptions for (g s , h s+1 ) s&#8804;t ; the fact that, for each s &#8804; t, w s &#8733; &#955; q-1 ws ; and our inductive hypothesis together imply that &#955; q-1 wt+1 is independent of &#955; &gt; 0.</p><p>F. Proof of Cor. 9: DORM and DORM+ regret</p><p>Fix any &#955; &gt; 0 and u &#8712; &#9651; d-1 , consider the unnormalized DORM or DORM+ iterates wt , and define wt = wt wt p-2 p for each t. For either algorithm, we will bound our regret in terms of the surrogate losses lt ( w)r t , w = g t , ww, 1 g t , w t defined for w &#8712; R d + . Since lt (u) = g t , uw t , lt ( wt ) = 0, and each &#8467; t is convex, we have</p><p>For DORM, Lem. 8 implies that ( wt ) t&#8805;1 are ODFTRL iterates, so the ODFTRL regret bound (Thm. 5) and the fact that &#968; is 1-strongly convex with respect to</p><p>Similarly, for DORM+, Lem. 8 implies that ( wt ) t&#8805;0 are DOOMD iterates with w0 = 0, so the DOOMD regret bound (Thm. 6) and the strong convexity of &#968; yield</p><p>Since, by Lem. 7, the choice of &#955; does not impact the iterate sequences played by DORM and DORM+, we may take the infimum over &#955; &gt; 0 in these regret bounds. The second advertised inequality comes from the identity 1 p-1 = q -1 and the norm equivalence relations v q &#8804; d 1/q v &#8734; and v p &#8804; v 1 = 1 for v &#8712; R d , as shown in Lem. 21 below. The final claim follows as</p><p>Lemma 21 (Equivalence of p-norms). If x &#8712; R n and q &gt; q &#8242; &#8805; 1, then x q &#8804; x q &#8242; &#8804; n (1/q &#8242; -1/q) x q . Proof. To show x q &#8804; x q &#8242; for q &gt; q &#8242; &#8805; 1, suppose without loss of generality that x q &#8242; = 1. Then,</p><p>For the inequality x q &#8242; &#8804; n 1/q &#8242; -1/q x q , applying H&#246;lder's inequality yields</p><p>G. Proof of Thm. 10: ODAFTRL regret</p><p>Since ODAFTRL is an instance of OAFTRL with gt+1 = h t+1 -t s=t-D+1 g s , the ODAFTRL result follows immediately from the OAFTRL regret bound, Thm. 14.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>H. Proof of Thm. 11: DUB Regret</head><p>Fix any u &#8712; W. By Thm. 10, ODAFTRL admits the regret bound</p><p>To control the second term in this bound, we apply the following lemma proved in App. H.1.</p><p>Lemma 22 (DUB-style tuning bound). Fix any &#945; &gt; 0 and any non-negative sequences</p><p>Since &#955; T &#8804; &#955; T +D+1 , the result now follows by setting a t = a t,F and b t = b t,F , so that</p><p>H.1. Proof of Lem. 22: DUB-style tuning bound</p><p>We prove the claim</p><p>by induction on t.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Base case For</head><p>confirming the base case.</p><p>Inductive step Now fix any t + 1 &#8805; D + 2 and suppose that</p><p>for all 1 &#8804; i &#8804; t. We apply this inductive hypothesis to deduce that, for each 0 &#8804; i &#8804; t,</p><p>Now, we sum this inequality over i = 0, . . . , t, to obtain</p><p>Solving this quadratic inequality and applying the triangle inequality, we have</p><p>I. Proof of Thm. 12: AdaHedgeD Regret Fix any u &#8712; W. Since the AdaHedgeD regularization sequence (&#955; t ) t&#8805;1 is non-decreasing, Thm. 14 gives the regret bound</p><p>and the proof of Thm. 14 gives the upper estimate (5):</p><p>Hence, it remains to bound &#955; T +D+1 . Since</p><p>Solving the above quadratic inequality for &#955; T +D+1 and applying the triangle inequality, we find</p><p>J. Proof of Thm. 13: Learning to hint regret</p><p>We begin by bounding the hinting problem regret. Since DORM+ is used for the hinting problem, the following result is an immediate corollary of Cor. 9.</p><p>Corollary 23 (DORM+ hinting problem regret). With convex losses l t (&#969;) = f t (H t &#969;) and no meta-hints, the DORM+ hinting problem iterates &#969; t satisfy, for each v &#8712; &#9651; m-1 ,</p><p>where &#961; t 1 &#947; t , &#969; t -&#947; t for &#947; t &#8712; &#8706;l t (&#969; t ) is the instantaneous hinting problem regret.</p><p>If, in addition, q = argmin q &#8242; &#8805;2 m 2/q &#8242; (q &#8242; -1), then HintRegret T (v) &#8804; (2 log 2 (m) -1)</p><p>Our next lemma, proved in App. J.1, provides an interpretable bound for each &#946; t,&#8734; term in terms of the hinting problem subgradients (&#947; t ) t&#8805;1 .</p><p>Lemma 24 (Hinting problem subgradient regret bound). Under the notation and assumptions of Cor. 23,</p><p>Now fix any u &#8712; W. We invoke Assump. 1, Cor. 23, and Lem. 24 in turn to bound the base problem regret</p><p>t=1 huber(&#958; t , &#950; t )) by Lem. 24.</p><p>The advertised bound now follows from the triangle inequality. </p><p>since &#969; t &#8712; &#9651; m-1 . We repeatedly apply this finding in conjunction with Jensen's inequality to conclude</p><p>K. Examples: Learning to Hint with DORM+ and AdaHedgeD By Thm. 12, AdaHedgeD satisfies Assump. 1 with</p><p>By Cor. 9, DORM+ satisfies Assump. 1 with f t (h) = r t-D + h t+1h t q h -t s=t-D r s q , C 0 (u) = 0, and C 1 (u) = u 2 p 2(p-1) . These choices give rise to the hinting losses</p><p>(12)</p><p>The following lemma, proved in App. K.1, identifies subgradients of these hinting losses.</p><p>Lemma 25 (Hinting loss subgradient). If l t (&#969;) = &#7713;t q H t &#969;v t q for some &#7713;t , v t &#8712; R d and H t &#8712; R d&#215;m , then</p><p>Our next lemma, proved in App. K.2, bounds the &#8734;-norm of this hinting loss subgradient in terms of the base problem subgradients.</p><p>Lemma 26 (Hinting loss subgradient bound). Under the assumptions and notation of Lem. 25, the subgradient &#947; t satisfies &#947; t &#8734; &#8804; d 1/q &#7713;t q H t &#8734; for H t &#8734; the maximum absolute entry of H t .</p><p>K.1. Proof of Lem. 25: Hinting loss subgradient</p><p>The result follows immediately from the chain rule and the following lemma.</p><p>Lemma 27 (Subgradients of p-norms). Suppose w</p><p>Proof. Since 0 is a minimizer of &#8226; p , we have u p &#8805; 0 p + 0, u -0 for any u &#8712; R d and hence 0 &#8712; &#8706; 0 p .</p><p>For p &#8712; [1, &#8734;), by the chain rule, if w p = 0,</p><p>For p = &#8734;, we have that w &#8734; = max j&#8712;[n] |w j |. By the Danskin-Bertsekas Theorem <ref type="bibr">(Danskin, 2012)</ref> for subdifferentials,</p><p>where conv is the convex hull operation.</p><p>K.2. Proof of Lem. 26: Hinting loss subgradient bound</p><p>Ht&#969;-t s=t-D gs q-1 q H t &#969; -t s=t-D g s q-1 q by H&#246;lder's inequality for (q, p)</p><p>&#8804; d 1/q &#7713;t q H t &#8734; by Lem. 21.</p><p>If q = &#8734;, we have</p><p>L. Experiment Details L.1. Subseasonal Forecasting Application</p><p>We apply the online learning techniques developed in this paper to the problem of adaptive ensembling for subseasonal weather forecasting. Subseasonal forecasting is the problem predicting meteorological variables, often temperature and precipitation, 2-6 weeks in advance. These mid-range forecasts are critical for managing water resources and mitigating wildfires, droughts, floods, and other extreme weather events <ref type="bibr">(Hwang et al., 2019)</ref>. However, the subseasonal forecasting task is notoriously difficult due to the joint influences of short-term initial conditions and long-term boundary conditions <ref type="bibr">(White et al., 2017)</ref>.</p><p>To improve subseasonal weather forecasting capabilities, the US Department of Reclamation launched the Sub-Seasonal Climate Forecast Rodeo competition <ref type="bibr">(Nowak et al., 2020)</ref>, a yearlong real-time forecasting competition for the Western United States. Our experiments are based on <ref type="bibr">Flaspohler et al. (2021)</ref>, a snapshot of public subseasonal model forecasts including both physics-based and machine learning models. These models were developed for the subseasonal forecasting challenge and make semimonthly forecasts for the contest period (19 October 2019 -29 September 2020).</p><p>To expand our evaluation beyond the subseasonal forecasting competition, we used the forecasts in <ref type="bibr">Flaspohler et al. (2021)</ref> for analogous yearlong periods (26 semi-monthly dates starting from the last Wednesday in October) beginning in Oct. 2010 and ending in Sep. 2020. Throughout, we refer to the yearlong period beginning in Oct. 2010 -Sep. 2011 as the 2011 year and so on for each subsequent year. For each forecast date t, the models in <ref type="bibr">Flaspohler et al. (2021)</ref> were trained only on data available at time t and model hyper-parameters were tuned to optimize average RMSE loss on the 3-year period preceding the forecast date t. For a few of the forecast dates, one or more models had missing forecasts; only dates for which all models have forecasts were used in evaluation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>L.2. Problem Definition</head><p>Denote the set of d = 6 input models {M 1 , . . . M d } with labels: llr (Model1), multillr (Model2), tuned catboost (Model3), tuned cfsv2 (Model4), tuned doy (Model5) and tuned salient fri (Model6).</p><p>On each semimonthly forecast date, each model M i makes a prediction for each of two meteorological variables (cumulative precipitation and average temperature over 14 days) and two forecasting horizons (3-4 weeks and 5-6 weeks). For the 3-4 week and 5-6 horizons respectively, the forecaster experiences a delay of D = 2 and D = 3 forecasts. Each model makes a total of T = 26 semimonthly forecasts for these four tasks.</p><p>At each time t, each input model M i produces a prediction at G = 514 gridpoints in the Western United States:</p><p>t &#8712; R G&#215;d be the matrix containing each input model's predictions as columns. The true meterological outcome for task c is y c t &#8712; R G . As online learning is performed for each task separately, we drop the task superscript c in the following.</p><p>At each timestep, the online learner makes a forecast prediction &#375;t by playing w t &#8712; W = &#9651; d-1 , corresponding to a convex combination of the individual models: &#375;t = X t w t . The learner then incurs a loss for the play w t according to the root mean squared (RMSE) error over the geography of interest:</p><p>Our objective for the subseasonal forecasting application is to produce an adaptive ensemble forecast that competes with the best input model over the yearlong period. Hence, in our evaluation, we take the competitor set to be the set of individual models U = {e i : i &#8712; [d]}. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>O.2. Regret of ODAFTRL with variable delays</head><p>Consider the ODAFTRL variable-delay generalization w t+1 = argmin w&#8712;W g 1:last(t+1) + h t+1 , w + &#955; t+1 &#968;(w).</p><p>(ODAFTRL with variable delays)</p><p>Since ODAFTRL with variable delays is an instance of OAFTRL with gt+1 = h t+1 -t s=last(t+1)+1 g s , the following result follows immediately from the OAFTRL regret bound, Thm. 14. confirming the base case.</p><p>Inductive step Now fix any t + 1 &#8805; 2 and suppose that</p><p>for all 1 &#8804; i &#8804; t. Since first(last(i + 1)) &#8804; i + 1 and &#955; s is non-decreasing in s, we apply this inductive hypothesis to deduce that, for each 0 &#8804; i &#8804; t,  Proof. Fix any u &#8712; W, and for each t, define &#955; &#8242; t+1 = 1 &#945; t s=1 &#948; s so that &#945;(&#955; &#8242; t+1 -&#955; &#8242; t ) = &#948; t . Since the AdaHedgeD with variable delays regularization sequence (&#955; t ) t&#8805;1 is non-decreasing, last(T ) &#8804; T , and hence &#955; T &#8804; &#955; &#8242; T +1 , Thm. 14 gives the regret bound Regret T (u) &#8804; &#955; T &#968;(u)</p><p>and the proof of Thm. 14 gives the upper estimate (5): </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Our initial presentation will assume constant delay D, but we provide extensions to variable and unbounded delays in App. O.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1"><p>The alternative choice ft(ht) = 1 2 ht -t s=t-D rs 2 q also bounds regret but may have size &#920;((D + 1) 2 ).</p></note>
		</body>
		</text>
</TEI>
