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.
Imitation learning and DAgger — Examples
1 · Prerequisites
- Conditional Distributions and Regular Conditional Probability
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Finite MDPs and Bellman operators
- Foundations of the Real Numbers for Analysis
- Imitation learning and DAgger
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Online protocols and regret benchmarks
- Order, Zorn's Lemma, and the Axiom of Choice
- Probability Spaces Random Variables and Expectation
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sigma Algebras and Borel Sets
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
Behavior cloning can incur quadratic cost under state-distribution shift
Example
Let the states be (good) and (bad), with initial state . At the actions are and ; action stays at with task cost , while action moves to with cost . At the actions are and ; action moves to with cost , while action stays at with cost . The transition is deterministic for every state/action pair. The deterministic expert chooses at and at . For a parameter with , the learner chooses at with probability and otherwise, and always chooses at . Use the statewise 0–1 expert-action disagreement as surrogate loss.
The diagram labels each deterministic transition by action/task-cost; the text specifies the two stochastic action probabilities of the learner. The expert occupancy is concentrated at , so the behavior-cloning disagreement loss on expert states is . Under the learner, the expected total task cost is
which lies between and . Thus an disagreement rate on expert states can correspond to quadratic-in- learner cost when a mistake moves the learner to states absent from expert demonstrations.
diagram failed to render:
\begin{tikzpicture}[>=stealth]
\node[draw,circle] (g) at (0,0) {$g$};
\node[draw,circle] (b) at (4,0) {$b$};
\draw[->] (g) edge[loop above] node[above] {$c/0$} (g);
\draw[->] (g) to[bend left=18] node[above] {$e/1$} (b);
\draw[->] (b) edge[loop above] node[above] {$e/1$} (b);
\draw[->] (b) to[bend left=18] node[below] {$r/0$} (g);
\end{tikzpicture}Example references
Ross, Gordon, and Bagnell, A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning: Theorem 2.1 and §2.1, PDF pp. 1–2.
Bagnell, Boots, and Choudhury, Modern Adaptive Control and Reinforcement Learning, Chapter 6: PDF pp. 3–4 / printed pp. 56–57.
Facts & Assumptions
Given: The two-state transition/task-cost model, expert, learner, horizon, and surrogate loss in the Example.
Finite-horizon imitation learning and expert-surrogate loss: is the normalized average of the state distributions at times , and an expert surrogate is a -valued upper bound on the probability of taking an action different from the deterministic expert. The Example chooses the surrogate equal to that disagreement probability.
and .
Verification
Under the expert, the state remains at every decision time, so is the point mass at . The learner's action-disagreement probability at is , hence its behavior-cloning surrogate loss averaged under equals .
Put . The probability that the learner is at at time is : it is at , and if it is at time it remains there at the next state with probability , while if it is it remains . Thus the probability at time is . At decision time , expected cost is . Summing for gives the displayed cost.
For each integer , : the case is equality, and if it holds at , multiplication by gives . Therefore .
If , the displayed cost is , which lies between and . Now assume , so . Then because . Also for all : it is equality for , and multiplication by gives . Hence . For , [A1] gives , so . Let ; there are at least integer indices from through , each at least , so . The expected cost is at least .
Summing the upper estimate from step 2.1 gives cost at most . Together with the lower estimate from step 2.2, this proves the claimed bounds.
DAgger queries expert labels on learner-visited states
Example
Use states , initial state , actions and , and deterministic transitions/costs: at , returns to with cost and moves to with cost ; at , moves to with cost and returns to with cost . The expert chooses at and at . The learner class contains two deterministic policies: chooses at both states, and chooses at and at . Run two DAgger rounds with horizon , one trajectory per round, expert-use probabilities , initial policy , and statewise 0–1 disagreement loss. The round-1 rollout visits and then ; DAgger queries the expert at both states, aggregates the labels and , and fits as the unique minimum-loss policy. The second rollout then remains at . The label could not be obtained from expert-only demonstrations because the expert stays at .
The diagram labels each deterministic transition by action/task-cost and marks the initial state; the expert and the two learner policies are specified in the text.
diagram failed to render:
\begin{tikzpicture}[>=stealth]
\node[draw,circle] (g) at (0,0) {$g$};
\node[draw,circle] (b) at (4,0) {$b$};
\draw[->] (-1.5,0) -- (g) node[midway,above] {start};
\draw[->] (g) edge[loop above] node[above] {$c/0$} (g);
\draw[->] (g) to[bend left=18] node[above] {$e/1$} (b);
\draw[->] (b) edge[loop above] node[above] {$e/1$} (b);
\draw[->] (b) to[bend left=18] node[below] {$r/0$} (g);
\end{tikzpicture}Example references
Ross, Gordon, and Bagnell, A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning: Algorithm 3.1, §3, PDF p. 3.
Bagnell, Boots, and Choudhury, Modern Adaptive Control and Reinforcement Learning, Chapter 6: PDF pp. 4–6 / printed pp. 57–59.
Facts & Assumptions
Given: The two-state MDP, expert, learner class, two DAgger rounds, and loss in the Example.
Finite-horizon imitation learning and expert-surrogate loss: the deterministic expert label at state is , and DAgger's training loss evaluates candidate policies on labeled states.
Dataset Aggregation (DAgger): each round executes the current expert/learner mixture, queries the expert on every visited state, aggregates the labels, and updates by minimizing cumulative empirical loss.
, , , , and the initial learned policy is .
Verification
With , the first round executes . From it takes to ; at both visited states the expert labels are at and at . By [F2], both labeled pairs enter the aggregate dataset.
On this two-example dataset, has total 0–1 loss , while disagrees on both labeled states and has loss . Thus the unique FTL minimizer is , which is the next policy.
In round 2, and takes at , so the state remains and the expert label is . Adding this pair preserves as the unique zero-loss minimizer. Since the expert itself remains at on every expert-only rollout, it never labels ; the first interactive DAgger round supplies that missing recovery label.
A candidate loss score that does not control task cost
Example
Let , , and let both actions return deterministically to at every decision. For every time, set task costs and . Let the expert always choose , let the learner class contain both the expert and a learner that always chooses , and define a candidate loss score by for every class policy. Then the learner's score is zero under every state distribution, while its total task cost over horizon is and the expert's task cost is zero. This score fails the required disagreement-domination condition , so the example does not contradict the DAgger task-cost lemma; it shows why that premise is necessary.
The diagram labels each deterministic self-transition by action/task-cost. The two actions have the same next state but different task costs.
diagram failed to render:
\begin{tikzpicture}[>=stealth]
\node[draw,circle] (s) at (0,0) {$s$};
\draw[->] (s) edge[loop above] node[above] {$a^*/0$} (s);
\draw[->] (s) edge[loop below] node[below] {$b/1$} (s);
\end{tikzpicture}Example references
Ross, Gordon, and Bagnell, A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning: Theorem 2.2, §2.2, PDF pp. 2–3.
Facts & Assumptions
Given: The one-state MDP, expert, learner, task costs, candidate loss score, and horizon in the Example.
Finite-horizon imitation learning and expert-surrogate loss: the expert-action disagreement probability is , and task cost is the finite-horizon expected sum of per-time costs.
is an integer with .
Verification
The state is always under both policies, so every occupancy is the point mass at . By the defined candidate score, the learner's expected loss score is . Its disagreement probability is , so [F1]'s required domination premise fails.
At each of the decisions the learner pays cost , while the expert pays cost . Therefore and . Any unconditional claim that a zero candidate score alone forces would assert , contradicting .