Engineering.Reference:26.4.4.1 - Obtain continuation credit at the session boundary
Select the horizon and reward meaning through MMP.8.SD. A session boundary may clear working context while retaining memory. Save the information needed to continue: memory contents and applicability, the next-session information already available, remaining resources and horizon. Two identical text memories can have different values when one has more opportunities for use or a different validity condition. Reset only what the intended later arrangement resets.
Freeze an old policy. Collect complete multi-session attempts, recording the actions taken, observations, memory transitions and task rewards. From each relevant boundary state, obtain the old policy’s remaining return: execute continuations from a saved state when resets are possible, evaluate a qualified transition model, or fit a value estimator to observed state/return-to-go pairs. Include the cost of obtaining these values. A changed query population or unavailable reset can require another estimator or a narrower conclusion.
For an undiscounted finite horizon, the session signal used by AGILE, NeurIPS 2024, Appendix A has the form:
session_signal = observed_session_reward
+ V_old(after_state) - V_old(before_state)
Here V_old(state) is expected remaining reward under the frozen old continuation, and terminal value is zero. The after-state includes the memory the session produced. Subtracting the before-value compares the session with the old policy from the same starting condition. Estimate and freeze these quantities for the selected update. Approximation error can reverse a small advantage; examine whether the estimated difference is adequate for the intended reliance.
Partition the collected attempts into sessions with those boundary states. Supply the signal to the generated decisions in the session, preserving their historical inputs and old probabilities. Use a specified update, such as the clipped generated-position mean in 26.4.1, then recollect experience or refit values as the selected training procedure requires. Sessions remain related through retained state; cutting the transcript into pieces does not make their observations independent. If a discounted criterion is chosen, derive the boundary discount for the elapsed duration instead of reusing the undiscounted equation unchanged.