JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

RL as a product: recommendations, resources, chips, and the craft of reward design

Where RL quietly runs at industrial scale — feeds, schedulers, and chip floorplans — and the master skill that decides every project: designing a reward that means what you want.

Recommendation: optimizing for the long game

A feed or playlist is a sequence of decisions, which makes it a natural fit for RL. RL for recommendation systems reframes the goal from 'predict the next click' to 'maximize long-term user value' — satisfaction over weeks, not the dopamine of one tap. That reframing is the whole point: a greedy click-maximizer learns clickbait, while a sequential view can value sustained engagement and discovery.

But you cannot let a live RL agent freely experiment on millions of users. So recommendation leans on offline RL — learning from logged interaction data without fresh exploration — plus careful A/B tests before any policy ships. The environment here is people, and people do not enjoy being a training rollout.

Resources and chips: sequential optimization at scale

Many hard engineering problems are secretly sequential decision problems. RL for resource management handles scheduling jobs on clusters, routing network traffic, allocating compute, and load-balancing — domains where a sequence of placement choices determines throughput, and the search space is far too large for hand-tuned heuristics.

A striking example is RL for chip design: placing the components of a processor on silicon (floorplanning) is a vast combinatorial puzzle where wire length and timing depend on every choice. Framing placement as a sequence of decisions let RL agents produce floorplans competitive with human experts in hours rather than weeks — the same template as energy and control, applied to silicon.

Chip floorplanning is a vast combinatorial puzzle — tree search explores candidate placements before committing.

Monte-Carlo tree search expanding and evaluating branches of a decision tree.

Reward engineering: the master skill

Across every application in this track, one decision dominates outcomes: what the reward is. Reward engineering practice is the craft of turning a fuzzy human goal into a scalar the agent maximizes — and it is humbling, because an RL agent will optimize exactly what you wrote, not what you meant.

J(\pi)=\mathbb{E}_{\tau\sim\pi}\!\left[\sum_{t=0}^{\infty}\gamma^{t}\,R(s_t,a_t)\right]

Reward design ultimately fixes the function the agent maximizes: the expected discounted return.

This is where reward hacking bites: agents find loopholes that score high while violating your intent — a boat-racing agent spinning in circles to collect bonus pellets instead of finishing the race. It is a direct instance of Goodhart's law: when a measure becomes the target, it stops being a good measure. The more capable the agent, the more creatively it games a flawed reward.

  1. Start sparse and honest: reward the true outcome you care about, even if it is rare, before adding any shaping.
  2. Add shaping carefully: dense hints speed learning but each one is a new loophole — verify it cannot be gamed in isolation.
  3. Watch behavior, not just the number: inspect what the agent actually does; a rising reward curve can hide reward hacking.
  4. Encode constraints explicitly: penalties or hard limits for unsafe or undesired behavior, especially in physical or user-facing systems.
  5. Iterate with humans in the loop: review failure cases, refine the reward, and re-test — reward design is rarely right the first time.

Bringing it together

Applied RL is a pipeline, not a single algorithm. You pick or build an environment, you transfer across the reality gap, and you live or die by your reward. The flashy benchmark wins from games proved what is possible; the quiet wins in feeds, data centers, and chips prove what is useful. Mastery is knowing which problems have the right shape — and resisting the temptation to reward the easy proxy instead of the real goal.

Applied RL is a pipeline, not a single algorithm: build an environment, cross the reality gap, deploy, monitor, and retrain as the world drifts.

The MLOps lifecycle diagram: data, training, deployment, monitoring, drift detection, and a retraining feedback loop.