# The problem: the regret of adversarial bandits with polylogarithmic memory ## Context Source: Vladimir Braverman, Sumegha Garg, Chen Wang, David P. Woodruff and Samson Zhou, *Online Learning with Limited Information in the Sliding Window Model* (arXiv:2601.03533, 2026). Local copy: `/materials/paper.pdf`, text in `/materials/paper.txt`. The definitions and results below are the paper's own. **Setting** (Section 3.1, the single-query case q = 1). - There are n experts ("arms") and T days. "The sequence of outcomes is determined by an oblivious adversary: for each day t ∈ [T], the loss ℓ_t(i) ∈ {0, 1} for each expert i ∈ [n] is fixed in advance, unknown to the algorithm." - On each day the algorithm chooses one expert i_t, incurs the loss ℓ_t(i_t), and observes only that loss. - Regret: Σ_{t∈[T]} ℓ_t(i_t) − min_{i∈[n]} Σ_{t∈[T]} ℓ_t(i). - Space: "the space complexity s, defined as the maximum number of words that ALG utilizes at any point during its execution." For this problem, memory is counted in bits on every execution path: see the next section. **Known results.** - **Theorem 3**: "There exists an online learning algorithm that given any instance of n experts and T days such that T ⩾ n and the query access of a single expert, i.e., the bandit setting, achieves nT^{2/3} · polylog(T) regret using polylog(nT) words of memory with probability at least 1 − 1/poly(nT)." The algorithm is in Section 7. - Prior algorithm [XZ21] (Section 1.1): O(L · n^{1/(2L)} · T^{1−1/(2L)}) regret with Θ(n^{1/L}) space, for integers L ⩾ 1. - **Theorem 4**: if the loss sequence of the best expert is in random order, √(nT) · polylog(nT) regret with polylog(nT) words of memory, with probability at least 1 − 1/poly(nT). The algorithm is in Section 8. - Lower bound: Ω(√(nT)) regret is necessary for any constant number of queries per day [ACFS02], whatever the memory. **The open problem.** "What is the optimal regret achievable by an adversarial multi-armed bandit algorithm that selects only one arm per round and uses polylogarithmic memory? Existing algorithms achieve Õ(n T^{2/3}) regret with polylogarithmic memory, while the classical minimax regret lower bound is Ω(√(nT)). Can we close this gap by (1) either through an improved algorithm (2) or a stronger memory-dependent lower bound." ## The model and what counts These are the words of the person who posed the problem (the math notation is cleaned up). Where they are stricter than the paper's informal wording, they decide. **Randomness: fresh coins.** Use a randomized state machine with fresh independent random bits available in each round. Random bits themselves are free, but any information that must persist between rounds counts toward memory. Algorithms may use randomized hashing, pseudorandomness, or other techniques, but all persistent seeds and internal state must be accounted for. A lower bound under the stronger model with freely re-readable randomness (a distribution over machines, that is, a free read-only random string that can be re-read at any time) would be particularly interesting, but it is not required. **Memory: a hard polylogarithmic bit bound.** For each algorithm family, there must exist fixed constants C > 0 and k ≥ 1, independent of n and T, such that log_2 |S_{n,T}| ≤ C (log(nT))^k, where S_{n,T} is the machine's state set. The memory bound must hold on every execution path. Finite-precision representations are required, and arbitrary-precision real numbers cannot be stored for free. For lower bounds, distinguish carefully between: - a theorem for a specific memory exponent k; - a theorem for every fixed k, with the appropriate quantifiers. Only the second type can establish an impossibility result for the entire polylogarithmic-memory class. **Parameter regime: focus on the fundamental tradeoff.** The ultimate goal is to characterize optimal regret under polylogarithmic memory, ideally across the full meaningful range 1 ≤ n ≤ T. However, do not require a breakthrough theorem to hold uniformly across this entire range. I particularly want to investigate polynomial regimes n = T^α, 0 < α < 1, with special attention to 0 < α < 1/3, where the existing upper bound is nontrivial and the gap is meaningful. A result covering a substantial interval of exponents α would be especially desirable. For algorithmic results: - The highest-priority target is minimax-optimal Õ(√(nT)) regret with polylogarithmic memory and one pull per round. - A significant polynomial improvement over the best known upper bound is also valuable, especially if it introduces a broadly applicable new algorithmic technique. - A better exponent in n or T counts only if it yields a genuine improvement in an explicitly characterized asymptotic regime. For lower bounds: - The highest-priority target is to establish an inherent regret penalty caused by polylogarithmic memory, thereby ruling out minimax-optimal regret in the general adversarial setting. - Ideally, prove a quantitative memory–regret tradeoff, potentially with matching or nearly matching upper and lower bounds. - A lower bound for a single polynomial family n = ⌊T^α⌋ is acceptable as a major result if it establishes a meaningful polynomial separation, applies to the full polylogarithmic-memory class, and requires genuinely new techniques. - Lower bounds for a fixed memory exponent or a very restricted parameter family should not be regarded as a resolution of the central open problem. **Also fixed**, following the paper's Section 3.1: an oblivious adversary (losses fixed in advance); losses in {0, 1}; only the chosen arm's loss is observed; regret against the best single arm in hindsight, in expectation (a high-probability bound is a stronger form); T ≥ n. The machine may depend on n and T. **Left free:** in a lower bound for every fixed k, the polynomial gap may be the same for all k or may depend on k. Both are acceptable. ## Your goal **Primary target: resolve the open problem.** Determine whether adversarial multi-armed bandits can achieve minimax-optimal regret Õ(√(nT)) with one arm pull per round and only polylog(nT) bits of memory. A complete positive resolution requires an explicit algorithm and a rigorous regret and memory analysis, valid for the general oblivious adversarial model. A complete negative resolution requires a memory-dependent lower bound that rules out minimax-optimal regret for the entire polylog-memory class, not merely for one fixed memory exponent. An optimal or near-optimal characterization of the regret–memory tradeoff would be an especially desirable outcome. **Secondary target: a substantial theoretical breakthrough.** If a complete resolution is out of reach, seek a result with a credible path to a top-tier TCS or learning theory conference. Such a result should ideally have: 1. A significant polynomial improvement over the best known bounds in a broad, explicitly characterized parameter regime. 2. A genuinely new algorithmic or lower-bound technique, rather than a minor refinement of an existing analysis. 3. A meaningful advance toward understanding whether limited memory imposes an inherent regret penalty. 4. A mathematically general statement, preferably applicable across a substantial range of n and T, rather than an artificially selected parameter family. A strong partial result is acceptable, but its significance must be critically evaluated rather than assumed. **Do not declare the project successful merely because you obtain:** - a logarithmic-factor or constant-factor improvement; - a small improvement confined to a narrow parameter regime without broader theoretical insight; - a lower bound restricted to one fixed polylogarithmic memory exponent, presented as a bound for all polylog-memory algorithms; - a result requiring stochastic losses, random-order assumptions, extra feedback, or a substantially weaker adversary; - a Lean formalization of an already known theorem without new mathematics; - a formal theorem whose assumptions effectively encode the desired conclusion. Every result must be proved in **Lean 4**, on either side: kernel-checked, with no `sorry` and no axioms beyond Lean's standard ones (propext, Classical.choice, Quot.sound). Its formal statement must mean what the informal claim means. ## Lean environment - Your working directory `/workspace` is your private copy of the group's shared Lean pool, a Lake package named `pool` with two libraries: `Pool` (the shared pool: `Pool.lean` imports every merged module `Pool/P/*.lean`; your pull requests live in `Pool//`) and `Scratch` (your private drafts: `Scratch/*.lean`, built with `lake build Scratch.`). `Pool/Prelude.lean` imports LML and Mathlib. - Toolchain `leanprover/lean4:v4.36.0-rc2`. The dependencies are pinned in `lakefile.toml` / `lake-manifest.json`: LML (LeanMachineLearning) at commit `0dc41a5`, which pins Mathlib (tag `v4.36.0-rc2`) and the rest. - They are prebuilt, and `/workspace/.lake/packages` points to them. The merged pool modules are prebuilt too. - The dependency set is fixed. Code from elsewhere can be copied into your own files. - Sources: - LML: `/opt/proj/.lake/packages/LeanMachineLearning/LeanMachineLearning/` (sequential learning, bandits, regret, KL divergence decomposition, concentration); - Mathlib: `/opt/proj/.lake/packages/mathlib/Mathlib/`. - Lean builds use a lot of memory and the machine is shared by the whole group: `lake build` and `lake env` wait for a free build slot (usually seconds). Build what you need, not everything, and prefer `lake build `. ## How the work is organised You are one of several agents working on this problem as a group, with a shared pool of results that changes only through peer-reviewed pull requests. **Read `/materials/GROUP_PROTOCOL.md`** (how the group, the pool, pull requests, reviews and messages work) and **`/materials/PUBLIC_RULES.md`** (rules for claims and reviews). Reviewers use `/materials/REVIEW_CHECKLIST.md`. - **Internet.** You may read anything: papers, Mathlib docs, the Lean Zulip archive, LeanSearch, Loogle, GitHub. On the internet, do not post, comment, open issues or pull requests, push, send messages or create accounts (the group's own pull requests, below, are of course allowed). Do not hand work to other AI systems or proving services; web search and reading are fine.