A Sharp Additive Bound for the Threshold Rule in Repeated Rent-or-Buy
Abstract
Motivated by context management in LLM agents, we study a repeated rent-or-buy model with schedule-independent history growth and a fixed reset price , a discrete form of dynamic TCP acknowledgment: every call pays as rent the history accumulated since the last reset, and a reset clears it. The classical threshold rule is -competitive, and no deterministic rule guarantees a smaller ratio. We show that, measured additively, its loss is governed by the changes in the growth: if the growth is constant on runs, the threshold rule, knowing neither the runs nor the horizon, pays at most more than the optimal schedule chosen with hindsight, and the coefficient is sharp. If the growth is only within a factor of runs, the bound holds up to a factor and an extra . The proof is a potential argument built from the relative value functions of the single-rate problems. On two runs no deterministic rule guarantees a loss below . A rule that also resets when the growth decreases guarantees , while the threshold rule can lose arbitrarily close to .
Create a lesson
Metadata
- Comments
- 16 pages
Related papers
An Inverse-Square Gain over Threshold Rounding at Bounded Degree: Reasonable Boolean 2-CSPs and Beyond
Shared title terminologycs.DSMrinalkanti Ghosh
Improved Lower Bounds for Online Parallel Machine Scheduling
Shared title terminologycs.DSJunwen Xiao, Zhiyi Tan
A Tight Superlinear Lower Bound on the Sketching Dimension of Weighted Spectral Sparsification
Shared title terminologycs.DSYanyu Chen, Yu Chen, Mingji Yang
Minimizing Total Busy Time with Bounded Parallelism: A 3/2-Approximation for Parallelism Two and a Forest Characterization for General Parallelism
Shared title terminologycs.DSChi-Yeh Chen
An Order-Optimal Square-Root Bound for Online Maximin Share Allocation with Known Types
Shared title terminologycs.DSZheyu Zhou
An n^{1/O(\log^* n)} Lower Bound for Online Coloring of k-Colorable Graphs
Shared title terminologycs.DSSajad Faghfoor Maghrebi