cs.LGOct 9, 2026

Simultaneous Competitive and Regret Guarantees for TCP Acknowledgment

Authors: Tsubasa Harada, Yasushi Kawase, Hanna Sumita

Organizations: Institute of Science Tokyo · Chuo University

Abstract

We study simultaneous competitive and regret guarantees for TCP acknowledgment. Each acknowledgment serves all pending packets, and the objective is to minimize the total acknowledgment and waiting costs. It is well known that no deterministic online algorithm achieves a competitive ratio better than 22. Given kk randomized online experts and 0<ε<10<\varepsilon<1, we construct a randomized online algorithm whose realized total cost is always at most (2+ε)(2+\varepsilon) times the offline optimal cost OPT\mathrm{OPT} and whose expected regret against the expert with the smallest realized cost is O(OPTlog⁡(k+1)+log⁡(1/ε))O(\sqrt{\mathrm{OPT}\log(k+1)}+\log(1/\varepsilon)). The algorithm requires no advance knowledge of the number of packets or OPT\mathrm{OPT}. Our algorithm controls switching costs between experts and uses the gap between the permitted competitive bound and its current cost to determine when to learn. We also prove lower bounds showing that, for k≥2k\ge 2, this regret bound is asymptotically optimal in OPT\mathrm{OPT}, kk, and ε\varepsilon, and that ε>0\varepsilon>0 is necessary for sublinear regret.

Explore similar work

May 30, 2026

Online Packet Scheduling with Deadlines and Learning

Network routers that enforce Quality-of-Service (QoS) guarantees must decide, at every clock cycle, which expiring packet of information to transmit, even when the value of the packet is unknown until it is processed. We frame this problem as the Online Packet Scheduling with Deadlines (OPSD) problem under Partial Feedback: packets arrive at every clock cycle, with different deadlines, but the weights are only observed after execution. Under a stochastic assumption on the unknown weights, we explore different variants of the OPSD problem with bandit feedback. We establish a connection between our setting and the sleeping bandits problem, and set our learning goal to αα-regret minimization. We provide algorithms with provable αα-regret guarantees under different spans of slackness, distinguishing systems allowing for randomization and systems that do not. In every scenario, our algorithms achieve an αα-regret upper bound of O~(KT)\widetilde{\mathcal{O}}\left(\sqrt{KT}\right), matching the lower bound for the standard bandit setting. In the practically relevant case of 22-bounded deadline instances, where the deadline is set at most one clock cycle away from the arrival, our deterministic algorithm achieves the provably tightest possible competitive ratio. Remarkably, when the number of distinct packet types K≥2K\ge 2 is finite, it is possible to break the well-established Φ=1+52Φ= \frac{1+\sqrt{5}}{2} competitive ratio barrier and attain a tighter competitive ratio θKθ_K ranging in [2,Φ)[\sqrt{2}, Φ).
Oct 17, 2026

Revisiting Smoothed Online Learning: Competitive Ratio, Dynamic Regret with Switching Cost, and Best of Both Worlds

We revisit smoothed online learning and develop algorithms with improved competitive ratios, optimal dynamic regret with switching cost, and best-of-both-worlds guarantees. Surprisingly, minimizing the hitting cost alone is max⁡(1,2α)\max(1,\frac{2}α)-competitive for αα-polyhedral functions under the ℓ2\ell_2-norm switching cost and 1+4λ1+\frac{4}λ-competitive for λλ-quadratic growth functions under the squared ℓ2\ell_2-norm switching cost, significantly improving existing guarantees. The polyhedral bound is tight for this naive algorithm, and we establish a matching lower bound for α≥1α\geq1. For convex λλ-quadratic growth hitting costs, minimizing a suitably weighted sum of hitting and squared ℓ2\ell_2-norm switching costs yields a competitive ratio of 1+2λ1+\frac{2}{\sqrtλ}. For dynamic regret with the ℓ2\ell_2-norm switching cost, we develop Smoothed Ader (SAder), which achieves the optimal O(T(1+PT))O(\sqrt{T(1+P_T)}) rate in the standard online convex optimization setting, where PTP_T is the comparator's path-length. Its lookahead version removes the bounded-gradient assumption, and a matching lower bound establishes optimality in this setting. Finally, for convex hitting costs on a bounded convex domain, we develop UDNP to aggregate any two experts in the lookahead setting under both switching costs. Its additional cumulative cost is at most O(1)O(1) relative to the first expert and O(Tlog⁡T)O(\sqrt{T\log T}) relative to the second, yielding best-of-both-worlds guarantees without bounded gradients.
Oct 8, 2026

Optimally Pacing Budget Spending and Learning

We establish near-optimal regret bounds for budget-constrained online learning against arbitrary classes of budget-pacing experts in the adversarial setting. In particular, given any class of FF experts and a candidate budget pacing schedule, we provide a full-information algorithm which obtains regret O(Dlog⁡F+Tlog⁡F)O(D \sqrt{\log F}+ \sqrt{T\log F}) against all experts whose cumulative spending stays within distance DD of this schedule, matching lower bounds established by Braverman et al. (2025). We additionally show that our technique extends to various problems in online resource allocation, where the learner gets to see the rewards and costs of the current options available to them, and establish O(Dlog⁡F)O(D\sqrt{\log F}) regret bounds when fractional allocation is allowed. This is the first algorithm we are aware of which can achieve o(T)o(\sqrt{T}) guarantees for such tasks.