Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

RoboPapers

RoboPapers artwork

Ep#66: Ordered Action Tokenization

Mar 11, 202652 minAudio
ShareXLinkedInFacebookWhatsAppEmail

How should we represent robot actions for autoregressive transformers? Most robot policies use diffusion or flow to generate continuous action sequences, but this isn’t how large language models work; they predict output tokens, which has many advantages. But coming up with a set of useful action tokens, so we can skip the slow and expensive diffusion steps, is difficult. Chaoqi Liu says action tokens need three qualities: reasonable compression, universal decodability, and a left-to-right causally ordered token space, and he proposes Ordered Action Tokenization as a solution to all three. Watch Episode 66 of RoboPapers now, with Michael Cho and Chris Paxton, to learn more! Abstract: Autoregressive policies offer a compelling foundation for scalable robot learning by enabling discrete abstraction, token-level reasoning, and flexible inference. However, applying autoregressive modeling to continuous robot actions requires an effective action tokenization scheme. Existing approaches either rely on analytical discretization methods that produce prohibitively long token sequences, or learned latent tokenizers that lack structure, limiting their compatibility with next-token prediction. In this work, we identify three desiderata for action tokenization - reasonable compression, universal decodability, and a left-to-right causally ordered token space - and introduce Ordered Action Tokenization (OAT), a learned action tokenizer that satisfies all three. OAT discretizes action chunks into an ordered sequence of tokens using transformer with register tokens, finite scalar quantization, and ordering-inducing training mechanisms. The resulting token space aligns naturally with autoregressive generation and enables prefix-based detokenization, yielding an anytime trade-off between inference cost and action fidelity. Across more than 20 tasks spanning four simulation benchmarks and real-world settings, autoregressive policies equipped with OAT consistently outperform prior tokenization schemes and diffusion-based baselines, while offering significantly greater flexibility at inference time. Project Site: https://ordered-action-tokenization.github.io/ ArXiV: https://arxiv.org/abs/2602.04215 Blog Post on X 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_00Hey guys, welcome to another episode of Provo Papers. Super happy today to have Chao Qi, one of the authors of this paper called OAT, Ordered Action Tokenization. Thank you so much for making the time, Chao Qi. Maybe as a start, if you can share a little bit about yourself first before we dive into your paper.

SPEAKER_01Yeah, certainly. Hi everyone. So I'm Chao Qi. I'm currently a senior undergrad at UIC and this project is done during my visit at Harvard University working with Yilu and other postdocs and fascinating visiting undergrad there too. So in this project, it's really about like working on action tokenization and I will discuss more in this session. Yeah. So should I start or?

SPEAKER_01Yeah.

SPEAKER_00Yeah. Yeah. Yeah. Yeah. Okay.

SPEAKER_01Great. So, uh, so in general, we are, we are, we are, we are, what we are interested in is, uh, uh, action tokenization and why are we interested in action tokenization and why action tokenization is still necessary. I think one, uh, in a few sentences, basically, uh, For example, like, like these days, the VOA policy, like fine tuning from the VOA policy backbone, I mean, VOA backbone, it's, they are like all using diffusion of flow action,

SPEAKER_01action has, action expert. But why in this case, we still want, uh, discrete representation, for example, action tokens. I think the main reason is we still want the signals to, we certainly don't want strong signals like discrete action tokens for fine tuning the VOM. Because we've seen that the signal from the continuous diffusion flow action expert head is very weak. It's very weak signal to supervise the VOM backbone.

SPEAKER_01For example, in the winning solution of the behavior challenge last year, they also observed that by adding auxiliary loss on the discrete action representation, in the case fast tokens, they observed a significantly better pre-training. And also, I think recently we also see post-training on these discrete representations boost performance and also the convergence rate. After the motivation,

SPEAKER_01I hope everyone is convinced that the action tokenization itself is not necessarily, I mean, it's not a implementation detail or some minor detail implementation, but it's something very important that boosts pre-training. And so we proposed this auto-action tokenization, which we start by first talking about what are some key properties that we want our tokenizer to have.

So first we want the tokenization mapping T to have a reasonable compression rate.

SPEAKER_01So let me explain what is reasonable compression. So for reasonable compression, I mean, I intend to say, so we want to a strike of balance here. So a good representation that we achieve is we want to remove some redundancy, but not too much. So some compression algorithm is extremely high compression rate, but that's not something we want. So a good representation,

a reasonable compression is that we want to remove information that's unnecessary

SPEAKER_01and not useful. And the second property we are very interested in is we want to have this decoding function as a total function. And a total function by its definition is we want every...

SPEAKER_02Could you give an example of what... Sorry. I think we're having some internet sync issues, I think. I was wondering, could you give an example of what information in an action is not useful? Like, what is an example of what would concretely be useful tokenization?

SPEAKER_01I don't have a good example here, but in general, like there's always some redundancy in the, uh, in the action chunk, but I'm saying that we should not remove all of them, but maintain some structure there that we don't have our, yeah.

