Difference between revisions of "Reinforcement Learning (RL)"

From
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|keywords=ChatGPT, artificial, intelligence, machine, learning, GPT-4, GPT-5, NLP, NLG, NLC, NLU, models, data, singularity, moonshot, Sentience, AGI, Emergence, Moonshot, Explainable, TensorFlow, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Hugging Face, OpenAI, Tensorflow, OpenAI, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Meta, LLM, metaverse, assistants, agents, digital twin, IoT, Transhumanism, Immersive Reality, Generative AI, Conversational AI, Perplexity, Bing, You, Bard, Ernie, prompt Engineering LangChain, Video/Image, Vision, End-to-End Speech, Synthesize Speech, Speech Recognition, Stanford, MIT |description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools   
 
|keywords=ChatGPT, artificial, intelligence, machine, learning, GPT-4, GPT-5, NLP, NLG, NLC, NLU, models, data, singularity, moonshot, Sentience, AGI, Emergence, Moonshot, Explainable, TensorFlow, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Hugging Face, OpenAI, Tensorflow, OpenAI, Google, Nvidia, Microsoft, Azure, Amazon, AWS, Meta, LLM, metaverse, assistants, agents, digital twin, IoT, Transhumanism, Immersive Reality, Generative AI, Conversational AI, Perplexity, Bing, You, Bard, Ernie, prompt Engineering LangChain, Video/Image, Vision, End-to-End Speech, Synthesize Speech, Speech Recognition, Stanford, MIT |description=Helpful resources for your journey with artificial intelligence; videos, articles, techniques, courses, profiles, and tools   
  
<!-- Google tag (gtag.js) -->
 
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4GCWLBVJ7T"></script>
 
<script>
 
  window.dataLayer = window.dataLayer || [];
 
  function gtag(){dataLayer.push(arguments);}
 
  gtag('js', new Date());
 
 
  gtag('config', 'G-4GCWLBVJ7T');
 
</script>
 
 
}}
 
}}
 
