Information-Theoretic Regret Bounds
Regret with function approximation depends on how many genuinely new directions your function class can surprise you in. Eluder dimension and Bellman rank count those directions, lifting the linear d-times-root-T story to general classes.
Why Does This Exist?
Tabular theory counts states. Its regret bounds grow with the number of state action pairs, which is fine for a gridworld and hopeless for Go, a robot arm, or anything with continuous observations. Once you approximate, states share strength through one parameterized function, as value function approximation teaches. But that raises the real question: with a function class doing the generalizing, what number now governs how long exploration takes?
Parameter count is the wrong answer. A huge network can be easy to explore when it generalizes cleanly, and a tiny class of spiky functions can force you to probe nearly everything. The linear case is solved: linear methods show the answer is the feature dimension , because independent probes pin down every direction. This page lifts that idea to general classes with two related counters: eluder dimension for the bandit and online regression view, and Bellman rank for multi step RL.
Two basics before the mechanism. First, regret is the gap between the best you could have done and what you actually collected. In multi-armed bandits with arm means and best mean , after pulls of arms :
In RL the same idea sums over episodes, where is the optimal value and is the value of the policy you ran. Sublinear regret means your average mistake shrinks toward zero. Second, the tension underneath is the exploration versus exploitation dilemma: every probe that teaches you something costs reward now. These two measures tell you how many costly probes the worst case demands.
Think of It Like This
The mineral surveyor
A mining company owns a vast tract and a geologist with a map of where ore might sit. Each test drill is a probe: it costs money and reveals the ground truth at one spot.
Some drill sites are predictable from past holes. If every nearby hole came up empty in the same rock layer, the geologist calls the next one without drilling. Other sites surprise her: the map allowed two very different underground pictures that agreed on all past holes yet disagree here. Those are the independent probes, and they are the only drills worth paying for. The eluder dimension is the worst case number of surprising drills before the map is trusted everywhere. The Bellman rank version asks a stricter question: it checks one step consistency (does today plus physics predict tomorrow) from many starting camps, and counts how many independent directions those checks can surprise you in.
Where the analogy stops: real ore has geography, so nearby holes correlate by distance. Here dependence is algebraic, a property of the function class at your tolerance, not of physical distance. And the surveyor never has to worry that an early wrong turn changes which ground she gets to drill later, while an RL agent does.
How It Actually Works
What regret counts
Read as tuition paid for learning. Each round you either pull a well understood arm (cheap, little learned) or probe something uncertain (costly now, informative). An optimistic algorithm always acts according to the most favorable world still consistent with the data, so it only suffers large regret on rounds where the probe genuinely surprises it. The whole game of these bounds is counting how many such surprises the function class admits.
Eluder dimension: counting surprises
Fix a function class of candidate maps from inputs (think state action pairs) to values, and a tolerance (your survey tolerance: disagreements smaller than this do not matter). A new input is independent of past inputs when two functions in the class agree on the whole past yet disagree now:
The eluder dimension is the length of the longest sequence in which every input is independent of all inputs before it. Plain version: the longest run of "you could not have seen it coming" queries the class allows. Optimistic methods pay large regret only on those steps, which is why general regret bounds grow with the square root of eluder dimension times horizon, up to a log factor for the size of the class.
Worked toy: a 2D linear class has eluder dimension 2
Take with in (a plane through the origin, dimension ), tolerance , and inputs , , .
First, is independent of the empty past: the zero function and with agree vacuously on nothing observed, yet differ by at .
Next, is independent of : with versus zero, both give at (past disagreement ), yet differ by at .
Now is pinned. Write for any pair. Agreement on the past means . The gap at is , and Cauchy Schwarz caps it:
never strictly above . The worst case attains it exactly at : past disagreement , gap . So no pair in the class surprises you at , the longest surprising sequence has length 2, and . The general fact behind the toy: a dimensional linear class on the unit ball has eluder dimension close to , up to a factor.
The linear to general lift
Linear bandits run LinUCB style methods with regret shaped like : dimension times root horizon. The eluder view replaces with , giving regret shaped like , where measures how many distinct functions the class holds (a covering number). A nonlinear class with small eluder dimension inherits linear style guarantees without being linear. When someone reports that a bound "recovers LinUCB," this substitution is what they mean.
Bellman rank: the multi step version
RL adds two wrinkles bandits dodge: errors compound over horizon , and the data distribution shifts as your policy changes. Bellman rank counts surprises in Bellman error space instead of raw prediction space. For a candidate value function rolled in under some policy , write for its average Bellman error at step (how badly violates one step consistency where actually goes). The class has Bellman rank when these errors factor through dimensional vectors:
so only independent policy versus value directions matter. Algorithms in the OLIVE family explore those directions, and their sample complexity grows polynomially in and rather than in state count. It is eluder style thinking aimed at one step inconsistencies instead of point predictions.
Code
A short check of the toy: it confirms is pinned at by computing the Cauchy Schwarz cap and the equality case.
"""Verify the 2D eluder toy: x3 is pinned by x1, x2 at eps = 0.2."""
import math
EPS = 0.2X3 = (0.6, 0.8)
def max_gap(x: tuple, eps: float) -> float: """Largest |x . d| with d1^2 + d2^2 <= eps^2 (Cauchy-Schwarz cap).""" norm_x = math.sqrt(x[0] ** 2 + x[1] ** 2) return norm_x * eps
def equality_case(x: tuple, eps: float) -> tuple: """The d attaining the cap: d = eps * x / ||x||.""" norm_x = math.sqrt(x[0] ** 2 + x[1] ** 2) return (eps * x[0] / norm_x, eps * x[1] / norm_x)
bound = max_gap(X3, EPS)d = equality_case(X3, EPS)past = d[0] ** 2 + d[1] ** 2gap = X3[0] * d[0] + X3[1] * d[1]
print(f"bound at x3: {bound:.4f}")print(f"equality d: ({d[0]:.2f}, {d[1]:.2f})")print(f"past disagreement: {past:.4f} (eps^2 = {EPS ** 2:.4f})")print(f"gap at x3: {gap:.4f}")print(f"x3 independent at eps={EPS}: {gap > EPS + 1e-9}")# -> expected output:bound at x3: 0.2000equality d: (0.12, 0.16)past disagreement: 0.0400 (eps^2 = 0.0400)gap at x3: 0.2000x3 independent at eps=0.2: FalseWatch Out For
Low Bellman rank does not mean easy optimization
Bellman rank bounds statistics, not computation: how many samples an ideal explorer needs. Algorithms that realize the bound search over version spaces of value functions, which is intractable for rich classes. The symptom is quoting a polynomial sample bound as if training will be fast or stable. Treat rank as an information limit and budget planning and optimization cost separately; a problem can be statistically easy and computationally brutal at once.
Eluder dimension is not parameter count
A ten million parameter network on structured inputs can have a small eluder dimension, while a three parameter class of spiky functions can have an enormous one. The symptom is sizing an exploration budget or a UCB bonus scale from weight count. Count independent directions the class admits at your tolerance instead: ask how many queries could each surprise you given everything before, not how many knobs the model has.
The Quick Version
- Eluder dimension is the longest run of queries that can each surprise you given all previous ones, and it sets the exploration budget for a function class.
- Optimistic methods pay large regret only on independent steps, so regret grows with the square root of eluder dimension times horizon.
- Linear classes have eluder dimension near , which makes the familiar bound a special case of the general picture.
- Bellman rank applies the same counting to multi step Bellman errors, giving sample efficient RL when average errors factor through few directions.
- Neither number measures compute: small statistical complexity can still hide brutal optimization.