SPEAKER_02Right. So it'd be like, like, like noise, like removing noise or removing like small errors and like a finger joint position that doesn't matter, stuff like that. So that's, that's the kind of thing that, okay.

SPEAKER_01Yeah. That makes sense. Yeah. For example, yes. Yeah, and also the second property we list here is like the decoding function should be a total function by the definition that all the token sequence generated by the VLA policy or basically autoregressive policy should be decodable, should be always projected back to the reasonable action chunk. We have this property listed here.

SPEAKER_01I thought like this should be a must-have property, but we listed here simply because we have this fast token that's not always decodable. So we listed here, but this should be a must-have property for or tokenization, I guess. And I will also back into...

SPEAKER_00I have a quick question. Could you give an example? So in the case for the previous work, Fast, you mentioned that there are some instances where it's not totally decodable. Concretely, what happens when there's some actions that cannot be decoded back to concrete actions?

SPEAKER_01Yeah, let me explain why we have this undecodable issue and what happened and what are some method to try to mitigate this. So if we go to fast tokenization paper, we see that what they did is basically doing a Fourier transformation to get a frequency matrix, where the frequency matrix is a fixed size matrix. So there are basically action dimensions, say seven rows.

Each row is representing the frequency coefficient of that particular action dimension.

SPEAKER_01And there are N columns, which is where N is a hyperparameter. And after that, they just flat this matrix and doing a biopair encoding where we all know that the bi-peer encoding is a variable length encoding mechanism. So in this way, so basically it gives you something like this. So it has the first token, second token, and the continue. And these can candidate to be

SPEAKER_01the underlying coefficient you have. But this, each of them have a variable length. So in that way, so the number of total coefficient you are going to extract from that fast token sequence, it's a variable length. You just cannot make sure it achieved this it achieved this fixed size frequency matrix. So in that case, we have either more coefficient, more frequency coefficient or less frequency coefficient.

SPEAKER_01So that's the reason why FAST is not always decodable. And some very naive way to mitigate this is if you have your FAST token produce a longer frequency coefficients, you just drop out from the tail, some of them. Or if it's like, it's not achieving this untarget number of coefficients, you just pad with zeros. This is also mentioned in the Hugging Face discussion in the fast ripple. The other

SPEAKER_01Uh, other also suggest don't do this. So don't do drop out or pad with zero because it's, it's very unreasonable to do so because you have these coefficient in frequency domain. You just pass zero, you are pass zero to, uh, to some basis function also doing job. It's like, you can have this mismatch as I mentioned here. For example, you don't, you don't really know, like if the the action for the joint, say, three, it's shifted to four or something.

SPEAKER_01So this is a very unsafe way to do that. The other fonts also discourage others to do this rounding or padding thing. So that's the main reason. But doing this job, but doing this padding, they're all dropping from the tail, actually can improve some success rate, but that's just very unsafe to do so. In real world, we don't want to do that. Yeah. So that's what I mean by the total decodability. Yeah.

SPEAKER_01And lastly, what we want is this... other anything, which is also the main theme of the paper. So why do we want ordering? It's really about, we want this model ability. So I, I, I am thinking that like traditional compression algorithms really care about two X's, whereas compression rate, and we also have this like reconstruction fatality. But I'm saying that like in the, era of generative AI, we should also think about the modelability,

SPEAKER_01which characterizes like how challenging it is that this representation distribution to be modeled by the autoregressive diffusion, these generative paradigm, generative model paradigm. So I think that That's what I mean by modelability. And this word is first introduced also in the blog by Sandra Deleman here, where this word is also coming from some literature envision that we have this perceptual axis and we just conclude that modelability.

So to improve modelability of autoregressive models, a natural thing is to have this altering.

SPEAKER_01This has been started since like 2014, where we first have like, people have, I mean, there's a really a large a set of literature that's saying that, oh, when we have altering for autoregressive models, we have better performance. So that's a very nature intuition that if we have our action token to have altering, then we probably can boost the performance or stabilize the inference of the autoregressive policy inference. So that's why I try to inject altering

SPEAKER_01And to have this ordering injection, what we did is having the paradigm, I mean the diagram here. So we use register to extract the action tokens, to extract information from action tokens. And then we do this nested dropout from the tail. So basically at the training time, we just sample a random number, smaller than the total number of the registers and drop out them from the tail and

SPEAKER_01ask the decoder to reconstruct based on the prefix. And in this way, we force our decoder to reconstruct given whatever prefix it has to. So for example, given only one token, it already has to predict something. And in this way, to minimize the loss, it has to predict the pattern that's most that has the highest frequency in the data set because we know the action distribution is highly non-uniform and it has to predict the

general pattern that

SPEAKER_01minimize the overall loss. And it's sequentially like we have second token, third token. And when we have more token, we have more capacity. It has more capacity to model less frequent patterns, action patterns. So this is how we have this implicit ordering injection. And with these old token, we can then have our autoregressive policy trained on this token space. So it basically have this inference loop, like given the stat of the special token beginning of the sequence,

