Q-learning: Maximum backup of action value
The value of the state only tells us how good a state is in general, and the consequences of choosing a movement need to be compared with the consequences of different actions.
Learning objectives and first steps2 objectives 2 first fixes
Try to do it after reading
- Explain Q-learning: Mechanisms and premises for maximizing the value of the action
- Positioning the mechanism ' s fault limits with fixed examples
Suggested first
- Time-sequence difference
- Status & Action Value
Issues and mechanisms
The value of the state only tells us how good a state is in general, and the consequences of choosing a movement need to be compared with the consequences of different actions. The action value function estimates the expected return on the status and action. Q-learning uses the maximum estimate of all feasible actions in the next state to back up and learn the value of a strategy oriented towards greedy targets.
Reads the current state, the execution action, the reward and the next state at a time. The objective is to reward the highest value of the action after discounting and the current value of the action moves towards the target. Sampling behaviour can be explored, so sampling strategies are different from learning target strategies. (b) Preconditions such as continuous coverage and appropriate learning rates required by the standard form admission conditions; This guarantee cannot be transferred directly to large-scale neural networks or to fixed history logs.
A concrete example
The value of the current action is three, with a reward of one, and the next two actions are estimated at two and four, with a discount of 0.9 and a learning rate of 0.2. The target is 1 plus 0.9 times 4 and equals 4.6; The error is 1/6 and the update is 3:32. The Q-learning target is still four if the next state is actually implemented with an estimated 2 action. SARSA against the value of the actual next action, 2:08, updated to 2:96. The difference arises from the object of study rather than from arithmetic accuracy.
Borders and checks
Maximizing operations may favour actions overestimated by noise. Actions that have never been seen in offline data may also be given high values by the network and continue to magnify errors. Effective action collection must be environmentally binding and not maximize illegal action. Targets are checked for printing of candidate movements, masks and values, with particular attention to whether the best action is actually supported by data.
A method of verification
The value of the sample action is also viewed separately from the value of the next action used to maximize, which may come from different time locations. If the code is wrongly maximized in the current state, the learning goal has changed, although the length shape is fully matched. Using two states to get a different watch, this deviation can be quickly exposed.
Check understanding
Do Q-learning have to always select the maximum action when sampling?
No, it's not. Behavior strategies can be explored; The updating target uses the maximum backup, which is one of the differences between it and the designated behaviour strategy.
Should I take it?
Shouldn't. Maximizing the scope is an environmentally permissible action, and effective action constraints must be applied first, otherwise the objective has no operational meaning.
Sources and reconciliations
Definitions, methods and interfaces are available.
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.