A Sharp Additive Bound for the Threshold Rule in Repeated Rent-or-Buy

Motivated by context management in LLM agents, this paper studies a repeated rent-or-buy model with schedule-independent history growth and a fixed reset cost K. When the growth consists of P constant runs, the classical threshold rule incurs a total cost at most (2P − 1)K above the optimal schedule chosen with hindsight. This additive bound is sharp and does not depend on the session length. The proof uses potentials derived from the relative value functions of the constant-growth problems. For sessions with at most two runs, the optimal worst-case additive bound among deterministic rules is 2K. A variant that also resets when growth decreases achieves this bound, while the threshold rule can lose arbitrarily close to 3K. The paper also extends the analysis to approximately piecewise-constant growth. This manuscript is a preprint.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-03
DOI
https://doi.org/10.5281/zenodo.23923891
Primary Topic
Optimization and Search Problems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Sharp Additive Bound for the Threshold Rule in Repeated Rent-or-Buy

Vasco Schiavo
Zenodo (CERN European Organization for Nuclear Research)
Optimization and Search Problems
article

A Sharp Additive Bound for the Threshold Rule in Repeated Rent-or-Buy

Vasco Schiavo
article en

Abstract

Motivated by context management in LLM agents, this paper studies a repeated rent-or-buy model with schedule-independent history growth and a fixed reset cost K. When the growth consists of P constant runs, the classical threshold rule incurs a total cost at most (2P − 1)K above the optimal schedule chosen with hindsight. This additive bound is sharp and does not depend on the session length. The proof uses potentials derived from the relative value functions of the constant-growth problems. For sessions with at most two runs, the optimal worst-case additive bound among deterministic rules is 2K. A variant that also resets when growth decreases achieves this bound, while the threshold rule can lose arbitrarily close to 3K. The paper also extends the analysis to approximately piecewise-constant growth. This manuscript is a preprint.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 15%
Optimization and Search Problems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon