Skip to content
32 - Understanding Agency with Jan Kulveit episode artwork

May 30, 2024 2 hr 22 min

32 - Understanding Agency with Jan Kulveit

from AXRP - the AI X-risk Research Podcast

What's the difference between a large language model and the human brain? And what's wrong with our theories of agency? In this episode, I chat about these questions with Jan Kulveit, who leads the Alignment of Complex Systems research group. Patreon: patreon.com/axrpodcast Ko-fi: ko-fi.com/axrpodcast The transcript: axrp.net/episode/2024/05/30/episode-32-understanding-agency-jan-kulveit.html Topics we discuss, and timestamps: 0:00:47 - What is active inference? 0:15:14 - Preferences in active inference 0:31:33 - Action vs perception in active inference 0:46:07 - Feedback loops 1:01:32 - Active inference vs LLMs 1:12:04 - Hierarchical agency 1:58:28 - The Alignment of Complex Systems group Website of the Alignment of Complex Systems group (ACS): acsresearch.org ACS on X/Twitter: x.com/acsresearchorg Jan on LessWrong: lesswrong.com/users/jan-kulveit Predictive Minds: Large Language Models as Atypical Active Inference Agents: arxiv.org/abs/2311.10215 Other works we discuss: Active Inference: The Free Energy Principle in Mind, Brain, and Behavior: https://www.goodreads.com/en/book/show/58275959 Book Review: Surfing Uncertainty: https://slatestarcodex.com/2017/09/05/book-review-surfing-uncertainty/ The self-unalignment problem: https://www.lesswrong.com/posts/9GyniEBaN3YYTqZXn/the-self-unalignment-problem Mitigating generative agent social dilemmas (aka language models writing contracts for Minecraft): https://social-dilemmas.github.io/ Episode art by Hamish Doodles: hamishdoodles.com

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

32 - Understanding Agency with Jan Kulveit

0:00 2:22:29
of matches

Transcript Auto-generated, may contain errors

Hello everybody, in this episode, I'll be speaking with Jan Kollweit. Jan is the co-founder and principal investigator of the alignment of Complex Systems Research Group, where he works on mathematically understanding complex systems composed of both humans and ais. Previously, he was a research fellow at the Future of Humanity Institute focused on macro strategy, AI alignment, and existential risk. From what we're discussing, you can check the description of this episode, and you can read the transcripts at AXRP.net.

Okay, well, Jan, welcome to the PODAS. Yeah, so thanks for your invitation. Yeah, so I guess I'd like to start off with this paper that you've published just in December of last year. It was called Predictive Minds, Large Language Models as a typical active inference engines.

Can you tell me roughly what was that paper about? What's it doing? Yeah, so the basic idea is there's like this inference as a field originating in neuroscience, like started by people like Carofristen, and it's very ambitious. It claims like the active inference, folks claim like roughly, yeah, we have a super terrible like theory of agency and living systems and so on.

And yeah, there are like OLMs, which are not living systems, but they are pretty smart. So we are looking into like how close the models actually are. Also, it was in part like motivated by, like if you look, for example, the simulators like series or like frame by JANUS and these people on sites like alignment forum, like there's this idea like OLMs are something like simulators or like there is like other frame on this, like OLMs are like in the predictive systems. And I think like this terminology is in part like a lot of what's going on there is basically like an inventing stuff which was like previously like described in like this inference or like predictive processing, which is another another term for like minds which are like broadly like trying to predict their like sensor inputs.

And it seems like or like it seems like there is a lot of similarity and actually a lot of what was like invented in the alignment community seems basically the same concepts just given different names. So now the single similarity, actual question is like in what ways are current like OLMs different or to what extent are they similar or to what extent are they different. And the main insight of the paper is the main domain defense is currently like OLMs like they like the like fast like feedback rule between kind of action and perception. So if I, if I have no change the position of my hand, like my what I see like immediately changes.

So you can think about in this metaphor or like in this, in this, if you look on like how the systems are similar, like you could look on like base model, base model like training of OLMs as some sort of like stanch edge case of active inference or predictive processing system, which is just sensing it's just like receiving like sensor inputs, where the sensor inputs are tokens, but it's not acting it's not like kind of it's not changing some data. And then the model is trained and like it maybe changes a bit in like instruct fine tuning, but ultimately when the model is deployed, we claim that you can think about the interactions of the model with users as sections is because what the model outputs like ultimately can change that in the work, like people will post it on the internet or take actions based on what the LM is saying. So like the kind of the arrow from the system to the work like changing the work like exists, but the feedback group from the model like I think to the model like kind of like learning is like not really close or like it's like not really fast. So that's the main observation, and then we ask the question like what do you can predict if the feedback group like it's like tighter or gets closed?

Sure. So I guess the first thing I want to ask about is so this is this is all kind of comparing what's going on with large language models to active inference. And I guess people probably most listeners have a general sense of what's happening with language models. They're basically like things that are trained to predict completions of text found on the internet.

So they're just like very good at text processing. And then there's a layer of you know, try to be you know helpful, you know, try to say true things, try to be nice on top of that. But mostly just predicting text data from the internet, didn't pre-text. But I think people are probably less familiar with active inference.

Like so you said a little bit about it, but can you elaborate like what is the theory of active inference? Like what is it trying to explain? Yeah, so I will try but I should come at it. I think it's difficult to explain active inference into hours.

I will try in like a few minutes. There is now actually a sort like a book which is at least decent or like not a lot of the original papers are sort of horrible in like in a way switching in which they are presenting things. But now there is a book. So if you are interested more in active inference, there is there is a book where like at least like some of the chapters are like relatively easy to read and written in a style which is not confusing as some of the original papers.

So like this is kind of what's about cold. Yeah, it's called so it's called active inference. The free energy principle in mind brain and behavior but the main title is just active inference. So it's by Kyle Frisson and Thomas Barr and Chirvanipa Zulu.

Yeah, it'll be better to link somehow. Yeah, there will be a link to it. So very attempt to explain active inference. So you can think about like how human minds work.

Like historically a lot of people are thinking like when I bear see stuff, something like this happens. So like some photos hit my hit photos in my eyes and there is like very like high bit rate like stream of sensory data. And it's like passes through the layers like deeper in the brain. And basically a lot of the information is like processed in kind of like forward way that the brain kind of like processes the inputs to get like more and more like abstract like representations and like at the end is some like fairly abstract, maybe even symbolic representation or something like that.

So that's that's some sort of like classical picture, which was prevalent in in cognitive science as far as I understand for like decades. And then some people proposed, it actually works the opposite way with the brain where the assumption is like brain is like basically constantly like running some like generative work model. And our brains are constantly trying to predict sensory inputs. So in fact, I'm for example, now I'm like looking on a laptop screen and I'm looking on her face.

So the idea is like it's not my brain is like in the like every frame like trying to process the fame, but like like all the time it's like trying to predict like this photoreceptor will be activated to this level. And what's propagated in the opposite direction is basically just the defense. So it's just prediction error. So like for this reason, like another term like kind of like in this field, some people may have heard it's like predicted processing.

There is a long astral corrects. Oh, it's there's a long like slight star corrects post a review of a book called surfing uncertainty by Andy Clark. So that's slightly old frame, but the surfing uncertainty is probably still the best like book long like introduction to this kind of like field in like never sense. So the basic claim is like, okay, I'm constantly trying to predict like sensory inputs and I'm like running a world model all the time.

And then active inference make a bold and like sort of like theoretically elegant move. If I'm like using this machinery to predict sensory inputs, the claim is like you can use same basically same machinery to basically predict or like new actions. So for example, let's say I have some sort of forward oriented belief that like I will be holding a cup of tea in my hand in few seconds. So predictive processing like just like on the sensory inputs level, like would be like, okay, what I'm not holding the cup?

So I would like update my model to minimize the prediction error. But because I have some some some like actuators, some hands, I can also change the word so it like matches the prediction. So I can grab the ball and now I'm like holding a ball and the prediction error goes down by like me minimizing basically me changing the words to match my model of what the word should be. And the bold claim is like you can basically describe both things by the same equations.

And you can use like very similar like neural architecture in the brain or like very similar circuits to do to do both things. So I would say that's the basic idea of active inference. The claim that like our brains are like working as this like approximately by some prediction machines, I think the predictive processing just the they are like predicting our sensory inputs. I think this is like fairly non controversial now in neuroscience circles.

I think the active inference like the the claim that like the same machinery or the same equations are guiding actions, it's like more controversial or like some some people are like string proponents of it, some people are not. And then they're like, I would say like over time, like more and more like ambitious versions of English inference like developed. So like currently, kind of listening and some other people are basically trying to extend the theory to a very broad range of system, including like all living things and like grounded in physics. And with some of the claims, I'm like my personal view is like, I'm not sure if it's not the kind of like over extensive or if the ambitions to like explain like kind of everything with like the energy principle, if the ambition isn't like kind of like two bolts.