SPEAKER_01we can stab our autoregressive policy once you get our first old token. And just given this token, you can already decode that to some reasonable, less fine-grained action chunk. But maybe you don't want to stop here. You want to get a finer action chunk. You can just continue the autoregressive loop iteratively to get more alt token generated. And you can just decode them whenever you want. So that's what I mean by prefix de-tokenization and time

inference using my paper. And one very nice ablation experience I would like to discuss is this out without

SPEAKER_01altering underperform. So the paper's main contribution is really to emphasize the altering is really important, and we see that Um, in this table compare, we add a new row, I mean, new row X, which represents, we have this entire, I mean, have the, have the, exactly the same training pipeline of the auto-tokenization figure I just show, but we just don't have this nested dropout from the tail. And for these old one, one, two, four, eight, it's saying that we have this dropout and in the inference,

SPEAKER_01the task execution, I'm just using one token. So one auto-regressive step, two auto-regressive steps or four and eight steps. And the quest is one of our strongest baseline. It's also a learning based quantization method. We see that like with this nested dropout, like we only have the compute do pre-inference, which is using four tokens. We are already almost at the same as our strongest baseline here. But suddenly without this nested dropout, so without ordering,

SPEAKER_01we have like a huge degradation in the performance. So that's a, that's a problem here because Quest has some structure, but without ordering is completely unstructured. And I will explain like why Quest has some structure. It's basically like they are doing convolution to have a reduced horizon, a policy learning problem. And yeah, I think basically that's all of the results and we can have more discussion on related methods in action tokenization and my general thoughts

and the other future

SPEAKER_01thoughts on action tokenization as well.

SPEAKER_00Yeah, Shashi, I know you have on the site some video as well. Would you like to go through some of them? Oh yeah, sure. Go get maybe a visual understanding of some of this.

SPEAKER_01Yeah, this is one of my favorite visualization. So in this case, I'm just having a seven DAF KUKA arm, and I have a motion planner that's just generating random trajectories in the workspace. And I'm asking, and then I train my old tokenizer on this, and I try to reconstruct with the different number of tokens. And you can see like with one token, it's a very,

SPEAKER_01very coarse, very basically meaningless trajectory, but you can see the general motion pattern is correct. So look at the ground truth. It's basically from the far side and coming, moving to the closer side. And that's also the thing that with one token is trying to do. And with two tokens, like the motion is much more obvious and the magnitude is larger. And with four token, we can almost like faithfully reconstruct this and also a token

is something even

SPEAKER_01better. And another example is, another example here, you can, also I'd like to let an interesting audience to try this. You can just drag and try to compare these. Yeah. So we also have some real-world execution videos, but I don't think there's a huge difference visually by looking at these videos. So I try not to waste time on these videos. Yeah.

SPEAKER_02It's so nice to see that there's not much difference.

SPEAKER_01Yeah, there's not much difference. That's a nice sign. Yeah, I mean, it's not like having a new modality, like say tactile sensor that you can see huge behavior difference visually. It's just like algorithmic improvement. So we almost have quantitative results instead of like qualitatively, you have a huge difference. Yeah, I think that, I hope that makes sense.

SPEAKER_00Yeah, you mentioned somewhere in the paper that I think given that if you only have one token, then you have a very coarse, let's say, representation, but then if you have more, then you get very, very granular. And you mentioned something about, actually, then this allows, in practice, at inference, you might have different compute, and maybe you run out of compute a little bit, but you get away with it. with less token and still kind of get the job done, right?

SPEAKER_01Yeah. So we show our results in the appendix that you can see we have compared all the, like using one token, two token, four token on different benchmarks. So yes, we can finish most of the tasks with even like one or two tokens. Like regarding the compute and the end time inference, I think that's also discussed in the discussion and I'd like to discuss this too. So I think in the blog from Pi Intelligence,

the blog on the real-time chunking,

SPEAKER_01In the very intro paragraph, they mentioned that in the future, the robot policies would have to have some property that it can pause and think if the situation is very complex and if the situation is very simple and just, you can, you can know what to do very, very shallowly. Then like we can execute the fast, pretty fast, but when necessary, we have to stop and think. So I think without, we, we potentially have this, this property.

SPEAKER_01Currently in the paper, I'm only have eight tokens in most VOA and I mean, tokenization for VOAs, they have like 16 or more tokens. So with that, we can really have this pause and think and And, and like, for example, only step two tokens to get a very fast result, something like that. So that, that's one thing, but, but one nature direction and a question to ask is like, how can we decide like when let the robot to pause and think and when let the robot to execute and make, I mean, inference really fast.

SPEAKER_01So this is mentioned here. So. From my perspective, I think there's definitely a lot engineering trick you can do to have this behavior. Say you can have a standalone multilayer perception that trying to predict the number of tokens you would want for disinferenced condition on say current observation. And I think this would work. For example, if the observation showing you just doing transportation, like commuting the air, then you probably just using one or two token would suffice.

