# Poster 30457

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30457

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi everyone, my name is Kalerina Mastamani and I'm excited to share with you our work on leveraging suboptimal data for human in the loop reinforcement learning. This is done in collaboration with my advisor Matthew E. Taylor at the University of Alberta. I want to begin by describing the classic agent environment interaction where an agent interacts with an environment by taking actions, receiving observations, and getting rewards.
In this loop, the agent chooses an action based on what it observes and the environment responds with the next observation and a scale of reward. The agent's goal is to then maximize the total reward over time. However, where did this reward actually come from? In practice, designing good reward functions is incredibly difficult and mis-specified rewards can lead to unintended or even unsafe behaviors.
One promising alternative is to learn the reward function directly from human feedback. Instead of hand coding a reward, we can show people different behaviors like two different trajectories and ask them which one they prefer. More specifically, we gather a data set of human preferences over trajectories and our goal is to train a reward model to assign a higher cumulative reward to those preferred trajectories.
To do this, we can use the Bradley-Terry model to define a preference predictor based on the learn reward function. This model gives us the probability that one trajectory is preferred over another, say trajectory A over B in this example. Formally, it's a softmax over the total predicted rewards for each trajectory. Then, we train the reward model using the standard binary cross entropy loss, comparing the predicted preference probability to the human's actual choice denoted as Y.
This encourages the model to assign higher total reward to the behaviors that the human actually prefers. Once trained, this reward model can be used in place of a hand-coded reward in the typical RL loop. However, collecting this feedback can be quite expensive and time -consuming. Every preference query requires a human in the loop, and we might need thousands in order to learn an adequate reward function.
So we asked, can we instead leverage suboptimal transitions to improve feedback efficiency for human-in-the-loop RL? We focus on suboptimal data as it is often easy and cheap to obtain. In our work, we propose suboptimal data pre-training, STP for short. This is a tool for human-in-the-loop RL that leverages suboptimal state-action transitions by pseudo-labeling all such transitions with the minimum possible environment reward, which we assume to know.
More specifically, we first gather sub-optimal transitions. This can be done, for example, by rolling out a random policy. Then, we pre-train the reward model on the transitions using the mean squared loss. Afterwards, we collect human preferences and fine-tune the reward model using any off-the-shelf preference learning algorithm.
SCP is a simple approach, but it is effective because it allows us to obtain large amounts of label data for free. Then using this label data, the reward model gets a head start in learning because it can learn to associate low quality transitions with a low reward. Most importantly, all this happens without requiring any actual human feedback.
To test the efficacy of STP, we combined it with four preference learning algorithms and tested its performance across a range of simulated robotic tasks. In this setting, we used a ground truth reward to act with a simulated teacher. We found that the addition of STP significantly improved performance in over 63 % of all experiments. That means we can reduce the burden on human labelers and still learn effective policies.
Next, we ran an ethics-approved user study with 16 participants, including users with both CS and non-CS backgrounds. We found that in the testing environments, STP outperforms the baseline in either final performance or area under the curve, AUC. These promising results demonstrate that STP can work whenever humans are in the loop.
As I conclude, I want to iterate the main takeaway from this talk. The first is that STB is a simple approach that makes use of suboptimal data in order to reduce the amount of feedback necessary for human-in-the-loop RL. Second, we demonstrated that it can be effective in simulating robotic environments with both real and simulated humans. That's the end of my talk. Thank you so much for listening.
