Answers.Body: <p>Sometimes when training, particularly in reinforcement learning, the model can become unstable due to the amount of variance that exists in the training data that the agent generates by interacting with the environment.  This is certainly a problem at the start of training as you can get huge outliers in the data because the agent is behaving randomly.  You can find that just one update to the policy could potentially make it collapse because it moves the policy into some obscure region, e.g. so the agent always take a particular action.  You can make training more stable by using larger batches and a smaller learning rate so it takes smaller steps at a time, but the downside to that is training is slower.  So you need to test different hyperparameters to find a good trade-off between the two.  You can also use an training architecture such as Proximal Policy Optimization (PPO) which clips the amount the policy can move in any given update to try and maintain some stability.</p>
  
  <p>Convergence is a term used to describe when the model has found an optimal policy and isn't learning any further, usually demonstrated when the reward plateaus for a certain number of episodes.  Of course, it may have settled on a local optima, and other global optima may exist; the data you present and the way you train your model may yield better results - again, all part of testing and experimentation.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-20T15:04:56.277Z
Answers.Text: I understand your intuitive explanation, but a more theoretical approach would be preferable.
Answers.UserDisplayName: Phizaz
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-19T10:30:58.893Z
Answers.LastActivityDate: 2019-09-19T10:36:22.333Z
Answers.LastEditDate: 2019-09-19T10:36:22.333Z
Answers.UserDisplayName: BigBadMe
Body: <p>The terms are mentioned in the paper: <a href="http://jmlr.org/papers/volume17/14-488/14-488.pdf" rel="nofollow noreferrer">An Emphatic Approach to the Problem of off-Policy Temporal-Difference Learning</a> (Sutton, Mahmood, White; 2016) and more, of course.</p>
  <p>In this paper, they proposed the proof of &quot;stability&quot; but not convergence.</p>
  <p>It seems that stability is guaranteed if the &quot;key matrix&quot; is shown to be positive definite. However, convergence requires more than that.</p>
  <p>I don't understand the exact difference between the two.</p>
  
Tags: <reinforcement-learning><comparison><papers><convergence><stability>
Title: What are the differences between stability and convergence in reinforcement learning?
UserDisplayName: Phizaz
ThreadText: # What are the differences between stability and convergence in reinforcement learning?
  
  (Asked by: username_0 on 2019-09-19)
  
  The terms are mentioned in the paper: [An Emphatic Approach to the Problem of off-Policy Temporal-Difference Learning](http://jmlr.org/papers/volume17/14-488/14-488.pdf) (Sutton, Mahmood, White; 2016) and more, of course.
  
  In this paper, they proposed the proof of "stability" but not convergence.
  
  It seems that stability is guaranteed if the "key matrix" is shown to be positive definite. However, convergence requires more than that.
  
  I don't understand the exact difference between the two.
  
  **Tags:** reinforcement-learning, comparison, papers, convergence, stability
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-09-19. Score: 2
  
  Sometimes when training, particularly in reinforcement learning, the model can become unstable due to the amount of variance that exists in the training data that the agent generates by interacting with the environment. This is certainly a problem at the start of training as you can get huge outliers in the data because the agent is behaving randomly. You can find that just one update to the policy could potentially make it collapse because it moves the policy into some obscure region, e.g. so the agent always take a particular action. You can make training more stable by using larger batches and a smaller learning rate so it takes smaller steps at a time, but the downside to that is training is slower. So you need to test different hyperparameters to find a good trade-off between the two. You can also use an training architecture such as Proximal Policy Optimization (PPO) which clips the amount the policy can move in any given update to try and maintain some stability.
  
  Convergence is a term used to describe when the model has found an optimal policy and isn't learning any further, usually demonstrated when the reward plateaus for a certain number of episodes. Of course, it may have settled on a local optima, and other global optima may exist; the data you present and the way you train your model may yield better results - again, all part of testing and experimentation.
  
  > **Comments:**
  > **username_0**: I understand your intuitive explanation, but a more theoretical approach would be preferable.  
  
  ---
  
  