The depth Q function of reinforcement learning

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.