Discounted return: reward window, termination and cut-off cannot be confused

The payback is a learning goal that brings together a future incentive into a current movement.

• Step by stepCollate in 1 diagram2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • Explanation of discounted return: incentive window, mechanisms and prerequisites that cannot be confused with termination and cut-off
  • Positioning the mechanism ' s fault limits with fixed examples

Suggested first

  • Markov decision-making process
  • Equivalence Bar

Issues and mechanisms

The payback is a learning goal that brings together a future incentive into a current movement. The closer the discount factor, the higher the weight of the forward result, this does not amount to an automatic understanding of longer-term operations by the model. The calibre of rewards, the observation window and the termination definition determine what the return is measuring and must be fixed before training.

From time to time, the return is the next step in the award of a subsequent reward with a discount; Infinite time horizons have a common bond of reward and discounts of less than one hour. Real termination means that there is no post reward and the value is usually zero; The environment is likely to continue as the log length or operating budget is cut off, and the value of the next state is systematically underestimated at this time. When time-limited domain tasks have a clear time-frame, the duration itself is a definition of the objective and cannot be filled with unlimited futures at will.

Gt=∑k=0T−t−1γkrt+k+1

A concrete example

The three subsequent awards for a complete trajectory ranged from two, zero and four, with a discount of 0.9, to a current return of two plus nine times zero plus nine times four, which equals five and two times four. The sum of the discounts is six. If the log records only the second reward and the value of the next status is estimated at four, the two-step goal remains two plus zero plus one plus eight times four. If that moment is truly over, then the target is only two. Both cases appear to be “no more lines” but have different meanings.

Time weight for three steps of returnIncentives of two, zero, four times one, one, one, nine and one, two, zero, three, two, four, with a total return of five, two, four. The time axis gives the reward for the length of the step.Step 1Step 2Step 32 × 10 × 0.94 × 0.81203.24Return = 2 + 0 + 3.24 = 5.24
Incentives of two, zero, four times one, one, one, nine and one, two, zero, three, two, four, with a total return of five, two, four. The time axis gives the reward for the length of the step.

Borders and checks

Benefits, risks and resource costs can be delayed at different times and cannot be termed as long-term values merely for early visible positive signals. Resetting incentives can also affect optimization, entropy coefficients and crop thresholds. When checking returns, the timing of incentives, the length of discounts and the reasons for the end of observations should be recorded; The use of the same value for daily discounts and monthly discounts would represent a different time preference.

A method of verification

There is also a need to fix positive and negative pacts. If the amount of the loss is maximized as a direct positive reward, the target direction is reversed; When using negative losses, it should be stated that the greater the value, the smaller the loss. Scales and symbols are part of the definition of return.

Check understanding

The track is timed off. Is the next state worth zero?

Not necessarily. If the environment continues and the objectives include the future, they should be treated by value estimates based on algorithms; Real termination and sampling cut-off require separate markings.

Two, zero, four. What's the discount for a one-time return?

Six. If still counted at 5:24, this indicates that the discount weight of 0.9 was erroneously retained.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Stanford CS234 — Reinforcement Learning Winter 2026
  2. David Silver — Lecture 2: Markov Decision Processes

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.