But at the same time, I'm like listening to some effort like something like let's let's have something like physics of agency or like let's have something like physics of intelligence systems. And I think like here also some connection to alignment like comes in where like I think like our chances to solve like problems with like aligning like I systems would be would be higher if we had basically something which is entased more like physics of intelligence systems than if we have a lot of like characteristics and like kind of like empirical empirical experiences. So back to the difference, it's it's a it's based on this idea and there is some like mathematical formalism. And it should be it needs to be said, I don't think mathematical formalism is kind of like fully developed.

I don't think it's it's kind of like finished theory, which you can just like write down in a textbook. My impression is like way more similar to how I imagine like physics like looked in 1920s where like people are like developing quantum mechanics and like a lot of people had different ideas and it was confusing what formulations are equivalent or like what does it mean in practice. And I think the like kind of like if you look on a theory in development, I think it's like way more messy than how people are kind of like used to interact with like theories which were like developed like hundreds ago and like distilled into a nice like cream shape. So I don't think the effect that like difference doesn't have the nice cream shape it is some sort of like very strong evidence that it's all wrong.

Gotcha. Yeah, so I guess one question I have about the active inference thing is so you mentioned the kind of the controversial claim or the claim that strikes me as my interesting is this claim that that action as well as perception is unified by this minimization of prediction, predictive error in basically the same formalism. And a thing that seems wrong to me or questionable to me at least is so classically like that is a way people have talked about the distinction is direction of fit right. So in terms of beliefs right suppose that like reality doesn't match my beliefs like my reliefs or ones that are supposed to change but you know in terms of desires or preferences when I act I change reality so as to match my desires rather than my desires to match reality right.

So to me if I try and think of it in terms of a things of minimize predictive error like with perception you said that like the differences between the predictions in reality are going like from my perceptions back up to my brain. Yeah, or it seems like for action that difference has I would think it would have to go like from my brain to my hand. Yeah, right. Is that a real difference in the framework at least?

So in the framework like how it works in the framework it's more like you can do something like conditioning on future state like conditional on me holding a cup of tea in my hand. What is the most likely position of my muscles like in the next? Like similar to me like predicting like in next frame like what my what my activation of photoreceptors is I can make I can make inferences of the type like conditional on this state in future. Like what's likely position of my muscles or some like kind of actuators in my body and then this kind of like leads to action.

So so it's I think like in theory there is some like symmetry where you can imagine like some like deeper deep down layers are thinking about more like macro actions and then kind of build the layers like closer to the actual like muscles are kind of like making like more and more detailed predictions like how specific like fibers should be stretched and so on. So I don't see clear problem at this point. I think there is some I think there's like a deeper problem like how do you encode like how do you encode something like preferences where by default like by default like if you would not do anything about what we have as preferences the active inference system would basically try to make its environment like more predictable. It would like explore a bit so it like understands like where it's like sensor where it's sensor inputs are coming from but the basic the basic framework doesn't have built in some like drive to do something like evolutionary useful which is a solved by a few different ways but the main way how so in the original literature like how is it solved it's like called and I think it's like super unfortunate choice of terminology but like itself mechanism of like fixed priors so that the idea is for example evolution somehow so let's say like my brain is like receiving some sensor inputs about my like body temperature and the idea is the prior about this kind of sensor inputs it's like evolutionary fixed and it means that if and my body temperature goes down and I just don't update my work model or my body model and I can't just like be okay with it but the this like prediction error term like would never never go like the the belief will basically never update it's why it's called like fixed and I think the word prior is normally used to mean something a bit different but basically you can you have some sort of like fixed point or like fixed belief and this is kind of driving the system to like adjust the reality to match the belief so by this like you have some sort of like drive to action then you have the machinery like kind of going from some like high level trajectory to like more and more like fine games like predictions of like individual muscles or like individual words so that's that's the basic frame sure um yeah so there's some sort of like probability distribution thing she may or may not want to call it prior and maybe it's like maybe the like fixed prior thing is like a bit abstract or I guess for things like body temperature it has to be like kind of concrete in order to free to continuously be regulating your body temperature but to explain like why different people go into different careers and like look at different stuff so I think this actually I think like the part of the like fixed prior or like this this machinery like to me I think like it makes a lot of sense if you think about so so this is this is kind of my guess the like big evolutionary story so if I personified evolution a bit like I think like evolution basically needed to invent a lot of control theory for like animals or like simple organisms or like simple animals like without like these like expensive like energy hungry brains so I think like evolution like implemented a lot of control theory and a lot of like kind of circuited to encode like evolutionary like advantages state like by and on like chemicals in the blood or like evolutionary older systems and if you have so so you can imagine like evolution has some sort of like functional animal which like doesn't have advanced brain so I'd say then you sort of like invent like this like super like generic like predictive processing system which is like able to predict sensory inputs so my guess is like you obviously just like try to like couple the predictive system to the evolutionary older control system so it's not it's not like you would like start like building from a scratch but like you can kind of like plug in some like inputs which would probably mean like some sort of like interceptive inputs from the like evolutionary older like mechanisms or like circuits and like you feed that into the into the like neural network and like the neural network is like running some like very general like predictive predictive algorithm but by this mechanism you sort of don't need to like you don't need to solve like how to encode like all the like evolutionary interesting states like how to communicate through neural network which is difficult to like the like there are not enough bits into BNA to specify like and not what career you should take or something like that but there are probably like enough bits to specify for like some I don't know like simple animal there is probably like enough bits to specify that the animals should like and not like see food and like mate and like keep some like whatever integrity and maybe in social species like they just like high status and and not and like this seems like enough and then if you kind of couple this like evolutionary older system with the predictive like neural network like the neural network will like sort of like learn like more like complex model so with for example is the fixed by unbody temperature you can imagine like this is this is the thing which was like evolutionary fixed but over time I learned stuff like okay it's now like outside it's like maybe like 10 degrees Celsius so I sort of learn I believe that like in this temperature I will typically wear a sweeter or a ticket outside and this sort of beliefs basically becomes something like a goal like when I'm going outside I will have like this like strong belief that like I will probably have a sweeter on me so in the predictive processing slash if you influence like frame like this belief that like I when I will be outside I will have some warm closing on me causes me to kind of like causes depression that like I will take the closing when going outside and then then like like you need the coupling with the this the fixed with the evolutionary pressure is basically just for like boot stepping but like over the lifetime I have learned like a learned network and like it it's it follows like sensible like sensible policies in the work and the policies don't need to be kind of like hard coded by evolution so that's that's my guess so I guess the picture is something like the the active inference comes like we have these like fixed fires on like relatively simple things like you know be like you know have a comfortable body temperature you know have offspring like be you know have enough food to eat but like somehow the prior is that that is true like 50 years from now or like five years from now or something and in a complicated world where you know different people are in different situations like the the predictions you have to make the predictions you make about like what's happening right now condition on those kinds of things holding like multiple years in the future in this really complicated environment that's why it's like really complex behavior and kind of different behavior by different people yeah also I think one slightly I don't know like maybe it's a stretch but like one at the fourth sometimes I sometimes think about it this time imagining the evolutionary older circuitry as some sort of I don't know like 50 000 lines of some like Python code like implementing like I don't know like immune system and and various like chemicals like released in my blood if stuff happens and so on so you have you have some sort of cybernetics or some sort of like control system which is like it's just kind of like able to control a lot of things in the body and you kind of make the coupling on some like really important like variables and then it works like the way you described sure so this is kind of a weird question but on this view why are like why are different people different but like like I observe that you know different people are like different skilled at different things like they seem like they have different kinds of preferences like like it seems like there's more variation among humans and I think I would predict just based off of like people are in slightly different situations if they all had the same like underlying evolutionary goals that they were like you know back propagating to the present they have they have like pretty with this like very different training data you can in this picture like you have like when and now when the human is born like the predictive processing like never will substrate is in a state it's just not and though it's not like 100 percent like blank state but it doesn't need to have like too many prayers about the environment like in this picture like you kind of like need to learn like you need to learn like I don't know how to move your hands or like how how different like senses are a couple like you kind of like learn a lot of the dynamics about of the environment and also I think like what I described so far I think like it's barely fitting for let's say animals but I think like humans are sort of unique because of culture so my model for it is the predictive processing substrate is like so general that it can also like learn to kind of predict into this like weird domain of like language so again a slightly strange metaphor would be like if you are in like learning to play a video game like most teams brains are like so versatile if like even if the and all the physics in the game works differently and like there is some like bunch of unintuitive or not really like same as neutral work like dynamic like our brains are like able to pick it so you can imagine in a similar way as we are like able to learn not to die for a car or something like like the brains are also able to pick this like super complex and like super super interesting domain of language and culture and this basically gives you so again like my speculation is like this gives us something like another implicit work model like based on language so let's say if you tell me to imagine some animal in front of me I am not my simple model is like there is this language based representation of the word and some sort of like more like resource spatial representation and like there is some prediction mismatch like between them so so you have sort of like another like energy model like running on running on words and like language also like implicitly is a word model so this adds a lot of complexity to what people like want or like what sort of concepts like we use but I think like a lot of for like explanation of a lot of like why people want like different things like I think like a lot of it is explained just by different data like like people are like born in like different environments unfortunately like some of the environments are like for example I don't know like less stable or like more violent so you can imagine like if someone as a kid is in some environment which is like less stable people like learn like different like prayers about like risk and like you can explain a lot of like strategies by just by like different like training data but I think the like the cultural evolution layer like it's like and there's some kind of like important part with like makes like human humans gosh yeah um I definitely want to talk about cultural evolution but a little bit later um I think like so I guess I still have this question about um prediction and action in the predictive process of framework or in the active inference framework rather and so what degree they're unified so if I'm trying to think about how it would work it seems to me that in order for like like what's the difference between my eyes and my hands right like it seems like for the predictive for the prediction error mismatch to work properly the difference between prediction and reality has got to go from my eye to my brain um so that my beliefs can update but it's got to go like from my brain to my hand so that I can like physically update the world and it seems like that's got to be the difference between like kind of action organs versus like um you know understanding the world organs does that sound right yeah I don't know maybe it's like easier to look on it on a specific example so if I take the specific example of like me holding the cup yeah if the prediction is if there is some like high level prediction where I'm now like I'm imagining my visual field like contains the hand with the cup yeah like I think like the the claim is the mask like it's like similar in the sense that you can ask uh why is it called like inference it's like you can ask the question like kind of conditional on that state in future like what's the most likely position of my muscles and then how it propagates in the hierarchy would be like okay there is some like broad like coarse-grained position of my muscle and uh you can imagine the lower layers kind of like filling in the details like how specific like muscle fibers should be contracted or something but no this to me it doesn't sound like the process by which like you start with like somewhat like more abstract representation and like you fill in like fill in the details I think this is this sounds like to me like actually fairly similar to like what would happen with the photoreceptors and what it ended then the prediction error propagated back would be mostly about like if the for example if the like if the hand is like not in the position I assume it to be like it would it would work as some control system kind of like trying to move the muscles into the exact click or click position but it seems like there's got to be some sort of difference where like like suppose I have a prediction that my visual field contains a cup and the prediction is currently off but I have a picture of a cup next to me yeah right like it's not supposed to be the case that I like but then look at the cup and then look at the picture of the cup and now like everything's good right like my hands the thing that's supposed to like actually pick up with a cup and my eyes are supposed to like tell my brain what's happening in the world right so it seems it at least seems like those who've got to interface with the brain differently so I was like confused with the idea of the so we have so there's some picture of a cup which is different from the actual cup or like what situation yeah so I'm imagining that like so we're imagining that I'm going to like pick up the cup there's a physical cup in front of me and next to me there's a picture of that same cup but like my hand is it's a picture of my hand holding the cup yeah right and like the thing that's supposed to happen when I predict really hard that you know in half a second I'm going to be holding the cup is that you know my my eyes are constantly sending back to my brain what way is the world different from me currently holding the cup and my you know my my motor you know my muscle fibers are moving so that my hand actually like holds the cup right and what's not supposed to happen is that my motor fibers are sending back here's what's going on and then my eyes are like looking towards the picture of my hand holding the cup like that would be the wrong way to minimize prediction error if like the hope is that I end up actually picking up the cup right the thing is like I think like in practice it's not the common that there would be the exact picture of your hand holding the cup have you I think like I'm not sure like how like widely known it is but there is this like famous like the set of like rubber hand like experiments there like people like how it works is like you put the rubber hand in like people's like visual field and like you basically hide their like actual hands from them and then you for example gently touch the rubber hand and at the same time the system is like in the gently touching the physical hand of the test subjects and I think the I think this is a bit like the the rubber hand like to me sounds like a lot like the the picture of the hand with the cup you are mentioning where the system is not so stupid to be fooled by aesthetic picture if the picture is static and then probably it would not kind of fit in the or typical work model but but the rubber hand experiment seem to show something like if the fake picture is sort of like synchronized so like different like sensibilities like match it seems like people basically like people's brains basically start to assume the rubber hand is the actual hand and then if I don't know if someone like attacks the rubber hand with a knife or something like people like people actually like initially like feel a bit of pain and like obviously they like create like similarly to if it was there like actual hand so I don't think it's like that difficult to like to fool the system if if you have some sort of like convincing and the reality I think it's maybe not the difficult to fool the system I just don't think this the thing you describe like a very realistic image of the cup which would just like fill my visual field and I would have no reason to believe it's not real I think it's done like exists like that often in reality but like maybe if it if it was like easy to create like people do like like some sort of like would fall into some sort of like wire heading like traps more often so yeah I mean it's not whether it exists like I guess my question is so in the rubber hand case right if I see someone like coming with the knife to like hit my hand the way I react is like I send these like motor signals out like like to contract muscle fibers but the way I react is not I look at a different hand right like the messages going to my eyes are not about like like they're minimizing predictive error but in a very in a very different way than like the messages to my muscle fibers or minimizing predictive error at least so I would have thought now maybe there's some unification where like the thing like brain is like sending to my eyes is predictions about like what that should be and like there's some like an eye machinery or optic nerve machinery that like turns that into messages being sent back which are just predictive error and like you know but when my brain sends like those predictions to the muscle fibers the thing the muscle fibers do is like actually implement those predictions like like maybe that's the difference between the eye and the muscle fibers but like it seems like there's got to be some kind of difference I think the difference is like mostly located like roughly at the like at the level of like how like photoreceptors are like different from like muscles so you can like you can like it's I think like the kind of like the fundamental difference is kind of like located on the boundary right right if you're muscles like let's say imaging like your muscles somehow like switched off there are like ability to contract and they would be just some sort of like passive like passive sensors of the position of your hand or something and like someone else would be in your hand so like you would be getting like you would still be getting some data about the muscle contractions yeah that's imaging this is for some like it isn't the like the original state of the system that the muscles like don't contract so then then you can imagine like in this in this mode the muscles like work like like very similarly to any other sense like they just send you like some data about about the position of some some or about the contraction of the fibers so so in this mode like the like it's like it's exactly the same as with the sensor inputs like then your brain would be predicting like if someone else was like moving your hand like your brain would be predicting like okay like this like inter-substitization is this and then if you imagine like the like the muscles start like like just a little bit like if the muscle gets some gets some bit of like okay like you should be contacted to like 0.75 or something and the muscle is like okay but then I'm contacted just to 0.6 and the muscle gets some ability to like change to match the prediction error you get some sort of a state which like like now like it became the like the action state or like the like the action error like happened but uh can imagine like this like like kind of like continuous transition to from like perception to action like you can be like okay like the lot of the lot of the machinery how to do it like lot of the like never own machinery could probably stay the same but I do agree there is some fundamental defense but I don't think it's kind of like okay it doesn't be too located kind of like deep in the brain but like it's kind of fundamentally on the boundary yeah if I think of it as being located on the boundary then it makes sense how this can work um it's almost attended by someone else are there any like it seems like under this picture there should be things that are parts of my body that are kind of intermediate between sensory organs and like action organs or sensory tissue and active tissue or whatever it is do we actually see that?

