What is a reward in reinforcement learning?
Reward. The score an RL environment gives after each attempt. It can be pass or fail, or points for each step, and it tells the model what to do more of.
General information, not legal advice.
What it means
In reinforcement learning, the reward is the signal an environment sends back after an attempt. It can be a simple pass or fail, a number of points, or credit for each step completed. The model adjusts to get more reward.
Rewards can arrive only at the end of a task or along the way. Step rewards help a model learn long tasks, where a single final score gives little guidance.
Why it matters in a data deal
A poorly designed reward teaches the wrong thing. If a support task rewards closing tickets fast, the model may learn to close them without solving anything. Labs check that rewards match real success.
Company records help here because they show what a successful outcome looked like: the ticket that stayed closed, the invoice that reconciled, the part that passed inspection.
An example
An environment built from an accounting firm's reconciliation work gives one point for finding each mismatched entry, one for the right explanation and a final point if the account balances. A model that guesses explanations without balancing the account cannot reach full marks.
Questions to ask
- What does success look like for this task in our own records?
- Could a model earn the score without really doing the work?
- Does the environment give credit for each step, or only at the end?
Related terms
- Reinforcement learning (RL) environment
- A practice setting where an AI attempts a task, gets a score and tries again. Labs build them from real business workflows: the task, the grader and the recorded attempts.
- Verifier
- The program that checks whether a task was really done, by looking at what changed in the system and not at the model's reply. Also called a grader or auto-grader. One that uses no AI judge is easier for a lab to trust.
- Eval
- A test an AI system can sit. It has a task, a way to check the result and a score. Good evals are built from real work, which is one reason labs look for company records.
- Preference data
- Comparisons between two or more answers to the same prompt, with a judgment of which is better. Models are tuned on them to favor the answers people prefer.