DIC/ISC/CRIA Seminar in Cognitive Informatics, UQÀM: back to the talk on the seminar page
Ziqiao (Martin) Ma, September 17, 2026
Video: https://youtu.be/9to6qnav8_o
This transcript is YouTube’s automatically generated English captions, unedited: names and technical terms are often misheard, and speakers are not labelled. It includes the introduction and the discussion. Each paragraph starts with its time in the video.
[0:06] Thank you so much. University of Michigan. Uh, focus guard.
[1:08] Welcome to the series of the 20 26 27 series of um cognitive informatics seminars which is this year focused on the question of um multimodal AI I top down or bottom up. And if you go to the site on the the WordPress site, you’ll see the icon, the image that represents the problem because the spatial world of uh of mortals. There’s only one way to get up and that’s from the bottom down bottom up. But there is right now because of the immense success of um generative AI there is also a top- down movement which thinks that the that the manipulation of words huge quantities of words and operations on them which has turned out to be so powerful we all know how powerful it is another way to get to the reference and
[2:15] the meaning of words and that’s the theme for this year and Martin has a presentation. Do you uh Martin you consider your your your stance to be a top-down stance? Um great question. Actually I would I would imagine a framework where we explore um both bottom up and top down and then made somewhere in the middle. But um yeah, if you really ask for like a preference, I would say you’re correct. Okay. Yes. And now the question, one of the things to bear in mind is not only whether you prefer top down or bottom up, but is it even coherent to imagine that they’re going to meet somewhere neutral ground in between? That’s a question and that’s what the icon represents. Anyway, I welcome everybody who’s here. Uh, and I pass it to Martin Ma at the University of Michigan who will take questions during his presentation or afterwards.
[3:24] Go ahead. All right. Um, thank you Stephen for having me here and um, thanks everybody for coming to this amazing seminar. I’m Martin. Um, actually currently I’m a technical staff at Thinking Machines. So I joined industry a while ago and uh honestly it’s been a while since I last presented um or give any talks. So I might be less fluent than I were in academia. So sorry for that. And also um it’s u nice seeing so many familiar and new uh people in this community interested in this topic. And today I hope to um bring up some discussions about whether or not we can consider um large language models or vision language models um as a study subject for symbol grounding. And if so, what are some uh u
[4:24] mechanistic interpretability approach to study the emergence of this kind of a grounding properties in these models? And um feel free to stop me in the middle of the presentation uh if you feel like you need a answer or you need clarifications. Cool. Um so um recently we’ve seen um a lot of uh recent papers trying to argue that large uh visual language models um have come to be um general purpose problem solvers because they’re capable of integrating text image and even like audios and other perceptual input. And uh we can also see very clear evidence that the semantic correspondence can emerge inside these models. For example, as the um I show here is one of my uh previous work. Um you can actually um align the
[5:24] language tokens or the text spans to the visual entities represented as the pixel masks in a in a in a visual reference. And uh you can even do zero shot localization object segmentation from the image and you can match them uh across multiple modalities. Um but I think um uh given that a lot of recent work start uh are starting to describe especially from the point of view of machine learning and computer science uh people are starting to describe this phenomena as um emergent grounding. I think it’s actually useful um to study a few represented examples. What are the observation they made? What are their operational definition of grounding and what are their operational definition of emergence so that we can see uh where we are in the current landscape of computer science research and why they could be limited or problematic.
[6:27] So the first example they cited the observation that the self attention patterns can cluster visual tokens into um objects um uh with the um textual props. So here I think their definition of grounding is that text aligned object uh localization segmentation uh obtained directly from the pre-training attention structure. Um and on the other hand uh their definition of emergence seems to be that uh they’re just claiming okay um localization as a property just emerge in this model and exists in this model without fine-tuning or additional objectives trained for localization. Um it’s just a byproduct of a pre-train pre-training attention. And um another example here um they cited the observation that the attention maps actually can produce pixel masks
[7:27] through a attend plus sorry is people having questions? Okay. Um so yes in this example um the authors observed that the attention maps can produce pixel masks through a pretty much just a attend and then segment procedure. And here their operational definition of grounding seems to be um some alignment between language or text bands to the pixel regions derived from the intern uh internal like attention mechanisms in the model. And their definition of immersion seems to be masking um ability just appears spontaneously during the large scale training without uh providing explicit grounding or like this kind of a matching as a supervision signal to the model. And um another example here is
[8:30] that uh they observe that independently trained language and vision embeddings uh the spaces actually can align uh with some geometric matching algorithm. So here their operational definition of grounding seems to be that uh the cross model correspondence um happening between the linguistic and visual representations without paired data training them. Here by representations I mean vector embeddings not the biological representation. And um and the definition of emergence here seems to be that certain kinds of uh algorithmatic alignment can emerge in embedding geometry without explicit uh computational supervision across this vector embeddings. So looking at these studies, um I would argue that in general people seem to define grounding in the field of vision language model nowadays uh through the spatial correlations or the geometric correspondence between pixels and the
[9:38] language units and emergence is simply defined as um pretty descriptively as the presence of something um in the train model. uh and I would argue that it’s actually not a very principled account of when and how or even like why such kind of behaviors or patterns arise during the large scale training and therefore I think are slides I I don’t see any slides uh sorry you cannot see the slides I can’t see I don’t see anyone’s camera or slides Um yeah I think in the zoom you can like there are two tabs in one tap you can choose camera view in other tab you can choose the presentation view right um so I think it is very useful to start this whole presentation by
[10:43] starting to uh pushing this slightly yield or loosely defined emerging correlations towards what we typically would find more comfortable to describe as simple grounding in the landscape of large language model if that even applies. So um as a proposed um um conceptual and operational definition, I would like to first consider grounding as the process of mapping a primary data source X to an external source Y that serve that serves as the ground of the primary data source. And specifically in the settings of visual language model aka VM here um the symbol grounding will correspond to the question of how discrete linguistic symbols like tokens in the in the language model acquired their meanings through their mappings to the visual perception system. And here the by by visual perception I mean the pixel patches in the image uh in a in in
[11:49] the image input of these kind of models and then I think it’s also useful to um consider uh emergence uh as the capacity or structure that arise spontaneously as a byproduct of large scale optimization on a proxy task um rather than just being explicitly imposed through some kinds of a learning algorithm or supervision or other types of inductive biases. And um this implies that um um in in a in in a context of large language models uh the proxy task will be simply the next token or the next word prediction. And um and this also implies that we must um obtain the entire training trajectory which requires either retraining the whole language model from scratch or we can actually leverage some openweight models with accessible intermediate checkpoints such as Pythia and uh OMO.
[12:54] All right. Now given uh if we all if if if we agree on this initial proposed uh operational definition of uh emergence and grounding. The next uh the next uh action item will be can we establish a minimal test bed such that it’ll allow us to formalize the problem as uh in in a in a controlled oblation settings uh while minimize the confounding errors in the visual uh the confounding factors in the uh noisy visual perception system. So the the goal here is that really we’re hoping for a minimal but realistic enough example to analyze while pres while preserving the key characteristic of a language model training and also we need to ensure there are two different channels of data such that grounding can happen between them and um I would actually argue that uh a very useful um candidate corpora for This purpose is the child language uh
[14:01] data exchange system aka the child um uh the child project by professor Brian Mcwini. Um and um in this data set uh it provides speech transcriptions and also paired with environmental annotations. And this offers a structured however still meaningful context for examining grounding in language models. And for example here um this piece of uh uh script is uh uh is an extraction uh from the original child’s corpus. And this basically means that um a child uh is paired with a nonverbal description of their action um here. And that means the child was painting a picture of a horse while saying while saying or speaking aloud that my favorite animal is the horse. And therefore we can just design a minimal test bed with a customized word level tokenizer. Uh which means that
[15:06] every lexical item is represented into two corresponding forms. um one token um uh one tok uh one form of the token will be environmental. So for example in this case all the all the words that appears in the in in environmental description of the child’s uh surrounding environment or the action will be tagged as environmental tokens and um all the linguistic output of the of the child or other um um or other humans in the corpus will be tagged as the language token here. And the most important thing to note that uh because we use uh two separate tokenizer system essentially um the horse environment and the horse language are treated as two completely different tokenses uh perceived by the language model even though as humans we know it’s a horse. Um but like as when it’s sent to the language models uh
[16:11] the environmental tokens and language tokens are fundamentally perceived as two different modalities because we use very different uh token tokenization system to represent the words or essentially the effective vocabulary of the whole system is doubled because we basically duplicate the whole language vocabulary um into another copy of environmental of vocabulary. So that the goal of or the learning goal of a language model now becomes can a language model match um these two copies of uh uh vocabulary even without telling them what are some explicit correspondence uh during the large scale training. And um to train such kind of a language model, we apply the typical auto reggression uh language model um format from scratch by optimizing this uh next token prediction objective uh which is pretty I would say pretty intuitive uh
[17:14] uh from my perspective basically conditioned on previous um tokens in the sentence. The goal is to predict what is the next token appearing after it and what what is the probability of it and the goal is to minimize this block probability. Okay. So um once we train such kind of a language model with enough scale the next question will be how would how can we even um systematically design a controlled experiment to evaluate the model and see if the kind of um grounding or the correspondence behavior is happening is in in in the model. Um I think the first step here really is to confirm that the phenomenon of emergence is robust and statistically significant enough so that we can further claim or further study if there is such kind of a mechanistic uh pattern that give rise to certain kinds of a grounding behavior. So here um my proposal is that uh we can treat um this
[18:22] example book as a language token we try to study. So given this book language token here um in the matched uh in the matched uh in the matched experiment setting we can just do semantic priming to the model by putting a book but environmental token at the beginning and then prompt the model to complete the sentence of a child. I read this and ideally as humans we all know that conditioned on a environmental uh stimulate book. uh as humans we we almost can directly just okay the child is very likely to say the word book and in a mismatched context for example we put apple as the uh priming here so that um it is less reliable that we can expect the child to say I read this I I read this book and the hypothesis here really is that we are hoping to observe that
[19:22] the probability of a target word appear in the match setting is larger than the probability of a target target word uh that appears in a mismatch setting. But of course um here we we already see two limitations of this uh initial formulation. Number one is that the linguistic template itself already introduce some semantic bias. For example here the the word read actually already implies book. You cannot read a apple per se. So that right now this template is not really semantically neutral to the word and ideally we are hoping the template that we evaluate the model is semantically neutral enough. And second uh from machine learning perspective uh it’s actually a well-known bias that language model tend to disproportionally focus on the first token in any sentence or any sequence of tokens. Um so this will uh raise an important ambiguity that we cannot really immediately tell whether the environmental token really receive more
[20:28] attention because because of uh because of this Noah language model bias or it’s actually genuinely because it is serving as the ground truth where the model binds the meaning of the uh language token for book two. So what we can do is that we can design a much more complex environmental context uh as the environmental condition for the model and the uh and of course the priming or stimulus to the model and also we want to make the language template part more semantically neutral and light. And here is the example that the final um set of the um template that we use. The child now ask for a new book and um the child says I love this which now you can no longer imply um the next word is book or apple just by the word love. So that now we have a much more neutral way of probing the model and see if the model learned
[21:31] certain kinds of uh statistical preference over the target were in the matched condition uh against a mismatched condition. And this is the initial step where we uh operationalize how we evaluate if the model establish certain kinds of uh symbol grounding like behaviors. I wouldn’t call it simple grounding for now, but like we’re just operationalizing the behavior in the context of visual language model. Um, is this uh acceptable or do people have any questions about the setting so far? Okay, cool. Sounds like a pretty reasonable. And um now let’s look at the evaluation metric. uh at the first glance it might look a little bit mathematically scary but I will explain in like really plain language. So um the metric um for evaluating how well the model acquires a word is pretty intuitively the surprisal of the world
[22:34] of the word. Basically it will measure how unexpected that particular word is uh is uh appear in the certain kind of a context or template. And basically for a word the the the surprisal is calculated as the negative log probability of the word given the context. And then a useful notation is the grounding information gain. uh which means that um it’s essentially the suppressor difference of a language token that um appears on uh under the mismatch condition versus a match condition. This may sound a little bit um less intuitive. So let’s look at actually the example of how we train the model over time. So here um we train uh six different versions of a language model. Uh the on on the first row we are training different uh depths of a transformer models. For example, this is
[23:37] a four layer transformer. This is a 12 layer transformer. This is a 18 layer transformer. We’re also training um the model of certain kinds of a more advanced and more like um more like recent kind of architectures like st uh states space models like mamba 2 models and we as a as a um as another uh example we also show this uh traditional model um as a as a as a candidate. Um, actually, sorry. Can you give me one minute because uh I got a a phone call. Let me turn that off. Sorry.
[24:42] very sorry about the incidents. Um going back to the topic, uh we mentioned that we train six different types of models to make sure our observation is robust enough across different machine learning decisions. And here the blue curve shown in this plot is the surprisal of the word averaged over a list of a candidate test word and list of uh templates. And the yellow curve is the mismatch condition of the surprisal of the word uh aggregated over the mismatch condition. And uh as we mentioned earlier it is the negative log probability of the word given the context. So the lower the better is uh for for the surprisal the lower the better for how well a language model learns a word. And here the gap between the mismatch and match condition will be the grounding information gain.
[25:42] Basically how much the model learned to differentiate a word or a linguistic symbol over a actual like a groundable condition versus a non-groundable condition. Does that make sense so far or it needs more clarification? Cool. I think this is pretty intuitive and we already see this behavioral pattern where the model seems to learn uh learn to differentiate um and identify the correct word that grounds to the environmental tokens like this um given a matched stimula versus a mismatched sim stimula. And this appears to uh be the behavior of what people would argue as the simple grounding behavior in a language model. And um but the next but the next important question is does the advantage simply come from like co co u co-occurrences in the
[26:48] pre-training data set? And um uh as the first step uh an easy and a more intuitive way of studying this problem is to how about let’s just remove the cocurrences in the in the language model training. So in this uh plot uh we start this data oblation experiment on the 12 layer transformer. We define co-occurrences between the corresponding environmental token and the language token when they appear within the same context window. uh that is 512 token training chunk and um in the Chis corpus roughly onethird of the data contains such kind of a co- occurrence pair and we retrain the model after randomly removing different proportions of the co-occurring chunks from the training data and we see uh this uh final result. So the the dashed lines are for the mismatch condition. So we see there’s not much change um actually over the course uh uh for for
[27:54] different type for different proportion of the uh co-occurring data removed. But in in the case of the match condition the more co-occurrence data appear in the training uh the more differentiable the model is to differentiate the word given this context. But still even if we remove all the all the coro occurrence data from the training the model still show a uh static stat statistically significant gap between the match condition versus the mismatch condition. So this basically tells that there is something u beyond the co- occurrences uh that or beyond simple like statistics in the training data that explain how the model tries to match a language token to the environmental token. I see a question from the audience. Can you hear me? Can you hear me Martin? Yes. Okay. Paul Caner has a question for you. Yeah. Uh the thing that I see in the plot is that co occurrence has a very very big effect.
[29:00] Yes. And it makes me wonder whether perhaps it was just not possible to do 100% removal. Oh, I think it’s actually Yeah. Yeah. Thanks for the question. In the context of machine learning, it’s actually possible because models only have a fixed context window lens and context windowless in the context of a biological system is something like the working memory. So if the if the co-occurrences uh are are out of the co out of the context window or the working memory of the model, it you can like reasonably consider that as not a co-occurrence. So that you can basically remove all the co occurrences training data from the from the model and you can still see there’s a statistically significant gap between the mismatch condition versus the match condition even if you remove all the corurrence data and as a reminder the surprisal is
[30:05] a logarithm scale. So this gap under logarithmic scale is very very huge in terms of the probability. Um I I worry that some kind of second order coccurrence might still be perceived but it’s actually that’s not a bad thing because uh we are not saying statistical occurrence is not important for learning and actually even for humans I would believe that a certain statistical bias will be important to facilitate learning. Uh okay thank you. Thank you. Yeah I’m not I’m not trying to argue that statistically coro occurrence is not important for model learning. Actually it is very important. However, I want that the point I’m trying to make here is that um it is important to uh see that uh even if we remove all the first order core occurrence, there’s still a very statistically significant
[31:07] gap between the match and mismatch condition such that um we cannot simply account the acquisition of this kind of grounding like behavior in the model to be first order uh statistical occurrence. Does it make sense? Thank you. Thank you so much. That’s a great question. All right. And now um um given this the next step is that uh we wonder um can we visualize uh the information gain that we introduced earlier over time? And um and and uh do we see a constantly growing information gain? And here in the blue curve, we do see in all the models that we trained, um there’s a mono monotonically increasing information gain over time, meaning that the model indeed learned to uh associate the environmental tokens and the language tokens. And um a very
[32:07] interesting experiment here will be um we can fit a linear regression between the average surprisal difference uh of a target uh of of a target language token and the cumulative co- occurrence uh quantified by the number of examples where both language and environmental tokens are present. Basically um this R square value is a result of this linear u linear regression fit. Uh so to uh reiterate um we are feeding the information gain over the cumulative co-occurrences up until this point of training so that we can see how much of the correlation of the information gain is explained by the simple co- occurren statistics. And an interesting finding here is that we see that for all the transformer models and modern member models, the R square value actually sharply increase in the be in the in in the initial in the initial uh steps of a
[33:13] training and then start to gradually um go down to almost zero um R square value. Meaning that at the beginning of the training the model’s improvement on grounding information gain mostly originate from simple statistics or simple cocc occurrence. But in the later stage of the training this this effect is slowly dying down. However, um we do not see the similar behavior of um this R square monototally uh decre uh uh we do not see a similar behavior of the RTO R square over time because uh in in the OSTM model because as we can see here uh the R square value is monotonically increasing over time meaning that in old LSTM language models uh there’s actually uh uh the learning can be purely explained by co simple co occurrence. Does this experiment raise any questions confusions to audience?
[34:21] Uh you don’t see identify yourself. Yes, I’m so hi thanks for the talk but I a bit confused. So if the first order correl statistics are not sufficient to explain the I don’t know the matching or the surprisal what else for the transformers uh sir can you repeat the last sentence what can explain if it’s not the coent statistics in the words coent statistics what can explain the matching property of or the grounding property of the transformer or you oh yeah that’s the the the whole point of the next part of the presentation actually. Thanks. Yeah, thank you. And this is why I argue that um if people want to study computational uh mechanics of uh language learning, OSTM is a really bad um model to use in 2026.
[35:22] Um yeah but um through this example I I think the argument I’m trying to make here is that um just by linearly uh p predicting the ground information gain using the cumulative co occurrence between the pair of environmental tokens and language tokens uh we see that for modern language models architecture like transformer models and memba models you cannot simply attribute the information gain from first order co-occurrences but for some older models like OSTM which does not have attention mechanism um the the the learning can be purely explained by co- occurrences. So the question is what happened at the steps? Um can we look at uh the attention uh mechanisms in the transformer models and member 2 models and see what really happens mechanistically in this uh neural networks.
[36:23] And um now we are stepping into the second part of this presentation where we we are starting to move from behavior uh evidence to trying to give a mechanistic account uh for why this kind of a behavior would emerge in a neuronet network. So uh for people uh for people’s reference um mechanistic interpretability research has been pretty popular in the field of machine learning especially about trying to interpret some behaviors in neuronet network by looking at uh different layers of the model uh mechanics including the attention behavior or the gradients or the in the context of transformer the attention head or uh some other um the layers of deep learning. network and the function of them. And here a very useful um metric to measure um the information is actually the information flow um or the salency as um as defined here. So we do see that
[37:31] around um we do see in this uh plot of um information flow or saliency uh here in the y-axis is different layers of the 12 12 layer transformer model and x-axis is the training step and we do see that starting from around um four 4k training steps um around layer 7 to N there start to uh there start to be nonzero information flow and as training progresses we’re seeing more and more information flow within layer 7 and nine and actually when we look at uh the the emergence of a timing in this um in this information flow starting to be non zero is actually perfectly correlating to the uh peak uh to the peak of the R square training step which is also around for 4K training steps.
[38:32] And um beside this information flow perspective, another perspective we can look at is the representation perspective. And again by representation we mean the vector embeddings. So now um the goal is to translate the intermediate layer embeddings into the language interpretation or verbal interpretations. And the traditional way of doing this is to do logulence. Basically we uh if we given layer two we just skip all the layers and just attach layer two directly to the final layer of the model output and generate the output. And here uh in a recent paper people argue that a better way of doing this type of interpretability research is to is to tune a dby matrix which is a projector to project the layer two to the final output of the model. So here what we did is that we applied to the lens to the models that we obtained and
[39:32] we trained the projectors to project intermediate layers to the final layers and see the surprisal how much of the final pH surprisal can just be explained using the information up until certain layers. Does that make sense? Basically we are skipping some later layers and see if up until layer two you are able to explain everything in the final output. Okay. So here’s the result. Um uh as we can see in this plot um the surprisal drops um a lot from the beginning like the first layer to the second layer and then there’s a long plateau until uh later in layer um 6 7 uh in layer uh from 6 to 7 7 to 8 8 to 9 we see a sharp drop again in the surprisal meaning that um the models Somewhere in between layer seven and eight, the model learns a significant amount of ability to associate the
[40:40] language to associate the language token to the environmental token. And that means something is happening around layer seven and eight. And you see we we already see so many co coincidences around the mid layer of layer 7 to nine. um and the timing of around 4k step. So really the question is what really happened at this stage of training and add this few layers of the language models. So next we did a very thorough case study of um of [clears throat] the models u attention behavior. This is a really messy but um I want to show our preliminary uh or like qualitative results is that we we observe gather and aggregate mechanisms which is also uh um which is also uh proposed by this paper earlier. Um by gather head we mean that
[41:41] it collects the information from multiple preceding tokens to the new token. uh and operationally you can see here uh the model basically attend to all previous tokens and then send aggregate all the information gathered all the information to the next token and a aggregate head transform the aggregated information to one single position to another. So basically you can see um a single bright dot trans uh transforming the information from one token to the next token. Basically here it’s um it’s it’s uh sending the information uh from from this um um train to the word train and and the the gather head would look like a bright stripe in terms of attention visualization plots. So basically uh to to um qualitatively explain their functions, gather heads can just collect all the information from previous tokens and store them temporally there and the aggregate head would transform the information from one single position to another.
[42:53] Do we have any questions about this plot or people need more time to digest? It’s ominously silent. Does that mean that everybody agrees? Okay. Yeah. I think this uh let me let me just repeat what Chad GPT said to you uh as by way of a comment on where we are now. Chad GPT says, “What what empirical result would distinguish a model that has genuinely grounded a symbol from one that implements exactly the same crossmodal input output relations to an ungrounded but causally identifiable internal association mechanism. that criterion would make explicit what is meant by grounding in your talk.
[43:57] Yes. Uh it will come later uh in the in the causal oblations. Okay. We’ll wait. Yeah. I think for now we just want to mention the candidate hypothesis for the mechanistic that potentially can explain the grounding behavior is that we identify the gather and aggregate mechanisms in the attention pattern of the neural model and we hypothesis that the gather heads and aggregate heads can account for the symbol grounding like behavior that we observed earlier that happens in the in the in the in the middle late layers of the model and starting from around 4K training steps that counts this sharp drop of R square value. Okay, just one one followup for a second to keep it controversial. In the beginning when I asked you whether you were top down or bottom up, you said well both and meeting but basically more top down.
[44:58] Let me ask you, is there anything in what you’re planning to say now because you I haven’t given you a chance to say it yet that apply to the half and it’s [snorts] at least a half of the people that will be participating in this seminar who are concerned with bottomup in human children mechanisms underlying what is going on in the brains of those children. Are these layers there? Um I’m not sure if I will cover that within this presentation itself because I do believe that humans and artificial neuronet networks are fundamentally different learning systems and it’s reasonable to expect they expect they they have very different learning mechanisms even though they show similar behaviors and are comparable for certain reasons. Um, I think I need some time to think about it and answer. Maybe can you give me more time towards the later part of the presentation?
[46:02] Of course. Of course. Yeah, that’s a really great question. I’m just a little bit scared to answer it right now. Cool. Um so yeah going back to this we now by uh by eyeballing all the attention heads in the models we do identify the gather and aggregate behaviors in the attention head and we suspect that they’re correlated to the behavioral findings we observed earlier. And now let’s try to automatically and operationalize the gather and aggregate um mechanisms um um in the attention head. So we define a gather head to be if the model um concentrates 30% or or more of the total saliency in the row corresponding to the environmental token and we also define the aggregate head to be if the model have um 30% of the total CDC aggregated only in the single cell
[47:03] transforming from environmental token to its language token And um the next step is we want to do some causal intervention. So by causal intervention we mean that actually for neuronet networks you can just zero out the attention head. Basically just um you can just knock out the the whole attention head without uh affecting the the model behavior of running the model as a language model. So what we can do is that um as the causal intervention we can just zero out all the identified head of the certain type. For example, we can just zero out all the gather head or we can zero out all the uh aggregate head and as the control experiment we can zero out the same number of other heads in the same layer. For example, if we identify one aggregate head in layer 7 and two aggregate head in layer 8, we zero out one random um aggregate head
[48:06] that is not this uh sorry we we zero out one random head in layer 7 and two random head in layer 8 that are not aggregate head as the controlled experiment. Um and here’s the result. Um as we see in the in the in the in the early step of the training um zero like zeroing out the aggregate head and zeroing out the zeroing out the control group does not lead to any uh significant uh difference. Um however um as training progresses um if we zero out the aggregate head we see a sharp increase of and this is very statistical uh this is very statistically significant increase of the surprisal if we zero out the aggregate head. On the contrary, if uh on the contrary, if we zero out the control group, we do not see a significant um in increase of the
[49:10] surprisal compared to no treatment group. And um the same behavior only applies to the aggregate aggregate head. So that when we actually zero out the gather head, we actually uh see no statist no statistically significant difference in the final surprisal. And this experiment basically um means that uh we can reasonably claim that um the gather the gather uh sorry the aggregate head in the in in the language model is a uh can be uh is the is the account of such kind of a mapping from environmental tokens to language tokens because only when we zero out these uh functional hits the model’s performance over mapping the environment the tokens to language token gets impacted. However, when we break the gather head or break randomly selected heads, uh there’s not much kind of the impact in
[50:10] the final outcome of the language models. It’s like a neurosurgery but applied to the neural models without ethical concerns. And um we further uh studied um if um with more training step we can find more gather and aggregate heads. And actually this is true like uh as the training progresses we do see more uh gather head and aggregate head appearing in the model. And actually very interestingly uh we also uh calculate the average depths of these gather heads and aggregate heads and we do see that most of the gather heads happened around layer three and layer four. However, most of the aggregate head happen in layer six, seven and eight in the 12 layer transformer. So this again confirms our earlier um our earlier observation that somewhere between layer
[51:10] seven and eight there’s a sharp drop of the surprisal and actually starting from um 4K step something between layer seven and eight is happening so that the information flow is significantly higher and with all the evidence we have now uh we can um we can show this uh I I can show further this one example of a the child painting the picture of a horse and child says my favorite animal is the horse. We can see that if we normalize all the attention values in the whole model rather than per head. We can observe that there’s actually one single um really functional um attention head in layer 7 head eight that is mapping the environmental token of horse to the next token in the language. And when model is predicting my favorite animal is the what the model is only inciting the information of this horse and uh trying to map the information on
[52:15] horse to the next token which by definition is a mapping from one symbol to another implemented by such a um complicated and highdimensional uh neural model. Basically from this example I want to show that uh even though the model is a highly complex a highly complex system um given this um given this test bed the model is able to zero out most of the other attention values and just focus on one simple mapping essentially the whole model behave like mapping one token symbol to another token symbol from this example and this uh I would argue that from this minimal setup uh we do observe symbol grounding behavior in the model even though we never train the model to do so. I would uh stop here uh for any question or concerns or clarifications and go ahead.
[53:17] Um okay, can you hear me? Yes. Okay. Um I I find this extremely interesting and um please excuse this question if it’s very naive. I’m I’m not a computer scientist. Um I’m a linguist. No, definitely. Um uh I wanted to ask you if you go back a couple slides um to your experiment. Yeah, that that no, the one with the significance. Yeah, that one. Um I’m trying to understand a little [clears throat] bit here the the relationship between gather and aggregate. What I was expecting to see was that at the earlier steps in training, you might see some significance for the gather heads um and then the aggregate heads would come in um afterwards and I so I’m what I’m trying to understand is uh how you can get aggre aggregation without could you get aggregation without first having the gathering ing
[54:20] you know are there is there a dependency between them? Uh great question. So the gather and aggregate is um actually two independent mechanisms observed in neurotransformer models or any uh any language model that is trained based on attention mechanisms and they are two separate um mechanisms per C. And uh although people do hypothesis before this work that gather and aggregate had a strong association, my experiment showed that they actually don’t have strong association. And um our one of our follow-up ongoing study actually showed that when you um zero out the gather head, the model can self-reover by repurposing other uh attention heads for the purpose of gathering. So okay but the fun but but the aggregate heads are pretty functional. So when you knock out the aggregate head the model do not show do not show the ability to uh repurposing other uh attention heads as the aggregate head.
[55:26] Okay, something actually more interesting is that in our like ongoing experiment, we do see that different vocabulary uh are binded to certain attention heads but not the same. For example, the word apple might be layer 7 head eight. The word horse might be layer 7 uh attention head 10 or something. And uh we when we when we change the language template to prompt the model, we do see the same aggregate head to be responsible for one or a few uh list of vocabulary and that’s really interesting. Oh yeah. Okay. Thank you. Thank you. Yeah. Um but uh unfortunately we are still uh doing more follow-up work on this and uh there’s no manu manuscript to share but I’m personally really excited about the followup too. I couldn’t tell from your uh last words before the question whether you had completed your presentation and were officially in the question session or oh we have a more
[56:31] cool um so now earlier we presented the minimal test bed and uh this is basically a text only u proxy for a complicated multimodel setting and uh now now let’s actually um instead of this minimal setting we can alternatively consider um first um in in machine learning we have a lot of image captioning data set basically we pair an image to um a caption. So one possible way of repurposing the the previous the previous experiment is that we can get the caption of the image as the environmental description like this is a book and then we use the question answering to probe the model like can you name this object? Answer is the book language token. So the previous example can be um extended from simple child-directed speech to a more visually uh visually realistic setting and we can go one step even f even further just by replacing the environmental tokens by a
[57:38] real image while we still keep the question. And here a match and a mismatch we can use uh we can use image editing models so that we can remove certain contents from the same image and try to make sure there’s minimal change between two pairs of image and this is a this is an example of the real vision pairs we observed like uh this is the match condition where it’s a bookshelf of a lot of books in it and we use image editing model to remove all the books in this bookshelf and the question we ask what do we have here and we’re trying to calculate the model’s probability to assign books given a matched condition like this versus a mismatched condition like this so that the previous minimal setting can be reasonably extended to a visual language setting. And now when we train the model we use a visual language corpus instead of the previous uh child directed corpus. And um again we can we are able to replicate the behavioral evidence we observed earlier. So here uh we can see that um
[58:47] [clears throat] with both the caption setting and the real image setting we can see the ma the match case uh the the there’s a there’s a sharp gap of the information gain between the match case versus the mismatch case. And again we we we show this uh pattern where over time the R square value uh goes up first and then gradually go down. Although uh given our limitation of compute we are not able to run this experiment for longer training steps but we do see the R square starting to go down and the model is still learning. uh I think it’s very unfortunate for academia to conduct this type of uh uh really large scale experiments and I honestly feel already really blessed to be able to even conduct this experiment. Uh but yeah, we do we do we are able to replicate the previous um experiments in real captions and even real images.
[59:48] And again we can even replicate the previous attention analysis. For example, the case of uh an apple, we do see like here we see uh in the later stage of the model, there’s this kind of um uh there there’s this kind of uh gather behavior. And in this image, of course, we see another gather behavior happening in the visual language setting. And uh when we look at or zoom in to the specific gather head we identified, we are able to actually identify this kind of a single shining uh patch um single single shining cell that maps the information from one specific image patch to the word of this kind. This example is llama. This example is beer. uh basically the same kind of uh aggregate uh uh the same kind of aggregate head can still be identified in the model even if it’s a
[1:00:49] real visual language model and again we also uh replicate the previous causal intervention study and um because visual language model is a lot more nuance um we now try different threshold of the information flow um uh from the object region to the linguistic tokens and here uh for whatever a reasonable threshold was set actually we we tried way beyond 70 and 90 but like we’re just showing 70 and 90 for example uh we are able to replicate the previous finding that if you remove uh or zero out the aggregate head you see a sharp drop of the s sharp sharp improve a sharp increase of the surprisal meaning that the model gets more confused by which token to predict for the next and on the contrary If you randomly zero out um other non-agregate head in the same layer, you do not see a statistically significant uh difference between the control group versus no intervention group.
[1:01:56] And um yeah, this is um how we replicate the previous results by training a vision language model from scratch. And uh we are almost at the end of the presentation and uh let me do a quick summary and I’m happy to answer questions and have discussions with everybody or do more clarification. So the summary is that I hope that through the experiment through through the experiments I just um proposed uh we are able to uh starting to um explore language model as a possible subject to study symbol grounding. Um and especially I want to argue that symbol grande can be seen as an immersion capability of language model or vision language models and we should really reconsider the argument that large language model do not have grounding just because they are connectionist statistical device uh that has no intrinsic symbolic structure. We just showed that in in attention mechanisms we are able to identify very um
[1:03:00] mechanistic and symbolic structure represented by uh by a language model implementing aggregate heads and this is a very symbolic structure even it’s a highly uh highdimensional neural model and also as a um practical implication um it’s also useful to um for engineers to make full use of the findings and reduce object hallucination of language models to improve factuality for future influ uh for for future uh development. And um I have a more um comprehensive blog post version if you’re interested. I even include negative results and intermediate results and a lot of interesting uh partial results for future work here in this blog post. Um, so I will uh send the slides later in the chat and uh I hope if people are interested feel free to give it a read and uh thank you so much for listening to this presentation and um I’m happy to do a lot of clarification. If I didn’t
[1:04:07] fully communicate the settings or the findings or you want to have a debate on whether this is um a valid argument, I’m u open to everything. Thank you so much. I hope that first of all I want to thank you and I very sincerely because that was an extremely articulate presentation in which every point that you made you are in a position to defend logically and empirically so wonderful it’s I couldn’t have asked for more and in fact the next speaker in this series next week will be Googleman who you just uh you just cited on that objection and he’ll he’ll probably make the objection I’m going to um I’m going is start the questions. I hope there will be others who join me. I’m going to start the questions with some very general notions and all of this in the is in the light of what I just said about your presentation which was incredibly good. Couldn’t have asked for better. Thank you. you are everyone here and not just everyone here but but everyone on the planet who’s been listening or paying
[1:05:13] attention is shocked and impressed by the immense power of uh these generative models. It’s undeniable. They can do with words. I I’ll get to your kind of material in a moment, but with words, they can do things that nobody could expect could be done that way and have proved extremely useful and now apparently even quite dangerous to the status quo. I think also it’s wonderful that you use the child’s data because the child’s data goes beyond the leasebar data which used to uh estimate how early something was learned in in uh the child’s life by recollections from an adult to when they rank ordering of when it is that they remembered these words. That’s very weak. There’s no question the child’s data which is taken in real time what the child says and does and sometimes
[1:06:16] even visual im imagery um is much richer and so it’s natural that in multimodal work you would want to use that kind of data as well and you do so it’s it’s maybe uncharitable to say but there’s an awful lot that happens when a child really learns language and not just that they you you said earlier that their brain is different and so they’re doing it in a different way. They’re not doing the same it at all. Children learn to speak and learning to speak doesn’t just mean speaking words to other words. It’s it’s that what happens in the child’s word is not images and words but actions on a world. Yes. Their bodies. Yes. And I didn’t think you would disagree. And I’m wondering because I’m I I respect what you’re doing. I’m wondering whether you see a a channel for this
[1:07:19] special new virtuosity that has been shown by generative approaches that could be applied to the real thing which is learning the language from interaction with the world. Yes. Um I can share on this actually I have a paper under review at a journal. I cannot say too much for academic integrity but the high level idea is that I show that uh if you pair an AI or a vision video language model the ability to learn by simulating the outcome of actions and what I say by simulating the outcome of actions is that predict the visual embeddings of the outcome image in the later part of the video and the model can just generate text token as a proxy for action and then we let the model learn these words by predicting the visual outcome. The model can learn these words much better and much faster and uh
[1:08:22] that’s an example where I feel is a limitation of this work because in this work I am primarily studying nouns and adjectives and those are only concrete nouns and concrete adjectives that can be groundable to a previous context. But in some other works that I was um doing uh I do show that for concrete actions and action verbs you can also grounded to the causal transitions in the perceptual world and that helps the learning of the word and um there’s another word another work that was accepted to uh knack North American cha chapter of uh ACL uh basically the conclusion I I I was making there was that even for abstract words like uh functional words or predicates you are able to learn them by uh social interactions with others by trials and errors in the linguistic context in the social contrast and if you do that the the language model will learn in much more much more faster. So
[1:09:28] I think it’s still useful and uh important that um the words or the language symbols are learned by grounding them to the perceptual action and even social linguistic context um which this current work that I presented does not cover good answer I think and by the way I’m encouraging everybody including here in the room if you’ve asked your question even if you’ve asked it French and it’s still pertinent in French on your in what you sent. If it’s still pertinent to the presentation, please raise your hand, but I want to pursue. Yes. Okay. I I knew it would be you. Speak very loud. Okay. You have to compensate for the fact that Do you hear me? Yes. I have a Yeah, I have something to clear about. Uh what are the environmental token? I didn’t understand because for me it was image patches but it’s not
[1:10:32] oh you mean uh the vision case yeah the when you compare the mapping between the language tokens tokens and the environmental tokens okay the environmental tokens cool uh yeah sorry for not uh explaining this more clearly In the context of a modern vision language model, the way that a computer scientist would approach this is that for each image, we can split them into small image patches like this and then we render we send the we send the patches in the rasterization order to the language model so that the language model would receive u patches as uh the same dimension vector like the language tokens. So essentially uh you can see you you can consider an image patch as the minimal symbolic unit perceivable by the uh visual language model in the context of modern um AI models.
[1:11:40] Okay. Thanks. Yes. Go ahead. Just a quick question for you. Uh thank you for your presentation. Um I’m just wondering if um this mechanism uh I’m I mean uh gathering and aggregation are applied for instance for u medical imaging. Um if you have any uh response yeah I don’t know if you already applied the your this is a good question. Yeah. So for uh the work that I was doing uh this work does not involve medical imaging. So all of my answers coming after this is a educated guess [laughter] not really a um conclusion. Um I think in general I would generalize or abuse the word grounding uh to be um any reliable binding from one data source to another
[1:12:42] data source. And if you believe there’s um many units in medical image and that can be mapped to other units for example another um um for example like dis language tokens or like uh speech whatever modalities if you believe that there’s a mapping I think it’s um from my experience with industry language model it’s very likely that certain kinds of similar similar um attention mechanism would emerge if you have enough and high quality data that is based on my uh experience of training modern uh models like chat GBT and stuff so much. It’s unlikely in fact that what that your work and work like it will not
[1:13:42] prove to be applicable to uh things like medical imaging because medical imaging doesn’t involve grounding at all. Yeah. And that’s my guess. Right. So now let me ask you a question about what is actually about grounding the Yeah. Okay. Before I do go ahead uh just before because I think it stands the crux of it. I just need a clarification on what is actually meant when you say grounding or grounding like behavior cuz um usually when I hear the word like symbol grounding it’s to actually escape the word of the world of the symbols only feature because when humans are grounding we are using our sensor capacities to like know what the meaning of a word is. So when I say apple, I know what an apple is, not just the word apple. Yeah. Uh maybe we missed the first slides. So let me reexlain here. In the context of visual language model, I
[1:14:45] think it’s useful and will only be useful if we consider what are the meaning symbols perceived by these models. So I would uh define symbol grounding in the context of visual language model to be how discrete linguistic symbols that is tokens can acquire their meaning by mapping to visual perception. That is the that is the pixel patches I I I I described earlier. Pixel packages are tokenized visual input. Yes. But language grounding and I’ll I’ll be specific that we’re talking about language and we’re talking about content words of which nouns and verbs are some but there are others as well. Yes, language is about the relation between embody a step back. Last year’s theme for this seminar was the the 17th 75th anniversary of the touring test.
[1:15:49] And the torine test in in my judgment was passed by generative AI in somewhere in the in the 2000 years two from 20 from 2000 on. So that’s settled. That’s the that’s the conventional touring test which is matching words to the words of others in such a way that the other which is presumed to be a real human cannot tell that they’re not talking to another human being grounded in the real world. When when the human being says I like to read books or I like the taste of apple apples the assumption by the user is that when the user hears the model doesn’t know it’s a model but say the words that a normal person would say in connection with knowing what you mean by saying I like apples that that’s all there but we know that it’s not there
[1:16:53] and that comes to the other version of the touring test which is not the verbal only version that was originally formulated in 19 uh 50 but the robotic version which the test is can the robotic candidate that is walking around the world like we are not just chatting with us in text but walking around the world can can it behave indistinguishably from me from someone who’s actually interacting with well the the the same world I’m in that’s the robotic version of of during test T3 now I’m coming back to your image tokens and image tokens get you to that rather than just another version of the original touring testing which is not just words but it’s words and images this is a great question um I I actually I worked on robotics a lot before I uh when I was a PhD student. Um
[1:18:01] my genuine answer is that I don’t think vision is the major bottleneck for robotics right now because um even though there has been years of debate probably still here probably we still have this debate right now that if visual patches are enough for visual perception for AIS um with the recent progress in GPT6 Astra and a lot of modern frontier models We do see that um they’re already demonstrating beyond human visual perception, visual understanding capability in various domains including medical imaging, including uh 3D understanding and even long video understanding and small object recognition. So I might I genuinely don’t think visual patches would be the bottleneck for having a robot that pass robotic touring test per
[1:19:05] your description. Um I do think that action or physical action or control is a um or how to translate language into continuous control signal is the major bottleneck. The reason I’m saying is that we do have access to internet images and videos so that modern vision language models can have access to way more information and visual input compared to a human would ever like even you even if a human record their own life you can get the same amount of information trained in a modern model. However, we can not easily scale up uh how we act and control our actions and how we interact with the world. Even if in modern robotics people are using teddy operation or ooi by omi it’s basically like you’re holding the robot hands to do something so that you’re helping the model to learn and we record the data for training the robot like
[1:20:12] even if we have teddy operation and um is it is still very hard and the human label human labor demanding to uh collect this type of data. However, like for vision and the text, it’s almost free on the internet. You just need to collect them and process them and but but for robotics, it’s not possible. And uh we don’t even have a scaling law for robotics and such that we don’t have a robotic foundation model and we never like personally I don’t believe that we ever seen a GPT3 moment for robotics yet. We do see a lot of cool demos, but I tend to believe that they’re somewhat demo maxed and the methods are not reliably scalable. I agree with you with everything you said and uh I wonder though whether you’re underestimating the difference between tokenizing optical patches
[1:21:16] and tokenizing dynamical systems in the world. robotics robotic capacities robotic capacities are dynamical. How do you tokenize that? Um I think the major issue is actually uh in real robotics even if it’s dynamical the actions are still like um like for example it’s a 24 tupless continuous integers that you need to fill and send to the model. So with reasonable data, it’s actually already we already see really promising demos from OpenAI and Anthropic in building or fine-tuning a visual language model off the shelf into a robotic model. They’re able to do peak and place navigation and some easy interactions. I still think long horizon and fully autonomous robotics is hard for now mainly due to
[1:22:19] the latency because model need to think and channel thought a lot in a very unhuman way and uh as humans a lot of our actions are pretty I would say it’s in it’s a intuitive actions that you don’t need to think about it you just do it and those are not yet happening in current AI models I do see there is momentum there though. You were right to say that in the case of words and images, we’re rich. In fact, we’re richer than any brain could be with what’s available already. Yes, we’re not rich in in dynamics. And one of the reasons that this is called multimodal is I’m thinking of all of the other modalities you have to include there. And we certainly don’t have them available. someplace online or offline. They have to be generated dynamically.
[1:23:19] Um I think one reasonable and very one popular a popular direction in robotics is seem to real which means that you build a robot by massive simulation in simulators, computer simulators and then try to bridge the sim simulation to reality gap by doing lightweight fine-tuning. And recently um one of the top priority of Frontier AI labs is to reconstruct the real to sim. For example, given the video, how can you generate Blender or Unreal or other simulator assets that physically represent the whole physical process by just doing graphical programs and physical simulation? And we already see surprising performance of new open AAI models on this. And one possible direction that I would guess they will pursue is actually to do real to seam and then scale up simulation for robotics in realistic in realistic
[1:24:22] realistic environments and then do another round of sim to real for fine-tuning with um human collected teddy operation data of robots and I think it’s a very likely um technical approach to lead to highly capable robots. But I am not sure if this is the way that human learns and I’m also not sure this is um scientifically useful way of how we understand how we pick up our embodied capability. I see that mostly as a engineering artifact rather than a scientific approach personally. Can I ask very first question? Go ahead. Yes. Uh it’s a general question. How can we it’s about emergence. How can we know or what are the tests that we can do? Uh so how can we know that this behavior is really something creative and genuine and not something hidden inside the data
[1:25:27] that the system has learned and it is just presented to us in a different way. And I’m not talking about searching for new solutions like finding a new solution similar to for example optimization. I’m actually very yeah I I I do believe like in terms of generalization I do believe interpolation meaning that you can do compositionality within the data you train on. I’m very pessimistic about extrapolation that I don’t believe current paradigm of deep learning will have any forms of extrapolation like I genuinely don’t think uh there’s any so-called novelty um by the current deep learning paradigm uh the the way that you feel it’s very creative is really because um they already seen in the data because the data are over I cannot I’ll leak the numbers but like it’s like trillions of tokens and uh there’s nothing new for the Exactly. Very huge. Very nice answer. Thank you.
[1:26:30] Very good, Mario. Good good question and good answer. Now we I’m being very blunt actually about my position. It was I think you’ve done a wonderful job and I hope you’ll had have a chance to have a look at we’re going to have roboticists in this series. We’re going to have every real people that work with real children with real learning with real and and get a chance to add. I really would like to hear your what what your brain produces in response. Thank you. Thank you. I will I’ll check out if I don’t have meetings. Okay. Thank you. We’re gonna cut. Okay. So I guess thank you