background: Strengthening learning and playing games
The simulator (model or emulator) outputs an image and an award with an action (action) as input.
A single image does not fully understand the current state of the agent, so it has to combine the information of the action with the state sequence.
The objective of the agent is to select actions in a certain way and intersect with the simulator to maximize future rewards.
Bellman equation:
Q∗ (s,a) =es′∈ϵ[r+γmaxq∗ (s′,a′) |s,a] q^* (s,a) =e_{s ' \in\epsilon}[r+\gamma maxq^* (s ', a ') |s,a]
The general approach to intensive learning is to use Bellman equation as an iterative update:
Qi+1 (s,a) =es′∈ϵ[r+γmaxa′q∗ (s′,a′) |s,a] q_{i+1} (s,a) =e_{s ' \in\epsilon}[r+\gamma max_{a '}q^* (s ', a ') |s,a]
DQN
There are several challenges to applying deep learning to hardening. Most deep learning applications require a lot of labeling data, while reinforcement learning requires learning from reward signals, and reward signals are often sparse (sparse), noisy (noisy), and delayed (delayed). There may be thousands of steps from the execution action to the delay in generating the reward. The independence of the data sample. Deep learning assumes that data samples are independent and highly correlated in the state of reinforcement learning. The invariance of the data distribution. Deep learning assumes that the distribution of data is constant, and that reinforcement learning can learn new behavior (policy) and then change the distribution of the data. Response Strategies for the second and 3rd:
Experience replay mechanism (experience replay mechanism): smooths the changes in the training distribution by using the state transitions prior to multiple random sampling.
Q function loss function in network representation
Li (θi) =es,a∈ρ [(Yi−q (S,a;θi)) 2] l_i (\theta_i) =e_{s,a\in \rho (\cdot)}[(Y_i-q (s,a;\theta_i) ) ^2]
where target value
Yi=es′∈ϵ[r+γmaxa′q (s′,a′;θi−1