But if the observation showing that you are doing precise and the contact reach

SPEAKER_01manipulation, so you're already doing the grasping, then you probably want to have full token reconstruction. But I think one very exciting direction is not to have these engineering tricks, but to really think about how can we doing the estimation of the intrinsic complexity of action chunk online. So by that, I mean, By that time, I want to give an example first. At here, you will realize that using four tokens for this turn off sync

task is actually

SPEAKER_01having higher success rate compared to using eight tokens, which makes sense to me if you think about this. It's really because using four tokens already can faithfully reconstruct the action chunk needed for this task. But you are forcing the autoregressive model to step four times more, and then it could compound a lot arrows there. So it is like a must have property for the VOA or policy model

to know like when to stop making more errors and when we already have faithfully reconstruct or encode

SPEAKER_01represent the action chunk. So that's what I mean by why we want this online estimation of the intrinsic complexity of the action chunk. And hence we can have our autoregressively to be truly, when needed, a pause and a think and when not necessary, just inference really fast to get the result.

SPEAKER_00Yeah, I'm trying to imagine a real world case where let's say I'm bending down to tie my shoelace. When I'm bending down, reaching my head to the shoelace is probably maybe one or two tokens. It's good enough for them. Once I touch a shoelace, probably I need 16. Would you be, is that kind of what you mean?

SPEAKER_01Yeah, that's what I mean. That's, that's some like, because like shoe sizing is, uh, like the action chunk should be highly, uh, non-trivial because say consider the case that you are just trying to transport your enemy vector, your robot arm in the ear, then it's very simple, very naive, uh, Basically, in general, very smooth action chunk. So the intrinsic complexity is very low. For example, you just given the first waypoint and the last waypoint, and just doing the interpolation within them, that would maybe already work.

SPEAKER_01But for Shoe Taising and other contact reach and precise manipulation, within that action chunk, there's a lot of mode change and rapid change in the waypoint. Then you probably want to have more faithful reconstruction. yeah so how so i guess this is future work but like i think that's that's really interesting but how do you think you could train it to like tell it to know how long how long the sequence should be and this is like how precise the specification the the for the action the action is right it's not like how

long the action it's

SPEAKER_01like yeah yeah Yeah, so I do looked into the, like, how can we do this estimation during the project. But I think due to the time interest, I didn't dive deep into this. But I think there's one really nice step. Yeah, I think there's some thoughts on this part, especially I looked into this paper. Let me share how they did this. They did this in image generation and they can do complexity

estimation by, oh, it's loading.

SPEAKER_02So it's not as simple as just like predicting a stop token or something.

SPEAKER_01Yeah, it's not a very simple idea. So I think in shot, it's basically doing this. So in the paper, they're doing this. So they have this arrow conditioned reconstruction pipeline when training the tokenization. So they have another float variable, say the desired arrow is 0.1, for example, in terms of L1 loss for image, for example. And given this error, the training looks like this. So it first has a budget term, say using eight tokens and it compute the loss,

SPEAKER_01like the reconstruction loss given eight token budget. And then try to increase the budget to say 10 token and see if the reconstruction error goes down. If it's goes down and it's not approaching the threshold 0.1, we are given the error threshold, then it increase the budget to eight to 10. But if also like in the training, they also try to reduce the token budget, say from eight to six. And given the reconstruction error of the six tokens,

SPEAKER_01if the loss is not increasing, so basically reducing token budget from eight to six, you can still faithfully reconstruct the image in the case, then probably yield it. Next time, you can just use the six tokens. So this is how the training looks like. So you are kind of like doing a line search on this token budget axis and then see which of them.

SPEAKER_02But this takes like a fully trained tokenizer. So once you have your tokenizer fully trained, then you can train the second model.

SPEAKER_01Oh, they're doing this simultaneously.

SPEAKER_02You can't do it simultaneously. Okay, cool. Yeah, they are doing this complex estimation and the tokenization training simultaneously.

SPEAKER_01I haven't dive into the paper too much, but I think that's a general philosophy they're trying to propose. Yeah.

SPEAKER_02Yeah, really cool. So this will give you, at least in part, this capability to think as long as you need to, the anytime inference kind of. Exciting. So this is kind of the next research direction for you.

SPEAKER_01Yeah. Oh, by the way, like in traditional like VQ literature, like when they like having say a fixed say a 16 token, which is like, you have to stab your autoregressive model to generate a 16 tokens to reconstruct. But in our case, and also like some literature like multi-scale or V80, they have this manually crafted skill on this part. But in our case, I'm saying that the allocation of the,

SPEAKER_01our information, allocation of the information in the latents, they're purely, purely uh, like it's not manually crafted. So for example, you can have this, uh, have say 32 registers. In fact, you maybe only need eight registers, but you can have an overestimate of the register you needed there and you can train it. And the, the training pipeline tells you, you only need, uh, it will only allocate all the information to the first eight

tokens and the rest of

