# Oral 31920

- Kind: Oral
- Talk page and recording: https://iclr.cc/virtual/2025/oral/31920

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

Good afternoon, everyone. My name is Ryan. I'm here today to talk about prioritized generative replay. So this from the title is nominally a work in the reinforcement learning space, but really it's a story about data.
And it's a story that's kind of domain agnostic, so I'm glad we're actually in this session and not an RL session. So we're going to begin by considering an agent which is initialized in some environment, and most of this environment is this kind of empty void of white noise. And scattered throughout this environment, there are these pockets of data.
And the goal of this agent basically is to interact with the environment and acquire these kinds of data points in this kind of online fashion. And specifically in reinforcement learning, this data is going to take the form of these transition tuples, states, actions, next states and rewards that are associated with some specific task.
And as the agent interacts with environment and collects this data, it's going to store that data in a memory or a replay buffer. And that is kind of the data set of transitions that we're going to then learn a policy on. Okay, so you'll notice from, you know, this simple illustration that the data kind of very densely spans the entire environment. Of course, reality is often very far from the simple illustration.
And in particular, in harder and more interesting environments, such as the real world, this data space is actually huge and it's evolving in this online way so it can actually grow and change. And so we see these galaxies of data which initially appeared very densely packed are actually quite sparse and quite far away from each other.
So the question becomes how do we fill or densify this data space? And of course one simple thing to do is just collect more data. That's always an option. But a growing kind of paradigm which has become popularized in a lot of domains including reinforcement learning is to use generative models.
So Phil B. Sola, who's a professor at MIT, a researcher I respect greatly, has coined this term data plus plus and generative models as data plus plus. And essentially data plus plus is just this perspective that we can use generative models as this vehicle to store and represent data. And they have these computational controls which allow us then to extract whatever we want from this generative model.
and use this data for kind of downstream applications. So this perspective was operationalized in this paper, Center, which was published at NeurIPS a couple of years ago. And essentially what this paper is all about is, you know, you use a diffusion model to generate synthetic transitions. And visually what this looks like essentially is we can...
user generative model to interpolate between the existing data points and really densify this entire data space. Now we can sample densely from these interpolator regions and train on that synthetic data to learn a policy. Okay, so let's look at how this does. So we're going to consider the deep mind control suite and this is a very prototypically used kind of continuous control benchmark and reinforced learning. It's continuous control from both state and pixel observation.
innovations, and they offer both sparse and dense rewards.
So, center, spoiler alert, does very well on this entire benchmark, but occasionally it doesn't. And we're going to look at one such environment where it doesn't do so well. This is the finger turn environment. It's not super important which environment it is, but on the x-axis we're visualizing environmental interactions. So you can think of it as data increases as you move towards the right, and performance, of course, is on the y-axis. And red queue here visualizes...
visualized ironically in green is a state-of-the-art online reinforcement learning algorithm. The schematic that we showed earlier where you have these kind of sparse data points that are collected in a replay buffer, this is basically representative of that method. And we can see that Synt3, which again is this unconditional densification of the data space, performs pretty comparably to RedCube. And again, this is the illustration there on the right.
Okay, so why is this? Let's come back to this simple illustration that we had earlier with these different pockets of data. And again, what Synthr basically is doing is it's densely interpolating between these data points. Now, if we just sample naively from this space with this unconditional generation approach, what ends up happening is that we end up generating a lot of data that we've already seen.
So these are data points because they're coming from the replay buffer that the policy has seen quite a number of times and is probably very, very familiar with. So these are essentially data points which are very easy to predict in some sense. But what we actually want is we want data that lies at the edge of what the policy knows. We want data that is hard to predict.
Intuitively, the reason why we might want to do this is because if we can learn, if the policy can learn from the data at the edge of this data manifold, we can kind of inexorably push this boundary of data and more densely cover the entire environment. Okay, so this is probably not super surprising to folks who work in generative modeling because, as we know from kind of text and image space,
Conditional generation is almost always better than unconditional generation. We really want to condition on something to push the generative model to generate something that we actually care about. So the question here is what do we condition on to get the generative model to generate data that is hard to predict? Well it turns out there's this rich body of literature on intrinsic motivation which does exactly this.
So particular instantiation we're going to use is something called curiosity, and curiosity basically is just failure to predict. Mathematically it looks something like this. We're going to take those transition tuples I mentioned earlier, so you have state and action, and then you're going to basically pass that through a neural network and predict the next state.
And what curiosity is, is basically that prediction error. So you can imagine curiosity is high when something is hard to predict and curiosity is low when something is very predictable. So, you know, you can do this in latent space as well. So we featurize each of the states and the next states and then basically you predict this, you do this prediction in latent space and this just basically removes any sensitivities you have to to the direct observation.
And that's basically our method. We take a noise vector, we pass that through now a conditional diffusion model. And which we condition on, well, we condition on high curiosity, high prediction error. And that's basically going to allow us to generate the stuff that is harder to predict. So if we come back to that particular environment that we looked at previously, you know, this works better.
And further evaluations on some other environments in DMCA 100K. So what's in brown and green are SAC and RedQ. These are, again, standard kind of state-of-the-art online RL algorithms. And if you look at Synt3, which basically does this naive unconditional generation, it works much better. And then we do kind of a little bit better than that.
All of these benchmarks are state -based control. If we look at pixels, these two environments are, again, pixel-based controls. It's kind of similar, similar story here. Dr. Q is state-of-the-art. Synthr does kind of comparably, and then we do a little bit better than that. Okay, so...
I mentioned at the beginning of this talk that, you know, it's kind of a work in reinforcement learning, but it really is a story about data, and in particular generative data. You know, there's been a long growing trend of using generative models as these kind of parametric data sets that are static and infinite. And, you know, we saw SyntheR do this and leverage those trained generative models with this unconditional generation mechanism.
mechanism. And kind of what we're advocating for this work is this paradigm shift away from generative models as static infinite data sets and instead looking at them in these changing infinite data stream contexts. So the particular way that we do this and in this work is to do conditional generation and to condition on some sort of self-supervised prediction.
So to close out, I'm going to mention an area of future work, which I'm very excited about. And, you know, if you are too, I'd encourage you to come find me after the session to chat. My biggest issue with this work is, well, actually everything in the evaluation setting, you know, all of the experiments that we've run are on these kind of simple synthetic simulated worlds. And
You know, DMC has really pushed the envelope on research in reinforcement learning, but I think that that era is very much over and we should look at these kinds of infinite data streams. And in particular, you know, the real world is kind of the only infinite data stream that we have. So really, we should just do this in the real world. We should have a robot which knows nothing about its embodiment, nothing about its environment.
And I should just learn these things by interacting. And with that, I'd like to conclude my talk and I'm happy to take any questions. Thanks for the nice presentation. I wonder when you maximize for curiosity in your model, don't you run the risk of exploiting the model and obtain faulty information from it?
Yeah, that's a great point. I think, you know, this is going to be very true for kind of any model based method, your algorithm is kind of limited by how good your fundamental model is. I think that that is not something that we observe definitely in the experiments that we have here. I think it could very much be a problem in the real world.
but that remains kind of to be seen. Okay, thanks a lot.
Thank you for good presentation. I have a question. So I currently use very similar method to training the diffusion model for image editing. So it's about like changing the image from one status to another status and use small data set and the generative model to training all different status. But my I have problem during this process. When I use generative model it always generates some scene.
that uh uh not belong that status like it's not clean status for example i want to uh empty room it's always some object in that room that means the status has some inducted bias from when the small data is not clean enough
And I thought that you want to use real-world, future -oriented real-world data as the success data. So the sense is that in the real-world image, they have more inductive bias in that data. So how will you handle this? Okay, that's a fair point. I think this is exactly why.
um priors can often be deadly um so when we're doing this in the real world right now we're not starting from a pre-trained diffusion model um i think that from you know if you were to do that you would definitely run into some of the issues that you're describing um so i mean
The generative model will only be as good as the distribution of the data that it's trained on. So the particular setting that you're describing, absolutely true. I think that that will not be true in the real world if you do things the right way. That's kind of the glib answer. Okay, thanks for the first speaker.
