Multi-Task Reward Learning from Human Ratings

Mingkang Wu, Devin White, Evelyn Rose, Vernon Lawhern, Nicholas R Waytowich, Yongcan Cao

TL;DR

Standard rating-based reinforcement learning from human feedback (RLHF) treats discrete human ratings purely as a classification problem, ignoring the continuous, ordinal distances between scores. This paper introduces a multi-task reward learning framework that combines discrete classification and continuous regression objectives, dynamically balancing their contributions using learnable uncertainty weights. The resulting reward model outperforms prior rating-based methods across continuous control benchmarks and can even surpass agents trained on ground-truth environmental rewards.

What Problem Does This Paper Address?

Reinforcement learning typically requires handcrafted reward functions, which are notoriously difficult to design for complex, open-ended environments like autonomous navigation. Learning rewards directly from human feedback—either through pairwise preferences (PbRL) or discrete ratings (RbRL)—provides an attractive alternative.

However, existing RbRL methods typically model human ratings strictly as a multi-class classification problem. Multi-class cross-entropy treats all rating categories independently: misclassifying a rating of 3 as 4 is penalized just as heavily as misclassifying it as 1. In reality, human ratings reflect both categorical judgments ("good" vs. "bad") and continuous, ordinal evaluations (measuring deviation from an internal quality threshold). Failing to capture this scalar structure leads to suboptimal reward signals.

Methods

The authors formulate reward learning as a multi-task learning problem that unifies classification and regression:

  • Rating-Induced Reward Assignment (Continuous Target): Discrete ratings are mapped to a continuous, differentiable scalar target: $$R_i(\sigma) = \log\left(1 + \alpha \sum_{t=0}^k y_i\right)$$ The logarithmic transformation compresses large values, ensuring numerical stability and smooth gradient updates when training from scratch on trajectory rollouts dominated by low-quality behaviors.

  • Regression Objective ($L_{reg}$): A Mean Squared Error (MSE) loss minimizes the discrepancy between the reward predictor's predicted cumulative return $\hat{R}(\sigma)$ and the smoothed scalar target $R_i(\sigma)$.

  • Classification Objective ($L_{CE}$): The reward predictor also models the probability of a trajectory falling into discrete rating bins via cross-entropy loss over learned rating boundaries.
  • Adaptive Uncertainty Weighting: Instead of hand-tuning fixed loss coefficients, the model adopts a homoscedastic uncertainty framework: $$\mathcal{L} = \frac{1}{2\lambda_{cls}^2} L_{CE} + \log \lambda_{cls} + \frac{1}{2\lambda_{reg}^2} L_{reg} + \log \lambda_{reg}$$ The learnable parameters $\lambda_{cls}$ and $\lambda_{reg}$ represent task uncertainties, dynamically down-weighting whichever objective has higher uncertainty while logarithmic penalty terms prevent trivial solutions.

  • RL Policy Optimization: Proximal Policy Optimization (PPO) is trained using the learned reward predictor in an otherwise reward-free environment.

Datasets

The authors evaluated the method on six continuous-control environments from the DeepMind Control (DMC) Suite, spanning various dynamical complexities:

  • Cartpole-balance (5D state, 1D action)
  • Ball-in-cup (8D state, 2D action)
  • Finger-spin (12D state, 2D action)
  • HalfCheetah (17D state, 6D action)
  • Walker (24D state, 6D action)
  • Quadruped (78D state, 12D action)

Synthetic Human Ratings: To evaluate across varying label granularities, experiments were conducted with $n \in \{2, 3, 4, 5, 6\}$ discrete rating classes. For each environment and configuration, 2,000 synthetic trajectory ratings were generated early in training based on predefined reward boundaries.

Key Insights and Ideas

  • Ratings are hybrid signals: Humans implicitly combine ordinal regression and categorization. Forcing a reward predictor into an either/or formulation throws away structural information about behavior quality.
  • Log-scaling mitigates early training bias: When initializing agents from scratch, early trajectories are overwhelmingly poor. Log-compressing the continuous reward target prevents extreme gradients from skewing reward inference.
  • Dynamic uncertainty balances competing cues: Rather than using a fixed 50/50 balance, letting the network dynamically learn its task confidence ($\lambda$) ensures that the model adaptively leans on classification or regression as training progresses.

Key Results

  • Consistently beats RbRL: Across all six benchmark tasks and rating splits ($n = 2$ through $6$), the multi-task formulation significantly outperformed the classification-only RbRL baseline.
  • Matches or surpasses ground-truth RL: In several environments (such as Cartpole-balance, Ball-in-cup, and Finger-spin), the proposed agent achieved average returns matching or exceeding standard PPO trained directly on true environmental rewards.
  • Ablation findings: Dynamic weighting proved superior to:
  • Ours (Equal) (fixed 0.5/0.5 weighting)
  • Ours (Cls Only)
  • Ours (Reg Only) While single-objective variants performed reasonably in isolated environments, they lacked consistency across different rating granularities.

Limitations and Future Work

  • Synthetic vs. Real Human Feedback: Experiments relied entirely on synthetic ratings generated from thresholded environment returns. Real human ratings contain noise, fatigue, drift, and personal bias that synthetic models do not exhibit.
  • Offline early-stage feedback: All 2,000 ratings were collected during an initial training phase rather than through interactive, human-in-the-loop querying throughout policy evolution.
  • Future Directions: The authors plan to test the method with real humans in interactive settings and apply the framework to real-world robotics tasks, such as drone path planning and trajectory following where manual reward shaping is difficult.

Summary updated

BibTeX
@inproceedings{wu2025multi,
  author = {Mingkang Wu and Devin White and Evelyn Rose and Vernon Lawhern and Nicholas R Waytowich and Yongcan Cao},
  title = {{Multi-Task Reward Learning from Human Ratings}},
  booktitle = {MoFA @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=i3T6FebIIT},
}
Figure