Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.dagger
AHoF D65 DAgger (Dataset Aggregation for imitation learning): iteratively run the current policy, query the expert to label the visited states, and aggregate; the expert is queried when the policy's uncertainty reaches a query threshold: query-expert? uncertainty beta = decide (beta <= uncertainty). Proved native and axiom-free (decision, two positive instances, at-most certificate, negative instance). Requires audit/decide-nnrat-at-most, nnrat/at-most, nnrat/decide-at-most-true-sound (all in the D63 checkpoint). Scope (measured by the kernel): this module has 4 worked instances (statements about specific values). None of its theorems is a guarantee about the algorithm for all inputs; `lein verify rainbow.algorithms.proofs.ahof.dagger` prints this classification.
dagger/query-expert?
dagger/query-expert? : (x₁ x₂ : ℚ≥0) → data/Bool
ℚ≥0 = nnrat/NonnegativeRational
dagger/high-uncertainty-queries
dagger/high-uncertainty-queries : → bo/is-safe 3/4 1/2 = data/true
= = equality/Eq
dagger/boundary-queries
dagger/boundary-queries : → bo/is-safe 1/2 1/2 = data/true
= = equality/Eq
dagger/query-certificate
dagger/query-certificate : → 1/2 ≤ 3/4
≤ = nnrat/at-most
dagger/low-uncertainty-no-query
dagger/low-uncertainty-no-query : → bo/is-safe 1/4 1/2 = data/false
= = equality/Eq