Repository navigation
Bandits: online linear optimization on normed spaces, losses in the dual - #6
Merged
Merged
Conversation
Layer 6 now works in a finite-dimensional real normed space paired with its dual (the pairing Tau Ceti's fenchelConjugate takes), so that strong convexity and the dual norm refer to any norm: the exponential weights bound [LS, Proposition 28.7] is the case of PiLp 1. The unit-ball instance stays on inner product spaces, and the simplex is LMLExplore's `simplex α` instead of the deprecated `stdSimplex`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0196ftMTTvboLE9rrbLUFss1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Amends the Bandits roadmap, Layer 6, so that online linear optimization works in a finite-dimensional real normed space paired with its dual, instead of an inner product space. Companion to #5 (the Refactors roadmap, Layer 0.1, which restates the merged FTRL code in this generality).
Why. In an inner product space, strong convexity and the dual norm can only refer to the Euclidean norm. The standard bound for exponential weights, [LS, Proposition 28.7], uses the
1-strong convexity of the negative entropy for theℓ¹norm (Pinsker's inequality), with dual normℓ∞. With lossesy : E →L[ℝ] ℝon a normed space, [LS, Corollary 28.8] holds for every norm by the choice ofE, and Proposition 28.7 is the caseE = PiLp 1 (fun _ : α ↦ ℝ).Changes (only
LMLRoadmaps/Bandits/):(x, y) ↦ y x. This is the pairing Tau Ceti'sfenchelConjugatetakes, so items 6.1–6.2 fit unchanged. The regret is∑ y t (a t - u). Strong convexity uses the norm ofE, and the norm of a loss is its operator norm. Results whose proofs don't use the dimension, such as the FTRL bounds, drop that assumption. The convention points to Refactors Layer 0.1 for the merged code.InnerProductSpace.toDual ℝ E g. Proposition 28.7 is onPiLp 1, stated onα → ℝwith LMLExplore'ssimplex αinstead of the deprecatedstdSimplex.simplex,PiLp, and the bilinear-pairing form offenchelConjugate).Suggested.lean.ftrl_regret_leis restated on a normed space with dual losses and a derivative withinK. The convexity and global differentiability assumptions are dropped, since the proof doesn't use them.Suggested.leanbuilds.Drafted with Claude Opus 5.5 at the request of the code owner.
🤖 Generated with Claude Code
https://claude.ai/code/session_0196ftMTTvboLE9rrbLUFss1