The Los Angeles Post
U.S. World Business Lifestyle
Today: April 13, 2025
Today: April 13, 2025

What is reinforcement learning? An AI researcher explains a key method of teaching machines – and how it relates to training your dog

What is reinforcement learning? An AI researcher explains a key method of teaching machines – and how it relates to training your dog
Training an AI system and training a dog have a basic principle in common.
April 07, 2025

Understanding intelligence and creating intelligent machines are grand scientific challenges of our times. The ability to learn from experience is a cornerstone of intelligence for machines and living beings alike.

In a remarkably prescient 1948 report, Alan Turing – the father of modern computer science – proposed the construction of machines that display intelligent behavior. He also discussed the “education” of such machines “by means of rewards and punishments.”

Turing’s ideas ultimately led to the development of reinforcement learning, a branch of artificial intelligence. Reinforcement learning designs intelligent agents by training them to maximize rewards as they interact with their environment.

As a machine learning researcher, I find it fitting that reinforcement learning pioneers Andrew Barto and Richard Sutton were awarded the 2024 ACM Turing Award.

What is reinforcement learning?

Animal trainers know that animal behavior can be influenced by rewarding desirable behaviors. A dog trainer gives the dog a treat when it does a trick correctly. This reinforces the behavior, and the dog is more likely to do the trick correctly the next time. Reinforcement learning borrowed this insight from animal psychology.

But reinforcement learning is about training computational agents, not animals. The agent can be a software agent like a chess-playing program. But the agent can also be an embodied entity like a robot learning to do household chores. Similarly, the environment of an agent can be virtual, like the chessboard or the designed world in a video game. But it can also be a house where a robot is working.

Just like animals, an agent can perceive aspects of its environment and take actions. A chess-playing agent can access the chessboard configuration and make moves. A robot can sense its surroundings with cameras and microphones. It can use its motors to move about in the physical world.

Agents also have goals that their human designers program into them. A chess-playing agent’s goal is to win the game. A robot’s goal might be to assist its human owner with household chores.

The reinforcement learning problem in AI is how to design agents that achieve their goals by perceiving and acting in their environments. Reinforcement learning makes a bold claim: All goals can be achieved by designing a numerical signal, called the reward, and having the agent maximize the total sum of rewards it receives.

Reinforcement learning from human feedback is key to keeping AIs aligned with human goals and values.

Researchers do not know if this claim is actually true, because of the wide variety of possible goals. Therefore, it is often referred to as the reward hypothesis.

Sometimes it is easy to pick a reward signal corresponding to a goal. For a chess-playing agent, the reward can be +1 for a win, 0 for a draw, and -1 for a loss. It is less clear how to design a reward signal for a helpful household robotic assistant. Nevertheless, the list of applications where reinforcement learning researchers have been able to design good reward signals is growing.

A big success of reinforcement learning was in the board game Go. Researchers thought that Go was much harder than chess for machines to master. The company DeepMind, now Google DeepMind, used reinforcement learning to create AlphaGo. AlphaGo defeated top Go player Lee Sedol in a five-match game in 2016.

A more recent example is the use of reinforcement learning to make chatbots such as ChatGPT more helpful. Reinforcement learning is also being used to improve the reasoning capabilities of chatbots.

Reinforcement learning’s origins

However, none of these successes could have been foreseen in the 1980s. That is when Barto and his then-Ph.D. student Sutton proposed reinforcement learning as a general problem-solving framework. They drew inspiration not only from animal psychology but also from the field of control theory, the use of feedback to influence a system’s behavior, and optimization, a branch of mathematics that studies how to select the best choice among a range of available options. They provided the research community with mathematical foundations that have stood the test of time. They also created algorithms that have now become standard tools in the field.

It is a rare advantage for a field when pioneers take the time to write a textbook. Shining examples like “The Nature of the Chemical Bond” by Linus Pauling and “The Art of Computer Programming” by Donald E. Knuth are memorable because they are few and far between. Sutton and Barto’s “Reinforcement Learning: An Introduction” was first published in 1998. A second edition came out in 2018. Their book has influenced a generation of researchers and has been cited more than 75,000 times.

Reinforcement learning has also had an unexpected impact on neuroscience. The neurotransmitter dopamine plays a key role in reward-driven behaviors in humans and animals. Researchers have used specific algorithms developed in reinforcement learning to explain experimental findings in people and animals’ dopamine system.

Barto and Sutton’s foundational work, vision and advocacy have helped reinforcement learning grow. Their work has inspired a large body of research, made an impact on real-world applications, and attracted huge investments by tech companies. Reinforcement learning researchers, I’m sure, will continue to see further ahead by standing on their shoulders.

The Conversation

Ambuj Tewari receives funding from NSF and NIH.


Source: The Conversation

Related Articles

Apptronik raises $350 million to scale production of humanoid robots China plans to send a flying robot to search for water on the moon’s far side Robots streamline online returns at South-Central Pennsylvania facility Robotics team helps put out fire started at high school
Share This

Popular

Health|Political|Science|US

Takeaways from AP's report on how flat funding set stage for Texas measles outbreak, might fuel more

Takeaways from AP's report on how flat funding set stage for Texas measles outbreak, might fuel more
MidEast|Political|Science|Technology|World

Saudi Arabia, US on 'pathway' to civil nuclear agreement, US Energy Secretary says

Saudi Arabia, US on 'pathway' to civil nuclear agreement, US Energy Secretary says
Environment|Science|US

Gray wolf who was brought to Colorado from Canada dies in Wyoming

Gray wolf who was brought to Colorado from Canada dies in Wyoming
Environment|Science|US

The reason for an outburst of deadly storms early in the year could be lurking in the ocean

The reason for an outburst of deadly storms early in the year could be lurking in the ocean

Technology

Business|Economy|Environment|Food|Technology

New gear could keep California crab fishermen on the water longer, and whales safe

New gear could keep California crab fishermen on the water longer, and whales safe
Economy|Political|Technology|US

Trump spares smartphones, computers, other electronics from China tariffs

Trump spares smartphones, computers, other electronics from China tariffs
Environment|Europe|Political|Technology|World

Ukraine seeking solutions for damaged Chernobyl confinement vessel, minister says

Ukraine seeking solutions for damaged Chernobyl confinement vessel, minister says
Business|Technology|Travel|US

A helicopter crash left a Siemens executive, his family and their pilot dead. Here’s what we know

A helicopter crash left a Siemens executive, his family and their pilot dead. Here’s what we know

Access this article for free.

Already have an account? Sign In