SPEAKER_01them are just basically useless. So this is a very smart and elegant idea that you can have some estimation on the number of tokens you set during before training. And then after that, you can just drop out those tokens. Yeah, so we don't have, you can't have like, for example, like having how many number of tokens in traditional VQ method, it's a hyper parameter that's very sensitive to tune. But in our case, it's not.

SPEAKER_01You can have them overestimate and you can then just drop them. It's fine, yeah.

SPEAKER_02Yeah. Do you think that that'll, so like, as it, how do you think things like this scale? So let's say, I'm curious, because like, obviously you're trained on like Libero and so on, like these small data sets. Like there are, there exists these large data sets out there. Like if I had 10,000 hours of robot data, how many, I mean, I know there's no real way to answer this, but how well do you think this kind of thing would scale to like, to like 10,000 hours worth of robot data with different actions?

SPEAKER_01Yeah, that's a good point. Like due to limited resources, I'm still like in a school lab. So I really don't have that experience, but I think that's definitely one very interesting question. Recently, I'm talking to researchers at TIAA and FAR to discuss like the scaling of this method, which I think like we have a good hope. I think I don't feel, I don't see a strong bottleneck on like why this one scale because such all of the representation learning has been applied also to other modalities, say images and video where they have even a significantly larger

encoder and decoder

SPEAKER_01and the code book size. I don't see a sale there for this method.

SPEAKER_02Can I ask how the codebook size impacts inference time? I guess the autoregressive, I guess the fidelity with which you reconstruct the action for sure would impact inference time, right? Can you tell me a little bit about this? Because you were comparing the diffusion policy, which of course...

SPEAKER_01Yeah, sorry I can't repeat it because the connection is not that stable.

SPEAKER_02Yeah, the connection is a little choppy. Inference time. So how do these different decisions impact how long, how quickly can you execute a policy? Can I execute it at 5Hz or 10Hz? Is this also a knob that I can tune by changing how many autoregressive steps that I take for rolling out the tokens? Does that question make sense?

SPEAKER_01I don't quite get it. Like, do you mean how, like, during inference, like, during... Yeah, yeah.

SPEAKER_02When I deploy the robot, I'm curious, like, so, like, this is an issue, like, we've talked to researchers before about, like, how long, like, getting robots to, like, execute their policies quickly, of course, right? Like, this is, like, sometimes inference can be very long, right? Especially with a large model. So, like, a VLA. So, like, how is that something that I can, that this... Like, I would think that if I only am regressing one token versus 10 tokens or something like that, that would make a difference to this. Like, would it be, will it be faster? Can I run the robot policy in a tighter loop to perception?

SPEAKER_02Does that question make sense now? I'm sorry if this is, if I'm explaining this poorly. Maybe Michael can try if it doesn't. Yeah.

SPEAKER_01Yeah, I think I get it. So at this time, like deciding at deployment time, like deciding how my autoregressive sets is, it's just a preset number. So I don't have a way to set that. So it's just like during experiments, I'm asking a policy to just step one or step eight times. But definitely like, yeah, so I don't know if that's your question. And I also

SPEAKER_02But how much less time does it take to execute one step versus eight? That's my question, I guess. Oh, okay.

SPEAKER_01Right. Yeah, so I show inference time here because the policy model is very small in the case. So you don't have a huge improvement. And also I'm using KP cache. So it's almost like at least twice, I mean, twofold in the inference time, like from one token to eight token. Yeah, it's not like eight times. Oh, by the way, I think the majority of the time, like when I do the profiling of the inference code, it's really about the observation coding.

SPEAKER_01It's about an idea. Observation encoding is taking the majority of the time, isn't it? It's not the autoregressive policy in the case because I'm using small policy.

SPEAKER_02But, like, as your policy got bigger, I could see that this could be conceivably, like, going back to the original question. Because, I mean, we're curious about scaling it to 20,000 robots or something, or hours of data.

SPEAKER_01Yeah, yeah.

SPEAKER_02In that case, like, huge model. Like, would you expect this to make a big difference?

SPEAKER_01Yeah, I expect there to be a huge difference. And, yeah, and also regarding, like, to scale these two different embodiments and different data source, I think there's a very nice quantization paper. Not this one. Yeah. You can have these labels. Embodiment labels also condition for each embodiment here, for example, to have this for scaling. So, yeah. But, yeah, so...

SPEAKER_01information to the action chunks, for example, if it's 10 hertz or 30 hertz, or if it's like the action chunk, it's in terms of purity, it's like one second or three seconds. You can always put all of this information into the the encoding to have a better training. This paper just comes out like yesterday. Yeah. So this is a very nice paper on Appalachian Action Tokenization.

They have this scaling of vanilla VQOVA style tokenization by the condition of this information.

SPEAKER_01Yeah.

SPEAKER_00Action codec.

SPEAKER_01Yeah, action codec. I'd like to share some more thoughts on the action tokenization part, if there's no further question. Yeah. Yeah, yeah, of course. So I think if you go to the very beginning, like where we have this VQ behavior transformer, what they're doing is just doing a very naive way, which is just having... MLP, and for the action chunk, you just, for action chunk of the matrix, HA times DA,

