The reward prediction error theory proposes that the brain predicts the rewards it expects to receive, and the actual reward received is compared to this prediction, with the difference between the two being registered as a reward prediction error signal in the dopamine system.