Most robot policies today still largely lack memory: they make all their decisions based on what they can see right now. MemER aims to change that by learning which frames are important; this lets it deal with tasks like object search. Ajay Sridhar, Jenny Pan, and Satvik Sharma tell us about how to achieve this fundamental capability for long-horizon task execution. Watch Episode #54 of RoboPapers with Michael Cho and Chris Paxton to learn more! Abstract Humans rely on memory to perform tasks; our goal is to endow robot policies with the same ability. Naively conditioning on long observation histories is computationally expensive and brittle under covariate shift, while indiscriminate subsampling of history leads to irrelevant or redundant information. We propose a hierarchical policy framework, where the high-level policy is trained to select and track previous task-relevant keyframes from its experience. The high-level policy uses selected keyframes and the most recent frames when generating text instructions for a low-level policy to execute. This design is compatible with existing vision-language-action (VLA) models and enables the system to efficiently reason over long-horizon dependencies. In our experiments, we fine-tune Qwen2.5-VL-3B-Instruct and as the high-level and low-level policies respectively, using demonstrations supplemented with minimal language annotations. Our approach, MemER, outperforms prior methods on three real-world long-horizon robotic manipulation tasks that require minutes of memory. Project page: https://jen-pan.github.io/memer/ ArXiV: https://arxiv.org/abs/2510.20328 This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit robopapers.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_03Hey, guys, welcome to another episode of RoboPapers. Today, we're super glad to have Ajay, Jenny, and Zavik. They are co-authors of this paper called MEMER, Scaling Up Memory for Robot Control via Experience Retrieval. Thank you so much for coming to the pod. Maybe each of you can do a round-robin and share a little bit about yourself. Maybe, Jenny, you can start first. yeah hey i'm jenny i am currently a visiting researcher at stanford um supervised by chelsea and so i've been working with a j on memory and
robotics for the past six months cool um i'm a j i'm a second year phd student at stanford i work with torsos adi game chelsea finn i've been working with jenny and softdict on this
SPEAKER_02project
SPEAKER_01Yeah, I'm Satsvik. I'm co-advised by Jeanette and Dorsa. And yeah, I was working on this project and generally working on robot learning stuff.
SPEAKER_03Cool. I guess we can dive in. Maybe, yeah, one of you can give us an overview and then we can just go through it.
SPEAKER_02Great. I can start off with the overview. So in this paper, we're basically trying to address the problem of memory for robotics. Specifically, how can we increase the context length for the policy? And the way we approach this is we create a policy with a higher archical architecture. where the high-level policy is a fine-tuned version of Quen 2.5 BL,
and it takes in video.
SPEAKER_02And what it does is it stores important information, specifically keyframes, throughout inference. And then it feeds in subtasks. for the low-level policy, which is a fine-tuned version of Py05 to execute. These subtasks can be like, go to a specific bin, look inside this place, pick up a tool. So yeah, more primitive actions. And then together, the system can solve like long horizon tasks that require a lot of memories because
SPEAKER_02we have a task where we have to like, maybe I'll show it. Here are some of the tasks. One of the tasks, it has to search for objects inside the bin. It can't actually see what's inside each of the bins with the external camera. So it needs a view of what's inside the bins using the egocentric camera. and need memory to find out like where you've looked for and where to retrieve a particular object.
SPEAKER_02And then other tasks we can solve are counting. Like if you gave the robot like, oh, I want to scoop like three scoops of peanuts in the green bowl and one scoop of jelly beans in a blue bowl, we get to keep track of what you've already accomplished because it might be hard to tell how many scoops you've made based on just like a single frame. And then one of the final tasks we tested on was dusting where the robot has to remove the plushies from this two-tier shelf
and remember what shells it dusted and then where to put the different plushies after it's done.
SPEAKER_02And basically, to the best of our knowledge, tasks like this that require multi-memory have never been done just because it's so hard to train long-context policies and we can go into the problems. um but yeah that's just like a overall um uh problem we're trying to tackle and like how we did it great um do you want to um tell us a little bit more about how it works then i'd love to hear a little bit more detail sure sure um so i guess
SPEAKER_02jenny do you want to go into um the way we manage the keyframes once we select it?
SPEAKER_00Yeah. I guess I can talk about the keyframe filter, which is sort of like the main way that we are able to maintain a bounded window of context. So as we know, we're not feeding in the full video into Quan. We're just feeding in recent frames. And for us, it's eight frames here. And so that means even as a task gets longer and longer, we don't actually incur... additional latency because we're only ever looking at eight recent frames and so how this works is that when we feed in the most recent eight frames quen is
fine-tuned to basically nominate candidate keyframes like from this from this window like what are potentially informative frames that we should remember for the future so it'll output like indices from its frames from the recent frames of
SPEAKER_00candidate keyframes and it'll also output like a predicted subtask which is then fed into the low-level policy, and we can get into that later. But from these candidate keyframes, every time step, you can produce maybe two predictions, maybe zero, just depending on what it believes is informative. And then these are then aggregated to basically deduplicate the nominated candidate keyframes that might be repetitive just because it was like, Multiple frames, as you can see in this, they look very similar. And so if it gets nominated multiple times,
SPEAKER_00we don't actually want to keep multiple copies of this in memory. And so we run a very simple clustering algorithm. It runs online and has very little overhead. And so that basically consolidates these nominated keyframes into a persistent, stable keyframe bank. And that gets fed into the high-level policy at every time step in future inference steps. And so that's basically the high-level policy. It's trained to nominate keyframes and select and track these keyframes for future iterations. And so you can remember how many scoops of an object or how
many scoops of an
SPEAKER_00ingredient you've already achieved or where you've already seen this object when you're searching for this object so that you can go directly to that box instead of researching every single bin. And also for the dusting task, you'll remember, oh, I've already dusted the bottom shelf. And also, these are where the stuffies were originally, so you know how to replace the objects and not to redust a shelf.
SPEAKER_02So how do you train it to do the keyframe selection, though? Is that like you just have a data set, like direct supervision? Yeah, so we have 50 demos per task, and each of these tasks are labeled with subtasks.
SPEAKER_00And that's like, oh, look in left bin, look in right bin, for example, or scoop peanuts, scoop jelly beans. And so like language annotated tasks are like pretty common now in robot learning. We basically break up this high-level task. Oh yeah, you can see the image here. You pick up the high-level task and do subtasks, and that can be procedurally generated. We just randomize like number scoops, which objects, which bins. And then when you're teleoperating, you know like when you are transitioning between subtasks, And we basically take these transition points as keyframes.
SPEAKER_00And so only a subset of these keyframes are actually informative. For example, the last, the end of the subtask of scooping a peanut is informative. But for example, if we have a subtask that's like reset scooper, that's not super informative, but basically a subset of these transition points come our keyframes. And that is like a rule that we basically, we manually review some some task rollouts, like maybe three, we'll see like which subtasks have an informative visual frame
at the end of that
SPEAKER_00subtask. And then that becomes like our consolidated keyframes that we train Quang to be able to predict.
SPEAKER_03Sorry, can I ask, so what does 8 frames literally means, like, you know, in terms of actual time? At what frequency are you running these? So 8 frames meaning, like, how far back are you looking?
SPEAKER_02Yeah, that's a good question. So we sample frames at 2 hertz. So, yeah, just given that we have, like, 4 seconds of history, like... So it's not a lot of history, but the neat thing about storing keyframes is there are particular moments that could have happened like a minute in the past. Um, so yeah, the idea will like most like long context policies, just like indiscriminately sample the history and like feed it
entirely into,
SPEAKER_02uh, the context and the problem with that is like it's hard to train right you might be training a policy with 100 frames it'll take a long time and then also it is like the policy like during learning you might pick up on spurious correlations um like and then there's a train and test time gap so this is something like very unique to robotics um But something we want our policies to do is when they fail, we want it to retry.
But when we're collecting demos, usually data doesn't really exhibit this type of behavior.
SPEAKER_02The experts complete the task, and it's just completely optimal. But during deployment, there might be some sort of failure. And the policy, like we want it to retry, but once it like starts to retry, like this history becomes out of distribution. So that becomes a huge problem. And we like the idea of like keyframes because it's just snapshots, right? It's not the whole history. So it's a lot more in distribution. Is that why yours doesn't struggle with retries? Because it just doesn't add new keyframes when it's failing or something? Right. Well, actually...
SPEAKER_00Well, there's two parts of it. Quen has been trained to be able to not keep adding keyframes when there are retries, which is helpful. And also the fact that it is a hierarchical structure means that we're able to add robust retry behavior to the low-level policy without having to retrain the high-level policy to be able to predict a retry. And so that's one of the benefits of us splitting the low level and the high level policy. The high level policy just focuses on reasoning, while the low level policy can stay relatively Markovian and
have this retry behavior that is pretty modular and we don't need to worry about them interacting
SPEAKER_00in a weird way.
SPEAKER_02So yeah, these are just some examples of the types of retries that we noticed our policy was robust to. So in this first video on the left, When it's going in for a scoop, it fails. Oh, there, yeah. Right there. Did you guys catch that vibe in a little bit hard? It does two scoops.
SPEAKER_00In that case, it would be really bad if it decided each scoop was a keyframe and then it would miscount the number of scoops just because it went in for that motion. But the QAN has been robust enough to do these retries where it doesn't snapshot them multiple times. And they were able to allow the low-level policy to actually retry when it needed to actually accomplish the full scape.
SPEAKER_02Yeah. And the nice thing about this hierarchy, so this low-level policy just receives the current observation. So it can keep this retry behavior because everything looks like it's tried it for the first time. Um, and it makes, it also makes training, uh, with like, say we want to train with intervention data. It makes it very easy because we don't have to like, uh, roll out the entire policy until a failure point and then
collect the data. We can just initialize like the robot at a failure point and then collect the
SPEAKER_02intervention data and just, just train this low level policy to accomplish that because it does not use history at all. If that makes sense. So yeah, there are a lot of benefits with keeping a hierarchy when doing memory. And yeah, one of them was we can keep the robust retry behavior of Pyo.
SPEAKER_03So I guess you have some examples of like, I mean, you show a few examples, but really like maybe the longest horizon task that you guys have shown, I think that would be a very good indication of like what memory does. Do you have some videos? Yeah. yeah yeah so yeah let me like walk through what's happening so the robot is removing these plushies from each of the shelves and the goal that is just to dust the shelf and then put it back into uh its original space like
each of the plushies
SPEAKER_02so that's to pick up the duster so parts it can get confused with um is whether or not it's dust a particular shelf. So we've seen the baselines. What they do is sometimes they'll get stuck and keep on dusting the bottom shelf because they think, oh, I haven't dusted it yet. So... it's important to keep track of progress with memory. So we have a keyframe for when it finishes to dust the bottom in the top shelf. And then we also have like keyframe information for when it's returning,
SPEAKER_02like where it needs to return, like the elephant plushie and the zebra plushie. And I think this whole, this is sped up, but the whole task, I think the longest versions we've seen have been like up to three minutes because Um, sometimes the robot will fail when it's trying to pick up the duster or it might like drop a plushie while it's trying to place it back onto the shelf.
SPEAKER_00And these are all, yeah. If you go to the robust to retry section, there's one where the shoe is basically stuck on it for the entire time and it gets super confused, but it doesn't add like unnecessary keyframes and it's still accomplishing the task.
SPEAKER_02This one, plushie and then.
SPEAKER_00I'm not sure of it. It's a robusty tricep. But this is a successful trajectory.
SPEAKER_02Oh, yeah, robust series. It's definitely impressive that you can do all these long horizon tasks with just 50 demos. That's really nice.
SPEAKER_00Right.
SPEAKER_02We were pretty impressed, too. I think it just comes down to like the Pi 05, like Pi being pretty strong. And they figured out like training with the Fast Tokenizer helped with generalization. So you just needed like a few more demos. when you're fine tuning on this.
SPEAKER_00Yeah, here the shoe.
SPEAKER_02For example, where it gets stuck on the shoe.
SPEAKER_00Yeah, it gets stuck and it's like, but it recovers because it has a keyframe that says where the shoe should be.
SPEAKER_02Yeah. Even though it's accidentally putting it on top, it knows that it should be on the bottom. But it's supposed to. So here, it's just like going back to the previous state or what's it? I still don't quite understand how the generalization behaviors or how the recovery behavior is coming from. Like not the fact that it knows to retry, but where the actual motion that it does to get to the recovery. Does that make sense? Yeah, yeah. I can go over that. That's actually...
SPEAKER_00That was some intervention data we collected. So essentially, to get these long horizon tasks to work, we had to collect intervention data.
SPEAKER_02So I guess the first stage of the process was collecting 50 demos. And that you can use to train the high-level policy and the low-level policy, because these 50 demos include labels for subtasks. And those subtasks train the low-level policy, and the observations train the low-level policies. And then it also trains the high level policy because the high level policy has to predict the subtasks. An additional source of data we needed was just like targeted interventions. So what we did is we ran the policy and we just found out like
common failure states.
SPEAKER_02So like, for example, in this scooping task in the bottom, The policy sometimes would try to scoop the jelly beans and then maybe the scooper wasn't low enough and it would miss or it would get stuck underneath the tray. So we would initialize it in these positions, like either sitting on top of the tray or getting stuck in the bottom. And then it made it very quick to just collect like a quick intervention,
SPEAKER_02like a one second intervention. And we did this for around like... 15 interventions per task and then adding that to the training data, but specifically only to train this low level policy helped us train like a low-level policy that's robust to retries.
SPEAKER_00Yeah. Because otherwise, we would just be bottlenecked on the low-level policy failing on specific tasks. But we want to test if it can do memory. So we need the intervention data just to make sure the low-level policy could operate smoothly.
SPEAKER_03Yeah. I just want to comment just now that one of the video that you guys are showing where the baby shoe Oh, yeah. It's somehow it's just getting stuck there. But then I wonder what the model is thinking. It's like it's trying to get the plushy, but then, wow, actually the baby shoe is still stuck there. Like halfway through, I was like, oh, wow, okay. It's somehow still managed to get figured out eventually. Because it has the key frame of like knowing that the shoe is on the bottom.
SPEAKER_00It's like, okay, even though I'm in this weird state, I know that the shoe is supposed to go on the bottom and it'll just, that'll like persist throughout, which is like the nice part of maintaining like salient keyframes and not just like having indiscriminate subsampled frames in your like history or memory?
SPEAKER_03I have a, I don't know whether this is a philosophical question. Like, you know, so like if, yeah, so you have this high level thing that is gathering the keyframes. Yeah. But the keyframe is just literally an image, right? If I'm not wrong. And so oftentimes if it's just an image, you can't tell what is before and what is after because it's one just snapshot. How do you, How do you give the model more context? Maybe this is... I don't know whether it's a good example, but let's say...
SPEAKER_00Like video snapshots, basically.
SPEAKER_03Yeah, like maybe the, let's say the keyframe, it could be in the, let's say the baby shoe, it happened to be like a keyframe is on the bottom shelf, but maybe it's actually in the process of being thrown out for whatever reason. Like, you know, it just happened to, so it might, a keyframe alone might have is maybe too much of a snapshot of what actually is happening. So unless, especially for things that are moving, I suppose. So what do you guys think about that?
Yeah, there are a few ways that we can augment the way that you store your memory frame. Like you could have like traces or just like some sort of like motion centric
SPEAKER_00So motion centric way of so showing like, oh, where this was originally to where it went for just a very brief snapshot in time. I agree that like images are not necessarily always the best, like not all tasks can be done just by having memory in terms of like image snapshots. But for our tasks, at least it was sufficient. But yeah, we definitely thought about like better ways to incorporate, like better ways to represent memory that is not just visual images.
SPEAKER_03Right. Yeah. Maybe this is outside of scope of this work. I was wondering, besides the keyframe, presumably you can also like annotate with the text since you have the VRM anyway, that the entry store that. And then, so I imagine the text along with the keyframe could give you more, like maybe give the reason why this is a keyframe in the first place, you know?
SPEAKER_02Yeah. I mean, that's actually a very interesting thing you bring up. We did try different modalities, at least only text and image, for representing the keyframes, and we can go over those results. So basically, like our method just proposes using images as the keyframes. But another thing you can do is either like use a textual summary. And in our case, like we did the simplest thing, like the textual summary is just the primitive it executed at
that time step.
SPEAKER_02Or you can do an image and text, which would be like the keyframe image and the action primitive it executed at that particular time step. Yeah. So yeah, these are the results specifically for those modality experiments. What we found was the image, the only model performed the best. And we have like a hypothesis why. Essentially, when you add text to like the training, like to the keyframes,
we think what's happening is the model is overfitting to the canonical order of subtasks so basically like we we only train on say like 50 demos and in those demos like our uh our long horizon tasks maybe contain like uh five to ten like subtasks it might just like overfit to the order of those subtasks for those 50
SPEAKER_02demos and then just solely attend to just the text So it makes like learning like a cheat almost like all this, like memorize like, oh, this was an example where there was an apple and like a racer and a grape. I just need to remember like to like predict like the grape was in this bin during training. So that's why we think like when we use only images, we made the learning problem a little bit harder. So it generalized better to like the test time scenarios where
we like randomize the objects
SPEAKER_02But we do think, I think in the future, at least like memory, it makes sense for memory to be multimodal. Like not only include images, but also include like segments of video, text, because not all information is gonna be represented by just like images alone. Like you need to represent motion, like video might be the best way or trace might be the best way, or some information might be needed to be represented like more symbolically, like a grocery list or something.
SPEAKER_01I think, yeah, actually the point that you said about like the multimodal memory here, since we're making, since our text is just the action, I think it's allowing it to over index. But like if we also extended the text, like also encompass the example, if we like move the shoe in two places and we wanted the robot to put the shoe back in the first position as opposed to the second position, then like text could offer like more information for Quen to parse. and extensions for multimodal memory i think is probably the
the future of how robots should yeah i was a bit surprised or i guess do you think that you might need something like how would you represent like space or time so that it knows exactly where the where and when something happened like i like the shelf example where if the robot's looking into two identical shelves like how does it know which
SPEAKER_02one to refer to i guess yeah that's a that's a good question i think We we've been thinking about this more because we think like language might compress information too much, but like between the high level and low policy, especially when it's hard to discern between like, like, uh, two identical like looking things. So yeah, adding other modalities as the bridge between the two policies such as like bounding boxes, traces or like key points might make sense.
SPEAKER_02Or like eventually like training these two like policies like end to end, like use a latent vector and have like that latent be more like action informed, like informed by the downstream like action labels from the robot. I think those are all like promising directions.
SPEAKER_03Yeah, I'm curious, like, I know you guys did also some study with, like, just like the German eyes of the world, right? And obviously, those contacts windows keep increasing like crazy. How does that well fit into what, like, the setup that you guys have? Yeah, yeah, this one. Yeah. Can you talk about anything?
SPEAKER_00Yeah, so we tried to test it with GPT-5 because it has very strong multimodal reasoning and Gemini Robotics just because it's like a robotic-specific model with good agentic capabilities. We had it basically, we fed in the same information we feed into Quen and we had it try to predict subtests for the low-level policy and also keyframe nominations for what it thinks is like an informative state. um first of all like we couldn't deploy this in the real world because it takes like 15 seconds for every inference pass and so we just could not coordinate with a
low level policy at all and so we still wanted to like have some sort of comparison so we created these offline evals to like take out this latency constraint and just feed in like images and have it try to predict the subtask and nominations and let it like do this time step by time step but not focus on any coordination with a low
SPEAKER_00level policy And we find that it performs just much worse than our fine-tuned model, even though Quen is order of magnitude smaller. So I think this one shows that these proprietary models, due to latency constraints, first of all, they can't be deployed in the real world. And also, this shows that we do need fine-tuning for these tasks to basically train itself to know how to select and track the relevant keyframes for these tasks. Yeah. So that was the offline eval we did with these off-the-shelf models.
SPEAKER_02Yeah, and just to give a little bit more context about the results. So we tested both the trajectory accuracy and the boundary. And what this means is the trajectory accuracy is just like we had an Oracle high-level policy, which was just one of us. clicking what subtask should be executed, and then a low-level policy executing the task.
And this generated trajectories of data that we could use as a testbed for the
SPEAKER_02high-level policy. the trajectory accuracy is just like the accuracy across like every time step and the boundary accuracy is like particularly like accuracy when around points when the subtask switches because we found like those are like very important points like it might be easy for like Gemini for GPT to determine, oh, the current subtasks, the robot's predicting right now. But to actually predict what it should execute next, and that's especially important at the boundary points,
SPEAKER_02that's what really determines how it would perform on the real world.
SPEAKER_00Yeah, so we took the boundary points plus or minus five frames and used that in the boundary accuracy as a second metric.
SPEAKER_02Do you think that this is something that you could learn? You trained it on 50 examples. Do you think this is something that you could like fine tune? If you had a lot of this data, do you think this is a generally a general purpose skill that the model could learn? Like you can always learn what constitutes a good skill, a good, sorry, not skill, a good keyframe given? OK, so you could train like a foundation model for writing in the memory.
SPEAKER_00Yeah, as long as you have the ground truth, I think this is generalizable to any task that can like for which memory can be represented in visual snapshots.
SPEAKER_02Well, I guess, I mean, do you think that you get a lot of, do you think there is a lot of, I guess, positive transfer if you wanted to try to, like, if you train on this batch and then you try to train on a new skill, do you think that's useful still? Or do you think that it's highly dependent on the task context and prompt, I guess? I think it's a little bit of an open question, but we have some experiments that might show it is a generalizable skill. So we did train a single model on all three tasks.
What we did to test like like we tested like in domain right like like the same distribution of like switching up like the counts of the different items in
SPEAKER_02counting and like the objects and dust and replace and object search. But another thing we wanted to test was if we took objects from Dust and Replace and we put them into the object search task or we took objects from the object search task and put them in Dust and Replace, would the policy still generalize that new scenario and pick out the right keyframes and predict the right subtasks? And overall, we did see like somewhat of a positive transfer in this experiment.
So this graph is just this performance of the single task model on this experiment where we took the items from dust and replace and put them in object search.
SPEAKER_02So that's like taking these plushies and like putting it in these bins. And we see like quite a bit of improvement if we train in all tasks together. And then same like vice versa with what Dustin replace. So I think that the idea is like there is some evidence that the policy is like learning a general notion of what to remember if we label it. But I guess the one downside, which I guess you can see as an upside too, because it makes the memory interpretable,
is having to first split up a long horizon task into subtasks and then use that as
SPEAKER_02a way for determining keyframes. Yeah.
SPEAKER_03I have another question. I guess, um, it's, um, I think that these tasks, the way they're set up the, um, the environments, pretty static, right? So, so I guess my question is, so maybe concretely, let's say the task involves you putting a project on the top shelf and let's say you've done that and you memorize that. And the next thing you're supposed to do is pick up the baby shoe and put it on the bottom shelf. But I say while you're trying to pick up the bottom shelf, somehow your robot arm, you know, touched the plushie for whatever reason, and then the plushie fell down. So you thought you've done it.
SPEAKER_03Your memory says that you have done it. But now there's a new state now. how will your model handle it?
SPEAKER_00Well, for that case, the subtask that the low-level policy is being fed is probably still pick up purple plushie because it sees that it hasn't picked it up. And so the low-level policy, because it's Markovian, because it doesn't have any history, will probably retry it regardless because it's still being fed the correct high-level instructions.
SPEAKER_03Okay, so we just keep doing it until the whole task is done.
SPEAKER_00Yeah, because that's just how the low-level policy works.
SPEAKER_02We do have examples of that in our retry behavior where
SPEAKER_00Like, it drops the baguette and I'll, like, go back for it when it's searching because it, like, it's still being fed the instruction of picking up the baguette.
SPEAKER_02Got it. It drops it and then it goes back. What if it was... So then that means you've really got to get that high-level task structure perfect. Like, what if it was... predicting place the baguette or something would that cause it to fail yeah i think if it's if it's placing the baguette but it doesn't see the baguette in the high level would change and start picking pick okay fair enough gonna make sense okay you're giving me you're giving me a impossible task yeah it's like open the fridge
SPEAKER_03in the middle of a desert yeah yeah yeah go figure um Yeah, I'm wondering, like, if we were to push this further, I mean, obviously we need memory for a lot of tasks. But let's say, just to push my question earlier even further, like, you know, let's say you play in a basketball game, you are constantly having very, very short memory of where your teammates are, where your opponents are, you're making a quick decision, but you probably, I don't know, only the last one, two seconds is, or maybe a few seconds is needed.
in that case you might not even need memory right you might just want like the most 32 recent frames and like that's most informative and you don't actually care like
SPEAKER_00what happened a minute ago because that doesn't matter anymore I think a combination of like dense short-term memory and like sparse long-term memory makes
SPEAKER_02sense and that's kind of what we tried to uh use for our method where we do feed it the last like eight recent frames and which we don't some like it's like not sparse at all it's a sample at two hertz but um the rest of the key frames that's more of a sparse representation of like um things you need to like recall from long ago but yeah it makes sense like a combination of the two like a dense short term and sparse long term so i guess
SPEAKER_03the better your model is being able to give you candidate keyframes, it will shift how sparse or how dense it needs to be. If it's really smart about like, okay, this is what I should remember. That makes sense. Yeah.
SPEAKER_01Like going off of your basketball analogy, I think like where you pass the ball and where your teammates are on your particular play would be handled by like the dense short term memory, which you only need a few seconds. But then if you want to recall where a player was in the first quarter, that is like more analogous to like this sparse, but pretty informative long term.
SPEAKER_03Yeah, you know, the coaches would think about this thing. Okay, on average, like you are roughly there. Okay, so now you change your formation. So there's a very, like, yeah, okay, that makes sense. Yeah. is there a way for things to leave memory so like i guess michael was asking kind of briefly about dynamic environments earlier if i but that like if if something did change and then invalidated some past frame like i dropped something and it fell onto a different different place than where i expected it to like during your pick and place back at example with that how how to handle that
how would you
SPEAKER_02handle that So currently there isn't a way for the memory buffer to have a frame leave.
SPEAKER_01But ideally in extensions, what we would have is the model would also be making that decision as well, where it would have control over this memory buffer to add and remove as it sees fit, depending on the current documentation. For example, as you said... if it drops something off the shelf and then like if it can see in its current frame off its periphery that like the the let's say the plushie is no longer there then it should like remove the the prior frame that had the plushie in that location
SPEAKER_02Yeah. And there's like a neat paper in L called Markovian thinker, where what they do is they use RL to like, they have like a, uh, a context, which they copy over like that, which they keep content constant and another one where they constantly like drop tokens. Um, and they use RL to like keep a fixed budget, like not like keep this like memory growing out of hand. And I think like ideas from the app can apply to like future extensions.
SPEAKER_03Yeah. So I guess what are some limitations then? It sounds like this is quite, quite, this setup is already quite generalizable. I mean, it can be deployed already. What do you think are some limitations right now?
SPEAKER_02That's a good question. I think we've went over a lot of the limitations. We do want to work on this way of addressing tasks longer than a couple minutes due to us not having deletion yet. I think the one limitation slash open question is... like how the scales to like more like whether or not like how generalizable like learning keyframes are.
I think there's some evidence that like keyframe selection is generalizable because
SPEAKER_02we took this idea from, um, other works, uh, which do video understanding reasoning where they train like a model to first, like if it were to answer a question about like a video, like they first train the model on like a bunch of examples where like it selects out keyframes and then test it on like new examples. Um, So I think one of the limitations right now is proving its generalizability. I see, like, probably the main way of doing that is,
SPEAKER_02like, scaling up with more, like, memory-based tasks and more memory-based tasks with maybe some ideas from this work and trying to see it's, like, this notion of predicting keyframes, predicting what to remember is generalizable or not. Yeah, I was going to go ahead and say, like, I thought we'd been asking you lots of tough hypothetical questions compared to our usual podcast, so sorry about that. So lots of limitations covered. Yeah.
SPEAKER_03Yeah, because I thought that I... Yeah. Because it seems to me this is already, like, can be scaled up. Like, you know, it's like the... You have the very, like, very recent, you know, the recent 8 frames, and then, you know, you have this keyframe thing that is already doing, you know, like, selection of what is important. Yes, granted, you don't have to deletion, but... I think that also sounds quite solvable. So it sounds like maybe this is it. Like this way,
SPEAKER_03you just need to get a better, better and better VRM, maybe, you know, that can help you classify what is useful to remember. Yeah, it's going to scale up the data.
SPEAKER_01I also think actually the multimodality I think is very interesting. And that's somewhat a limitation in this work is that we're only looking at visual frames. But memory, ideally for robotics, should also be extended to skills, for example. And that might be better kept in language. So for example, if you try a strategy to accomplish a task, but that strategy itself was not successful for this particular environment, then the next time you come back to this environment,
SPEAKER_01you would also make sure that that is not one of the strategies you try. And text might be a better way to store that quote-unquote memory than a sequence of keyframes. So I feel like, yeah, another limitation, I guess, or limitation slash potential improvement for the future would be exploring what other aspects of memory we can condense for just generally tasks, yeah.
SPEAKER_02Yeah, I think that's a great point. And one more thing I thought of was, like, if we were to extend this to, like, very long horizon tasks, like, on that order of years, I think it's going to be extremely hard to, like, go in and label, like, what you think is going to be important. Or maybe not years, but say, like, days. Like, remembering what's important over days. And having a way to somehow have the model, like, emergently learn, like, what keyframes are important. That would be very... like interesting direction to explore instead of having to like say like,
SPEAKER_02oh, the end of the subtask is like the particular thing you need to remember. Yeah, I'm just trying to think like, you know, I lose my keys all the time, you know.
SPEAKER_03Like as a human, how do I solve that, right? So my immediate thing will be, okay, what did I just do? And then, so that's like maybe very akin to what you guys have here. And then I would say, okay, if I can't find, if I can't remember like, you know, what I just do, then I will have to go on, okay, where do I typically put my keys? And that is very long horizon could be like years, right? Okay, this is where usually things are. And then if I still can't find it, then I have to do reasoning. Okay, where would a normal human being,
you know, or my dog, you know, where would he put it in?
SPEAKER_03And it becomes reasoning, right? So, I mean, I figure like some of this, especially when things are more dynamic in the real world, which is it is, we can just assume things that even they don't move, they may still, you know, You know, if you have other agents like a dog, you know, like just pick away the key and it's somewhere else. Yeah, so I think those are all quite interesting. Actually,
SPEAKER_01like building off of your example further, if you had the robot interact with a person and the person said where the keys, where they like, where they keep their keys, for example, then that should also be going into your memory, quote unquote. So like, again, I guess keeping in track with the multimodality, I feel like that is also... like a good, it would be nice if we could extend it in that direction.
SPEAKER_03Yeah, I mean, I don't know whether this is also along the same line, the different modalities is more, okay, so my, I do grocery, like remote grocery on behalf of my wife all the time. Like she'll video me and then she'll ask me, okay, pick up this tomato and then she somehow know where exactly they typically put the tomato on the shelf and then I'll look for it. But then if the tomato is not there, but all, while i'm doing the video like half the time but sometimes it's not even video like she would just give me verbal instruction okay i look for the third i don't know
how she remember all this but somehow she seems to remember all the hours like what typically so she has some long-term visual memory of where things are and then she's instructing me through text okay this is where you should roughly look for it
SPEAKER_03um And then so, but finally, ultimately the thing get done, right? You know, I buy the tomato and bring it back home.
SPEAKER_01You're the low-level policy.
SPEAKER_03Yeah, you're the low-level policy. Yes, I'm only the low-level policy, exactly. You're just being fed sub-tasked. It's true. It's true. I purely, yeah, I have no memory, especially. Once I go to grocery, I feel that I don't memorize anything. I switch off. Then my wife take over. I don't sometimes don't even remember what happened in the... Yeah, it's quite true. It's funny, like, what humans choose to commit to our memory, you know, because obviously we have very, very little memory and different people somehow choose to remember. I kind of feel like, like, yeah, but... Yeah.
SPEAKER_01Actually, this concept of like what to remember, like applied on like a more meta scale of like, if you, for example, in the object search task, if you, um, change all the bins to not be like cardboard bins, but if you had just like laundry hampers, for example, like if you change all the objects in the scenario, like, can you learn something from one task of how you should remember something and apply that to another task? Like, I feel like that is still a very open question on one,
SPEAKER_01whether that's doable or two, and two, like, if so, then how would you implement it for like all the robotic allocations that we have? yeah but yeah kind of our philosophy is what to remember still should be informed by like the downstream task or distribution of tasks you want to accomplish so it's like very nice to study in robotics because at least we can like clearly define a goal and it's important to remember what the policy should use when executing an entire yeah and then add on to that what you guys were already
thinking about like
SPEAKER_03which is also what to delete I mean, right now we're talking about very, very specific tasks, but, you know, if you put a humanoid in a home, you know, for a month, it needs to forget stuff. Otherwise, its working memory will eventually run out and it's just, you know, storing a bunch of like, you know, HD keyframe that is no use. So I think, yeah, I mean, learning what to delete is also a very, very interesting thing. Ultimately, memory is very, very precious in all this real-world system.
SPEAKER_03I think that's the reason, like, things like, you know, calling a giant foundational model, even if they were to, you know, the latency aside, right, even as the context window keep increasing, they... You don't want to just like, just depend on that and dump the entire scenario because it will never be sufficient. I think what you guys are doing here is how a human being typically do is, you know, we're just trying to find the equivalent. Yeah. Okay, yeah.
SPEAKER_01I guess... Yeah, it was the same. What we're trying to do, yeah, is trying to have robots have memory like how humans do. But actually, an interesting thing with... The good thing about robots is if you have multiple robots that are tending to some type of scene, it would be very nice if they could just... If one robot could just give its memory to another robot if it's just starting out in this new environment. So I feel like they could... we can use, like, there's new concepts for how robots can use memory that doesn't
always apply to
SPEAKER_01humans because...
SPEAKER_03Shared memory.
SPEAKER_01Oh, gosh. Exactly. Shared memory.
SPEAKER_03Yeah.
SPEAKER_00Good stack memory.
SPEAKER_03Interesting. Yeah. Yeah, I wonder what, yeah, I guess, or maybe, like, the shared memory doesn't have to be, like, oh, okay, you know, as a robot, I download all the keyframes that you also have, but it's more like like, yeah, how two different humans will use each other's memory to do something, right? It's like, is my wife just, okay, yes, I'm the low-level policy here, but it's still like, you know, she doesn't have to give me all the keyframes. She just tell me, okay, go to the third shell over here.
SPEAKER_03There's a tomato, right? And so the sharing of the memory could just be very high-level, like wrapped up in text, let's say.
SPEAKER_02Well, I think in this metaphor, she'd be the high-level policy giving you the language instruction, right? So that's... I think that works fine, actually. Yeah.
SPEAKER_03Yeah. I think... Okay, to be fair... even though I'm very, very low level where in the first task, I do give feedback about, oh, you know, the tomato is not there. And, you know, five seconds later, I still need to remember the tomato is not there. So I need to hold some memory myself in order to continue the task. I am sharing some memory back to my wife. I say, okay. And then when I go to different shelf, I remember, okay, I've checked that shelf, right? So, okay. To be fair to me, it's not pure low level.
SPEAKER_00Your advanced low level policy.
SPEAKER_02Right. This could inform future extensions, but the low-level policy also communicates with the high-level policy. Yeah. Although I'm sure my wife would honestly just want to just download the keyframe
SPEAKER_03and do it herself. Just let me do the low-level. That would be her preference to be sure, I think. Yeah, I can say people are connected by having to communicate their memory with only words.
SPEAKER_01But if you could just, it's just telepathically dump whatever you need to dump, which is what robots.
SPEAKER_03Yeah. Yeah, for sure. Yeah. No, I think this is really cool. I mean, like, I think especially all the long horizon tasks, I feel it's just memory, a lot of this. So, and I think, yeah, this kind of setup using a VRM to, and as a VRM get better, you know, it should get better. Yeah.
SPEAKER_02Yeah. And we're, yeah, we like this VLM approach because if we maintain a hierarchy, we're almost like reducing the horizon of what the VLM has to execute. Like instead of having to predict actions, the time scale like 15 hertz, it does it like every second. And this is like a lot shorter horizon problem. And I think that like a hierarchy of memory just makes sense as you like increase the time scales.
SPEAKER_03All right, perfect. Okay, cool. So I guess just to wrap things up, we always ask this last question, like, are there any cool papers you guys came across recently? It doesn't have to do with, like, you know, memory robots that you want to give a shout-out to. Jay, you mentioned something about the Markovian, was that the decision?
SPEAKER_02The Markovian Thinker. That's a very quick thing.
SPEAKER_03Okay, cool. Wow. And any other cool papers you want to give a shout-out to?
SPEAKER_02I mean, I thought the Cambrian S work. Um... from the NYU science was very interesting because they actually have their own way of managing memory where they do it based on the model's ability to predict the future. And say if it's like they predict a future latent and if that latent state is wrong, like their predictive error is wrong, then they compress that information less when putting it into memory. But if it was correct, like the error was low, then they compress it more.
SPEAKER_02But basically, you determine your how much you store in memory based on surprise. I think maybe ideas from that. That's really cool. Yeah. Cambrian-esque from NYU. Cambrian-esque. Got it. It's like a line of vision works. I'll put it in chat.
SPEAKER_03Jenny and... Yeah. I like the Probe Learn Distilled paper from NVIDIA that came out recently.
SPEAKER_00I mean, I think it's pretty cool because you'll deploy trajectory, then you have a trained residual actor make the corrections to the trajectory, and then you ultimately distill that back into the base policy. So you have your residual RL actor used as a data generator, not as the policy you use, and all that information is distilled back into the base policy. And it helps with self-improving VLAs, and I think that's honestly pretty cool. Yeah, that was amazing.
SPEAKER_03He was here last week, so we'll have an episode, yeah.
SPEAKER_02That was the last one we recorded, right?
SPEAKER_03Yeah, I think so. Great paper, yeah, for sure. Yeah, definitely. And then, Zavik, do you have any shout-out?
SPEAKER_01Yeah, I saw this recent paper from, I think, Aviral's group, which was, I'm forgetting the name, but basically, like, the same way that we have low-level policies doing recovery behavior. RAC. I think, yeah, where you basically instead of taking an action from a state that, like, goes into, like, a next state recovery, you try to go back to indistribution, which is, like, a new way of thinking about, like, how to do corrective actions. And I think that paper would be also really... Well-written paper.
SPEAKER_03Yeah, I think that's... Sorry, what's the paper called again?
SPEAKER_00Recovery and Correction. Yeah, yeah.
SPEAKER_03Oh, recovery and recovery. Oh, got it. Cool. Okay. Okay. I'm looking at it now. All right. Cool. All right. Okay. These are all really cool. Okay. Okay. It looks like my afternoon is just going to read through this couple of papers.
SPEAKER_00Perfect afternoon.
SPEAKER_03Yeah, it is great. Yeah, I guess thank you so much for coming on. Really, I think really, really cool. Personally, I think this is definitely the right track to have memory. It feels very human. You know, that's why I can make all these analogies. Sometimes some papers, it's hard to make analogies. uh yeah yeah it just feels feels this is this is the way to scale this uh to to do memory well um okay cool right yeah really exciting stuff thank
A robot could line up an ethernet cord almost perfectly and still fail to insert it if it’s off by a millimeter. If robot foundation models had a better understanding of force and contact, this would not be an issue....
Imitation learning has enabled amazing robot capabilities, empowered in part by diffusion or flow-matching policies. These generative models outperform direct action prediction, but come at a cost: they are often slower...
Coding agents powered by large language models are increasingly able to complete complex, long-horizon goals, but this capability is still largely relegated to computer tasks. Bringing agents to real-world robotics is...
Delta Intelligence’s Δ₀ is a humanoid full-body foundation model, which can perform long-horizon, whole body loco-manipulation. They show a single, generalist policy which can control a 69-DoF humanoid to perform...
Robotics has a data problem, but not the one you’re thinking of: almost all robotics data is of successful instances of robot behaviors. But many of the most exciting research areas for robotics today, including world...