SPEAKER_01you just flat them as a single vector and feed it to the MLP, which is obviously a way that's very nonsense because you are breaking the structure along the temporal axis. And then later we have the quantization, I mean, the quest paper that they're doing convolution along the temporal axis. So in general, what we are trying to do is reducing the action dimension from DA to the latent.

And from the temporal axis, we want to reduce from the action horizon to latent horizon.

SPEAKER_01And to do so, what they are trying to do, and that's also what would be used in the RDT2 paper, if you are familiar with that, that paper, both methods are using convolution to reduce the temporal axis from action horizon to latent horizon. And actually I do think using convolution makes much more sense because in this way you have like due to the convolution as spatial receptive. So each latent token is aggregated some information from its

adjacent actions.

SPEAKER_01So in this way we have the they call this a skill token, which doesn't make too much sense, but a little that each latency in this case is correspond to a few action chunks, a mini action chunks, a few actions. So that's, that's previous, uh, VQ method. Like they use a convolution and more recently, uh, using, uh, our, our old, uh, method. We have this, uh, uh, learnable registers to extract information and also using the

fact from Jianlan

SPEAKER_01Luo's group. They are also using a register to extract information. And also the paper released yesterday, they are also using learnable register, which is learnable embedding here to, to get the, to extract information from action. And so I'm trying to offer that we have this history here. I'm trying to say that we are evolving in the, uh, representation learning part, which is the encoding learning part. Yeah, because representation learning and reconstruction are two tasks, so I'm currently focusing on the representation learning part. We have seen this from just naively break the structure to flat

into a single

SPEAKER_01vector and pass a feed into a MLP, to we try to preserve some structure along the time practice by doing convolution. And more recently, we have this using learnable registers to extract information from the action chunk. So yeah, so I tried to make a point here. Oh, yeah. And also like, I tried to mention, I tried to say that this message dropout can only be applied if we have this register or learnable embedding way to tokenize.

So it cannot be used if we are using convolution because that doesn't make sense because

SPEAKER_01In convolution, each, the tail token, say the last token, I mean, it represents some information for the mini chunk, action chunk at the very end. So if you just drop them, you are losing the information. So it doesn't make sense if you try to try to apply nested dropout for ordering on this type of encoding method. But in alt or other like using registers for encoding, you have this, you have your register to extract.

SPEAKER_01So all the register can see the information from all the actions. So you need to have your register attend to the entire action chunk to apply nested dropout. And nested dropout is something I think agnostic to encoding or decoding method, given that you have this, you have your encoding that attend to entire action chunk. So, so in this way, I think I'm not expecting all this stuff to be the final answer, but, but I hope like in future action tokenization design,

message dropout is just like in place plugin extension that you can apply for a

SPEAKER_01better, better performance. Yeah. I have a question going back to very early on when you were talking about like the

SPEAKER_00need for action tokenization.

SPEAKER_01Yeah, certainly. You have this, I think one of the charts that kind of show diffusion and then also OAT, right? So how do you think about these like diffusion or flow policies that let's say do

SPEAKER_00iterative sampling, you know, versus autoregressive policies that are, you know, generally very discrete tokens, right? So what do you think are the trade-offs here? in practice. Yeah, so I think, I do think it is, oh, let me show the general picture here.

SPEAKER_01I like this figure. So I think in the future, the discrete action representation, say tokens, my internet is a bit bad. But in general, like, the discrete action representations, the tokens and the continuous action representation decoded by using flow or diffusion, they have to co-exist because in the report, this is a report from the first place solution for the behavior challenge last year. They have mentioned that not only the time, but the many time that like having fast tokens,

SPEAKER_01it's a way to boost inference. I mean, pre-training, for example, this is how they do this. They have this auxiliary action token, a fast token that they are using here. So they do not apply action tokens during I mean, it's just auxiliary loss, so it's not used to be executed, but they just have this another channel here to have auxiliary loss to boost the training. And also, if you are familiar with the RDT2 paper, in their stage one,

SPEAKER_01the given VM, the stage one is to discrete action representation, use action tokens for the stage one pre-training. So given a VOM that's never been used to predict action, they first ask you to do this action token prediction task. So in this way, it steer the VOM to be more like a VOA. And then in second stage, it just throw away the action token and replace with a

continuous action expert and

SPEAKER_01ask that and then superify the action, I mean, flow or diffusion head. So that's a stage two thing in RDT2's solution. And it's a giant thing in the behavior 1K winning solutions case. But I don't know- Why does it make such a big difference?

SPEAKER_02Why is it so useful? Why does it make such a big difference?

SPEAKER_01Like having discrete representation.

SPEAKER_02Yeah, having the auxiliary, like fast token output.