[https://www.youtube.com/results?search_query=ai+Reinforcement+Learning YouTube]
 
[https://www.youtube.com/results?search_query=ai+Reinforcement+Learning YouTube]
Line 22: Line 13:
 
* [[What is Artificial Intelligence (AI)? | Artificial Intelligence (AI)]] ... [[Generative AI]] ... [[Machine Learning (ML)]] ... [[Deep Learning]] ... [[Neural Network]] ... [[Reinforcement Learning (RL)|Reinforcement]] ... [[Learning Techniques]]
 
* [[What is Artificial Intelligence (AI)? | Artificial Intelligence (AI)]] ... [[Generative AI]] ... [[Machine Learning (ML)]] ... [[Deep Learning]] ... [[Neural Network]] ... [[Reinforcement Learning (RL)|Reinforcement]] ... [[Learning Techniques]]
 
* [[Reinforcement Learning - Games, Self-driving Vehicles, Drones, Robotics, Management, Finance]]
 
* [[Reinforcement Learning - Games, Self-driving Vehicles, Drones, Robotics, Management, Finance]]
* [[Conversational AI]] ... [[ChatGPT]] | [[OpenAI]] ... [[Bing/Copilot]] | [[Microsoft]] ... [[Gemini]] | [[Google]] ... [[Claude]] | [[Anthropic]] ... [[Perplexity]] ... [[You]] ... [[phind]] ... [[Grok]] | [https://x.ai/ xAI] ... [[Groq]] ... [[Ernie]] | [[Baidu]] ... [[DeepSeek]]
+
* [[Conversational AI]] ... [[ChatGPT]] | [[OpenAI]] ... [[Gemini]] | [[Google]] ... [[Claude]] | [[Anthropic]] ... [[Bing/Copilot]] | [[Microsoft]] ... [[Apple| Siri | Apple]] ... [[Meta]] ... [[Perplexity]] ... [[You]] ... [[phind]] ... [[Grok]] | [https://x.ai/ xAI] ... [[Groq]] ... [[Ernie]] | [[Baidu]] ... [[DeepSeek]] ...  [[Alibaba]]
* [[Agents]] ... [[Robotic Process Automation (RPA)|Robotic Process Automation]] ... [[Assistants]] ... [[Personal Companions]] ... [[Personal Productivity|Productivity]] ... [[Email]] ... [[Negotiation]] ... [[LangChain]]
+
* [[Agents/Assistants]] ... [[Robotic Process Automation (RPA)|Robotic Process Automation]] ... [[Personal Companions]] ... [[Personal Productivity|Productivity]] ... [[Email]] ... [[Negotiation]] ... [[LangChain]]  
 
* [[Inverse Reinforcement Learning (IRL)]]
 
* [[Inverse Reinforcement Learning (IRL)]]
 
* [[Gaming]] ... [[Game-Based Learning (GBL)]] ... [[Games - Security|Security]] ... [[Game Development with Generative AI|Generative AI]] ... [[Metaverse#Games - Metaverse|Games - Metaverse]] ... [[Games - Quantum Theme|Quantum]] ... [[Game Theory]] ... [[Game Design | Design]]
 
* [[Gaming]] ... [[Game-Based Learning (GBL)]] ... [[Games - Security|Security]] ... [[Game Development with Generative AI|Generative AI]] ... [[Metaverse#Games - Metaverse|Games - Metaverse]] ... [[Games - Quantum Theme|Quantum]] ... [[Game Theory]] ... [[Game Design | Design]]
Line 39: Line 30:
 
* [http://arxiv.org/abs/1611.01578 Neural Architecture Search (NAS) with Reinforcement Learning | Barret Zoph & Quoc V. Le]  ...[http://en.wikipedia.org/wiki/Neural_architecture_search#NAS_with_Reinforcement_Learning  Wikipedia]
 
* [http://arxiv.org/abs/1611.01578 Neural Architecture Search (NAS) with Reinforcement Learning | Barret Zoph & Quoc V. Le]  ...[http://en.wikipedia.org/wiki/Neural_architecture_search#NAS_with_Reinforcement_Learning  Wikipedia]
 
* [http://towardsdatascience.com/advanced-reinforcement-learning-6d769f529eb3 Beyond DQN/A3C: A Survey in Advanced Reinforcement Learning | Joyce Xu - Towards Data Science]
 
* [http://towardsdatascience.com/advanced-reinforcement-learning-6d769f529eb3 Beyond DQN/A3C: A Survey in Advanced Reinforcement Learning | Joyce Xu - Towards Data Science]
* [https://venturebeat.com/2019/06/19/googles-ai-picks-which-machine-learning-models-will-produce-the-best-results/ Google’s AI picks which machine learning models will produce the best results | Kyle Wiggers - VentureBeat] off-policy classification,” or OPC, which evaluates the performance of AI-driven [[Agents|agents]] by treating evaluation as a classification problem
+
* [https://venturebeat.com/2019/06/19/googles-ai-picks-which-machine-learning-models-will-produce-the-best-results/ Google’s AI picks which machine learning models will produce the best results | Kyle Wiggers - VentureBeat] off-policy classification,” or OPC, which evaluates the performance of AI-driven [[Agents/Assistants|Agents]] by treating evaluation as a classification problem
 
* [http://www.amazon.com/Deep-Reinforcement-Learning-Hands-Q-networks/dp/1788834240 Deep Reinforcement Learning Hands-On: Apply modern RL methods, with deep Q-networks, value iteration, policy gradients, TRPO, AlphaGo Zero and more | Maxim Lapan]
 
* [http://www.amazon.com/Deep-Reinforcement-Learning-Hands-Q-networks/dp/1788834240 Deep Reinforcement Learning Hands-On: Apply modern RL methods, with deep Q-networks, value iteration, policy gradients, TRPO, AlphaGo Zero and more | Maxim Lapan]
 
* [http://github.com/Pulkit-Khandelwal/Reinforcement-Learning-Notebooks Reinforcement-Learning-Notebooks] - A collection of Reinforcement Learning algorithms from Sutton and Barto's book and other research papers implemented in Python  
 
* [http://github.com/Pulkit-Khandelwal/Reinforcement-Learning-Notebooks Reinforcement-Learning-Notebooks] - A collection of Reinforcement Learning algorithms from Sutton and Barto's book and other research papers implemented in Python  
Line 65: Line 56:
  
 
= How does it work? =
 
= How does it work? =
This is a bit similar to the traditional type of data analysis; the algorithm discovers through trial and error and decides which action results in greater rewards. Three major components can be identified in reinforcement learning functionality: the [[Agents|agent]], the environment, and the actions. The [[Agents|agent]] is the learner or decision-maker, the environment includes everything that the [[Agents|agent]] interacts with, and the actions are what the [[Agents|agent]] can do. Reinforcement learning occurs when the [[Agents|agent]] chooses actions that maximize the expected reward over a given time. This is best achieved when the [[Agents|agent]] has a good policy to follow. [http://www.simplilearn.com/what-is-machine-learning-and-why-it-matters-article Machine Learning: What it is and Why it Matters | Priyadharshini @ simplilearn]
+
This is a bit similar to the traditional type of data analysis; the algorithm discovers through trial and error and decides which action results in greater rewards. Three major components can be identified in reinforcement learning functionality: the [[Agents/Assistants|Agent]], the environment, and the actions. The [[Agents/Assistants|Agent]] is the learner or decision-maker, the environment includes everything that the [[Agents/Assistants|Agent]] interacts with, and the actions are what the [[Agents/Assistants|Agent]] can do. Reinforcement learning occurs when the [[Agents/Assistants|Agent]] chooses actions that maximize the expected reward over a given time. This is best achieved when the [[Agents/Assistants|Agent]] has a good policy to follow. [http://www.simplilearn.com/what-is-machine-learning-and-why-it-matters-article Machine Learning: What it is and Why it Matters | Priyadharshini @ simplilearn]
  
 
Control-based: When running a Reinforcement Learning (RL) policy in the real world, such as controlling a physical robot on visual inputs, it is non-trivial to properly track states, obtain reward signals or determine whether a goal is achieved for real. The visual data has a lot of noise that is irrelevant to the true state and thus the equivalence of states cannot be inferred from pixel-level comparison. Self-supervised representation learning has shown great potential in learning useful state [[embedding]] that can be used directly as input to a control policy.
 
Control-based: When running a Reinforcement Learning (RL) policy in the real world, such as controlling a physical robot on visual inputs, it is non-trivial to properly track states, obtain reward signals or determine whether a goal is achieved for real. The visual data has a lot of noise that is irrelevant to the true state and thus the equivalence of states cannot be inferred from pixel-level comparison. Self-supervised representation learning has shown great potential in learning useful state [[embedding]] that can be used directly as input to a control policy.
Line 104: Line 95:
 
* [[Lifelong Learning]]
 
* [[Lifelong Learning]]
  
= [http://pythonprogramming.net/search/?q=q+learning Q Learning Algorithm and] [[Agents|Agent]] - Reinforcement Learning  w/ Python Tutorial | Sentdex - Harrison =
+
= [http://pythonprogramming.net/search/?q=q+learning Q Learning Algorithm and] [[Agents/Assistants|Agents]] - Reinforcement Learning  w/ Python Tutorial | Sentdex - Harrison =
  
 
[http://pythonprogramming.net/q-learning-reinforcement-learning-python-tutorial P.1]
 
[http://pythonprogramming.net/q-learning-reinforcement-learning-python-tutorial P.1]
Line 137: Line 128:
 
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=3123s 00:52:03]) Deep Q Learning with Pytorch Part 1: The Q Network  
 
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=3123s 00:52:03]) Deep Q Learning with Pytorch Part 1: The Q Network  
  
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=3981s 01:06:21]) Deep Q Learning with Pytorch part 2: Coding the [[Agents|Agent]]  
+
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=3981s 01:06:21]) Deep Q Learning with Pytorch part 2: Coding the [[Agents/Assistants|Agent]]  
  
 
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=5334s 01:28:54]) Deep Q Learning with Pytorch part 3
 
⌨️ ([http://www.youtube.com/watch?v=ELE2_Mftqoc&t=5334s 01:28:54]) Deep Q Learning with Pytorch part 3

Latest revision as of 08:33, 16 September 2026

YouTube ... Quora ...Google search ...Google News ...Bing News


Reinforcement Learning (RL) A technique that teaches an AI model to find the best result through trial and error and receiving rewards or punishments based on its results, often enhanced by human feedback for games and complex tasks.


DeepMind says reinforcement learning is enough to reach Artificial General Intelligence (AGI)
... Some scientists believe that assembling multiple narrow AI modules will produce higher intelligent systems.


big_thumb.jpg


How does it work?

This is a bit similar to the traditional type of data analysis; the algorithm discovers through trial and error and decides which action results in greater rewards. Three major components can be identified in reinforcement learning functionality: the Agent, the environment, and the actions. The Agent is the learner or decision-maker, the environment includes everything that the Agent interacts with, and the actions are what the Agent can do. Reinforcement learning occurs when the Agent chooses actions that maximize the expected reward over a given time. This is best achieved when the Agent has a good policy to follow. Machine Learning: What it is and Why it Matters | Priyadharshini @ simplilearn

Control-based: When running a Reinforcement Learning (RL) policy in the real world, such as controlling a physical robot on visual inputs, it is non-trivial to properly track states, obtain reward signals or determine whether a goal is achieved for real. The visual data has a lot of noise that is irrelevant to the true state and thus the equivalence of states cannot be inferred from pixel-level comparison. Self-supervised representation learning has shown great potential in learning useful state embedding that can be used directly as input to a control policy.

Reinforcement Learning (RL) Algorithms

Q Learning Algorithm and Agents - Reinforcement Learning w/ Python Tutorial | Sentdex - Harrison

P.1

P.2

P.3

P.4

P.5

P.6

Reinforcement Learning | Phil Tabor

Reinforcement learning is an area of machine learning that involves taking right action to maximize reward in a particular situation. In this full tutorial course, you will get a solid foundation in reinforcement learning core topics. The course covers Q learning, State-Action-Reward-State-Action (SARSA), double Q learning, Deep Q Learning (DQN), and Policy Gradient (PG) methods. These algorithms are employed in a number of environments from the open AI gym, including space invaders, breakout, and others. The deep learning portion uses Tensorflow and PyTorch. The course begins with more modern algorithms, such as deep q learning and Policy Gradient (PG) methods, and demonstrates the power of reinforcement learning. Then the course teaches some of the fundamental concepts that power all reinforcement learning algorithms. These are illustrated by coding up some algorithms that predate deep learning, but are still foundational to the cutting edge. These are studied in some of the more traditional environments from the OpenAI Gym, like the cart pole problem.

⌨️ (00:00:00) Introduction

⌨️ (00:01:30) Intro to Deep Q Learning

⌨️ (00:08:56) How to Code Deep Q Learning in Tensorflow

⌨️ (00:52:03) Deep Q Learning with Pytorch Part 1: The Q Network

⌨️ (01:06:21) Deep Q Learning with Pytorch part 2: Coding the Agent

⌨️ (01:28:54) Deep Q Learning with Pytorch part 3

⌨️ (01:46:39) Intro to Policy Gradients 3: Coding the main loop

⌨️ (01:55:01) How to Beat Lunar Lander with Policy Gradients

⌨️ (02:21:32) How to Beat Space Invaders with Policy Gradients

⌨️ (02:34:41) How to Create Your Own Reinforcement Learning Environment Part 1

⌨️ (02:55:39) How to Create Your Own Reinforcement Learning Environment Part 2

⌨️ (03:08:20) Fundamentals of Reinforcement Learning

⌨️ (03:17:09) Markov Decision Processes

⌨️ (03:23:02) The Explore Exploit Dilemma

⌨️ (03:29:19) Reinforcement Learning in the Open AI Gym: SARSA

⌨️ (03:39:56) Reinforcement Learning in the Open AI Gym: Double Q Learning

⌨️ (03:54:07) Conclusion


Jump Start

Gridworld: How To Create Your Own Reinforcement Learning Environments

Reinforcement Learning (RL) from Human Feedback (RLHF)