GAE: Synthetic advantage of different length TD error
Broad advantage estimates the strategic advantage of the discounted time differential tectonic advantage by reconciling deviations and squares between short-term self-charges and long-trajectories returns.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Explain GAE: Mechanisms and premises for synthesizing the advantages of TD errors of different lengths
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Value function error with TD
Issues and mechanisms
Broad advantage estimates the strategic advantage of the discounted time differential tectonic advantage by reconciling deviations and squares between short-term self-charges and long-trajectories returns. It requires a status value baseline and makes clear the difference between a real termination and a cut-off solely due to time constraints. The margin weight is not an arbitrary smoothing parameter, and a formula for determining the boundary of the deflated and trajectories is common.
A one-step disability is the next state value of the discounted value, which is reduced to the current value; No more self-inflicted after a real termination. The advantage is that the subsequent disability multiplied by the discount factor is the summation of the lambda multiplier. lambda retains only the current residual margin for zero time and uses longer feedback close to one point. Value functions are not allowed to affect deviations, and long sequences increase the variance, so they are validated on the basis of the task rather than just fine curves.
A concrete example
The synthetic three-step residue is [1,2,−1], discounts 0.9, lambda is 0.8 and the multiplier is 0.72. The first step advantage is 1 plus 0.72 times 2 plus 0.72 square times negative, equal to 1.9216; Step 2 minus 0.72, equal to 1.28; The third step is negative. The reverse thrust of A is equal to the current residue plus 0.72 times the next advantage, with the same result as the return benchmark.
Borders and checks
If the trajectory is broken in batches but the environment is not terminated, the appropriate self-carriage should be retained; Error setting an end will change the target. The standardization of advantages should also indicate the batch and effective position in which the padding cannot be added to the mean variance. This paper provides only a fixed disability calculation, with no operational strategy training or validation of the collection.
A method of verification
Reverse forwards should be reset or properly self-imposed at each trajectory boundary, and the advantage of the next user cannot be passed to the end of the previous user. The results can be compared with individual calculations when packaged in two synthetic trajectories of different lengths. The next value for the real termination is zero, while the time cut is estimated on the basis of the mandate. padding is to be excluded before the advantages are normalized and it is clear whether the batch is standardized for each trajectory, otherwise the same sample will be given different weights by batching.
Check understanding
When lambda was zero, did GAE still use the rest of the debris?
Not used in this chapter definition, leaving only the current TD disability; This may reduce the variance but rely more on the accuracy of one-step estimates of value functions.
Can a time limit cut and a real end be covered with the same mask?
A distinction is usually required. There is no follow-up value after a genuine termination, but there may still be future returns from a time cut off; Whether or not to do so is by mission definition.
Sources and reconciliations
Definitions, methods and interfaces are available.
- High-Dimensional Continuous Control Using Generalized Advantage Estimation
- OpenAI Spinning Up — Vanilla Policy Gradient
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.