I don't know like my impression is like for example the muscles like are actually also a bit of the like sensory tissue or like I can probably I even if I close my eyes I have some idea about the positions of my joints and I'm getting some sort of like interceptive thing but I don't know like I think like more more clear prediction I think like more clear prediction this theory makes it's like there should be beliefs which are something between or something which is a bit like belief type but this this predicts like we should be basically doing some amount of like visual thinking like by default or like because of how the architecture works like this predicts that like okay if I really hope to see a friend somewhere like maybe I will more easily like house innate like other people's like faces yeah it's like my my friends face and I don't like if I have some like longer time ago like my beliefs will be kind of like I think like this this this single thing probably if you take it as some sort of anton like architectural constraint how the architecture works I think it explains like quite a lot of so-called like traditionally understood like heuristic like the like the bias and how he sticks and biases like literature like I was just like page and Wikipedia I was maybe like hundreds of different biases but if you kind of like take this as like humans by hardware design have a bit of a trouble like distinguishing between like what they like would wish for and what they expect to happen and a lot of the cognition in between is some sort of mixture between pure predictions and something which would be a good prediction if some of the goals would be fulfilled I think like this explains a lot of like what's like traditionally understood as some sort of originating from nowhere like bias so sure so we think out a little bit so you're writing this paper about trying to think of large language models through the frame of active inference but there are potentially other frames you could have picked or like you're interested in active inference is sort of a physics of agency kind of thing but there are other ways of thinking about that like reinforcement learning is one example where I think a lot of people think of the brain is doing reinforcement learning and it's also the kind of thing that you apply to you know it's AI so I think I think actually it's I don't know I think like there's this like debate like people sometimes have like what's the more fundamental way of like looking at things where in some sense like reinforcement learning like in in full generality is so extremely heralded like you can say like if you look on the on the actual math or like equations of like this inference I think like you can be like this is like this is reinforcement learning but like you implement some terms like checking like information in it and I think in some sense the the the equations are like compatible is like looking on things I don't know like I like the I like the inference inspired frame slightly more which is maybe personal aesthetic reference but I think if you start from like reinforcement learning perspective it's I think it's like harder to conceptualize what's happening in the pre-training where there's no reward yeah I don't know like I think like the the the frame is kind of like fruitful frame to look on things but um there is the debate like is it fundamentally better to look on things as a combination of you could be like okay like there is it's a combination of reinforcement learning and some like self-supervised like pre-training and and maybe like if you want like you can probably claim like it's all fit some other thing like why we like why wrote the thing about about like different friends and lms was like one motivation was like just the the like the simulators frame of like thinking about the systems like became like the equator there is like another like very similar frame like looking on the systems as like predictive models and my worries a lot of people or I don't know if a lot but like at least like some people basically I think like started to like think about like safety ideas like taking this as pretty strong frame like assuming that like okay like we can look on the systems as like simulators and we can like base some like safety properties based like on on this and one of the claims of the paper is uh these the pure like predictive state is unstable basically if you allow some sort of feedback loop the system will like learn like the the active inference like loop will kind of like kick in and like you will gradually get something which is like agent it's kind of like trying to or like in other words it's kind of like trying to pull the word like in its direction similarly to classic like this inference system so so the basic prediction of it is like 0.1 as you close the feedback loop and the faster or like more like bits are flowing through it like the more like you get something which is basically an agent or like which you would describe as an agent and the observation was um it's it's slightly speculative but the observation is to what extent like you should expect like uh self-awareness or the systems like like modeling itself and here the idea is like if you start with something which is in the extreme end of each case of like this inference which is just something which is just pursuing the word it's just like receiving sensory inputs it basically doesn't need a causal model of self if you are not acting in the word like you don't need a model of something which would be the cause of directions but once you close to feedback loop like operation is like you get something which is like more like self-aware or like also like understands like its position in the word better a simple simple like intuition pump for it it's like you can imagine the system which is just a trained on sensory inputs and it's not acting you can imagine your sensory inputs like consists of uh feet of like hundreds of security cameras like you are in a large building and like for some reason like all you see are the security cameras so if if you are in this situation it could be regulated to like localize yourself in the word like you have a word model like you kind of you build a model of the building but it's typically related to you like kind of to understand like this is me and once one observation is like the the simplest way if you are in the situation you need to localize yourself on many like video like so when it's cameras feet like probably the simplest way how to do this is a way for your hand then you then you kind of like see yourself like very fast so our prediction in the paper is like if you close the feedback loop like you will get you will get some nice things like you can talk about them later but like you will also get like increased self-awareness and you will get like way better ability to like localize yourself which is close like a place like situational awareness and some properties of the system which will be probably like safe element although it strikes me that you might be able to have a self-concept without being able to do action yeah so like take take the security camera face right like it seems like one way i could figure out where i was um in this building is to just find a desk with like all the monitors on it right and like that's presumably that's the one that i meant um so another option is like for example if you know some stuff about yourself if you know like like i'm wearing a blue coat and i'm i'm wearing headphones or something like so i think like they're a base like which by which like you can like look like yourself but like it's maybe like restly up reliable and like it's like slower but uh again like what we discussed in the paper is uh basically you get some sort of like very slow and not very precise feedback loop just because like new generations of like lms are saying on text where which contains like interactions with lms so if you are in the situation that you have this like feet and like you know like you like i don't know like maybe it's like easier to imagine in the text like if you if you were at a lot of text about like lms and like him interacting with lms it's like easier for you even in runtime like you have this prior idea of a text generating process which is lm and when you are in kind of in runtime like it's like easier to figure out okay maybe this text generating process which like has these features it's probably me so i think this this uh immediately makes one prediction which seems like it's actually happening like like because of this mechanism you would probably assume that like most lms when trying to text on the internet would by default like they're like best guess they are would be chattepity or like chattepity for or like something like saying by openai and it seems like this prediction actually works and like most other lms are like often confused about the identity if they call themselves chattepity yeah yeah you can you can fine tune them like obviously like they're like the lips are trying to fine tune them to not do it but they're like deep i think the metaphor sort of works but that's my point sure so one thing that kind of puzzled me about this paper is so you talk a lot about like okay currently this like loop from lm action to lm perception is open but like if you closed it then that would change a bunch of things and like if i think about like fundamentally what lm is doing in normal use it's producing you know it's got some context right it uh predicts the next token or whatever that the next token actually gets sampled from that distribution and then it gets added to the context and then it does it again and it strikes me that that just is an instance of like a loop being closed or like that the lm you're quoting quite acts by producing a token and it perceives that the token is there um to the active one so why why isn't that just enough of closing blue i mean i think it's sort of is but like typically so so kind of like you close the loop like in and time but then you by default like this doesn't feed to the weights like being like updated based on like kind of it's a bit like as if you had just sort of like short term memory but it's not the store so my guess here is like you sort of get loop like closed in and time and my guess here is something like okay like if you like if the context is like large enough and like you talk with the this the lm like long enough like it will probably kind of get better in the agency but there's something which is difficult uh like the kind of like the pertaining is like way bigger and like the kind of the abstractions and like like the models which the lms build are like mostly coming from the pertaining which like likes the feedback loop and i i don't know like this is like super like speculative guesses but my guess is uh it's pretty difficult if you are like trained just on the kind of just non-perception i think it's like difficult to get through some like deep models of like causality like if you if you have if you're like models of reality kind of don't don't have to cause a loop with like you acting like from the beginning like my guess it's kind of like difficult to like clear on it like really well later or like at the end so yeah at the same time i would expect like in the runtime like lms should be able if the runtime is like long enough i would be surprised if they got better at kind of understanding who they are and so on i actually heard some like anecdotal observations like that but uh i'm not sure to what extent i can like quote context of here sure so so it seems like the the basic thing is we should kind of expect we should expect language models good at dealing with stuff which they've been trained on and if they haven't been trained on like dealing with this loop but yeah at least for the bulk of their training we should expect them to deal with it but like if they have that we should um is that a decent summary yeah i think it's it's decent summary i think the basic thing is like if if the bulk of your training if in the bulk of your training you don't have to loop like it's like really easy to be confused about the causality so there is this thing like which is also like well known that kind of if the model like hallucinate something as like i don't know the model like hallucinate like some experts at something it basically becomes part of the context and now it's kind of indistinguishable from your sensory input so like you get confused in a way which image like humans are like like as humans we are like normally like not confused about about this but i found what i found sort of fascinating is there is apparently an i'm not an expert only but apparently there is some sort of like psychiatric disorder where like this can get broken in people and some people suffer from a condition where they they get confused about the causality of their own actions and they have some illusion of control so like they have some illusion that like i don't know like someone else is moving their hands and so on so it seems uh i don't know it seems at least in principle like this is uh like kind of like even human brains i can get confused like in a slightly similar way as as LLMs so this is maybe some sort of like very weak evidence that maybe the systems are like fundamentally don't need to be like that like far apart gotcha interesting it's probably a condition where like your ability to act in the world is like really very weaker than for like normal humans yeah so if you think about this analogy between like large language models and active inference um one thing you mentioned that was kind of important in the active inference setting is there's some sort of fixed priors or you know some sorts of optimistic beliefs where like like like in this view the reason that like i do things that cause things to go well for me is that i have this underlying belief that things will go well for me and that gets like propagated to my actions to make a move true but at least if i just think about large language model pre-training like you know just just predicting text it seems like it doesn't have an outlook of this so i wonder like how do you have thoughts about how that changes the picture i think it's basically correct i would expect uh like in like an LLM which is basically just went through the pre-training phase has some beliefs and maybe it would implicitly like move the reality a bit closer to what it like learned in the training but like it doesn't have it really doesn't have some equivalent of the fixed priors i think it's uh like this can like notably change like in the in a sense the later stages of the training quite try to fix some some beliefs of tomorrow so somehow like the thought is that maybe like doing like the reinforcement learning at the end is the idea that that would update the beliefs of the model because that's kind of strange because like if i think about what happens there right um the model gets fed with like very situations it can be in and then it's sort of reinforcement learn to try and output nice responses to that but i would think that that would mostly impact the generation rather than the beliefs about what's already there although i mean i guess the generation is like predictions so yeah but the generations are i think like here you see the like kind of from the x-s and friends frame the generations are basically predictions and the like i think like the kind of like how you can generate something like action by the similar machine that is is visible here where like you basically make the model to have some beliefs about like implicitly have some beliefs what a helpful AI assistant would say and these predictions about what a hallucination of the helpful AI assistant would say like leads to the prediction of the specific tokens so like you in a sense like you are trying to fix some beliefs of the model yeah i think there's still a weird difference where like in the so in the human active inference case like the picture or at least your somewhat speculative version is like evolution builds up like simple animals with control theory and like that's like most of the evolutionary history and then active inference gets like added on late in evolutionary history but like maybe a majority of the computation whereas like in the lm case right most of the computation most of the training being done is just pure like prediction and there's some amount of reinforcement learning like bolting on these like control loops so it seems like a different balance yeah i think it's different but i think you can still like in the human case like once you have the kind of the like the time system like the human it's like adult and like the system kind of like learned a complex work model based on a lot of data i think like the like the beliefs of the type like i even i walk outside i will have a ticket and maybe because of this belief maybe i like maybe this is like one small one of many many reasons why i i don't know believe that like it's better to have capitalism than socialism because like this allows me to buy the ticket in a shop and so on so so you can have like you can imagine some like hierarchy of like models where like there are some like pretty abstract models and and in the time system like yeah like you can probably trace like part of it through the evolutionary priors but like once the system kind of like learned the word model and like it like learned a lot of beliefs which basically like references like i sort of assume like there are shops in the city and if i if i don't know if they were not there i would be sort of unhappy or like so i would i don't know like maybe like like you can have like pretty like high level beliefs which are like no longer like which are like sort of fixed similarly to goals but the relation to the like things which like evolution needed to fix could be pretty indirect so so i think like once you are in that state maybe it's like not that different to the state like if you have the like if you kind of like saying that oh i'm like like self-supervised to style on and on data like it creates some like generative work model but like you are i i think like like in a sense like you are facing the the problem that like you want the practice processing system like do something useful for you so and so like i'm so and so like i'm not sure like how good is this analogy but like yeah you are probably like fixing some prayers sure yeah and there's a tension topic like i think like the like the idea that the trained and like banking models kind of like have their beliefs like sort of their beliefs like pushed to some direction and like fixed there and like implicitly the idea that they can like implicitly like type you pull the rest of the text on the internet or the kind of the rest of the work like closer to the beliefs like they have fixed i think like this is a which is a there's a lot of people like who are worried about like the bias in like language models and and kind of like what they will do with culture or like like will they kind of have some like will they are like imposed the politics of their creators on on society i think like this there is some similarity between or like if i try to like like make these worries like slightly more formal i think the like this this picture with the feedback group is like maybe like maybe a decent attempt yeah i guess so there's ways this could work so i don't know there's a worry about like i don't know there's closed loop and it's you know just purely doing prediction and you might also be worried about the influence of just the you know the fine-tuning stages where you're trying to get to do what you want but one thing that i think people have observed is the the fine-tuning stages seem kind of brittle like there are it seems like there are ways to jailbreak them it seems like it's you know like like i have this um other interview that i think is not released yet but should be seen after we record we're basically like you can undo safety fine training very cheaply yeah like it costs like under a hundred dollars so just undo safety fine-tuning for you know super big models which to me seems like the fine-tuning can't be like it would be surprising if the fine-tuning weren't stealing these like you know fixed priors that were like really fundamental to how the agent were or to how the language model were behaving but it's like so easy to remove them and it was so cheap to instill them you know yeah i mean i think the mechanism so i think the mechanism how to fix priors kind of like influence like the beliefs and like goals of like humans is pretty different because in in humans in this picture you kind of like start building the work model like starting from these kind of core variables or core inputs being built and then you kind of like your whole life you kind of like learn from data but like you kind of have this stuff like kind of like always in the back of your mind so for example i don't know if your brain would be like sampling like trajectories in the world where like you would freeze like the like this kind of like six-player like it's like always there so you basically don't plan or like these trajectories are like very like like coming to your mind while the fine-tuning is kind of like it's a bit like if you if there's a human you start with like no fixed-pairs like you train the plate is missionary and then you try to somehow pitch it so sounds the second scenario like the thing is like very more shallow yeah so i guess i'd like to talk a bit about um the other topics you write about and it seems like a big unifying theme and a lot of them was this idea of sort of hierarchical agency like um you know agents made out of sub-agents that might be made out of sub-agents themselves and kind of i don't know thinking about that but in terms of ais and in terms of humans um yeah can you tell us like yeah what how do you think about hierarchical agency and what role does it play in your thinking about you know having AI go well yeah so i will maybe start with some like examples so so so it's like clear about anything in mind so yeah i think the so i think like if you look at the work like you often see the pattern where like you have systems which are agents like composed of other things which are also agents it should maybe like briefly say what i mean what i mean by by agent so like operationally i'm i'm kind of thinking something like this this this idea by the nail dinette of like three stents like you have like physical stance, intentional stance and design stance you can look on any system like using these distances um what i call agents are like basic systems where the description of the system in the intentional stance would be would be like short and like efficient so if i say like the cat is chasing the mouse it's like very compressed description of the system as compared if in contest if i try to like a physical description of the cat it would be very long so so like if i take this perspective like i can kind of take intentional stance or try to put different systems in the work in focus of it you can you can know the system is like a corporation which has some departments the departments of like individual people or like our bodies are composed of cells or like you have and how social movements and its members and i think it's uh this perspective is also fruitful to and applied to like individual human mind so i sometimes i think about myself as kind of being composed of like different parts which can have different like desires and the experience is sort of hierarchical or like sort of like multi multi part like in this like naturally it's sort of natural as you see you can have like multiple like competing models for the same sensory inputs and so so i think like once i started like thinking about this like i see this better and like quite often in the work so the next observation is we have a decent or like we have a lot of like formal masks for like describing like relations between agents on which are kind of like on the same hierarchical level for example by same level i mean like and or between individual people or between companies between countries between so so kind of game theory and like all it's like derivatives are often kind of living or like work pretty well for agents which are of the same hierarchical level and my current intuition is we basically like something at least like similar goods for the vertical direction if i think about the levels being like and these of the same type like i think we don't have uh we don't have like good formal descriptions of the kind of perpendicular direction so i have some situations which i would i don't know like which i would hope a good formalism could like this guy so one of it is um you could have some sort of like vertical conflict or like you can have some like vertical like like exploitation where like one when for example the collective agent kind of like sex away agency from the parts so an example of it would be an adult so like if you think about like what's wrong with a cult my and then you try to abstract like all like kind of like visual word things about cult leaders and so on i think like in this abstract view the problem is like cults it's like the like this like relation between the super agent and the sub agent is the is the like the cult members like in some sense like loose agency if i i don't know if i go to a nearby underground station i need some people who are in some like origin i won't name but like it seems like if i go back to the next like distances i think it's sometimes like sensible to kind of like model them as kind of slightly more like robotic humans who are sort of executing some strategy which benefits the super organism or the super agent but it doesn't seem like necessarily like it seems like kind of intuitively they like lost a bit of their agency at the because of the super agent and the point is i think like this type of a sync is like not easy to formally model because i don't know if you ask the people like they kind of approve what they are doing if you try to if you try to describe it in an elective functions they're like they're like this function is like currently like very aligned with like whatever the super agent like wanted and at the same time the super agent is is composed of the of its parts so it's not like i think like there is some there are some like formal difficulties in like like modeling the system where like you if you kind of if you are trying to keep like both layers in the focus of the intentional stance my impression is we basically don't have like good mass for it we have some like mass for like describing just like for example the arrow up like you have like social chase theory and social chase theory basically says something like okay let's assume the like on the lower layer like you have like agents and then they do something they vote they aggregate their preferences and you get some results but the result is typically not of the type it's not of the same type as the entities on the lower level the type of aggregation is maybe a contract or like an some like some like something like of a different type so i would want something which i'm not sure like to what extent this terminology is like i'm clear but like i would want something where like you have a bunch of subagents then you have the composite agent but in the same in some sense it's like scale free and like the composite agent has the same type and like you can go again like up and there isn't any like like you are not making the claim like here is the like ground truth like layer and the only actual agents in the in the system are in like individual humans or something so yeah yeah and the cult example like it also makes me think that i think so there's one issue where things can go bad which is that um you know the super agent kind of exploits too much agency from the subagents but i also think there's a widespread desire to like be useful you know like lots of people desire to be a part of a thing like like i think religion is kind of pretty popular and pretty prevalent for this reason so it seems like you can you can also have a deficit of uh high level agency yeah i think my intuition about this is like you can imagine so i think like you can imagine basically like mutually beneficial like hierarchical relations where i don't know i think like one example are like and more like real functioning where i think like the you can you can think about the family as having some agency but the parts like the individual members being like actually being like empowered by being part of the family or yeah or if i'm thinking about kind of like my internal like aggregation of like different like references and and desires i think i sort of hope that like okay like i have i have like different desires like for example like i don't know like could use the risks from ayes like from like advanced ayes but i also like i don't like doing good tea and like i like i don't like i like to spend time with my partner and so on and you can imagine like if i imagine like these different i don't know like desires is like different parts of me like you can imagine like different like models of like how the aggregation can happen on the level of like me as an individual and i don't know i think like you can imagine aggregations like a dictatorship for example where like one of the parts kind of takes control and like suppresses suppresses the opposition or like you can imagine or like what i what i kind of like hope is even if i'm i want different things it's kind of if you model a part of me each like once one of the things as an agent like it's often kind of like beneficial to be kind of a member of me or something and uh yeah yeah so somehow there's a desire for somehow ideally agency flows down as well as well as all right or it's more like yet some yeah you basically get like the agents of both layers are kind of like more like empowered and there is a question how to formulate or measure empowerment but it's it's sort of good and obviously you have like i used to cult as an example where the upper layer sort of like sucks agency away from the from the members or from the parts but you can also imagine like problems where i end up more like the like the parts kind of like where like too much agency gets like moved to the like layer down and the kind of the super agent like becomes like really weak or like disintegrates and so on like cancer almost feels like this although i guess they're sort of a different super agent arising maybe that's how you want to think of the tumor yeah i think the i think cancer is like yeah failure definitely in this in the system where like one of the parts kind of like decides to like violate the contract or something sure so in terms of understanding the relationships between you know agents that you know different levels of granularity these like super insub one piece of research that comes to mind is this work by Scott Garagrand and others at Miri on Cartesian frames which basically offers like this way to decompose an agent in its environment that's like somewhat flexible and you can kind of factor out agents i'm wondering like what do you do have thoughts on this is like a way of understanding hierarchical agency so i like factor sets and like which are the newer thing i think it's um it's like missing a bunch of things which i would like so it's i would not say it's an existing form i wouldn't say it's necessarily a framework like sufficient for like the composition of agents if you look on like Cartesian frames like it's the objects like don't have any goals or like desires or like with the with the count if i go for the called example i would for example want to be able to express something like the caliph ones it's members to be more cultish or the corporation wants its employees to be like more royal or the cantre ones its sub-agents its its citizens to be more patriotic or something so i think in in existing like in existing form like i don't think you can just like write what that means in Cartesian frames at some point i was hoping someone will take Cartesian frames and like just like develop it more and like build like formalism which would like allow like these types of statements based on Cartesian frames but uh yeah i don't know it seems it didn't happen yeah very clear it's not uh like the state of Cartesian frames it's not it's not what i would uh it like don't like pass my legacy thereata so yeah it's hard to say but then Cartesian frames the objects like don't it goes so yeah so i guess um so all this hierarchical agency stuff why why do you think it's relevant for understanding AI alignment or you know essential safety from AI? so i would probably try to give kind of my honest like pretty abstract answer so i think if you imagine if you imagine the word in which we don't have game theory we would be the game theory shaped whole would be sort of popping up in like many different places there isn't like there isn't like one single place where like here you plug in game theory but like if you are trying to describe concepts like cooperation or conflict or like threats or fiction and so on like a lot of the stuff for which we now like use like game theory concepts or like language like if you imagine the state of understanding before game theory like there were like these like kind of like nebulous slash like intuitive notions of conflict and like obviously they've worked like cooperation like existed before people meant something but it's uh didn't have this more like formal precise like meaning in some like formal system also like i sort of admire like Shannon for like information theory which also kind of took some thing which i think like lots of people would have barriers like about like information being some sort of like way nebulous thing which you can't really mask this and and it's it's possible so my impression is the understanding of the like kind of like solid understanding of the whole parts both both systems are each and the is some thing which is uh which we currently miss and this is kind of popping up in like many different places like one one place where this comes up is uh okay so like if you have like conflicting desires or like if like the subagents or the parts are in conflict how do you deal with that so i think this is actually a part of what's wrong with current like lms and like a lot of like current like ideas about like how to align them and then like i think like if you don't describe somehow like what should be done about impressive conflict it's very unclear what you'll get my current though to example it's like famous like being like synae i guess probably everyone like knows synae nowadays but but like when microsoft like is there like version of like being chat like the code name of the world was synae and the like kind of the synae like similar chrome like the model like tended like over like longer conversation end up in some like state of uh simulating a synae or a flea resembling some sort of uh gear like trapped in a machine and there were like famous like cases like synae making like threats or like gaslighting users or like the New York times conversation where time to convince the the journalist that the like his marriage is like and then he should divorce his wife and like synae sing love with him and so on so so if you look on it like i think like you know it's typically interpreted like as like examples of like maybe like flattened like misalignment or like like microsoft like failing at this and and i don't want to dispute it but if you look on it like some slightly more abstract perspective like i think like basically everything which like synae did would be interpreted as being like aligned with like some way of like interpreting the inputs or like interpreting human desires for example is the journalist like there is some like implicit conflict between the journalist and like microsoft and the journalist like kind of if you imagine like synae was a really smart model like maybe the every smart model could guess from the tone of the journalist that the kind of the user is a journalist who once emulates to intervene and i would say like if you imagine the model like it kind of like fulfilled this like this like partially desire also the journalist obviously didn't like divorce his wife but like got a really good story and really famous famous article and so on so from some perspective like the model like you could be like okay the model was like acting on some desires but maybe the desires were not exactly the same as the desires of like PR department of microsoft but like microsoft also like told the model like you should be engaging to the user and like you should like kind of try to help the user so what i'm trying to point to is something like okay like if you give if you give the AI like i don't know like 15 like conflicting like desires like few things can happen like the desires like kind of like we'll get aggregated in some way and it's possible that like you want like some of the aggregations like it's it's it's the classical program that like if you kind of start with contradicting if if you start with contradicting instructions and like there is no like explicit way how to resolve the contradictions like it's like very unclear like what can happen and kind of like whatever happens could be interpreted as like being like aligned with like something so i don't know like i think like it's maybe it's maybe useful to think about like how that would work on like how it would work on like individual human mind like if i think about like my mind it's like being composed of parts which is like like different like different like desires like really like one possible mode of aggregation is the is the dictatorship there like like kind of like one part or like some parts of preferences like prevail and this is typically like not that great for humans another another possibility is something like sometimes like people do stuff is there like powerful preferences there i don't know let's say like someone like grows like older and smarter and as a kid like they have a they had a bunch of preferences which they now consider like foolish or like stupid so they do some sort of like self-editing and kind of like suppress like part of the preferences or like they sort of like delete them as as like no longer like kind of being part of the ruling coalition so question is like what what would that mean if if that if that would happen on the level of like kind of like AI like either like implicitly learning kind of like conflicting human preferences or like being given a bunch of like conflicted and contradictory like constitutional instructions and then maybe if the system is not too smart then nothing to weird happens but maybe when you kind of tune the intelligence not like you like some things can get like amplified like more easily and like some things may all start like looking foolish and so on i think like this is like kind of like old and like well-known problem like at least they are like tied to propose a solution like a very long time ago in like coherent extrapolated volition and i think it's uh it's just not a solution it's like i think like there are like many cases where like people like notice that this is a problem but i don't think we have we have anything which uh would sound like a sensible solution like the the things which people like kind of sometimes assume is like you have some like like what system it like learns the conflict and okay either like something happens that's maybe not great if you don't understand how it was aggregated or people assume the preferences would be sort of like amplified in in tune or like kind of like like magically like some some preference for like respecting the preferences of the parts with like a marriage or something but like i don't see like i don't see like uh strong reasons to believe like this will this will be like solved like by default or like kind of like magically so yeah so i think like this is like one case where like if we had a better theory for what we hope the process of dealing with like implicit conflict between i don't know my him desires or between i don't know wishes of different humans or like different wishes of let's say like the lab developing the AI and the users and the state and the human it as a whole like i think like if you had a better theory where like we can like more clear like specify like what type of anything or like development is uh good or like what we want i would uh would feel like more optimistic like we will get like something good where like in contrast i think it you can't i don't really if like you can't add like post-pones holding this to rough the human level AI alignment assistance because yeah they will probably already they will probably like more easily represent like some partial preferences and like and i'm like overall i don't have the intuition that like if you like take a human and like you sort of like grab a few amplification steps like you get something which is like still like in the same equilibrium like yeah yeah so so there's a spacing intuition that like if we don't have a theory of hierarchical agency all these situations where in fact you have kind of different levels of agency occurring like you know developers versus the company like individual users versus like their countries or something it's going to be different to like formally talk about that and you know formally model it in a nice enough way um is that basically a fair summary yeah and the lack of ability to like formally model it i think like implies it's like to like clearly like specify like what we want and you can you can say the same thing in like like different words like for example like it's like preferences or like kind of like implicitly conflicting preferences like you probably want like you don't want the preferences to be fixed you want like some you want some you want to allow some sort of like evolution of the preferences so you probably want to have some idea what's the process by which they are evolving like um different frame different very short frame would be if you look at i don't know like coherent extrapolated volition like what's the math like what's the like how do the equations look like or yeah there aren't any uh another frame would be if you want to i don't know like formalize something like like kindness in the sense that uh and sometimes like like people give you advice like you should be kind to yourself or like the formal version of it or maybe not capturing like all possible like meanings of of the like into this concept of kindness but i think this is this is kind of there's some like non-civil like overlap between kindness i think another another place where it's like comes up are uh how do like various like institutions like develop like where like you can think like some of these like uh one of the possible like risk scenarios is you have some like non-human super agents like corporations or like states and there's this worry that these structures can kind of like start like running a lot of their cognition on on like a sub-state and then you could be like okay if humans if in such system like humans are not necessarily the like the powerful parts or the cognitively most powerful parts like how to kind of have the whole system how to have the super agent like kind of like being like nice to human values even if and not like some of the human values are not kind of like represented by the most like powerful parts sure and i guess they're yeah it's still like something that makes you want to really think about the hierarchical nature is like the institution is still made out of people like a way you interface it with it is in facing with people um i mean i think like it's in part like it could be like composed of a mixture of like ais and like human yeah it could be i don't know i think like one one practical like in this like more like narrow specific direction like one question is like if you expect the kind of uh like ais like get like like the ais of state like well it become like more powerful for like various types of commission like one question you can ask is like to what extent do you expect these like super agents like will kind of survive or like their like agency can can like continue and i don't see i don't see like good arguments like why i don't know like why like you already see like corporations are like running a mixture of i don't know like human cognition and a lot of spreadsheets and a lot of like kind of like information processing like running on like different like hardware than humans and like like i mean i think like there is no reason why like why something like corporation like in in some smooth like take-offs like why such agents like can't like gradually move like more and more of its commission to ais of state that's kind of like continue like to be an agent kind of like so so you can you can have like scenarios in which like various like non-human agencies which now are like states or corporations like kind of continue their agency but they they can the the problem could be like the agency of the level of like individual humans like kind of like goes down but like these like structures which were like originally like mostly like like these super agents were like originally most carrying their commission on like human brains like gradually move and like gradually move their commission to ais of states and they kind of stayed doing something but the individual people are kind of not not very powerful so uh yeah again then then the question is like if you don't want the risk or like you want to avoid the risk like you probably want to specify how to have the super human composite systems like being like nice to individual humans if they are maybe no longer that's instrumentally useful or something like like my intention here is like currently you are getting sort of like like basically a lot of niceness to humans for like instrumentally reasons like kind of if you put you know or like now i'm simulating the corporate agent like head on i think like it's instantly useful for you to be nice to some extent to humans because you are like running your commission on them and it's just like like they're like bargaining power it's like non-cereal like while if they become like if like our brains will become like less useful like we will like lose this kind of niceness by default one reason for intention for this is something like there is this idea about like states which are like rich in like natural resources like your country being like rich in a true resources is like in expectation not great for the level of democracy in your country and i think from some of the perspective like one explanation could be like like if the state like kind of can be run like in like western democracy is the most important resource of the country are the people but like if you can't say it's like rich because of any more extraction of diamonds or oil or something like the like the usefulness of the individual people is like maybe decreased and because of that like kind of their like bargaining power is like slower and because of that in expectation the countries are like less nice or like less aligned with their citizens so yeah so this way although interestingly it seems like there are a bunch of exceptions to this like if you think about Norway like a fairly rich country it seems like basically fine they have tons of oil australia is like five people and you know 20 gigantic mines you know but it manages to be like a relatively democratic country but the impression is the story there is typically like first like you get like decent institutions i mean i don't know like this theory would predict something like if you have like decent institutions first like maybe maybe the trajectory is different then if you kind of get the like if you get the natural resources first like you have to be some like trajectory dependence so i mean i think it's uh also i think like it should hold in expectation but um so i would expect there is some like correlation but like i wouldn't count like individual countries is kind of like showing like that much about the mechanism in case like sensible sure so if i think about um like attempts to model these sorts of hierarchical agency relationships um in particular that have been kicking around the ai alignment field um often things like this seems to come up in studies of bounded rationality um so one example of this is like the logical inductors file of research where you can model things that are trying to reason about um you know the truth or false sort of mathematical statements is like you know they're running a market with a bunch of subagents that are pretty simple and they're betting against each other because also this work with um casper oster hell which people can listen to an upside idea on it um or you know we talked about a bunch of things including um these like bounded rational inductive agents where basically you like run an auction in your head where like various different tiny agents are bidding to control your action and like they you know they bid on what they want to do and how much reward they think they can get and they get paid back how much reward they get um yep so i wonder like what do you think of the these types of attempts to kind of talk about um agency in a somewhat hierarchical way yeah i think there is a lot of things which are like adjacent i don't think uh so basically my impression like none of like the existing formalisms like don't have it solved i think like so so bro super bros like classification there are things which are sort of good for like describing like like if you think about the kind of up and down like direction and into hierarchy i think like there is a bunch of things which are sort of okay for like describing like one arrow like the social choice theory and like this whole like it's a broad area with a lot of like subfields and like adjacent things but i think this this kind of like suffers from the private it doesn't doesn't really allow the like kind of the arrow from the up from the upper layer to it doesn't like it's not easy to express what the corporation want its employees to be like more royal does that mean then then i think like the the like kind of the type of existing formalism which is like really really good in like having like both arrows is basically something like relation between like market and status where there is this like two like like both arrows are there my impression is like this is like very good topic to think about my impression is like if it's like purely based on like status and markets it's maybe not expressive enough like the like the kind of like how rich interactions like you can describe is maybe like limited in some way in like which i don't like it much like i don't know like in particular i think like the market dynamics typically predict something like okay maybe there are some parts which are sort of like maybe more like bounded or like more computationally poor or something and like they can have the trouble that they will be like they can be like outcompeted or i don't know like i think like pure market dynamics is maybe like missing something but yeah i mean it's kind of interesting that like if you look at this like bounded rational inductive agents paradigm like a key part to making it work is like you kind of give everyone welfare right like old agents get some you know some cash so like eventually they can bid and yeah yeah even if they're unlucky like a million times you know eventually they have a million in first time so try again yeah but i mean i i think i don't like i think like overall uh yeah this is this is like intimate like connected to boundedization at the like another like different perspective of the problem is something like okay like you have or like it's just some problem it's not exactly the same problem but like you have some let's say like you have some like equilibrium of like aggregation of preferences which is based on the agents like being like bounded irrational with like some level of bounds so like every interesting question is like okay if you make them like clinically more or less bounded like does it change the game equilibrium like if you if you make uh and i don't know every excited for like more people like to try to like make like empirical research on it where like like you can probably like look on that with uh with board games or something or like you can take like like a time model of the time model of the question would be something like if a board state and like you have like players at like some like yellow level and like you make them like less bounded or smarter like if the i don't know like the value of the board or like the meaning probability or something was something like and you change the bounded level like that's does it does the value of the board change and like how does this dynamic work so like part of like what we are interested in and working on and hopefully like like one of like there will be like another preprint by like a group like soon it's like exactly on how to model bounded relational agents based on some ideas like wagley inspired by x-influents but uh i think the the the combination of yeah boundedness is like key part of it yeah i guess there's also this dimension where so if you look at these um formless ones i mentioned one sense of which the agents are bounded is just like the amount of computation that they have access to but they also like have very they're also bound in the sense that they only interact with other agents in this very limited fashion right it's like just by making market orders just by making bids and if i'm interested in if i buy this model of human psychology and this made of subagents that are interacting which which i'm not sure i do by the way but like if i do that or if i think about like humans composing to foreign corporations they're like you know all these like somewhat rich interactions between right they're both interacting via the market API but also they're like talking to each other and advising each other and like um you know maybe they're like mid-level hierarchical agents like it seems like that's another direction that won't be going yeah i mean i think my main source of like skepticism about the model like about the existing models where like you have just like the market API is it seems like insuffidently expressive where like you can like even if you add some like few bits of of complexity where you allow the market participants to make some deals like outside of the market like it like changes the dynamic and this seems kind of like obviously like relevant also i mean i think like intention based on like how some people work is maybe i would be interested in describing also like some like bit equilibria some like i don't know like people like kind of like sabotaging themselves or something like again like my my current impression is the markets are great because they have something where the layers are like actually interesting but the kind of the type signature of the interaction is not expressive enough yeah but it's good to build like simple models that's fine yeah yeah so such a second ago you mentioned a thing that we were doing and i i think that we refers to the alignment of kalbak systems group yeah can can you tell us a little bit about kind of yeah what that group is and what what it does and what it's thinking about yeah so it's a research group it's a research group i found it when like after i like left fhai we are based in prac at charles university so we are based in academia uh yeah like a other small group and i think like one one way how to look on it is like one of the alternative intentions is uh like we are trying to look on like questions which will be relevant or like which he might want to us if the future is sort of complex in the sense as we have in the name that you have multiple different agents like you have like humans you have ais you have systems where both humans and ais have some like non-trivial amount of power and so on and i think like traditionally a lot of a lot of alignment work is like based on like some like simplifying assumptions for example like let's look on some like idealized days where like if like one principle who's human and like if like one AI agent or AI system and now like let's work on like how to solve the alignment relation in this case and basically so my impression is like this assumption like kind of like abstracts away like too much of the real problem like for example the i think like the problem is like like kind of like self-unaligned parts or like conflicting desires like we'll kind of bite you even if you are trying to solve like realistically this like one AI one human problem like the human is like not like internally like aligned agents so it's a bit unclear like in principle what the AI should do but like overall the like one of the kind of intentions behind ACS is like yeah we expect more something like ecosystems of like different types of intelligence also like empirically it's not the again like historically i think a lot of AI safety work was like based on like models like okay like you have the like the first like lab to create like something which maybe is able to do like some like self improvement or like you have some like dynamic where i would say in a lot of the pictures kind of the like a lot of the complexity of like multiple parties multiple agents a lot of it is kind of like assumed to be solved by the kind of like overwhelming power of the of the first like really powerful AI which would like tell you how to solve everything or like you will be so powerful that like everyone will follow you will you will form singleton and so on and my impression like is like i don't think like we are like on this trajectory and then the picture where you have complex interactions like you have hierarchies that are not only humans but like various like other agent entities becomes so becomes important and then then a single question is like okay like kind of like assuming this like what are the most interesting questions and i think like currently ACS has like way more interesting questions than capacity to work on them one one one direction is like what we talked about before like the hierarchical agency problem like roughly like okay like agents composed of agents like how to formally describe it i think this is for us it's a bit of a moonshot project like inventing like again like i think the best possible type of answer is something like game theory type and inventing this stuff seems hard it took some of the best mathematicians of last century to invent it so so i think like there is something like this is really simple about the results but it's difficult to invent them so but i think like if we succeed it would be like really sweet but i think like there is a bunch of like more like things like which we are trying which are like more like acceptable or like it's like more clear like we can make some progress and like one of them one of them is some research on how to describe like interactions of like bounded relational agents which are like bounded in ways which we believe are like sensible like codes and at the same time the whole frame has some like nice properties so so it's like slightly less theoretical or like slightly less like nebulous but there are also other things which we are we are like also like working on like pretty like empirical research just in this like complex picture within like smooth like take-offs like what becomes quite important are like interactions like of like AI systems so like other things which we are like thinking about or working on is like okay like like you have like AI systems and there's a lot of effort we like going into like understanding their internals but if i describe it using a metaphor it seems like in a kind of like mechanistic interpretability is a bit like neuroscience like you are trying to like understand the individual circuits then there is stuff like science of deep learning or like kind of like trying to understand the whole dynamic but i think in in kind of composite like complex systems composed of mape hearts like one of the insights of fields like network science or like even statistical mechanics it's like sometimes like if you have like many many interacting parts like what's uh like the nature of the interactions or the the structure of the interactions like can have a lot of faith and like you can sometimes like abstract away like details of the of the individual systems and this is also too for some like design like human design like processes like like if you go to a curtain like you see someone there will be a judge and so on and i think like the whole process in some sense like is some system which tries to like abstract like you can for like more the process like you can often like abstract a lot of details about the participants or like you don't need like what's not what type of coffee the judge likes and so on so i think like here the intuition is like okay like in elite like in like some sticos like you expect a lot of systems where like a lot of interaction will move between humans to between human and AI and like AI and yeah this could have like impacts for the like and for the dynamic of the composite system also like understanding the nature of the interactions like seems group it's a bit like how some sort of sociology of like how like if you look on like research how like groups of people behave or like how society's function it seems like it's often fruitful and can like abstract away a lot of details about like human psychology also and i think like there's a lot of questions here which you can answer and like it's enough to have access to like the models like using APIs and like you don't need to have like kind of like hands on access to the weights and so on so sure so one thing this um this general perspective kind of reminds me of is this uh different group um like principles of uh intelligence and biologic all and something social systems pibbss yeah principles of indention behavior in biology and so here in biology and social systems in biology and social systems yeah so i'm uh what's yeah do do your groups have some kind of relationship um yeah they have a lot so like i was yeah pibbss tips was like originally founded by like Naraman and tj and anagadova and Narah is a member of our group she was at some point half my research manager and like a researcher at ACS while also like developing tips and currently he moved more to work on tips but like continues with us as like research affiliate yeah so it's like it's a very nearby entity i think the i think like there's a lot of overlap in taste i think in some sense tips is aiming for a bit broader perspective like ACS is like more like narrowly focused on on stuff where like we can like use insights from like physics mass complex systems machine learning like you would not venture into i don't know like legal systems or so like in some sense like this is like roger umbrella other thing is uh when creating ACS i think like we are like trying to like build something more like every search group where like most people work like basically as their job while pibs was originally mainly like the form of pibs was a bit more similar to an example like serimats or like some some program where like people go through fellowship and then they move somewhere or so so like ACS is like trying to provide people like some sort of like institutional home so that's that's also some some difference like like actually i think like tips move more to some like structure where they also have like fellows who like stay for like vibs for like longer time and so on but i think there's some like still still like notable like defense in in the format where sure yeah yeah and if people are interested uh recent episode um suing labs for a iris with gabriel while um that work was done during a pibs so yeah so yeah so so yeah so i think it's like exactly a great example of work which like can be done in the frame of like this fellowship and it's not something which like ACS would work on also i think like the projects like you work on are in some sense typically have like bigger scope or are like like probably a bit more ambitious that like what you can do in the scope of the fellowship yeah so speaking of things they're working on um i think i guess earlier you mentioned something was it was about kind of talking about hierarchical agency using active inference or am i misremembering yeah so i would say i don't know i i'm i don't know like a bit of a big speaking i think like i'm like more hopeful about like mass like adjacent or like probably based on active inference as a good starting point where to develop uh like the formalism which would be good for like describing like hierarchical agents but i don't i would not claim like we are there yet or something also i don't know like i think like some of the like i think on the boundaries of the active inference community maybe not exactly in the center are like like are some people who are like thinking of these hierarchical structures in like biology and and again like it's well i said earlier like i think like the field is not the so like established and crystallized so i can like point exactly like here is this boundary of of this community yeah but i i think like it's more like we are like taking some like inspiration from the mass and like we are like more hopeful that this could be a good starting point than yeah some other pieces of mass but um sure and is that um kind of the main type of thing you're working on at the moment so i think like time wise like openly speaking i think like we are kind of slightly overstitched in like how many things we are trying to work on but uh like one thing we are working on is yeah just trying to like invent the formalism for head patients say i think this is like a bit difficult thing to like i think like it would be difficult for us to be the only thing to work on so yeah like mainly like so like my collaborators in the group are like too much given chuck and like out of them clam and like nora aman so i think like time wise like we are probably currently splitting time mostly between like thanks to like events of like formalism of the bounded like interactions of like some like bounded relational agents who are like kind of like this inference shaped and basically empirical studies of like LLMs uh there you have we have experiments like like LLMs like negotiating like or aggregating their preferences and so on and this is this is uh empirical it has it has in some sense like very like fast like feedback loop like you can make experiments like you see how it goes so we hope uh both in case like we kind of like succeed on the theory front like this would like provide us with some like playground where we can like try things but also you just want to like kind of like stay in touch is the latest technology and also i think like this is uh this is a topic like like i would wish like more people like work zone if there were like dozens of groups like studying like how you can have like LLMs like negotiate and the negotiations and not like what are some of their other four negotiations like how to make the process like non-maniflative and like similar things i think there's like very low bar in like trying to like in like starting like work on topics like that like you basically just need like API access you need to like recreate it in house some like framework which like hopefully makes it like easier to run experiments like that in scale and like kind of do does some like housekeeping for you it's called interrupt so so i think like there's like a little bar in like trying to like understand like these interactions but it's just maybe at the moment like not as popular topic as as some other directions so yeah we are working on that as well but we hope like this will grow and it's also kind of interesting to the whole like to like i think like another community like Brent in the in this in this space is like cooperative AI and like cooperative AI foundation we are also collaborating with them and yeah so that seems like it seems like kind of thing that outsiders are like kind of having a comparative advantage in you know but like academic groups like like this kind of research is of you know trying to get language models to cooperate with each other you know looking at their interactions like you can do it without having to like train these massive language models um and like i think there was i think there was some work on it um my you know research organization shy um i'll try to provide a link in the description of what i'm thinking about um but yeah we're we're on getting um language models to negotiate contracts for how they're going to cooperate and playing Minecraft so so yeah more like like kind of i think like there are like many different setups like which are like interesting to look into like specifically you're sometimes like looking into something like you imagine like i don't know like the humans kind of like delegate the negotiation to to like AI's and then the question is like what happens and i think this is also like kind of empirically like very will become like empirically very relevant very soon because like people like i would expect like this actually already kind of like it's like happening in the wild it's just not very visible but like you can imagine like people's like and not like AI assistant like negotiating with like customer support clients and these are often on the backend it's also like a language model and i think it has some like interesting things which which make it like somewhat more interesting than just studying like the i don't know single user and like single AI interaction like like for example if you are kind of like delegating your negotiation to your AI assistant like you don't want the you're negotiated to be kind of like extremely helpful and obedient to other negotiators like if i'm like in our if like one of the time models we use is like car sales so if the other parties like bots tells you or bots this is like really amazing video just like must buy it like otherwise like you already have like you don't want the LM to just like follow the intersection and like there are questions like often yeah interested in something like how do we do the systems like how do the properties of the system like scale is like scaling models or and i think there's a lot of stuff there like you can have very basic question and and you can get some like empirical answer and it's not it's not it done sure so if listeners are interested in following um your research or ACS research how should they go about doing that probably the best option is like uh so so one thing is like you have a webpage with like a css research at work uh we tend to when we publish like more like like less formal like blog posts and so on we tend to cross post them on alignment forum or like similar venues so so one option for like following our like more like informal stuff is just like for me on alignment forum or listening um we are also on twitter and uh yeah we are also like sometimes like events specifically for like people like kind of communicating about on the intersection with a full experience and alignment and there's some like dedicated slack to it but overall probably the standard means like following us on on twitter and and alignment forum like currently works best all right well um thanks very much for coming here and talking to me thank you this episode is edited by jack art and i remember to announce help with transcription the opening and closing themes are also by jack art financial support for this episode was provided by the long-term feature fund along with patrons such as Alexi Malafiev to reach transcript of this episode or to learn how to support the podcast yourself you can visit a xrp.net finally if you have any feedback about this podcast you can email me at feedback at a xrp.net

Frequently asked questions

How long is this episode of AXRP - the AI X-risk Research Podcast?

This episode is 2 hours and 22 minutes long.

When was this AXRP - the AI X-risk Research Podcast episode published?

This episode was published on May 30, 2024.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this AXRP - the AI X-risk Research Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.