Stitching episodes across context resets: length-adaptive GAE preserves early credit

anirudhg9119 · x · 2026-10-14

Engineering details for long-horizon episodes: long trajectories don't fit in one context, and auto-compaction splits them at artificial boundaries — treating those as terminal biases credit. MIRA resets context at every decision but stitches meta-reasoning decisions back into one logical episode across all iterations; only true termination stops bootstrapping, so credit flows as if the episode were never split. Advantages use length-adaptive GAE so the earliest decisions in a long episode keep most of their weight on the realized return.

Related event: MIRA-AC: Training Autoresearch Agents with Proxy Feedback and Credit Assignment(14 posts)→

Original post →

More from coding & agent

coding & agent channel →