SPEAKER_01Yeah, because like, because we have seen that like the signal from the diffusion flow when supervising them is very, it's like, like can potentially even harm the VOM, even if not like being used for, but like having this actually discrete action tokens, we can, we can have applied, we can scale, we can apply like what we are familiar with, like training AOM or VOM, like we have this discrete token, so we can just, yeah, we know how to train them well. Yeah, but I think there's very little literature on using actual

representation in

SPEAKER_01post-training, say, with RL. Because I once talked to Drew, who was a research scientist at Google DeepMind. He told me that antigenetic robotics, they observed that during post-training with RL, the diffusion of flow had is basically nonsense. So I think during post-training, we probably also want some discrete representation there. Yeah. So I think like robotics people are like in very early stage on like training foundation model. Like,

SPEAKER_01like I think like in, in classical LOM or VOM, they have this multi-stage thing, like first stage, second stage, next stage. So I think like in the future, like we definitely have a lot of stages and I do see a place that discrete action representation is still necessary for like early stage training.

SPEAKER_02Yeah.

SPEAKER_00Fascinating stuff. Yeah, so I guess you kind of alluded to this earlier on, like, you know, kind of future where you probably want to do something to explore how to maximize the online, like figure out how to dynamically figure out like how many tokens you use, like what's the right amount. Um, let's see. Any other future directions that you would love to explore besides that? Yeah, I think, I think like, uh, we, uh, so,

uh, I think there are a few access.

SPEAKER_01So I, I do think there's, uh, there, there, there are still a few things that we can improve in action tokenization itself. I will, I will explain this. Second part is, given the trainer tokenizer, action tokenizer, how, how can we use them, use during pre-training and post-training and still under-explode? And third, condition on these actions discrete representation. In this case, it's not a condition on the fast token, but maybe what if we have this token also can like action, the action expert here condition on these discrete representation. So in the case, like given,

SPEAKER_01given this, so in OAT specific case, like condition on the only the first token, would that make the policy much more, um, multi model and, uh, what if like condition of four or eight tokens, would that make the policy more unit model? Because like you have more specified trajectory for that. So that's one fundamental question I'm also very interested in. So also like let's go back to the first point, like what do I mean by they are allowed to understand,

SPEAKER_01I mean to improve in action tokenization itself is yesterday the paper, they have a few, they have a very nice observation, I mean, a metric they made is the overlap rate. So basically given the action chunk, say you are predicting 32 actions, given the action from one to 32 and the two to 33. So given the adjacent action chunk and you let the encoder to encode that, you get two action token sequence and you compute how much

overlap rate you have

SPEAKER_01for adjacent action chunks. And you realize very naive way and a very random vector quantization training or binning or fuzz, they have very, very low overlap rate. But high overlap rate is actually very useful. That's highly related to what I mean by modelability. With high overlap rate, you can see the latent space of the, I mean, essentially the policy makes much more sense compared to if you have a very low overlap rate.

SPEAKER_01So yesterday I read this paper and I did something.

SPEAKER_02It makes more sense. You mean it's more contiguous, meaning that everything, there's more like. Yeah. You can interpolate between the different spaces. It's more contiguous.

SPEAKER_01Yes.

SPEAKER_02Yeah.

SPEAKER_01Yes. So yesterday I, after I read the paper, so yesterday evening, like midnight, I read this paper and I did some experience on OTA and FAST and the Quest. So my observation is FAST is like, 20% overlap rate, which is extremely low. And for Quest and Alt without having auxiliary loss, in the paper, they have proposed two auxiliary loss to help improve the overlap rate. But very naively, like without such loss, we have Quest and Alt around 60%, which I think is quite decent.

SPEAKER_01Alt is slightly better compared to Quest because in the case, like first, to understand why Alt is slightly better, better overlap rate compared to Quest, we can first look at the very, very naive case of binning. So when we do binning, when we have this 33 actions, the last action that would result in say if the action dimension is seven, so we have, we have completely seven different actions. And also for the very first, first action, we also have another seven different tokens.

So in this way, like we have this binning being extremely low in the overlap rate. That would be the same for Quest because Quest is no much difference compared to

SPEAKER_01binning, but it's just a reduced version of that. So it's just to pack a few actions into one latent, pack another few chunk of actions into a latent. So in this way, at the varietal, we would always have a different latent there. So that's why, I mean, That, that's why, that explains like why Christ has slightly lower overlap rate without having further losses, auxiliary losses to improve the overlap rate. But in the paper, like the overlap, so, so,

SPEAKER_01so I think the one, one research direction is really like to improve action tokenization is to look at the overlap rate. So in their paper, they realized that overlap rate and the reconstruction fatality are two axes that we cannot improve simultaneously. So we have to achieve a balance there. Naively training, say using residual vector quantization on VQ to have a very superior reconstruction fidelity would naturally lead to very low overlap rate. But we also want the overlap rate to be high to let the

autoregressive policy learn. So it's really interesting to think about this, like how can we achieve a balance there?

SPEAKER_01Yeah. So I think that's one interesting direction for action tokenization research itself.

