Helping Machines Learn Step by Step: A New Approach to Reinforcement Learning

unnamed-5.png

Reinforcement learning, often called RL, is a method where machines learn to make decisions by trying things out and getting rewards for good choices. It has done well in games like Atari, Go, and Starcraft, thanks to smart algorithms such as deep Q-learning and soft actor-critic, along with fast computers like GPUs (graphics processing units, which are chips that help with visual calculations) and TPUs (tensor processing units, specialized chips for machine learning). However, using RL in real-world situations, like guiding a robot through a maze or controlling a motor’s speed, is more challenging. These situations often have many different goals, and the machine needs to adapt quickly. A new study by Llewyn Salt and Marcus Gallagher, published in April 2025, introduces a proficient way to make this a bit easier. They do this with a method known as probabilistic curriculum learning, or PCL, that selects goals for the machine to aim for, helping it learn more effectively in real-world settings like robot control and navigation.

In RL, a machine, called an agent, learns by interacting with its surroundings, aiming to get the most rewards over time. In goal based RL, the agent is given specific targets, like moving a robot to a certain spot, which helps it handle different jobs without needing lots of reward adjustments. This is great when rewards are rare, as it lets the agent learn a variety of skills. But real-world settings, where actions and positions can have endless possibilities, make learning more difficult. Curriculum learning helps by giving the agent simple goals first, then harder ones, similar to how kids learn to walk before they run. The problem is that setting up these goals automatically is a challeng, and past methods often used strict rules or focused on just one goal, which didn’t work well for situations with many goals.

The PCL method by Salt and Gallagher solves this by using a probability model to choose goals that are just right, that is not too easy or too hard. It uses a technique called stochastic variational inference, or SVI, which is a way to estimate how likely the agent is to reach a goal based on its current skills. This is done with a deep mixture density network, a type of computer model that predicts future possibilities by looking at the agent’s past actions and positions. The method then picks goals within a certain range of difficulty, using strategies like random or weighted selection, where weighted means favoring goals the agent is more likely to achieve. It also adjusts this range over time based on how well the agent is doing, keeping the goals challenging but doable.

Here’s is a brief explanation on how it functions.  At the beginning of each round, the method picks a set of possible goals. It figures out the chance of success for each goal and chooses one that fits the right difficulty level. The agent tries to reach this goal, saving its experiences in a memory bank. After each step, the probability model is updated using some of these saved experiences, with a formula that prevents common problems like overfitting (when a model learns too much from the data it’s trained on and can’t handle new situations) or modal collapse (when the model ignores some possibilities). When the round ends, a new goal is picked, and the process starts again. This step-by-step method ensures the agent learns steadily.

The researchers tested PCL using a framework called AlgOS, with an RL agent called SAC, in two real-world scenarios. Those being controlling a DC motor, which adjusts speed with one input and one output, and navigating a point robot in a maze, which involves multiple inputs and outputs plus obstacles. They measured success by coverage, the percentage of goals the agent could reach, over 150,000 steps, comparing PCL to a basic method that picked goals randomly. For the DC motor, success meant keeping the speed within 0.001 of the target for 10 steps; for the maze, it meant getting within 0.45 of the goal. They optimized the settings using Optuna, an intelligent tuning tool that efficiently identifies the most effective parameters.

The results showed PCL worked better. In the DC motor scenario, both methods reached 90% coverage, but PCL did this consistently across all tests, while the random method varied. PCL also started showing progress earlier, proving it helps the agent learn faster. In the maze tests, PCL performed even better. In a maze requiring a long path to the goal, PCL reached 100% coverage in one test and 50% in others, beating the random method’s 50% and 25%. In a larger maze with 72 goals, PCL achieved 27.2% coverage (79 out of 288 goals) compared to the random method’s 18.8% (54 out of 288), illustrating it could handle many goals more effectively. When exploring different ways to pick goals in the large maze, a weighted approach with adaptive difficulty adjustments hit 35.1% coverage, and a multi-weighted approach balancing factors like uncertainty and newness reached 30.4%, both better than the basic method.

This technique holds significant promise across various sectors. Robotics firms, such as Boston Dynamics, could leverage it to train robots for complex terrain navigation by incrementally introducing challenges. For autonomous vehicles, companies like Tesla (NASDAQ:TSLA) could enhance urban driving capabilities, enabling smoother merging and pedestrian avoidance through progressive learning. In the gaming industry, Electronic Arts (NASDAQ:EA) could create more intelligent open-world characters capable of sophisticated pursuit and evasion behaviors learned through staged objectives. Manufacturing giants like Siemens (ETR:SIE) could employ this method to train robotic arms for intricate assembly tasks, starting with fundamental motions and advancing to complex procedures, thus boosting precision.

PCL also works well for energy-saving devices. Chips like Intel’s (NASDAQ:INTC) Loihi, which use less power by mimicking the brain, could run PCL to train drones for jobs like navigating a warehouse for Amazon (NASDAQ:AMZN), starting with open paths and moving to crowded ones, all while using little energy. In healthcare, PCL could help train robots to assist patients, learning to move through homes from clear spaces to cluttered ones, helping patients stay independent.

Compared to older methods, PCL stands out. Past approaches like Goal GAN needed specific starting points and had unstable training, while others used limited probability models, reducing flexibility. PCL uses SVI and a deep mixture density network for more freedom in goal selection, and it focuses on many goals, fitting the true purpose of goal based RL. Its adjustable difficulty and selection options make it versatile, as seen in the better coverage with combined strategies. However, training the probability model can be slow, especially in complex scenarios, and the 150,000 step test might not show long-term results. Further investigation could benefit from employing simpler models or conducting more extensive testing

Salt and Gallagher’s PCL method builds on past efforts in curriculum learning, offering a flexible way to set goals automatically in RL. By helping agents learn efficiently, handle many goals, and manage long-term challenges, it makes machines more adept in real-world settings. This approach brings us closer to machines that learn like humans, step by step, opening new possibilities across industries.

Citation
Salt, L., & Gallagher, M. (2025). Probabilistic curriculum learning for goal-based reinforcement learning. arXiv preprint arXiv:2504.01459. Available at: https://doi.org/10.48550/arXiv.2504.01459

NeuromorphicCore

Related Articles

PHP Code Snippets Powered By : XYZScripts.com
★

Track This Company

Create a free account to add companies to your watchlist and get notified when patents, funding, or key developments change.