How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Optimistic exploration and PAC-MDP sample complexity
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Finite MDPs and Bellman operators
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Infinite Product Measures and Kolmogorov Extension
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Markov Kernels and Markov Chains
- Martingale Inequalities and Convergence
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- Tabular prediction and control by interaction
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Finite discounted MDP with bounded real rewards
Definition
Let be a nonempty finite set, let be a nonempty finite set for each , and let . Here finite means bijective with a natural number. Put and . Fix a discount . Give and their discrete sigma-algebras and give its Borel sigma-algebra. A bounded-reward finite discounted Markov decision process is a probability kernel from to . At pair , is the joint law of the next state and the reward; these two coordinates need not be independent. Define the state-transition probabilities and expected rewards by
A history-dependent behavior is a sequence of probability kernels from observed-history spaces to the finite action alphabet , assigning probability zero to actions outside at every history ending in state . Here consists of histories , with discrete sigma-algebras on finite state/action coordinates and the Borel sigma-algebra on each reward coordinate; it has the resulting finite-product sigma-algebra. A stationary Markov policy assigns one distribution on to each state, independently of earlier history. During interaction, after choosing in state , the next pair is drawn from .
Definition references
The Borel sigma-algebra is generated by the open sets of a topological space.
The product sigma-algebra is generated by measurable rectangles.
The state-reward sample space is a Cartesian product.
Expectation is the Lebesgue integral of a measurable random variable.
The reward-coordinate projection is measurable: the inverse image of a Borel set is the measurable rectangle . Since , monotonicity of the nonnegative integral gives .
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Well-defined discounted values and optimal Bellman fixed points
Statement
Assume the Axiom of Choice. In every bounded-reward finite discounted Markov decision process with nonempty finite state set , nonempty finite action sets , and , the trajectory law of every history-dependent behavior from every starting state exists. Its discounted return is measurable, integrable, and between and . For each stationary policy , its value satisfies its Bellman equation. The optimality operator
is a contraction in the supremum norm, meaning for all , where , and has a unique fixed point . This fixed point is the supremum of the values of all history-dependent behaviors and is attained by a deterministic stationary greedy policy. The optimal action value is
and with .
Statement references
The finite state/action model, joint transition-reward kernel, and discounted interaction convention.
The Axiom of Choice, required by the countable path-law construction.
History-dependent probability kernels determine a unique infinite path law under AC.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: A nonempty finite state set , nonempty finite action sets , a probability kernel on for each admissible pair, and a discount .
Finite discounted MDP with bounded real rewards supplies , state-transition probabilities summing to one, expected rewards , and measurable history-dependent behavior kernels.
The Axiom of Choice is assumed for the infinite path-law existence theorem; the Bellman fixed-point and finite maximization arguments below use no arbitrary-index choice.
Ionescu-Tulcea construction of a Markov chain: under AC, a starting law and a sequence of history-dependent probability kernels determine a probability law with the specified finite-prefix laws.
Sequential suprema, infima, limsup, liminf, and pointwise limits of measurable functions are measurable: a pointwise limit of measurable real functions is measurable. Expectation of a nonnegative or integrable random variable defines expectation as the corresponding Lebesgue integral.
For , , and for the series diverges: for , and .
Monotone convergence for the integral: an increasing sequence of nonnegative measurable functions has integrals increasing to the integral of its pointwise limit.
Every nonempty finite set of reals has a maximum and a minimum: every nonempty finite set of real action values has an attained maximum.
Laws of finite sums and finite products and Triangle inequality for finite sums: finite sums preserve termwise inequalities and scaling and satisfy the triangle inequality.
The reals are complete: every Cauchy sequence of real numbers has a real limit.
Finite, countably infinite, countable, uncountable defines a finite set as one bijective with a natural number, and Every natural-number-indexed list of nonempty sets has a choice function on its family of values constructs a choice function for any natural-number-indexed finite family of nonempty sets without AC.
The Lebesgue integral is linear on , Change of variables for expectation, Expectation agrees with the published finite weighted sum, and Monotonicity and nonnegative homogeneity of the nonnegative integral: for every admissible pair and every real vector , the bounded terms are integrable, inequalities between nonnegative integrands pass through the integral, and The integral splits by linearity; the second term is the expectation of the finite-valued next-state function, evaluated using its marginal law and the finite weighted-sum formula. The same formula evaluates a probability distribution on any finite action set.
Proof
Fix a starting state and a history-dependent behavior, and write as in [F1]. For a history ending at state and a measurable set , define . For each fixed , the integrand section is measurable by the product sigma-algebra, and the finite weighted sum is measurable in because is a probability kernel; its total mass is . Thus is a probability kernel from histories to the fixed space . Applying [F2] to this sequence of history kernels and the initial point mass gives the full interaction path law.
For a stationary policy , define . This is a real vector by the finite sums. For any , the absolute difference of each bracketed backup is at most . Averaging over preserves this bound, so .
For finite real lists and , if , then and for every , whence . Applying this and [F7] to the definition of gives . The operator maps into itself because rewards are in and transition probabilities sum to one.
Each reward coordinate on the product path space is measurable and lies in . The finite partial discounted sums are measurable, increase pointwise, and are bounded above by by [F4]. Their pointwise limit is measurable by [F3] and has the same bound. By [F5] its expectation is the limit of the finite partial expectations and is finite; thus every behavior value is well-defined and lies in the stated interval.
For a stationary policy , let be the expected sum of its first discounted rewards from , with . The finite-prefix law from step 1.1 and conditioning on the first action and joint reward/next-state outcome give . Apply [F10] to each integral to obtain ; the finite action distribution is evaluated by the same finite weighted-sum formula in [F10]. The joint law allows dependence between reward and next state; the integral identity does not assume independence.
Start with and set . Since and is a contraction, induction gives . Thus for , ; every coordinate is Cauchy and converges by [F8], uniformly because is finite. Its limit is a fixed point by the finite-sum/max formula and the contraction estimate. If were another fixed point, step 1.3 would give , so .
The finite-horizon stationary-policy values converge to by step 2.1 and the geometric tail bound [F4]. Passing their finite recursions from step 2.2 to the limit is valid because each sum is finite and the maximum statewise error tends to zero; hence . If two fixed points existed, step 1.2 would give their distance at most times itself, forcing equality.
We prove by induction on that, from every starting history ending at state , every history-dependent continuation has -reward expected discounted return at most from step 2.3. The base is the empty-horizon return. For the successor step, condition on the first chosen action and the joint next-state/reward outcome . The induction hypothesis applies to the extended history ending at , so its continuation return is pointwise at most , even when its action rule used the observed reward . For each first action, monotonicity of integration and [F10] bound the conditional expected total by . Averaging over the randomized first action by the finite weighted-sum formula in [F10] is at most its finite maximum, namely . Thus the claimed upper bound holds uniformly over histories and behaviors.
For any behavior, its omitted tail after rewards is at most by [F4]. Therefore its infinite-horizon value is at most . Letting and using step 2.3 proves that every behavior value is at most .
For each , let be the nonempty finite set of actions attaining the maximum in . By [F9] and the finiteness of , choose one member of each without AC; these choices define a deterministic stationary policy . It satisfies , so step 3.1 and uniqueness imply . Together with step 3.3 this proves and attainment. After forcing a first action and then following , the expected return is . Any other continuation after that first action is bounded by at each next state by step 3.3, so this is the maximal value with first action fixed to , namely . Its maximum over is , and it is nonnegative by [F1]. AC is used only for the path law in step 1.1.
Concentration for adaptively sampled MDP observations
Statement
Assume AC and fix a bounded-reward finite discounted MDP with state set . For each admissible pair , let be an independent potential stream with common joint law ; an interaction reveals the next unused sample from that pair's stream only when the pair is visited. This construction has the same finite-trajectory law as interaction with the MDP under any history-dependent behavior. For a fixed pair and , its reward samples satisfy If is the empirical distribution of and is the true next-state marginal, then where and is the natural logarithm. More generally, for a filtration , if is -measurable, , and , then No independence between reward and next state within a single transition is assumed. The confidence bounds are for a fixed deterministic sample size or a fixed-size batch; this item makes no uniform confidence claim at a data-dependent sample count. At a finite history-dependent visit count, the next fixed number of unused potential outcomes still has its conditional iid law.
Statement references
The joint next-state/reward law and the finite state-action domain.
A sequence of probability kernels has a unique infinite product path law under AC.
Conditional exponential-moment bound for bounded martingale differences with predictable endpoints.
Two-sided concentration for martingale increments with predictable bounded ranges.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: AC; a bounded-reward finite discounted MDP; a fixed state-action pair for the empirical estimates; and, in the final clause, a filtration and predictable bounded target sequence.
Finite discounted MDP with bounded real rewards: the pair's joint next-state/reward law is , rewards lie in , and the next-state marginal is a probability distribution on the finite set .
The Axiom of Choice: every family of nonempty sets has a choice function; AC is assumed here for the countable product law and the conditional-expectation classes.
Finite, countably infinite, countable, uncountable and Ionescu-Tulcea construction of a Markov chain: the finite pair set can be enumerated, and a countable sequence of probability kernels admits the specified product law with the prescribed finite-prefix laws under AC.
Basic algebra and order properties of conditional expectation: conditional expectation preserves order and constants, so for .
Conditional Hoeffding bound for bounded martingale differences: if , , and finite -measurable endpoints have deterministic width at most , then .
Tower property of conditional expectation and Taking out what is known: conditional expectations iterate through a filtration, and a finite measurable factor can be taken outside when the products are integrable.
Markov's inequality for random variables: for nonnegative and , .
Azuma-Hoeffding inequality: if a martingale has predictable increment endpoints of widths , each one-sided tail is bounded by .
Cauchy-Schwarz for random variables: when ; Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation gives for a probability vector on .
Filtration and filtered probability space and Martingale difference sequence: the visit/sample history is an increasing filtration, and a centered integrable adapted increment is a martingale difference relative to it.
The finite union bound: the probability of a finite union of events is at most the sum of their probabilities.
Proof
Enumerate the finite pair set . For each and , prescribe the same probability kernel on ; applying [F3] to the resulting countable sequence gives an array of independent potential outcomes. Generate behavior actions by their history kernels and reveal outcome on the th visit to pair . Conditional on the interaction history, the selected unused coordinate still has law , so each finite interaction prefix has the same iterated-kernel law as the MDP under the behavior. Equality of these prefixes proves the coupling claim.
For the predictable-target clause, put and use as the conditioning sigma-algebra. By [F4], , so the finite endpoints and are -measurable, contain , and have width . Also . Thus [F5] gives for every real .
For each , let be one when and zero otherwise, and put . Independence across the potential stream gives . By [F9], . Summing over and using and [F9] gives .
Let and , where for the state coordinates of the potential stream. Replacing one state coordinate changes in by at most , so, by independence of the remaining coordinates, the conditional range of given has width at most . The finite state alphabet makes its conditional minimum and maximum measurable functions of the prefix, so is a martingale with finite predictable increment endpoints of that width.
Fix a pair and write its independent potential stream as . Let be a finite visit count determined by the observed interaction history before the next sample, and let be an event observable at that history. For each integer , the event depends only on the first coordinates of this pair's stream and on other revealed or behavior randomness, all independent of . The product finite-prefix laws from [F3] therefore give, for every measurable block event , . Summing over proves that the next fixed-size block has conditionally the iid law at the history-dependent visit count.
For , set . The factor is bounded and -measurable; [F6] and step 1.2 give . Iterating from yields . Apply [F7] to and optimize at to get . Applying the same argument to gives the lower tail, and addition gives the stated two-sided inequality.
Apply the upper-tail half of [F8] with and ; since , the probability that is at most . Combining this with step 1.3 gives the stated empirical transition bound.
For a fixed pair's potential stream, set . Independence of the stream makes independent of , so almost surely. Since , apply step 2.2 with , , and this conditional mean to obtain the displayed reward bound.
At any finite history-dependent batch start, step 2.1 gives the next fixed-size block its conditional iid law. Applying steps 2.2, 3.1, and 2.3 conditionally at that start therefore supplies their stated concentration bounds for that batch; [F11] combines a finite set of such events when failure probabilities are allocated. This does not assert a uniform bound for a sample size chosen after observing its own samples.
PAC-MDP sample complexity of exploration
Definition
Assume AC, fix a bounded-reward finite discounted MDP, an initial state, and a learning algorithm whose behavior is a history-dependent policy. At time , let be the observed history ending at state . The continuation behavior is the tail of the algorithm's action kernels after , and is the expected discounted return of the continuation process generated from that fixed history by those tail kernels. Set and . For , the -bad-step count is where the count may be infinite. For and , a PAC-MDP bound is a specified finite function such that, for every MDP with these finite state/action sizes and every initial state, . This definition does not require the bad steps to precede a permanent stopping time.
For each fixed , the finite-horizon continuation values are measurable functions of : recursively, they are finite sums and integrals of nonnegative product-measurable functions against the behavior and MDP kernels. The kernel-integration theorem applies at each recursion, and the infinite-horizon value is the increasing limit of these finite-horizon values. Hence the bad-time sets and the extended count are measurable, so the displayed probability is defined.
Admissible upper heuristic for a discounted MDP
Definition
For a bounded-reward finite discounted MDP, an admissible upper heuristic is a function such that for every admissible pair and a supplied scalar satisfies . Define the effective reward-scale cap . Then . The floor at is part of this convention because an observed reward can lie anywhere in , even when the heuristic values are all smaller than .
Value stability under empirical model error
Statement
Let and be bounded-reward finite discounted MDPs on the same finite state set and the same admissible action sets, with common discount . Write for their mean rewards, transition laws, stationary-policy values, and optimal values. Suppose for every state, model index , and stationary policy , and that for every admissible pair For finite vectors, and . Then every common stationary policy and the optimal values satisfy There is also a trap-model form that does not assume a tight cap for the second model: for , suppose all stationary-policy and optimal values in are at most , all rewards in lie in , and . Then every common stationary policy and the optimal values satisfy
Statement references
Facts & Assumptions
Given: The two MDPs, common state/action/discount data, the uniform reward and transition error bounds, and the common value cap in the Statement.
Well-defined discounted values and optimal Bellman fixed points: each stationary value solves its policy Bellman equation, and each optimal value is the unique fixed point of its optimality Bellman operator.
Every nonempty finite set of reals has a maximum and a minimum: a maximum over each nonempty finite action set is attained.
Laws of finite sums and finite products: finite weighted sums preserve inequalities and satisfy the triangle inequality.
Finite discounted MDP with bounded real rewards: rewards in lie in , so its stationary and optimal discounted values are at most .
Proof
Fix a stationary policy and put . Subtract its two Bellman equations. For each state, split the transition term as . The first part has absolute value at most because is a probability vector; the second is at most because . Averaging over the common policy's action distribution and using the reward error gives . Taking the maximum over states and rearranging yields the first bound.
Put . For any state and action, the two optimal Bellman backup entries differ by at most , by the same transition splitting and the cap on . For finite lists , : each and for . Thus the optimal Bellman equations in [F1] imply . Rearranging proves the second bound.
Under the additional trap-model hypotheses, fix and put . Bellman subtraction as in step 1.1 gives . By [A1] and the triangle inequality, . Hence . Since , the left coefficient is at least , yielding .
For optimal values, use the finite-maximum inequality from step 1.2 in the Bellman subtraction. It gives . Again [A1] and the triangle inequality give . The same rearrangement as step 2.1 proves the optimal-value bound.
Known-state/action MDP with prescribed absorbing values
Definition
Let be a bounded-reward finite discounted MDP with discount , let be a set of known state-action pairs, and let with . The known-state/action MDP agrees with on every pair in . For each pair , add a distinct absorbing state with one admissible action. The unknown pair transitions deterministically to and gives deterministic reward ; the sink action self-loops with the same deterministic reward . These rewards lie in . The sink state's value is , so the unknown pair's Bellman backup is exactly , independent of the value function on the original states.
R-MAX with an admissible heuristic
Definition
Input: A bounded-reward finite discounted MDP interaction, its discount , an admissible upper heuristic with cap , an integer sample threshold , a value-iteration error tolerance , and a fixed total order on each finite action set. Write for the natural logarithm.
Output: At each interaction time , the selected action . The action-value table , known set, sample lists, and empirical model are internal state; the procedure does not return as an output.
Initialize each pair as unknown, set , and give each pair an empty list of observed rewards and next states. For interaction times , in the current state choose a maximizing action using the fixed tie order, output and take that action , and observe reward and next state . If the pair is unknown, append this observation until its list has length . When it reaches , mark the pair known, set its empirical reward to the sample mean and its empirical transition law to the sample frequencies. Rebuild all action values by setting the working table , then for setting , and finally replacing by , for the operator where is the current known set and Pairs and their samples are never removed from or discarded. After processing the observation and any rebuild, use the observed as the current state in the next iteration. The algorithm specifies no computational-time bound.
Definition references
Finite discounted MDP interaction and the joint next-state/reward law.
Admissible upper heuristic and normalized reward-scale cap.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Szepesvári, Algorithms for Reinforcement Learning.
Sutton and Barto, Reinforcement Learning: An Introduction, 2nd ed..
Delayed Q-learning with an admissible heuristic
Definition
Input: A bounded-reward finite discounted MDP interaction, its discount , an admissible upper heuristic with cap , an integer batch size , a bonus , and a fixed total order on each action set.
Output: At each interaction time , the selected action . The table , batch sums, sample counts, batch-start times, learning flags, and global last-update time are internal state; the procedure does not return them as outputs.
Initialize , batch sum , sample count , batch start , learning flag , and global last-update time . For interaction times , in current state , choose an action maximizing under the fixed tie order, output and take that action , then observe reward and next state . If , set . If is true, set when , increment by one, and add to . When , set . If , replace by and set . Otherwise set exactly when . In either outcome reset and after a completed batch; if remains false, make no sample or Q update on this visit. Leave all other entries unchanged. Use as the current state in the next iteration.
Definition references
Finite discounted MDP interaction and the joint next-state/reward law.
The admissible initialization and value cap.
The one-step reward plus discounted greedy-successor target.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Escape-event reduction for optimistic greedy learning
Statement
Assume AC. Let a learning algorithm interact with a bounded-reward finite discounted MDP. Suppose constants satisfy , , , and . The learner maintains and, whenever , . Put , and let be the deterministic greedy policy under a fixed tie order. Require the learner to select at every time. Before acting at time , let be a history-measurable set of known pairs; assume it stays fixed until a Q-value update or a selection of a pair outside . Write for the known-state/action MDP and . For parameters with and , suppose that with probability at least , simultaneously for every , and the total number of Q-update times plus outside- selection times is at most a finite real . Define , set Then, with probability at least , the PAC-MDP count satisfies . Here is the natural logarithm.
Statement references
Finite discounted MDPs, history-dependent continuation behaviors, and nonnegative rewards.
The bad-step count and PAC-MDP bound convention.
The dedicated absorbing state and reward assigned to each pair outside the known set.
Continuation values are bounded by the optimal value, with a finite discounted geometric tail.
AC for the countable path law.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: The MDP, AC, the algorithm acting greedily under the fixed tie order and predictable known sets, the value caps, and the simultaneous optimism, policy-accuracy, and complexity event in the Statement.
Known-state/action MDP with prescribed absorbing values: on a known pair the trap model has the true transition/reward law; outside the known set it has a dedicated absorbing state whose value is .
Well-defined discounted values and optimal Bellman fixed points: under AC, every history-dependent continuation has a trajectory law; a history-conditioned continuation value in the true MDP is at most , and truncating a nonnegative discounted return after terms loses at most in expectation.
PAC-MDP sample complexity of exploration: a time is counted in exactly when the conditional continuation value is strictly less than .
The Axiom of Choice: every family of nonempty sets has a choice function. AC is assumed here to meet the hypotheses of the path-law result [F2] and the conditional-expectation suppliers [F5].
Filtration and filtered probability space: the history through each successive trial is an increasing filtration.
Basic algebra and order properties of conditional expectation, Tower property of conditional expectation, and Taking out what is known: conditional expectation is linear, iterates through nested histories, and allows bounded history-measurable factors to be removed from the conditional expectation.
Markov's inequality for random variables: if and , then .
Measurability of integration against a kernel: integration of a nonnegative product-measurable function against a probability kernel gives a measurable function of the history parameter.
Proof
Fix a history at time at which the current optimism and policy-accuracy inequalities in the Statement hold, and let be the event that before transitions elapse the algorithm updates some Q-value or selects a pair outside . If does not occur, the greedy policy and known set remain fixed, every selected pair is in , and the true interaction and have the same transition/reward kernels along these steps by [F1]. The expected truncated returns therefore agree on . On , stop the coupling at the first update or outside-pair selection. The common prefix cancels. At any history, the true continuation value is at most by [F2]. In , before the first outside pair a policy follows a true-MDP prefix; its expected nonnegative prefix is at most , since continuing that policy in the true MDP can only add nonnegative rewards. After the first outside pair its dedicated sink contributes exactly by [F1] and the Statement. Thus every policy value in , including its continuation after the stopping history, is at most . Since both continuation values are nonnegative, their absolute difference is at most , and the expected loss contributed by is at most .
The known-model policy's infinite return exceeds its -step truncated return by at most , by the definition of ; for the tail is zero. The true return is at least its truncated return because rewards are nonnegative. Combining step 1.1 with the assumed policy accuracy and optimism gives . Therefore, if is counted by , then .
Construct trials by starting at the first bad time not already covered by a previous trial window, running that window for transitions, and then waiting for the next bad time. The starts are stopping times: each bad-time test and current inequality is history measurable. For the continuation-value test, finite-horizon continuation values are measurable by recursive kernel integration using [F7], and the discounted continuation value is their increasing limit. The windows are disjoint. At a trial start satisfying the two current optimism and accuracy inequalities, its conditional chance of containing an update or escape is at least by step 2.1; this statement conditions only on its starting history, not on the future simultaneous good event. Every such success occurs at a distinct update/escape time, so on the simultaneous complexity event there are at most successes. Each trial window contains at most bad times, and there are no bad times between a completed window and the next trial start.
Write for the successive trial starts, setting when no such start exists. For , set if or either current optimism/accuracy inequality fails at its start; otherwise let indicate an update or escape during its window. Use the stopped-history sigma-algebra at , with the full path sigma-algebra on . It contains every earlier window outcome. On the first two cases ; in the remaining case step 2.1 gives conditional success probability at least . Thus without conditioning on the simultaneous future good event. Since , [F5] and induction give for . Applying [F6] to this nonnegative exponential yields by the definition of . If more than bad-time trials occurred while the simultaneous optimism, accuracy and complexity event held, the first starts would be finite and every would be its actual update/escape indicator, so their sum would be at most . This has probability at most . Adding the probability at most that the simultaneous assumptions fail proves that, with probability at least , there are at most trials and hence at most bad times.
Adaptive empirical-model accuracy for R-MAX
Statement
Let be a bounded-reward finite discounted MDP, let and , and let be an admissible heuristic with . Put where and . Run R-MAX with this sample threshold and approximation tolerance. For the current known set, let use its empirical laws on and the heuristic absorbing states elsewhere, and let use the true laws on . Define . With probability at least , simultaneously at all times: every stationary-policy value in differs from its value in by at most ; the current action values satisfy and ; the greedy value obeys ; and for every state. On this event, the total number of value-table rebuilds plus selections of pairs outside is at most .
Statement references
R-MAX stores its initial empirical batch and performs the specified finite Bellman sweeps.
The admissible value cap and componentwise optimism condition.
The true and empirical known-state/action models.
Adaptive reward and transition estimates for each potential stream.
The policy-value perturbation bound.
Bellman contraction, value iteration, and optimal values.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: The MDP, admissible heuristic, parameters, R-MAX algorithm, and notation in the Statement.
Concentration for adaptively sampled MDP observations: for each pair's first potential outcomes, the reward mean and transition error obey the displayed concentration bounds, simultaneously under adaptive visits.
Value stability under empirical model error: if the true trap model values are bounded by , the empirical model has rewards in , and , then reward and transition errors at most give value error at most for every policy and for the optimal values.
Well-defined discounted values and optimal Bellman fixed points: the Bellman optimality operator is a contraction; its value-iteration iterates converge to its fixed point, and an admissible action value is bounded by .
Admissible upper heuristic for a discounted MDP and Known-state/action MDP with prescribed absorbing values: , and the dedicated sink for an unknown pair in has value .
R-MAX with an admissible heuristic: each newly known pair triggers one rebuild; a pair remains outside the known set for at most its first selections.
The finite union bound: the probability of a finite union of events is at most the sum of their probabilities.
Proof
Apply [F1] to each pair with reward and transition tolerance . For , the transition threshold is : its squared numerator is at most , while . The reward failure is at most because . By [F6], the finite union over reward and transition events for at most pairs has failure probability at most .
The Bellman operator of is exactly the operator in [F5], with unknown backup . Its fixed point and zero-initialized sweeps lie in . The contraction estimate in [F3] gives error at most . For , , so the stated makes this error at most ; when , one sweep is exact. The initial table is the exact fixed point for the empty known set. Thus the action-value approximation bound holds after every rebuild.
For a fixed known set , the true trap model has every stationary-policy and optimal value at most . Indeed, until the first outside- pair its path is a true-MDP path, whose expected nonnegative prefix is at most ; after that pair its absorbing continuation is at most . The empirical trap model has all rewards in . Also , since . Apply the trap-model form of [F2] with and . The value error for each policy and the optimum is at most .
Let and denote the trap-model optima. For every state, the true Bellman backup at on a known pair is , and on an unknown pair the trap backup is . Hence . The operator preserves coordinatewise order because its transition weights are nonnegative; its iterates from therefore increase. Contraction makes these iterates converge to the unique fixed point, so . Step 2.1 gives . Since , .
For each state , the action chosen by satisfies : its optimal action value is at least its estimated value minus , while the estimated maximum is at least the optimal maximum minus . Thus . Subtracting the policy Bellman equation and taking the maximum positive difference yields . Comparing the same policy in by step 2.1 and using gives , because .
On the event just proved, an outside- pair with cannot be selected: its current value is still , whereas . Thus every escape pair lies in . By [F5], each such pair is selected outside the known set at most times and causes one rebuild. Summing over proves the complexity bound.
Delayed Q-learning optimism and update-count bounds
Statement
Assume AC. Fix a bounded-reward finite discounted MDP, write and , and fix an admissible heuristic with cap , and . Put , , , and . Run Delayed Q-learning with a positive integer satisfying For , define With probability at least , all estimates remain optimistic, for every ; every attempted update whose first sample is taken with its pair outside succeeds; the number of successful updates is at most and the number of visits selecting a pair outside is at most . The additive in each pair's update allowance is necessary, including when .
Statement references
The delayed batch target, success threshold, and global learning flags.
AC, assumed for the potential-stream and conditional-expectation concentration supplier.
The admissible initial upper values and discounted-value cap.
The known-state/action model used to evaluate escape pairs.
Conditional tails for bounded reward/next-state targets under adaptive visits.
The optimal action value and finite-state greedy maximizer.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: AC, the MDP, admissible heuristic, Delayed Q-learning algorithm, and parameters in the Statement.
Concentration for adaptively sampled MDP observations: for a bounded predictable target , its sample mean differs from its predictable mean by at least with probability at most ; pair visits can be coupled to independent potential outcomes.
Delayed Q-learning with an admissible heuristic: a successful update replaces by a nonnegative batch mean plus , decreases that entry by at least , and Q-values never otherwise change. A failed batch disables its flag exactly when ; before sampling, a flag is re-enabled when .
Admissible upper heuristic for a discounted MDP and Well-defined discounted values and optimal Bellman fixed points: initially , , and an optimal action attaining exists at each state.
By the definition of in the Statement, the Bellman residual outside is strictly greater than . The known model agrees with the true MDP on by Known-state/action MDP with prescribed absorbing values.
The finite union bound: a finite union of events has probability at most the sum of their probabilities.
Proof
Each successful update decreases one entry by at least , while every updated entry stays nonnegative and starts at most , by [F2]. Therefore the total number of updates is at most . For two consecutive batch starts of one pair, some successful global update occurs in : either the earlier batch succeeds, or it fails with , or it disables learning and a later global update re-enables it. These intervals are disjoint for that pair. Charging each start after its first to such an update gives at most starts per pair and at most overall, including unfinished batches.
Condition on a batch-start history at time for pair and freeze . The next potential joint outcomes give targets with common mean . By [F1], except with probability , their average is within of that mean. Also, the fixed targets lie in and have mean , so their average is within of except with the same probability. By [F5], a finite union over the at most batch starts and these two error events has failure at most .
On the event from step 2.1, if a batch begins outside , then . During that batch all action values can only decrease, so at every sample time . Its actual target average is therefore at most the frozen-target average, which is at most . The old value minus this average is strictly greater than , so the attempted update succeeds.
Initially by [F3]. Induct over successful updates. Before an update, all current values satisfy by the induction hypothesis, so each actual target is at least . Step 2.1 bounds the latter sample mean below by . Adding the update bonus leaves the new entry at least ; unchanged entries remain optimistic. This proves the all-time optimism claim. The event used above has probability at least .
Fix a pair . If , choose an optimal action at . On the optimism event, for every , while the pair's value never increases and therefore stays at most . It is never selected, so it cannot be updated. If and the pair is selected, its current value is the greedy maximum and hence at least by optimism of . If the pair has successful updates, the value immediately before its th update is at most and at least . Indeed, each of the first updates decreases it by at least , and if any post-update value were below , the pair could never be selected again. Thus . The same bound holds when and in the first case. Summing over pairs proves the stated bound .
It remains to count visits outside . First, a failed attempted update that disables the learning flag must leave the pair inside : since , no Q table entry changed after that batch began, so the residual was constant through the batch; if it had been outside at batch start, step 3.1 would have forced success. Consequently a visit outside cannot occur with the flag still disabled: before sampling, [F2] tests , and an outside residual after the failed batch requires a later global update, which re-enables the flag. Now fix an outside visit for a pair while its flag is true. The next attempted batch occurs within at most visits to that pair. If the batch began outside , step 3.1 makes it successful. If it began inside , the residual became outside by the escape visit after a global update; with the pair's own Q value unchanged, other Q values only decrease, so its Bellman backup can only decrease and its residual remains outside through the attempted batch. Because a global update occurred after that batch began, a failed attempt does not disable the flag. The next attempted batch occurs within at most another visits and starts outside , so step 3.1 makes it successful. Thus every interval between successive successful updates of this pair, including the initial interval, contains at most outside visits. To include a possible final unfinished interval, count only intervals containing an outside visit. If the pair has successful updates and such an interval remains after the last update, its Q-value at an outside selection is at least by step 4.1, while its previous updates have decreased it by at least . Hence and these intervals number at most . If there is no such final interval, the at most completed intervals have the same bound by step 4.1. An interval with fewer than the visits needed for its next success is included in this count; an interval with outside visits would force that success by the preceding argument. Summing over pairs therefore gives at most .
The zero-tolerance boundary of PAC-MDP exploration
Statement
Assume AC, and use the history-conditioned bad-step count for bounded-reward finite discounted MDPs. The endpoint has the following properties.
- Fix any single learning rule whose action kernels depend only on its observed history and common supplied inputs, not on the unknown MDP reward means. For every finite real and , some one-state, two-action MDP with , Bernoulli rewards and the common admissible heuristic satisfies . Thus no finite bound depending only on state/action sizes, confidence and discount can hold uniformly at zero tolerance, even allowing randomized history-dependent learners.
- For R-MAX, fix any integer , , and a tie order selecting first. For each , take one state, , , reward and deterministic reward . Then . For every , some makes this probability exceed ; no fixed finite legal sample threshold gives a uniform finite zero-tolerance bound.
- For Delayed Q-learning, fix any integer , , and a tie order selecting first. In the one-state model with , and deterministic rewards , , the algorithm chooses forever and with probability one.
- If at every state of any bounded-reward finite discounted MDP, then every behavior has . The impossibility is a uniform assertion over unknown models, not a claim that zero-tolerance behavior must always fail.
All models in clauses1–3 have nonempty finite state/action sets, rewards in , and an admissible normalized cap. No parameter formula that divides by is evaluated at zero.
Statement references
History-conditioned bad-step counts, including zero tolerance.
Finite MDPs and bounded joint transition/reward laws.
Admissibility and the normalized reward-scale cap.
Nonnegative continuation values and optimal values.
Finite first-batch empirical models and fixed tie order.
The positive bonus, delayed batch update and learning flags.
Facts & Assumptions
Given: AC, the learning-rule information restriction, the finite bound and confidence in clause1, and the legal algorithm parameters and models in clauses2–4.
PAC-MDP sample complexity of exploration and Well-defined discounted values and optimal Bellman fixed points: when , continuation value is the mean immediate reward under the current action distribution; counts exactly the times this is strictly below the largest action mean. Every continuation value is nonnegative and at most .
Finite discounted MDP with bounded real rewards and Admissible upper heuristic for a discounted MDP: one-state self-transitions with any reward law on are allowed; at , is admissible for these models.
Finite probability spaces, outcome weights, events, and event probabilities: probabilities on a finite outcome space are sums of nonnegative weights with total one.
Laws of finite sums and finite products: finite sums are additive, preserve inequalities, and allow a constant factor to be taken outside a sum. Thus, for a node of weight and normalized child probabilities , . Induction over tree levels preserves total weight one.
Every complete ordered field is Archimedean: a natural number exceeds every prescribed finite real bound.
R-MAX with an admissible heuristic: before the first observations an action retains its heuristic; afterwards its model uses only those observations. At , every rebuild sets known action values to their empirical reward means after its first sweep.
Delayed Q-learning with an admissible heuristic: the initial values are ; a completed batch changes its entry only if the old value minus its mean target is at least . A failed batch with start time greater than the last global update disables further learning of that pair until a new global update.
Proof
For clause1, choose an integer by [F5] and choose . Define two one-state models whose action means are respectively and , with Bernoulli rewards, discount zero, and common heuristic . Their unique optimal actions are respectively , and [F2] verifies their model and heuristic conditions.
For clause2 use the stated R-MAX model, and let be the event that its first rewards from are all zero. Its action means are , so is uniquely optimal and [F2] verifies admissibility.
For clause3 the action means are , so is uniquely optimal, the gap is , and [F2] verifies all model and heuristic conditions.
Couple the two length- histories of step 1.1 recursively. At equal histories draw the same action with the learning rule’s common action probabilities. For that action let be its two means, and assign reward-pair probabilities to , to , to , and to . These weights are nonnegative, sum to one, have the desired Bernoulli marginals, and disagree with probability . After histories differ, use the product of the two prescribed action/reward laws. Give each child its parent weight times its conditional probability. At each node [F4] shows that the child weights sum to its parent weight, so induction from root weight one normalizes the finite coupling. Summing over the other component at each extension gives the prescribed action and Bernoulli reward marginals; induction over rounds therefore verifies each marginal is the learning rule’s actual length- law by [F3]–[F4].
Until becomes known, R-MAX always selects , since both unknown values are and its tie order favors . On , the first rebuild sets its value to zero while remains unknown at . It therefore selects for observations, then the two frozen empirical means are . All later rebuilds and actions retain those means, so is selected forever. By [F1], all those later times are zero-bad. The first draws from have their Bernoulli law conditionally at each visit, hence and .
Delayed Q-learning initially ties at and selects . Every target in its first batch is , since the discount is zero. The old value minus the mean is , so the batch fails and no value changes. Its start time is positive while , so the flag becomes false. No other action is ever selected, no global update occurs, and the flag remains false. Induction gives and action forever. Its value is , so [F1] gives .
In the coupling of step 2.1, the probability that the first history disagreement occurs at a specified round is at most , since its preceding equal histories have total probability at most one. Thus the chance of any disagreement by round is at most : sum the nonnegative weights of those disjoint first-disagreement events using [F3]–[F4]. Let be their complement, so .
For the final assertion of clause2, fix and choose . Among the first rewards from , the event of at least one reward equal to one has probability at most , by summing their indicator weights. Consequently . Step 2.2 proves the claimed failure probability.
Suppose both models from step 1.1 had . The same is then true for the zero-bad count restricted to the first rounds, in each marginal of the finite coupling. The probability that both restricted counts are at most and occurs is at least , by summing weights of the three complementary events as in [F3]–[F4]. On , the two histories and hence their current action distributions coincide at every round. If is the probability of , the two mean-reward deficits are respectively and . Since and , at least one deficit is strictly positive. Thus the two restricted zero-bad counts sum to at least , contradicting that both are at most . At least one model must satisfy .
Step 4.1 proves clause1; steps 2.2 and3.2 prove clause2; step 2.3 proves clause3. For clause4, [F1] gives , so no time is zero-bad. These statements establish all endpoint branches without assigning zero to a positive-tolerance denominator.
PAC-MDP sample complexity of R-MAX
Statement
Let be a bounded-reward finite discounted MDP, write and , and fix , , and an admissible heuristic with normalized cap . At , if at every state then ; no finite zero-tolerance extension holds uniformly over this class: already at , every fixed finite legal sample threshold and value-iteration tolerance admits an admissible one-state example for R-MAX with with positive probability. This does not assert failure for every fixed heuristic or model. The parameter formulas below are evaluated only when . Assume now . If , then . Otherwise put and run R-MAX with sample threshold and value-iteration tolerance . Let and . Define , and define and by Then . For the uninformative heuristic , the bound is , where suppresses logarithmic factors.
For every , a bound uniform over all MDPs and admissible heuristics with these is obtained by setting and Then . This bound depends only on .
Statement references
The bad-timestep count and the uniform PAC-MDP meaning of a bound.
Admissibility, the cap, and the reward-scale normalization.
R-MAX's known-set updates and finite value-iteration approximation.
Simultaneous optimism, model accuracy, policy accuracy, and update/escape count.
The high-probability conversion from update/escape counts to bad steps.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: The MDP, heuristic, parameters, R-MAX algorithm, and bad-step count in the Statement.
Adaptive empirical-model accuracy for R-MAX: with the stated and , the simultaneous optimism and model/policy accuracy conditions hold with probability at least , and updates plus escapes total at most .
Escape-event reduction for optimistic greedy learning: if those conditions hold with failure probability at most , then taking and gives with failure probability at most for the displayed .
The zero-tolerance boundary of PAC-MDP exploration: at zero tolerance the all-zero-optimal-value case has no bad steps; fixed finite legal R-MAX parameters admit an admissible one-state model with infinitely many zero-bad steps, with failure probability exceeding any prescribed confidence tolerance.
Proof
If , apply [F4] to obtain both stated endpoint branches. No finite sample-size or positive bonus is defined by substituting zero into the later formulas. For the remainder assume .
If , then for every state and every continuation value is nonnegative, so no time is counted. Assume now . The stated satisfies and . Apply [F1] with confidence parameter ; its sample threshold is exactly the displayed . On its event, R-MAX has the hypotheses of [F2] with .
For the uninformative heuristic, and . The displayed gives . Also , since for , and . Using and yields .
Take in [F2]. Since , the theorem gives .
Put . Since and , the instance parameters satisfy , , , and , while the truncation horizon is . If , then and step 2.1 yields the uniform bound. If , then . Thus the displayed is a finite PAC-MDP bound in the sense of the Definition.
PAC-MDP sample complexity of Delayed Q-learning
Statement
Assume AC. Let be a bounded-reward finite discounted MDP, write and , and fix , , and an admissible heuristic with normalized cap . At , if at every state then ; no finite zero-tolerance extension holds uniformly over this class: already at , every fixed finite legal batch size and bonus admits an admissible one-state example for Delayed Q-learning with with positive probability. This does not assert failure for every fixed heuristic or model. The parameter formulas below are evaluated only when . Assume now . If , then . Otherwise put and choose Run Delayed Q-learning with and . Write , , and . Define by Then . Equivalently, up to logarithmic factors, the bound is where suppresses logarithmic factors. The additive term remains when all heuristic slacks vanish. For this gives .
For every , a bound uniform over all MDPs and admissible heuristics with these is obtained by setting and Then . This bound depends only on .
Statement references
AC for the trajectory laws, concentration, escape reduction, and zero-tolerance suppliers.
The bad-timestep count and the uniform PAC-MDP meaning of a bound.
Admissibility, heuristic slack, and the normalized cap.
The delayed batch update and global learning flags.
Optimism, residual escape updates, and corrected visit counts.
The update/escape count reduction to bad steps.
Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis.
Facts & Assumptions
Given: AC, the MDP, admissible heuristic, Delayed Q-learning algorithm, and bad-step count in the Statement.
Delayed Q-learning optimism and update-count bounds: with the displayed , all estimates are optimistic, update/escape events total at most , and the lemma event has failure probability at most its confidence parameter.
Escape-event reduction for optimistic greedy learning: taking and , optimism, policy accuracy at most , and complexity at most yield with failure at most twice the confidence parameter.
Admissible upper heuristic for a discounted MDP: , so when .
Known-state/action MDP with prescribed absorbing values: an action outside has known-model value exactly , using its dedicated absorbing state.
Well-defined discounted values and optimal Bellman fixed points: the policy value in a finite MDP solves its Bellman equation.
Delayed Q-learning with an admissible heuristic: Q-values start at and each successful update replaces one value by a nonnegative quantity no larger than its old value.
The zero-tolerance boundary of PAC-MDP exploration: at zero tolerance the all-zero-optimal-value case has no bad steps; fixed finite legal Delayed Q-learning parameters admit an admissible one-state model with infinitely many zero-bad steps, with failure probability exceeding any prescribed confidence tolerance.
Proof
If , apply [F7] to obtain both stated endpoint branches. No finite sample-size or positive bonus is defined by substituting zero into the later formulas. For the remainder assume .
If , then [F3] and nonnegativity of continuation values imply no bad step. Otherwise and . The displayed batch size is the lemma threshold [F1] with internal failure parameter , so with probability at least all Q-values are optimistic and the update/escape count is at most .
Extend to the state set of by setting on original states and at each added sink. Extend by the unique sink action. Both the sink's policy value and its Bellman backup at equal by [F4], so the sink residual is zero. At an original state , let . If , its backup at is exactly by [F4]. If , the definition of gives . Hence on the entire expanded state set, . Subtract the policy Bellman equation [F5] and set . Nonnegative stochastic transition rows give , hence on the original states .
The residual sets are history-measurable and change only after a Q update; they satisfy the stability condition of [F2]. By [F6], the Q table remains in . Step 1.2 supplies optimism and the count bound; step 1.3 supplies policy accuracy. Apply [F2] with . Since , it gives .
From the definitions, , where , , and . Also : for , the function has its minimum at , so . Substituting and into gives a constant multiple of . The remaining term is bounded by the same expression up to logarithmic factors because and . For the uninformative heuristic, and ; substitution yields .
Put and . Admissibility gives , and hence , , , , , , , and . If , then . Otherwise , so step 2.1 proves the uniform bound. All barred quantities depend only on , as required by the Definition.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Alexander L. Strehl, Lihong Li, and Michael L. Littman, Reinforcement Learning in Finite MDPs: PAC Analysis
- Csaba Szepesvári, Algorithms for Reinforcement Learning
- Richard S. Sutton and Andrew G. Barto, Reinforcement Learning: An Introduction, 2nd ed.
- Alexander L. Strehl, Lihong Li, Eric Wiewiora, John Langford, and Michael L. Littman, PAC Model-Free Reinforcement Learning
- Strehl, Li, and Littman, Reinforcement Learning in Finite MDPs: PAC Analysis
- Strehl et al., PAC Model-Free Reinforcement Learning