# Poster 28859

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

> 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.

Hello everyone, my name is Nico and today we'll be discussing our work on efficient imitation under misclassification. Imitation learning is commonly used in cases such as autonomous driving where the reward function is hard to specify, thus making standard reinforcement learning challenging. Instead, we use a set of expert demonstrations from an expert policy pi E and the simplest approach to imitation learning is to directly regress from states to actions in a method known as behavior cloning.
However, species is well known to suffer from an issue known as quadratically compounding errors, where small single step errors magnify over time, resulting in the learner deviating from the expert's path. Now, in order to avoid such an issue, the learner must be able to closely match the expert's actions at each state. So this problem is exacerbated in the mispecified setting when the learner cannot perfectly imitate the expert.
In practice, we find misclassification is quite common. For example, there is almost always an embodiment mismatch between a human expert and a robot learner, so the robot will never be able to exactly match the movements of a human demonstrator. If mistakes are inevitable due to some inherent misclassification, the question is how do we recover from them?
One way to do this is through inverse reinforcement learning, where we train a classifier to distinguish between the expert's and learner's trajectories, and we run standard RL with this classifier as the reward function. Unfortunately, IRL is computationally inefficient. In this setting of sparse rewards, where the only positive reward signal is in the leftmost leaf node, RL has to explore all possible branches in the tree.
Instead of doing a global search, prior work has shown that local search is actually sufficient to train the learner. We can think of this technique as restricting our search to the parts of the tree that the expert visits. However, prior work shows this in the well specified setting, meaning the setting where the learner can perfectly imitate the expert. Our first key contribution is proving that local search is sufficient for learning to recover from mistakes in the misspecified setting.
Now to do this we extend the policy completeness condition inherent in the analysis of many RL algorithms to the imitation setting of unknown rewards. We prove that under this condition which crucially does not rely on expert realizability, efficient IRL with local search can avoid compounding errors in the mis-specified setting. Our second key contribution is exploring where we should actually perform local search on.
Remember that we're in the misclassified setting, so the learner may not be able to imitate the expert. Consider this simple Ant Maze setting where the expert solves the maze through the top hallway. Due to misclassification, the learner may be unable to take the necessary action to move into the hallway, say from a restricted action or obstruction. In this case, searching over the expert states is not optimal.
because a learner will never be able to reach them. The learner must instead solve the maze through another path. And intuitively, we should perform local search over these states that are actually reachable by the learner. We can visualize this setting as an MDP, and we distinguish between the optimal expert policy that may be unrealizable and the optimal realizable policy, meaning the best policy in the learner's policy class.
And so we call pi star the best possible policy the learner can exhibit. And to better clarify our second contribution, we call the state distribution that we search over the reset distribution. And at a high level, the reset distribution dictates what policies the learner can actually compete against.
Thus, our second key contribution is showing that we should choose this reset distribution to cover the optimal realizable policy rather than the expert policy which may be unrealizable. Of course, we don't know the optimal realizable policy pi star in the misclassified imitation setting. We only have data from the expert policy. So the question is, how do we use it for a reset distribution?
Now in practice, there's often an additional source of offline data that may come from suboptimal demonstrations, self-play robot data, or internet data. And importantly, while this data may be suboptimal, it's often realizable. So we propose augmenting our reset distribution with offline data. The idea here is that even though the offline data may be suboptimal, as shown by these varying trajectories, the aim is to cover the best policy that we can actually compete against PyStar.
We empirically consider this at base setting and find that only with resets to offline data is IRL able to solve this hard exploration problem, thus corroborating our theoretical results. Thank you for listening and for more details, please check out our paper.
