In reinforcement learning vocabulary, what is the reward?
Show the answer and explanation
Correct answer: C, A scalar signal the environment returns after each action, whose cumulative sum the agent tries to maximize.
Explanation Reinforcement Learning
In RL an agent interacts with an environment in a loop: it observes a state Sₜ, takes an action Aₜ, and the environment returns a reward Rₜ₊₁ (a single number) and the next state. The agent's goal is to maximize the expected cumulative (usually discounted) reward, called the return.
Why the other descriptions are wrong:
- The description of the current situation is the state (or the observation, if the agent sees only part of it).
- The rule mapping states to actions is the policy π.
- A correct action given for every state is a supervised label. RL gets only evaluative feedback: the reward says how good an outcome was, not which action would have been best.
| Term | Meaning |
|---|---|
| State | the agent's situation |
| Action | what the agent does |
| Reward | scalar feedback after an action |
| Policy | state → action rule |
Interview tip: draw the agent–environment loop and say that the agent maximizes the long-run return, not the next reward alone.