SPEAKER_02I'm curious. So that's really interesting. I'm curious how this whole plugin, like you mentioned RL earlier, like as one potential advantage. So like, do you think there's a role for like learning this tokenization, all these tokenization spaces online? The reason that this jumps to me is because you're talking about what are trade-offs that impact performance. And ideally, presumably, you're picking the particular tokenization space that maximizes performance to cost. So that does seem like an RL problem almost. So do you have any thoughts on that?

SPEAKER_02Like, could you do this online? Is that too far off?

SPEAKER_01That's a very good point. Yeah, I happen to give a thought on this so I may not have a concrete answer.

SPEAKER_02Yeah. I mean, right, assuming infinite resources, right? Like, you'd have 100,000 robots all performing different tasks and presumably it would all wash out and you could train them both together. No.

SPEAKER_01I'm not very sure because I've never seen, like, people doing this. For example... No, no. I don't think anyone has.

SPEAKER_02I'm just curious. Yeah, that's it.

SPEAKER_01Yeah, so, like, in video and images, they also have this, like, first pre-training of EQVA or EQGAN and things like that. Then you have a latent diffusion. Yeah. Oh, by the way, speaking of this, since the learned representation is continuous in latent space if you don't quantize them. So I'm also curious if you can just have a latent diffusion flow on this space. Yeah. I haven't given it a try, but I would think this would be very interesting.

SPEAKER_02Yeah.

SPEAKER_01Very cool.

SPEAKER_02Lots of things to think about. Very, very interesting. A lot of interesting ideas here.

SPEAKER_01Yeah, I think there are a lot to think about.

SPEAKER_02Very fascinating.

SPEAKER_01A lot of work, actually. So I think whether you like action tokens. Yeah, so I think in general, whether you like tokenization or you dislike tokenization, I think that's a must have in the foundation model training pipeline. Because that's how you can supervise your VOM background really well. But I'm not sure if the future would be more like a fine tune of a video model inside of a VOM model. But if we still stick with the VOM models, I guess tokenization is still necessary.

SPEAKER_01It has to be there.

SPEAKER_00Well, yeah, usually we end this episode by asking you what papers you like, but it seems that you've already shown us a bunch.

SPEAKER_01Yeah, so, yes, yes. I find,

SPEAKER_00like,

SPEAKER_01so I think, like, I hope, I just want to make, like, a comprehensive discussion on the history of action tokenization, say, from just doing flattening, flatten the action chunk and pass the MLP to convolution to more recently have this register or lengthy batting. way to doing the representation learning and to like other mechanisms, they improve the overlap rate to improve other and by injection, starting in our paper. So I try to make a comprehensive explanation or a brief intro on action

tokenization and also try to explain like how can we use action tokens in the

SPEAKER_01future or like training pipeline in general.

SPEAKER_00Yeah. And I mean, you wrote a very nice blog post on X as well of this paper.

SPEAKER_01Yeah.

SPEAKER_00I thought that was good. Yeah. On top of the paper that you wrote. Yeah, that was very neat. Yeah, I mean, it just strikes me that, like, you know, if you, let's say, if you're a VC looking at this space, you keep thinking, oh, you know, maybe scale data, scale hardware, you know. But oftentimes, it's things like this kind of detail, like very, like, how are you going to tokenize action that actually, you know, turns out actually drives real-world performance. I mean, as we saw it from...

SPEAKER_00I think behavior, right? Ilya team. So yeah, these things actually do matter. If you make the wrong design choices, like it's inherently quite limiting. Yeah. Yeah. Very cool. yeah okay cool any final things you want to add Chelsea yeah I don't have much more things to add but yeah I think I already discussed everything I want to say well

thank you so much for coming on this is really fascinating I kind of feel that I need to go back and re-read the paper one more time and then maybe listen to it

SPEAKER_00yeah really interesting stuff Yeah. Like I said, I mean, it's this kind of detail that actually oftentimes matters the most, you know, sometimes. Especially when you don't have that much data anyway. Like, this is actually quite significant, the improvement. So, yeah. Okay. Thank you so much. Looking forward to your next one. Yeah. Come back. Come back to the point again. Thank you. When you figure out the online stuff.

SPEAKER_01Yeah, certainly. Okay. Yeah. Thank you.

SPEAKER_00Okay. Thank you so much. All right. See you soon. Yeah.

SPEAKER_01Bye.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Ep#118: Devol Robotics

    Nov 20, 202658 minAudio

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

    Credit the people on this episode

  2. Ep#117: Residual Modeling Closes the Regression and Generative Policy Gap in Robot Learning

    Nov 17, 202658 minAudio

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

    Credit the people on this episode

  3. Ep#116: SimEX: Simulation-Integrated Robotics AutoResearch

    Nov 10, 202651 minAudio

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

    Credit the people on this episode

  4. Ep#115: Delta-0 (Δ₀): A New Chapter in Humanoid Intelligence

    Nov 6, 20261 hr 10 minAudio

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

    Credit the people on this episode

  5. Ep#114: Oopsie Data

    Oct 30, 202644 minAudio

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

    Credit the people on this episode