Reinforcement learning applications: what ChatGPT, chip layouts and building cooling have in common

Reinforcement learning is the branch of machine learning where software learns by trial and error, guided by a score instead of labeled answers. If you used ChatGPT this week, you've met its most familiar commercial use: OpenAI tuned the model with human-ranked responses as the reward.
That example points to a pattern. The reinforcement learning applications that hold up outside a research lab share three traits. There's a score the system can compute, a cheap and safe place to practice, and a decision that repeats thousands of times. Language model tuning, Google's chip layouts and commercial building cooling all have them. When an RL project stalls, at least one of the three is usually missing, and that's the lens this guide uses.
Reinforcement learning applications in production today
Each of these reinforcement learning uses is documented by the organization that built it, and the last column separates what's running from what's still research.
| Application | What the agent decides | What it's rewarded for | Status |
|---|---|---|---|
| Language model tuning (RLHF) | Which response to write | Responses people rank higher | In production |
| Reasoning models | How to work through a problem | Correct, checkable answers | In production |
| Chip floorplanning | Where to place each block on the chip | Layout quality | Used in Google TPUs |
| Commercial building cooling | Cooling system settings | Energy saved while meeting operating constraints | Live experiments |
| Video recommendations | Which items to recommend | Long-term engagement | Live experiments |
| Robot hand control | Finger movements | Completing the manipulation task | Research |
| Fusion plasma control | Voltage on magnetic coils | Holding the target plasma shape | Research |
| Hedging and treatment planning | Trades or doses | Risk-adjusted outcome | Research |
Language models are where most people have used RL without knowing it. When OpenAI introduced ChatGPT in November 2022, it said the model was trained with reinforcement learning from human feedback (RLHF). Human trainers ranked several model responses. Those rankings trained a reward model, and the team then fine-tuned the chatbot with Proximal Policy Optimization (PPO). The method came from OpenAI's InstructGPT paper (March 2022), whose headline result still surprises people. Evaluators preferred outputs from a 1.3B-parameter InstructGPT model over the 175B-parameter GPT-3, a model with 100x more parameters. A reward built from human judgment did more for usefulness than sheer size.
Since then, RL has moved from polishing tone to teaching reasoning. OpenAI said in September 2024 that o1 was trained with large-scale reinforcement learning to reason with a chain of thought, and that performance improved with more RL training compute. DeepSeek's R1 paper, published in Nature in 2025, reported that reasoning can be incentivized through pure RL, without human-labeled reasoning trajectories. Earlier, Anthropic's Constitutional AI paper (December 2022) replaced human preference labels with AI feedback, an approach called RLAIF. Reasoning is a good fit for the three traits: a math answer or a passing test is a score the system can check on its own.
Chip design is the cleanest industrial case. Google DeepMind's AlphaChip treats floorplanning as a game. It places one component at a time on a blank grid and is rewarded on the quality of the final layout. According to Google DeepMind (September 2024), its layouts have been used in every generation of Google's TPU since 2020, including TPU v5e, v5p and Trillium. MediaTek has extended it for its own chip development. Layout quality is measurable, the game replays endlessly in software and the task comes back with every chip generation.
Building cooling is the case to show a facilities or operations leader, because it ran in real buildings. Energy use in a large building is a sequential control problem, since every setting affects the next hour. In a 2022 paper, DeepMind and Google worked with Trane Technologies to control commercial cooling systems using reinforcement learning. The system cut energy use by about 9% and 13% at two live sites. The authors are also clear that going live raised hard problems in evaluation, learning from offline data and constraint satisfaction.
Recommendations round out the production list. A recommender makes a chain of choices, and today's click shapes tomorrow's behavior. Google researchers described a REINFORCE-based recommender built for a production top-K recommendation system at YouTube, tested through simulations and multiple live experiments. Simpler versions make one choice per visit and learn from the reward that follows. Microsoft's Azure AI Personalizer worked this way, choosing the best action for a given context and scoring it with a reward between 0 and 1. Microsoft stopped new Personalizer resources in September 2023 and retired the service on August 25, 2026, pointing users to the open-source microsoft/learning-loop project. The managed service under an RL feature can disappear, so keep the reward logic and the data in systems you own.
Still in the lab: robots, fusion, markets and medicine
The research examples are just as impressive, and they're missing the same trait: a cheap, safe place to practice in the real world.
Robotics is where RL looks most striking and is hardest to ship. OpenAI's Rubik's Cube robot hand paper (October 2019) trained control policies entirely in simulation, then ran them on a real humanoid robot hand. What made it work was automatic domain randomization: training across ever more varied simulated worlds so the policy could cope with the messy real one. In most robotics projects, that sim-to-real step costs more than the algorithm.
Fusion research followed the same route. In February 2022, Google DeepMind and EPFL's Swiss Plasma Center described the first deep reinforcement learning system to control the magnetic coils of a tokamak. One neural network drove all 19 coils of the TCV tokamak in Lausanne. It trained in simulation and was then validated on the real machine, shaping plasma into several configurations.
Finance looks like a natural home for RL, since trading decisions are sequential and the score is money. The Deep Hedging paper (2018) applied reinforcement learning methods to hedging derivative portfolios with transaction costs and other frictions. It beat the standard complete-market approach in a synthetic market. Note the word synthetic: live markets punish an overfit strategy quickly, and there's no free practice round.
Healthcare has the strongest reason of all to keep the agent out of live exploration. The AI Clinician study in Nature Medicine (October 2018) trained a reinforcement learning agent on past patient data to recommend fluid and vasopressor doses for sepsis. In a separate validation cohort, mortality was lowest where clinicians' doses matched the agent's choices. It's a research result, not a deployed clinical tool, and clinicians stay in charge of the decision.
Reinforcement learning in games, and why the field started there
Games hand an RL agent all three traits for free: an exact score, a simulator that costs nothing to reset and endless repetition. That's why the best-known results came from games long before business adopted the idea.
| Year | Game | System | What it achieved |
|---|---|---|---|
| 2013 | Atari | DeepMind's deep Q-network | Learned from raw pixels; beat earlier methods on 6 of 7 games and a human expert on 3 |
| 2016 | Go | AlphaGo | Beat Lee Sedol 4–1 in Seoul after learning from human games, then playing versions of itself |
| 2019 | Dota 2 | OpenAI Five | First AI to defeat world champions at an esports game, beating Team OG after 10 months of training |
| 2019 | StarCraft II | AlphaStar | Grandmaster level with all three races, above 99.8% of active Battle.net players |
| 2022 | Gran Turismo | Sony AI's GT Sophy | Won a head-to-head competition against four of the world's best Gran Turismo drivers |
The Gran Turismo result carries a lesson for business teams. Sony AI's reward function had to encode racing's unwritten sportsmanship rules, not just lap times. Every enterprise reward function faces the same problem: the rules people follow without saying them out loud have to be written down. Inside the games industry, RL is also a practical tool in game development, for testing levels and building opponents that adapt to the player.
How an RL agent learns
Take a simplified version of the cooling system as the running example. The agent is the controller that picks settings. The environment is the building and its chillers. Each action changes the state (temperatures, load, weather) and earns a reward, such as energy saved minus a penalty for breaking a comfort limit. Unlike supervised learning, nobody hands the agent a correct answer for each moment. It tries settings, sees what happens and adjusts.
Over many attempts, the agent learns a policy, a rule for which action to take in each state. The aim is a policy that earns the most cumulative reward over time, not just the best result in the next five minutes. To get there, it keeps a value function, an estimate of the future reward from a given state. It also has to balance exploration against exploitation: trying new settings to learn more versus repeating the settings that already work.
Formally, most problems are framed as a Markov decision process: states, actions, transition probabilities and rewards, where the next state depends only on the current state and action. Richard Sutton and Andrew Barto's Reinforcement Learning: An Introduction (2nd edition, MIT Press, 2018) is the standard text if you want the full treatment.
Reinforcement learning algorithms by family
You don't need to memorize every RL algorithm. You need to know which family suits your problem, and the main split is whether your actions are discrete or continuous and whether you can practice cheaply.
| Family | How it learns | Well-known algorithms | Good fit |
|---|---|---|---|
| Value-based | Learns the value of each action in each state, then picks the best | Q-learning, Deep Q-Networks (DQN) | Discrete choices, like games or routing options |
| Policy gradient methods | Adjusts the policy directly toward higher reward | REINFORCE, Trust Region Policy Optimization (TRPO), PPO | Large or continuous action spaces; LLM tuning |
| Actor-critic | A policy (actor) plus a value function (critic) that grades it | Soft Actor-Critic (SAC), PPO in practice | Continuous control such as robotics |
| Model-based methods | Learns or uses an internal model of the environment to plan | DreamerV3, AlphaZero-style planning | When real interactions are expensive |
| Offline RL | Learns from logged real-world data without live exploration | Conservative Q-Learning (CQL) | When exploring live is unsafe |
The Q-learning algorithm estimates the expected reward for each action in each state, then picks the highest. It's a form of temporal difference learning. The agent updates its estimates after every step, using its own next estimate as the target. DQN swapped the lookup table for a deep neural network so the agent could learn straight from pixels. That pairing of deep learning and RL is what people mean by deep reinforcement learning.
Policy gradient methods skip the value table and nudge the policy toward actions that earned more reward. PPO, introduced by Schulman and colleagues in 2017, kept some benefits of TRPO but was "much simpler to implement." It's also the algorithm OpenAI named in its ChatGPT training description. Actor-critic methods combine the two ideas. The SAC paper (2018) explains why that matters, warning that model-free deep RL often suffers from "very high sample complexity and brittle convergence."
Two classic approaches complete the picture. Dynamic programming computes an optimal policy when you already have a perfect model of the environment, which is rare in business. Monte Carlo methods learn from complete episodes by averaging the returns they actually observe.
For hands-on work in Python, most teams start with three open-source projects. Gymnasium, the Farama Foundation's maintained fork of OpenAI Gym, gives you a standard environment interface. Stable-Baselines3 offers tested PyTorch implementations of common algorithms. Ray RLlib targets scalable, fault-tolerant production workloads and supports PPO, SAC, DQN, DreamerV3, CQL and more.
Advantages and disadvantages of reinforcement learning
RL is powerful inside a narrow band of problems and painful outside it.
| Advantages | Disadvantages |
|---|---|
| Optimizes for long-term outcomes, not just the next step | Needs huge amounts of interaction; OpenAI Five trained for 10 months |
| Doesn't need labeled training data | Reward hacking: the agent optimizes what you measure, not what you meant |
| Adapts through interaction in a dynamic environment | Policies trained in simulation can fail in the real world |
| Can find strategies people didn't try, such as AlphaChip's layouts | Hard to explain why a sequence of steps was taken |
| Handles complex environments with many states and actions | Live exploration can be unsafe or expensive |
Of those disadvantages, reward hacking causes the most trouble, and OpenAI's own launch post shows it. The company noted that ChatGPT was often too wordy. It traced that to trainers who preferred longer answers that looked more thorough, plus "well-known over-optimization issues." The model learned exactly what it was rewarded for. Nothing more. Picture the same thing in a contact center: reward an agent only for short handle time, and it learns to end calls early. Write a reward the way you'd write a sales commission plan, expecting someone to game it.
The second trap is drift. AWS points out that real-world environments change often, significantly and with limited warning. A policy trained on last year's demand pattern can degrade quietly, so monitoring and retraining belong in the plan from day one.
Is your problem a good fit for RL?
Run the three traits against your problem before anyone talks about algorithms. If you have labeled outcomes and one-off decisions, such as predicting churn, fraud or late payment, you have a supervised learning problem. It's cheaper to build and easier to explain to an auditor. If you can't simulate and every bad action hurts a real customer or balance sheet, a learning agent shouldn't be exploring in production. Plenty of "personalization" problems are solved by a well-run A/B test and a few business rules. And if finance, operations and sales can't agree on what "good" means, RL will amplify whichever metric you happen to pick. For a wider view of the options, the generative AI vs machine learning comparison on this blog maps where each approach fits.
If the problem passes, keep the first project small and work in this order:
- Write the reward first. List the outcome, the constraints and the behaviors that must never happen, then turn them into a score. If it doesn't fit on one page, you aren't ready.
- Build or buy a simulator. AlphaChip, the Rubik's Cube hand and the tokamak controller all trained in simulation first. A simulator is ordinary software engineering, and often the largest line item. That's where our custom software development team would start: modeling the environment and the data feeds behind it.
- Beat a baseline in shadow mode. Measure your current rules first. Microsoft's Personalizer offered an "apprentice mode" that learned by watching existing decision logic before it took control, and the idea transfers well.
- Constrain the actions. Limit what the agent can change and by how much, whether that's a price band, a dosage ceiling or a sign-off step. The cooling team named constraint satisfaction as one of its main challenges.
- Assign ownership for drift. Decide who retrains the model, how often and on what data, and keep the reward logic and logs in your own systems.
Got a decision that repeats thousands of times a day? Our machine learning development team would begin by drafting the reward. Then we'd check whether your logged data can support a simulator. Tell us about the decision and we'll start there.
FAQ
Is reinforcement learning supervised or unsupervised?
Neither; it's a third type of machine learning. AWS explains that supervised learning needs both the input and the expected output. RL works toward an end goal instead: maximum cumulative reward over a sequence of actions. Unsupervised learning, by contrast, looks for patterns in unlabeled data.
Is reinforcement learning still relevant?
Yes. OpenAI's o1 and DeepSeek's R1 work show RL is now central to how leading language models learn to reason. In March 2025, Andrew Barto and Richard Sutton also received the 2024 ACM A.M. Turing Award for the conceptual and algorithmic foundations of reinforcement learning.
How difficult is reinforcement learning?
The core ideas are approachable, and open-source libraries such as Gymnasium and Stable-Baselines3 make a first experiment straightforward. Production RL is much harder. Most of the effort goes into the reward, the simulator and the safety limits, not the algorithm, so teams with strong software engineering and data skills tend to do best.
Related reading
Embedded systems programming: how firmware is structured, written and testedJuly 28, 2021 · 12 min read
eLearning management systems: 18 LMS platforms grouped by who you trainDecember 16, 2024 · 13 min read