AIMech AI

True online TD(lambda)

Algorithms AIMech:TrueOnlineTDLambda DRAFT
A linear temporal-difference policy-evaluation algorithm that combines a Dutch eligibility trace with a correction for changing predictions, reproducing the weight sequence of a specified online lambda-return forward view at each finite horizon.
Identity Notes & Concept Scope This record selects the linear on-policy prediction algorithm combining Dutch traces with prediction correction. The original TD family, replacing component, MCQ-L/Peng control and original Watkins hard-cut construction remain distinct. The Greek source spelling is included in collision detection without adding a native alias or globally rewriting lambda. Existing owner 264 retains both prior record IDs and its cohort 343 resolution, with other control/trace variants unresolved. Fresh collection on 15 October 2026 at 15:21:24–15:22:28 UTC used actual merged base 342606efadd8c2896facca6e6fa2f78e216f0a8b and compared all 766 native and 442 pinned AIO records (4,816 identity-field occurrences including local IDs; 3,680 normalized values). No canonical or explicit Greek-lambda candidate collision was found; 18 context-only fields span eight neighboring records. Four ignored- and hidden-inclusive checkout searches retained 1,353/1,360/3,385/4,292 occurrences, 10,390 total, in 557 exact contents. Root read all 41 candidate-specific decoded semantic contents, all 18 contextual identity fields/eight definitions and nine full relevant frontier objects; repeated identical HTML wrapper text was not counted as a separate scientific reading. Supporting source-agent assessment read all 445 decoded contexts and reconstructed all raw groups/ordered occurrences. All909main and393nested objects were queried mechanically. Historical source/AIO readings retain their separately documented scopes. These results are bounded to the dated corpus, four roots and semantic neighborhood, not global absence or saturation.

Claims & Grounded Evidence

6 Claims
Mechanism #linear-online-forward-targets
For lambda in [0,1] and prediction under a fixed policy, represent the state value by V(s)=theta^T phi(s), with terminal features zero. At horizon h, the interim lambda-return for an earlier time k combines the available n-step returns with weights (1-lambda)*lambda^(n-1) for n=1,...,h-k-1 and remaining weight lambda^(h-k-1) on the last available return. The n-step return is G_k^(n)=sum_(i=1..n) gamma^(i-1)*R_(k+i) +gamma^n*theta_(k+n-1)^T phi_(k+n). The conceptual forward algorithm starts from the episode’s initial weights at each horizon and sequentially updates every earlier feature using its revised interim return, without using rewards beyond that horizon.
Mechanism #dutch-trace-and-prediction-correction
In the constant-step-size convention, let V=theta^T phi and V_next=theta^T phi_next be computed before the weight update, and set delta=R+gamma*V_next-V. From zero trace at the start of each episode, update e=gamma*lambda*e_old+phi-alpha*gamma*lambda*(e_old^T phi)*phi. Then update theta_new=theta+alpha*delta*e+alpha*(V-V_old)*(e-phi). The Dutch trace and the additional prediction correction jointly define the backward update; substituting only the trace into ordinary TD does not generally produce true online TD(lambda).
Mechanism #stored-pre-update-prediction
After each weight update, store the already computed V_next as V_old for the next transition. Thus V_old is the preceding weights’ prediction for the now-current feature, not a fresh evaluation with the current weights. The 2016 pseudocode initializes V_old=0, whereas the 2014 pseudocode initializes the actual initial prediction. With zero initial trace, the first updated unscaled trace is e=phi, so the correction’s dependence on the initial stored value cancels; this initialization comparison is a direct consequence of the displayed recurrences.
Mechanism #scaled-trace-step-size-convention
The 2014 trace includes the step size; for constant alpha it equals alpha times the unscaled trace in the 2016 main algorithm. For time-varying alpha_t, the specified scaled trace is E=gamma*lambda*E_old+alpha_t*phi-alpha_t*gamma*lambda*(E_old^T phi)*phi, initialized to zero. Using delta_prime=R+gamma*V_next-V_old, its weight update is theta_new=theta+delta_prime*E-alpha_t*(V-V_old)*phi. This matched scaled form, not a naive substitution of alpha_t into the unscaled constant-alpha pair, implements the stated varying-step-size forward view.
Scope #finite-time-correspondence-and-endpoints
For linear features, matched initial weights, step sizes and bootstrap timing, the backward recurrence produces the same weights as the specified online lambda-return forward sequence at each finite horizon. This is algebraic correspondence rather than a convergence theorem. At lambda=0 the update reduces to linear TD(0). At lambda=1, once an episode terminates with zero terminal bootstrap, the final forward sequence uses full returns and gives the corresponding sequential step-size Monte Carlo updates; before termination the interim targets still bootstrap.
Scope #linear-feature-cost
With n linear features, the backward update retains O(n) vector state and requires O(n) arithmetic per transition, independent of elapsed prediction span. Tabular, binary and nonbinary linear features are covered. This avoids replaying the growing conceptual forward sequence but does not make computation identical to ordinary TD: the extra trace and prediction-correction terms add work, with the source describing larger constant overhead in some cases and smaller overhead for sparse features.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:ReinforcementLearning
Reinforcement Learning
related_match The method estimates a fixed policy’s state values from reward transitions and supplies prediction machinery used within reinforcement learning. The pinned target is a broader learning task involving exploration and performance optimization; this related association asserts neither exact identity nor that the prediction algorithm itself chooses actions, optimizes a policy or guarantees convergence.

Evidence Sources & Primary Literature

2 Sources
Source ID Publication / Document Type / Access Reference & Checksum
vanseijen2014
Harm van Seijen, Richard S. Sutton
primary paper
full_text
ID: https://proceedings.mlr.press/v32/seijen14.html
sha256:c8f93a80ad42…
vanseijen2016
Harm van Seijen, A. Rupam Mahmood, Patrick M. Pilarski, Marlos C. Machado, Richard S. Sutton
primary paper
full_text
ID: https://www.jmlr.org/papers/v17/15-599.html
sha256:905d228fcd5e…

Curation Provenance

Curator: Codex
Method: ai_assisted
Model: GPT-6
Created: 2026-10-15T15:40:28Z
Updated: 2026-10-15T15:40:28Z
Source File: data/curated/TrueOnlineTDLambda.yaml