Skip to content
49 - Caspar Oesterheld on Program Equilibrium episode artwork

Feb 18, 2026 2 hr 32 min

49 - Caspar Oesterheld on Program Equilibrium

from AXRP - the AI X-risk Research Podcast

How does game theory work when everyone is a computer program who can read everyone else's source code? This is the problem of 'program equilibria'. In this episode, I talk with Caspar Oesterheld on work he's done on equilibria of programs that simulate each other, and how robust these equilibria are. Patreon: https://www.patreon.com/axrpodcast Ko-fi: https://ko-fi.com/axrpodcast Transcript: https://axrp.net/episode/2026/02/18/episode-49-caspar-oesterheld-program-equilibrium.html Note from Caspar on 2:00:06: At least given my current interpretation of what you say here, my answer is wrong. What actually happens is that we're just back in the uncorrelated case. Basically my simulations will be a simulated repeated game in which everything is correlated _because I feed you my random sequence_ and your simulations will be a repeated game where everything is correlated. Halting works the same as usual. But of course what we end up actually playing will be uncorrelated. We discuss something like this later in the episode. Topics we discuss, and timestamps: 0:00:44 Program equilibrium basics 0:14:20 Desiderata for program equilibria 0:24:35 Why program equilibrium matters 0:33:35 Prior work: reachable equilibria and proof-based approaches 0:53:26 The basic idea of Robust Program Equilibrium 1:07:47 Are ϵGroundedπBots inefficient? 1:15:06 Compatibility of proof-based and simulation-based program equilibria 1:18:32 Cooperating against CooperateBot, and how to avoid it 1:44:43 Making better simulation-based bots 2:01:22 Characterizing simulation-based program equilibria 2:21:24 Follow-up work 2:29:49 Following Caspar's research Links for Caspar: Academic website: https://www.andrew.cmu.edu/user/coesterh/ Google Scholar: https://scholar.google.com/citations?user=xeEcRjkAAAAJ&hl=en Blog: https://casparoesterheld.com/ X / Twitter: https://x.com/c_oesterheld Research we discuss: Robust program equilibrium: https://link.springer.com/article/10.1007/s11238-018-9679-3 Characterising Simulation-Based Program Equilibria: https://arxiv.org/abs/2412.14570 Manifold open-source prisoner's dilemma tournament: https://manifold.markets/IsaacKing/which-240-character-program-wins-th Results of Alex Mennen's open source prisoner's dilemma tournament: https://www.lesswrong.com/posts/QP7Ne4KXKytj4Krkx/prisoner-s-dilemma-tournament-results-0 A General Counterexample to Any Decision Theory and Some Responses: https://arxiv.org/abs/2101.00280 Cooperative and uncooperative institution designs: Surprises and problems in open-source game theory: https://arxiv.org/abs/2208.07006 Parametric Bounded Löb's Theorem and Robust Cooperation of Bounded Agents: https://arxiv.org/abs/1602.04184 A Note on the Compatibility of Different Robust Program Equilibria of the Prisoner's Dilemma: https://arxiv.org/abs/2211.05057 Episode art by Hamish Doodles: hamishdoodles.com

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

49 - Caspar Oesterheld on Program Equilibrium

0:00 2:32:07
of matches

Transcript Auto-generated, may contain errors

Hello everybody, in this episode, I'll be speaking with Casper Osterhld. Casper is a PhD student at Carnegie Mellon University, where he serves as the Assistant Director of the Foundations of Cooperative AI Lab. He researches AI safety with a particular focus on multi-agent issues. There's a transcript of this episode at ASRP.net, and links to papers we discuss are available in the description.

You can support the podcast at patreon.com slash aixrpodcast, or give me feedback about this episode at axrp.fi.i. Okay, well, Casper, welcome to Axrp. Thanks for having me. So today we're going to talk about two papers that you've been on.

The first is Robust Program Equilibrium, where I believe you're the sole author. And the second is Characterizing Simulation Based Program Equilibrium by Emri Cooper, yourself, and Vincent Conitzer. So I think before we sort of go into the details of those papers, you know, these both use the terms like program equilibrium, program equilibria. What does that mean?

Yeah, so this is a concept in game theory, and it's about the equilibria of a particular kind of game. So I bet I'd better describe this kind of game. So imagine you start with any sort of game, sort of in the game theoretic sense, like the prisoner slama, which maybe I should describe briefly. Yeah.

Like imagine we have two players, and they can choose between raising their own utility by one, or raising the other players utility by three. And they only care about their own utility, like they play against the stranger for some reason. They don't care about the stranger's utility. So they both face this choice.

And the sort of the traditional kind of game theoretic analysis of this game by itself is that you should just raise your own utility by one dollar, and both players will do this, and they'll both go home with one dollar. Or one, two dollar, whatever. And of course there's sort of some, yeah, some sort of tragedy, right? It would be nice if they could somehow agree in this particular game to both give the other player three dollars and to both walk home with the three dollars.

Yeah, yeah, yeah. And to just sort of drive home what's going on, right? Like if you and I are playing this game, right? The core issue is sort of no matter what you do, I'm better off giving myself the one utility or the one dollar rather than like giving you three utility, because I don't really care about your utility.

Yeah. So I guess there are two ways to put this. Firstly, just like no matter what you play, I would rather choose to like give myself utility option, come with a good effect rather than cooperate. Yeah.

And another way to say this issue is like in the version where we both give each other the three dollars, I'm better off deviating from that. Yeah. But if we're both in the like, you know, only give ourselves one dollar, you know, situation, neither of us is made better off by deviating. In fact, we're both made worse off.

So like it's a sticky situation. Yeah, that's all correct, of course. Okay, now this program game setup imagines that we take some game, and now instead of playing it into the sort of direct way where we directly choose between a corporate and effect, like raise money, utility by one dollar or the other players by three dollars, instead of choosing this directly, we get to choose computer programs. And then the computer programs will choose for us.

And importantly, so like so far, this wouldn't really make much of a difference yet. Like, okay, we choose between a computer program that affects a computer program that cooperates or the computer programs that runs and circles 10 times and then corporate effect doesn't really matter. Yeah. But the crucial addition is that the programs get to get access to each other's source code at runtime.

So when I submit my computer program, you submit your computer program, and then my computer program gets its input to the code of your computer program and based on that, you can decide whether to cooperate or defect or take any other game. So it can look at your computer program and sort of like, does it look cooperative and depending on that corporate or effect, or I don't know, is the fifth character in your computer program in A and then corporate if it is otherwise the fact on no reason. So submit this type of program, but this is the kind of thing that they would be allowed to do. Yeah.

Well, there are sometimes, so there's sort of like very syntactic analysis. A while ago, I was part of this like basically a tournament that did this kind of like prisoner one thing like with these open source programs. And one strategy that a lot of people used was like, if I see like a lot of characters, like if I see a string where that string alone means like I will cooperate with you, then cooperate with that person. Otherwise, the fact against that person, which I think if you think about it hard, this like doesn't actually quite make sense.

But like, there are sort of very syntactic things that in fact like seem kind of valuable, especially if you're like, if you're not able to do that much computation on the other person's computer program, like the simple syntactic hacks can like be better than nothing, I think. Yeah. Was this Alex Menon's tournament less wrong or was it different? No, this is the manifold one.

Okay. So this is a you had to write a JavaScript program. It had to be fewer than however many characters and there's also a market on which program and you can submit up to three things. So actually, it's kind of annoying to me.

Like one thing I only realized afterwards is the thing you really should have done is like write two programs that cooperated with your program and effective against everyone else's. Yeah. And then like, or just cooperate with the program, you thought it was like most likely to win and then you bet on that program. Right.

Or even you could submit three programs, have them all cooperate with the thing that like you hoped would win and effective against everyone else. And then like that on that anyway. But that setting, especially where you, so that setting, there was like a timeout provision where like if the program were too long, like your bot would be disqualified. And also you had to write a really short program.

So it was, I don't know, some people actually managed to like write pretty smart programs, but if you weren't able to do that, I think like relatively simple syntactic analysis was like better than nothing, I think. Yeah. I think there was this earlier tournament like 2014 or something like that when there was less known about this kind of setting. And a bunch of programs there were also based on these like simple syntactic things.

Yeah. But it's like in part because kind of like everyone was mostly thinking about these simple syntactic things. Right. Like it was all like a little bit kind of nonsense.

Like you would check whether the opponent program has like a particular word in it or something like that. And then, and then I think the winning program had particular words in it, which is still the fact. Yeah. So it's like the sort of, yeah, it's in some sense, all those dynamics are like a little bit, a little bit sort of nonsense or like they're not really tracking the, in some sense, the strategic nature of the situation.

Fair enough. So going back, you're saying, yeah, you have your opponent's program. You can like see if the fifth character is an A or. And then.

Yeah. What show one perhaps do? So the, yeah. So this, I think the setting was first proposed in like, I think 1984 or something like that.

And, and then kind of rediscovered or reinvented, I think like three times or something like that in various papers. And all of these initial papers find the following kind of very simple program for this prison-style amount type situation, which just goes as follows. If the opponent program is equal to myself, like to this program, then cooperate and otherwise defect. Yeah.

So this program is an actual program against itself and it cooperates against itself. So if both players submit this program neither is incentivized to deviate from playing this program, right? Like if you play this program, but checks that the two programs are the same. And if they are corporate, always defect, you submit this program.

The only, the best thing I can do is also submit this program. If I submit anything else, you're going to defect. So I'm going to get at most one, if I also defect, right? Whereas I get three, if I, if I also cooperate.

So yeah, all of these original papers proposing the setting, they all find this program, yeah, which allows stable cooperation in this setting. Right. And I think that like, so my impression, and maybe this is totally wrong, is I think for a while there's been some sense that like, if you're like a rational and you're playing the prisoners one against yourself, you should be able to cooperate with yourself. Like I think, um, I didn't, wasn't there some guy running in Scientific American about like super rationality and he held it constantly on this premise?

Yeah. Yeah, Hofstad, I think. Right. Right.

I think also in the A.T. or something, yeah, yeah, this, I mean, I've done a lot of work on this kind of reasoning as well that, like, I don't know, if you're like, I mean, for people, for humans, it's like a little bit hard to think about, right? If you like, you don't, you don't often face very similar opponents or like it's a little bit unclear, like how, how similar other people are, like, you know, is your brother or whatever, like someone who's related to you and like, what's brought up in a similar way, other very similar kind of hard to tell. But for computer programs, it's very easy to imagine, of course, that you just, you have, I don't know, you have to copy stuff off DP4 or something like that and play a game against each other.

It's a very normal, normal occurrence in some sense. Maybe not them like acting in the real world at this point, but this, this sort of having multiple copies of computer programs is quite normal. And yeah, there's, there's sort of this, yeah, related, but to some extent, independent literature on these sorts of ideas that you should cooperate against copies. Yeah.

Basically, basically, I'm wondering if the, like, if this idea of like, oh, cooperating against copies is like what inspired these like very simple programs? Yeah, that is a good question. Yeah, I don't know, I basically don't know to what extent this is the case. I know that the, yeah, some of the later papers on, on program equilibrium are rumors, some of these like specifically citing this super rationality concept.

But I think, yeah, I don't remember whether, yeah, these papers were like, I think, Macaphy is like one of these, yeah, wrote about this in the 80s. I don't know whether they discuss super rationality. Yeah. And it's kind of tricky because in that like, if you actually look at the computer programs, they're not doing expected utility maximization, right?

They're just like, or they're not computing, so they're usually maximization. They're just like, you know, if identical to me, cooperate, else to effect, just like targeted. Anyway, this is sort of a, maybe this is a distraction, but indeed, these were like the first programs like considering the program equilibrium literature. Yeah, so they sound great, right?

Yeah, so I mean, they're great in the prison dilemma. You can get equilibrium in which you can get cooperation, which otherwise you can't or like you can't achieve with like, I don't know, various, many other programs that you might write. But I think sort of in practice, and like kind of hard to, it's not so obvious what the practice of this, of this scheme looks like. Like if you think of any kind of practical application of this, it's sort of a problem that, you know, the settings are somewhat complex, and now you need, you need two people write programs independently, and then these programs, they sort of need to be the same somehow, or they need to, I mean, they're like slightly general versions, slightly more general versions of these, where they check some other syntactic properties.

But basically, yeah, you require that you kind of coordinate in some way on like a particular kind of source code to write, which maybe in some cases you can do, right? Sometimes maybe we can just talk beforehand, like if we place this prison dilemma, we can just explicitly say, okay, I'm, but here's the program that I want to submit, please submit the same program, and you can say like, okay, let's go. But maybe in cases where we really write these programs independently, maybe at different points in time, and these programs, especially if they do more complicated things than play this prison slumber, it's very difficult to coordinate with, yeah, without kind of explicitly talking to each other on writing programs that will cooperate against each other. Because even if, like, in the prison slumber, you might imagine that, like, I don't know, I might have like an extra space somewhere, or maybe you write the program, like, if the two programs are equal, cooperate, otherwise, affect, and I write, like, if the two programs are different, affect, else cooperate, like, these like very minor changes would already break these schemes.

So, okay, okay, I think my first, there's lots of, just ask about there, I think my first question is like, we have this initiative program equilibrium, like, what are we actually, are we trying to find Nash equilibria of programs? Are we trying to find like, evolutionarily stable strategies? Like, like, what are, or maybe, you know, there are tons of solution concepts, and we just want to play around with the space, but like, yeah, what are the actual, like, what's the thing here, you know? Yeah, so the most, the most, like, the solution concept that people talk about most is just Nash equilibrium.

So that's like the, if you look at any of these papers and you look at the results, they'll prove like, you know, these kinds of programs form a Nash equilibrium of the program game. Yeah, oh, I mean, that is like, the term program equilibrium literally just means Nash equilibrium of the game in which the players submit these programs. Yeah, that is almost always the solution, the kind of games theoretic solution concept that people use. And then, I mean, usually, usually a bunch of other things are sort of like a little bit more kind of implicit, like, it's kind of clear that you, like, people are interested in finding sort of good Nash equilibria, right?

Like, it's sometimes the whole point of the setup is, you know, we start out with the prisoner's dilemma, and sad, everyone's going to defect against everyone else and we're not getting to cooperation. And now, coming with this new idea of submitting programs that get access to each other's source code, and with this, we get these cooperative equilibria. So that is, that is usually, at least, yeah, I mean, it's often quite explicit in the text that you're asking, can we find a good equilibrium in some sense, like, yeah, once that are, like, parietal optimal in the space of possible outcomes of the game or something like that? Yeah.

Yeah. And then additionally, a lot of the, like a lot of the work after, yeah, after these early papers that do the syntactic comparison-based program equilibrium, are about this, yeah, this kind of intuitive notion of robustness that you want, you want to have equilibria that aren't sensitive to where the other program puts the spaces and the semicolons and, like, these syntactic details. But it's, yeah, it's kind of interesting that this isn't, like, this isn't formalized usually. And also, yeah, like, so the second paper that we talked about, like, presented this at AAAI and one, like, one game theorist came, came to our poster and like, I don't know, like, like, it came, it was sort of strange that there's no, like, there's sort of no formalization or like, in terms of solution concepts in particular of this, of this kind of robustness notion that, I guess, we'll talk about the programs that we're claiming, or like, that we are arguing are more robust, but like, this, this syntactic comparison-based program, there's sort of some intuitive sense that we can give concrete arguments, but it's sort of not formalized in the, in the solution concept.

Like, there's no, like, like, one of my papers is called robust program equilibrium, but robust program equilibrium is not actually a solution concept in the sense that, Nash equilibrium is not trembling hand, equilibrium is like, the robustness is more some sort of intuitive notion, but I think a lot of, a lot of people find compelling, but in sense, it's not, it's not formalized. Yeah, and it's fine, because, so I think it's very related, okay, I see this as like, roughly within both the collaborative AI traditions and like, Asian foundations traditions, and like, I think these traditions are sort of related to each other, and particularly in this setting, like, in decision theory, I think there's also like, some notion of like, fairness of a decision situation. So like, sometimes people talk about like, you know, like, like, suppose you have a concrete instantiation of a decision theory, meaning like, away somebody thinks about making decisions, there are always ways of like, making that concrete instantiation look bad by saying like, like, suppose you have like a Casper decision theory, a local CDT for sure, and you can be in a decision situation, right, where like, some like, really smart person, figures out what decision theory you're running, conscious you if you're running CDT, and then gives you like, a million dollars if you're not, and like, there's a sense that this is unfair, but also it's like, not totally obvious, like, like, like, in that setting as well, I think there's just like no notion of what the fair thing is, which is kind of rough, because you'd like to be able to say, yeah, my decision theory does really well in all the fair scenarios, and it seems like it would be nice if someone figured out like, relevant notion here, like, are people trying to do that, are you trying to do that? Yeah, so I think that, so yeah, there is some thinking like, in both cases, and I think the, probably like the most, the kind of notion that people talk about most is probably similar in both, so, so in this decision theory case, I think the, the thing that probably most people agree is that it should somehow, this decision situation should be somehow be a function of your behavior, like, it shouldn't, like, it shouldn't kind of check, like, do you run CDT, and if you do, yeah, punch in the face, yeah, it should be sort of like, if in this situation you choose this, then then you get some low reward, but sort of, yeah, sort of this behavior, it should somehow be behavior based, yeah, which I think still isn't enough, but it's, I mean, that sort of goes into the, the weeds of this, of this, of this literature, maybe we can link some paper in the, in the show notes, but the, the, I mean, the condition that we give in, like, in the, like, in the second paper, we, like, I don't know, like, or maybe even like in both of the papers that we know, it's just like, there's some explicit discussion of this notion of like, behaviorism, which also says, like, you, you want, in the program, a diagram setting, it's sort of, it's sort of nice to have a kind of program that only depends on the other programs' behavior, rather than the syntax, and all of these approaches to robustness, like, trying to, you know, do some proof of, about proofs about the opponent programs, like, about what the opponent program does, like, you know, you try to prove whether the opponent will cooperate or something like that, like, all of these, to some extent, like, these notions that people, it's kind of like intuitively find more robust, they're all like, kind of more behaviorists, at least, than, than this syntactic comparison based idea.

Yeah, although it's tricky because, like, um, I'm sorry, I don't know if this is like going to the weeds that you want to postpone, but like, so this behaviorism based thing, like, if you think about the, if you're equal to me, cooperate, else, to affect the program, this is behaviorally different from the, if you're unequal to me, defect, else cooperate, program, right? Like, it does different things in different situations, and therefore, like, yeah, like, once you can define an impartial thing, right, then maybe you can say, well, if you act identically on impartial programs, then like, you kind of is impartial, but actually, maybe that's just a recursive definition, and we only need like, one simple program as a base case. I think we do actually have, I think we have a recursive definition of, yeah, simulation, simulation is progress, right? And that I think is a little bit sort of like, trying to address some of these issues.

But yeah, it does go, it does sort of go into the weeds of like, yeah, how exactly, yeah, what exactly should this definition be? Yeah, okay, let's go back a little bit to Zidarata of program equilibrium. So they're computer programs, right? So presumably, like, this is addressed within the second paper, but just like, runtime, you know, computational efficiency, like that seems like a relevant to Zidarata.

Yes, I agree. And then like, I think that, I imagine various Zidarata can include, yeah, like a broad range of programs that you can like work well with. And it seems like there might be some notion of just like, don't fail, like, if you fail, fail, not so badly rather than fail really badly. Yeah, I don't know if there's like a, so this is like slightly different from the notion of robustness in your paper.

I don't know if there's a good, a good like, formalism for this idea of what's here. Yeah, I mean, in some intuitive sense, kind of what one wants right is that if I kind of like, yeah, slightly change my program, maybe even like in a way that is sort of substantial. Like, I sort of in the prison, I might as a little bit unclear, like, if I defect slightly more, like, if I, if I didn't cooperate 100%, but I cooperate like 95%, yeah, so if I'm clear, like, do you want to, like, to what extent should you be like, right? Should you, should you defect against me all the time?

Like in other, I guess, in other games, where maybe they're like different kinds of cooperation or something like that. And yeah, you want, if I like, kind of cooperate in like slightly the wrong way, the outcome should still be good. I think the main sort of like, I think in some sense, like, there's some, there's something here that's like, I think it's conceptually quite clear, right? This sort of like, if you deviate in some like, kind of like reasonable, harmless way, it should still be fine.

Like, we shouldn't defect against each other. We should still get like a decent, decent utility. But it's sort of the, the details are less clear. Like, yeah, what exactly are the deviations?

And it's probably depends a lot on the, on the game. Yeah. And then there are a lot of these sort of things in game series that's kind of like unclear, like, yeah, if I, if I defects 5% more, how much, how much really punish me for that, right? And so I think that's why, yeah, a lot of these things aren't, like, aren't really formalized in these papers.

Okay. So now that we know what program equilibrium is, why does it matter? Yeah. So there are lots of, there are lots of different possible answers to this question.

I think the most straightforward one is that, like, we can, we can view program games, like program equilibrium as sort of a model of how games could be played when different parties design and deploy AI systems. So this, this whole thing of like having a source code that the other party can, can like look at and maybe run or can like look at character five and stuff like that. And this is sort of something that is like somewhat specific to, to computer programs. Yeah.

Like we can talk about like, whether they're like human analog still, but, but like, when, I don't know, when we play a game against each other, this is sort of hard to imagine like in a cool end of this. Like, I just, I don't know, I have maybe I have some more, some vague model of how your brain works or something like that. But I don't really, like there's no source code I can't really run you in some ways. Whereas, whereas for if, if, if we both write computer programs, this kind of literally happened, right?

Like we can just literally say, you know, this is the source code that I'm deploying. I don't know, I have my charity or something like that. And I'm, I'm using some, some AI system to manage like how much to donate to different charities. I can just say, look, this is the source code that I'm using for managing what this charity does.

And, and, and here I think program equilibrium is, is, or program games are quite a kind of literal direct model of how, how these interactions could go. Of course they could also like, you can also deploy the AI system and say like, well, we're not saying anything about how this works. In which case, obviously you don't get these program equilibrium type dynamics. But it's a way that, that they could go and that people might want to use because it allows for cooperation.

So it's sort of, so I think the most direct interpretation is, yeah, is that it, it, it models like a kind of way that games could be played in the future when more decisions are sort of made by delegating to AI systems. And, and so as people in this kind of community who like, yeah, think and to some extent worry about a future where lots of decisions are made by AI, this is like an important thing to think about. And meanwhile, because like tomorrow's like game theories is sort of like a weird setting because well humans can't read each other's source code right in sort of, it's sort of understudied by our lights, I guess, because it's currently it's not a super important way that games are played. Which is interesting because like, there, so I guess we don't often have like games played with, with source code, with like mutual source code transparency.

But there really are like computer programs that play economic games against each other in economically valuable settings, right? Like a lot of trading, stock market is not like computer programs, a lot of like bidding for advertisement space is not like computer programs. So, and like algorithmic mechanism design, so like mechanism designing sort of inverse game theory of like if you want some sort of outcome, how do you figure out the game to make that happen? Like, you know, algorithmic mechanism design being like that, but you know, everyone's computer, like that seems like there's decent uptake of this as far as I will algorithmic game theory, there's decent uptake of that.

So I'm kind of surprised that like, the mutual transparency setting is not like more of interest to the world community. Yeah, I think I agree. I mean, a lot of these settings, okay, so the I think the trading case, I guess, yeah, it's a case where decisions are made on both sides by algorithms. But yeah, usually, because it's like, I don't know, it's kind of zero sum game, and you don't want to reveal to your competitors how your trading works for the, yeah, there's a lot of this mechanism design where you have an algorithm.

I guess those are usually cases where it's sort of like unilateral transparency, right? Like, I as a, like, I don't know, I auction off something and I'm saying, okay, I'm using this algorithm to determine who gets, I don't know, this, I don't know, this, I don't know, brought from frequency, like, these things that are being auctioned off it. So I guess those are cases with sort of unilateral transparency, and that is, I guess, studied much more in part because it's less, like, I mean, this also has been studied kind of traditionally in game theory much more, like, and sometimes like, I don't know, you can view it as some sort of stackable equilibrium, like, even, I don't know, you can view it all mechanisms design, it's like being a bit like, finding stackable equilibrium, and I guess stackable even, I think, like stackable books, analyses of game theory, like they even precede like, like, natural equilibrium. So, interesting.

So that is very old. Yeah. Where stackable equilibrium is like, one person does a thing, and then the next person does a thing. And so like, the next person is optimizing, given what the first person does, and the first person has to optimize what's really good for me, given that when I do something, the other person will optimize what's good for them, based on what I do.

Yeah. Yeah. So people, people get stackable equilibrium in these sorts of games, and it's like, a common thing. And yeah, yeah, it's an interesting point that you can sort of think of it as like, one way transparency.

Yeah. I think one, yeah, one thing, one could think about is like, how much, how much humans in these mutual transparency settings? So, yeah, I mean, I guess, I always kind of say, like, for like, individuals, humans, like, if the two of us play a business dilemma, yeah, yeah, I have some model of you, I can't really, you know, I don't know, like, seems sort of speculative. Yeah.

But there is, so there's this paper, which I really like by Andrew Kritch, Michael Dennis, and Stuart Russell, all from Jai, where of course you, you graduate from. And this, so this is about program equilibrium as well. And the sort of the motivating settings, setting that they use is institution design. Yeah.

And the idea there is that, okay, institutions, you can view them as sort of like, rational players or something like that. Like, I mean, they make decisions and they play games with each other, right? Like the, the US government plays game with a German government or whatever. But institutions have some amount of transparency, right?

They, they have laws that they need to follow. They have like, constitutions. They also, because they're sort of composed of lots of individuals that in principle, like, one could ask, right? Like, I don't know, the German government could check all the social media profiles of all the people working for the US government and sort of learn something about how these people interact with each other or something like that.

So there's, there's some like very kind of concrete transparency there. And in particular, like, yeah, so I mean, some things are really just sort of algorithmic type commitments, right? Like, I don't know, we don't, we don't negotiate with terrorists or something like that. It's sort of like a specific, it's something that's like in the source code of a country in some sense.

And it's kind of saying, yeah, we're specifying how it's going to choose in particular interactions. So I think that is a case where interactions between human, well, like, yeah, human organizations has this sort of transparency. And I guess I, yeah, I think that's like some evidence that we could, we could get similar things with AI at the same time. It's also kind of interesting that this hasn't motivated people to study this program at equilibrium style setting, which I think is probably because, like, I think as a computer scientist, it's sort of natural to think like, you know, the constitution is basically just an algorithm.

It's also a little bit, it's sort of like, this sort of, I don't know, like, computer science, people like explain the world to everyone else by using computer programs for everyone. And like, the mind is a program and the constitution is just a program. And we got it covered with our computer science stuff, which maybe people also, maybe some people also don't like so much. But I think it's at least, yeah, I think it's a helpful metaphor still, fair enough.

Okay, so some people do study program equilibrium. And so just to set up the setting for your papers before the appearance to the world of robust programming equilibrium, what do we know about programming equilibrium beyond the like, these simple programs that cooperate with your source code is mine. Yeah, so we do have, we have some, I guess we have some characterizations of the kind of equilibrium in general that are allowed by these syntactic comparison based programs, not sure how much to go into that at this point, but yeah, maybe maybe we'll get into into this later. I mean, my understanding is it's just like, I think I can do this quickly.

My understanding is basically like, if any equilibrium that's better, that's better off for all the players than like, unilaterally doing what they want, you can get with programming equilibrium, because you can just be like, or maybe it's like, you have to have punishments as well, but it's something roughly like this, right? You can have programs being like, you have to play this equilibrium. If you don't, then I'll punish you. And like, just write up computer programs saying like, if you do this, if you're equal to me, then like, if you're equal to me, and therefore play this equilibrium, then I'll play this equilibrium.

If you're not, then I'll do the punishment. Yes. Yeah, that's basically right. Is it only basically right?

I mean, it's, no, I think it's basically right. Like, I think it's fully right. I mean, it's like, in the way, it's, it's basically it's just like, in the way that all kind of natural language, yeah, yeah, yeah, it's, it is these, yeah, you can get anything sort of that is better for everyone than what they can get if everyone punishes them, right? Which might be quite bad, right?

Like, for example, in the Prison of Stilemma, like, we, like we had this nice story of how you can get mutual corporation, but you can also get, I know, one, one player cooperates 60% of the time, the other player cooperates 100% of the time, the reason why the 100% of the time cooperator doesn't cooperate less is that the 60% corporate kind of says like, yeah, if we're not both submitting the program that plays this equilibrium, this equilibrium, I'm going to always defect, right? So like, in terms of like, in the Prison of Stilemma, you can get anything that is at least as good as a mutual defection for both players. In like, in something like, kind of like, almost everything can happen. I mean, it can't happen that like one player cooperates all the time, the other player defects all the time, right?

Because they would, the cooperator would always want to defect. But yeah, I mean, that's, sorry, that's sort of the basic, the basic picture of what's going on here. Yeah, so this is, so that has been known and then post, like post, Tenenholz, which is like one of these, one of these papers, like, I think the paper that termed the coin program equilibrium and, and gave this syntactic comparison based program and this, yeah, folk theorem as it's called of what kind of thing, things can happen in equilibrium. After that, yeah, most, most papers have focused on this sort of, how, how do we make this more rust idea?

And in particular, the, yeah, what existed prior to the robust program equilibrium paper is, are these papers on making things more robust by having the programs try to prove things about each other? Yeah. So here's like a, here's maybe the simplest example of this that, like, one doesn't need, one doesn't need to like, no crazy logic for. Yeah.

So you could write a program, like in the presenter, you could write a program that tries to search for proofs of the, of the claim if this program cooperates, the other program will also cooperate. Okay. So you try, so your program, your program is now very large, right? It has this like proof search system.

It somehow can, it can find proofs about programs. Yeah. But basically, you can still describe it like relatively simply as I, I, I try to find a proof that if I cooperate, the opponent cooperates and, and then I cooperate, otherwise it's a fact. And it's sort of like, it's not that difficult to see that like this kind of program can cooperate against itself, right?

Because if it faces itself, relatively easy to prove that it will, that if I cooperate, the opponent will cooperate, right? Right. Right. The statement is just like, it's, yeah, it's an implication where like both sides of the implication arrows say exactly the same thing.

Yeah. And at the same time, this is, this is more robust because it's like this will be robust to changing the, you know, changing the spaces and so on, right? Like if I, like you can, it's relatively easy to prove, you know, if this program outputs corporate, then this other program, which is the same except that it has the spaces in different places or like switches things around in some way that doesn't really matter. Yeah.

This will also output that thing. I was also output corporate. So, so this, so this is a basic kind of proof based approach that will work. Yeah.

This was, so I think the first paper on this is by, yeah, Boris, I'll, I think there are like two versions of this, which have different first authors, which is a little bit confusing. I think the one of them on one of them, Boris is the first author and on the other one, it's Lava Guitois, I think, I think, I think, I think it's an American, probably the less French pronunciation is correct. But I actually think he does a Lava Guitois. Oh, okay.

I think I'm not 100% certain. Right in Patrick. Tell us. Yeah.

So those papers first propose these proof based approaches. They actually do something that's more clever and where it's much harder to see why it might work. Yeah. So instead, so I described a version, right?

The thing that you try to prove is if I cooperate, the opponent will cooperate. Yeah. They instead just have programs that try to prove that the opponent will cooperate. So you just do, if I can prove that my opponent cooperates, I cooperate outside effect.

And this seems, this is like much less intuitive that this works, right? You would intuitively think, surely this is like some weird infinite loop, right? If this faces itself, like, if I can, like, you know, I'm going to think, like, what does the opponent do? And then, well, to think about what my opponent will do to prove anything about them, well, I need to think, okay, they'll try to prove something about me, right?

And you run into this infinite circle. Like, you would think that this is like, basically the same as the sort of one, like one very naive program that you might write is just like, run the opponent program if it cooperates, cooperate, otherwise, otherwise, defect, right? And this really does just run in circles. Yeah.

And you would think that just doing like, proofs instead of this running the opponent program, that this, that this, you have the same issue, it turns out that, that this does, that this, you can find these proofs. And yeah, which follows from a sort of like somewhat obscure result in logic called loops theorem, which is a little bit related to, to good old second incompleteness theorem. Yeah, I think probably, like, it's, I don't know, with loops theorem, it's like relatively easy to prove, but it kind of like, hard to like the, I don't know, it's like a very, it's a very like, you kind of need to just write down proof and then it's relatively simple. But it's hard to, I know, it's hard to give an intuition for it.

I think it's also, it's one of these things, it's like, hard to state, unless you're like careful and remember, so my, okay, I've tried to write it down. It's like, if you can prove that, if you can prove that a proposition would be true, take a proposition P, loops theorem says that if you can prove that, if you could prove P, then P would be true, then you would be able to prove P. So if you can, if you can prove that the proveability of a statement implies it's true, then you could prove the thing. And the reason that, this is like sort of non-trivial or something is it turns out that you can't always prove that if you could prove a thing, it would be true because you can't prove that your proving system works all the time and you can start funky self-referential things that work out.

So, so unless I have messed up, that is loops theorem. Yes. And so my recollection is the way it works in this program is like, so basically you're checking if other program would cooperate, like, like I mentioned where both these, it's affecting unless proof of cooperation programs, right? Like, I'm like, okay, well, I want to check if you would cooperate given me, if you would cooperate given me is the same as if I would cooperate given you.

So, okay, so it's, so it's, here's the thing that I definitely can prove. If you can prove that, if I can prove that I cooperate, then you cooperate, right? But crucially, the I and the you are actually just the same because we're, we're at the same program. So if it's provable, that, if it's provable, then we cooperate, then we cooperate.

Loves theorem tells us that we can, therefore conclude that it is provable that we cooperate. Yes. Therefore, we in fact cooperate. And my understanding is like, so what do we actually do?

I think we prove Loves theorem and then apply to our own situation and then we both prove that we both cooperate and then incorporate. I think that's my recollection of how it's supposed to go. At least that would be one way. Yeah, I suppose there might be even shorter proofs.

Yeah. But yeah, that is, that is basically correct. Yeah, good, good recollection of the papers. Yeah.

Well, there was a, there are a few years in Berkeley where like every couple weeks somebody would explain Loves theorem to you and like talk about Loves and cooperation and it was so, so eventually you remembered it. Okay, nice. Yeah. Yeah, it's a, yeah, it's a very nice idea.

I actually don't know how they, like how they made this connection. I mean, also Loves theorem is relatively, it's relatively obscure. I think in part because it's sort of like, it doesn't prove that much more than you're just second and completeness theorem, right? Like it's a kind of a result like, like, if you can, like, so good in completeness theorem, it's like you can't, like a logical system can't prove its own consistency.

Yeah, it's sort of the same thing, right? Like you can't prove, you can't prove like, if I can prove something, it's true without just being able to prove the thing. Yeah. And so, and I think that's probably one reason why Loves theorem isn't, isn't very widely known.

And sort of like, for this, it's sort of like, it's sort of a result of like, for this thing, it's like happens to be like kind of exactly the thing you need, or like once you, once you have it written down, it's the, this cooperation property like, yeah, follows almost immediately. But, but, but how that makes a, but yeah, how, how they, I think I know this, or I have a theory about this. So originally, but so before they were talking about living cooperation, there was this, uh, living obstacle or loads of, yeah, self trust, right? Where like, they're like, ah, from, like, you might want to say like, oh, I'm gonna like, create a successor who programs me and like, if I can prove that the successor program is going to do well, then, or like, all the programs are going to be like, you know, if I can prove a thing is good, then I'll do it.

And can I prove that like a program that I write is going to be able to do stuff and it's a little bit rough, because if I can prove that you could prove that a thing is good, then I could probably prove that the thing is good myself. And so why am I writing the, so maybe this just caused Loves theorem to be like on the mind of everyone. I have this theory, but I don't think I've heard it confirmed by any of the authors. Okay, it's a good theory, I think.

Okay. So, so we had a syllabi on cooperation, idea floating around. Um, and this is like one thing that was known before, uh, these, these papers were about to discuss. Uh, is there any anything else that, uh, important?

So there is, I think there's like, yeah, there's a little bit more kind of like extension of this Lubean idea. So I think there's like a, like one week, okay, so one weird thing here, right, is that, yeah, we have these programs, like if I can prove this, then I can operate. Um, of course, whether I can prove something is not, it's not decidable, right? There's not like an algorithm that like tries for 10 hours and then it gives up and like, right?

Um, like that's not what I can prove, like, provability would normally and so there's a, there's a paper by Andrew Critch, I think 2019, that shows that well, actually, um, this like, loops theorem still works. Um, if you, if you consider these sort of like bounded, like, you, you try for like, with like a given amount of effort, like specifically, I don't, you try, like all proofs of a given length, I think it's the, yeah, it's the constraint and it sort of shows that some version of loops theorem still holds and it's still enough to, um, to get this Lubean corporation if, um, yeah, if the two players kind of like consider proofs up to like a kind of long enough length. Yeah. Uh, they can still have to be the same length.

Yeah, it doesn't have to be the same length of the point. It just has to be the length of that paper. Yeah. Right.

Yeah. Which is great. Right. Um, very fun result.

So there's a lot of incorporation. There's parameter grounded, load in cooperation. Um, anything else of note? Yeah.

I think there's not, okay. I think one other thing that I think is kind of interesting, um, I mean, this is not really like a important fact, but I think it's like a nice and important thing to understand is that the, um, like the for the Lubean bots, it's sort of like the, like, it matters that your check for, that you're trying to find a proof of the other player corporates rather than, you rather than trying to find a proof of the other player defects. And, um, and the same is true, um, the same is true for the, for like the defect case, I guess. So, uh, sorry, the, sorry, the, the, the implication case that I described, like if you, if you, if you first, if you try to check, like, is there a proof that if I defect the opponent will defect, um, I mean, I'm not sure why you would do that.

Um, yeah, but, uh, well, you might do it, um, based on like, or, I mean, you can imagine similar things of just like, okay, if I try and punish you, will you, or if I defect, we cooperate with you, naively, like a sucker? Um, if so, then I'm just definitely going to defect, right? Um, right. So then I guess you would, you would not, like, you would check with some other property or you would check, like, if I defect, will you defect if so, then I'll cooperate?

Like, maybe that would be the program. Yeah, maybe that is even the more sensible program. And I guess that, uh, they're not sure whether this, uh, cooperates against itself. That, so in the, um, like in the, in the, in the, this, yeah, it must cooperate, right?

Cause, like, suppose, okay, let's, let's think. Um, so suppose we're the same program, right? That it's basically like, if proofable defect, if and only a proofable defect, then cooperate else to effect. Approval defect, if and only a proofable defect, it's the same.

Like, you don't have to go into the, like, like, you can just see that it's the same expression on both sides. Right. So you must be, yeah. Yeah.

This is not an equilibrium though, right? Like the opponent just submits the effect bot. You're going to cooperate against it, right? Yes.

It's not an equal, it is a program. It is an equilibrium. Yeah. Okay.

Okay. I got a, I got a soft track here. Wait, wait, oh yeah. But you were saying that you have to like, like, you kind of want to be proving the good case, not the bad case.

Yeah. So I guess for the, yeah, maybe let's do the, the, the, like the version from the paper, like, if I prove, if I can prove that you cooperate, I cooperate, otherwise I defect, right? Like, if you think about it, like, in this program, it doesn't really matter that like, corporate mutual cooperation is sort of the good thing. Yeah.

And mutual defection is the bad thing. Like, ultimately, it's just, we have two labels cooperating the fact, yeah, could call them A and B instead. And it's just like, if, if I can prove that you output label A, I also output label A, otherwise I'll output label B. And sort of regardless of what these labels are, this will result in both outputting label A.

And if label A is happens to be defect rather than corporate, these will defect against each other. So it sort of matters that you, like, you need to, yeah, you need to sort of like, like, try the good thing first or something like that. Yeah. Yeah.

I guess like maybe the most intuitive way of thinking about it, which I haven't thought about a ton since it's made up of accurate, but it feels like it's like, you're saying up a self fulfilling prophecy of like, or if the other person happens to be you, then you're saying up a self fulfilling prophecy. And you want to start up a good self fulfilling prophecy, not the bad self fulfilling prophecy. I think this is true in this setting. My question is that there's also like decision theory situations where you want to like try and prove where you really care about the order in which you try and prove things about the environment.

And I forget if self-filling prophecy is like the way to think about those situations as well, you know, they're conceptually like related. We can perhaps leave that to listeners if it's too hard to figure out right now. Okay. So now that we've known this like sad world that's confusing and chaotic, perhaps we can get the light of your papers.

Okay. I mean, I should say I really like the proof based stuff. I mean, yeah, we can talk a little bit about what the what maybe the upsides and downs are down. Yeah, it is it is confusing.

I would think the main, yeah, I would think that one one issue is with it is that sort of like in practice, you know, what what programs can really prove things about it's a little bit. Yeah, I mean, my intuition is that it's like the point of that work is supposed to be like, oh, like it seems like it's supposed to be modeling like cases where you have like good beliefs about each other. Yeah, I mean, I'd be exactly proofs. And you hope that something like love serum holds in this like moral access setting, which it may or may not exactly know.

But yeah, I agree. I also kind of view it this way, which is sort of like a more metaphorical way. Yeah, I mean, there's some distance between the between the mathematical model and the like the actual actual way it would work then. But I want to hear about your paper.

Right. Okay. So now let's get to let's get to my my paper. So my paper is on whether we can get these corporate corporate equilibrium, not by trying to prove things about each other, but by just by simulating each other.

Yeah. And I already like I already mentioned that like there's a sort of super naive kind of intuitive approach that you like to run the opponent against like you would like to do like run the opponent with myself as input to see if they cooperate if they do cooperate otherwise to fact, right? Just sort of this like very obvious like intuition, maybe like from from like, I don't know, tit for tat and repeat games that you want to you want to reward the other player for cooperating and get to get a good equilibrium that way. And the problem with this, of course, is that it doesn't hold right if both players do this.

Yeah. And I guess this would work if we have if you play this sequentially, right? Like we talked about the Suckerberg stuff earlier, right? Like if I just play, submit a program first, and then you submit a program second, then it would work for me to submit a program that says run your program, cooperate if it cooperates the facts, the effect of your program, the facts, yeah, you would be incentivized to cooperate.

Yeah. But if both players play simultaneously, infinite loop, so kind of doesn't work. If you had reflective oracles, then it could work depending on the reflective oracle. But that's a whole other bag of worms.

Yeah, I guess reflective oracles, I'm probably shouldn't get into it, but it's sort of like another model that's like a little bit, maybe it's also a little bit like, I don't know, maybe it's like a little bit sort of in between the proof based stuff and the simulation, simulation stuff. Yeah. And anyway, yeah. So it turns out there's like a very simple fix to this issue, which is that you can just like instead of just always running the opponent and cooperate, cooperating if and only if they cooperate, you can you can avoid the infinite loop by each like, just cooperating with epsilon probability.

And only if that's sort of if this like epsilon probability clause doesn't trigger, only then do you run the other program. So it's like your program is just like, you, yeah, I don't know, flip a very biased coin, like epsilon small number, right? So you check whether like some low probability event happens. If it does, you just cooperate without even looking at the opponent programs, sorry, program.

And otherwise, you do simulate the other program and you copy whatever they do is cooperate if they cooperate effectively, the effect. And the idea is that basically this just like it's sort of the same intuition as the, you know, just copy like just simulate the opponent and do the sort of instantaneous to to that, except that now you don't run into the infinite, that's like running running for infinitely long issue, because well, you just like, I mean, you might, it might take a while, but like eventually you're going to hit this, these epsilon clauses, right? Like if we both submit this program, then okay, probably like, there's some chance that I'm immediately cooperating, but most likely I'm going to call your program, which might then also immediately cooperate, most likely it's going to call my program again, and so on. And but at each point, we have a probability epsilon of kind of like, uh, halting, uh, and, uh, yeah, and like with probability, with probability one will eventually, uh, will eventually hold, yep.

And, uh, and this special case of this like general construction, you have in the paper, right? Yeah, so this is for the prisoner's dilemma in particular, and right, the way you, yeah, you have these two actions that happen to be cooperating in the effect. In general, yeah, you can, you can, in general, there are like two things that you can specify here, right? Like you specify what happens with the epsilon probability, and, and then the other thing that you specify is what happens if you simulate the other player, you get some action out of the simulation, and now you need to kind of react to this in some way.

And so it's like, the paper draws this connection between, um, between these epsilon grounded, uh, piebots as they're called, and, um, and repeated games where you can only see the opponents last move. So it's like, it's kind of similar to that where you, okay, maybe like the, the, this like epsilon clause where you, you don't look at your opponent as kind of like playing the first round where you haven't seen anything of your opponent yet. Um, and I guess in the prison slum, I'm sort of like, yeah, there's this well known to Fortat strategy, which says like you should cooperate in the beginning, and then at each point you should look at the opponent's last move and copy it as a corporate if they cooperate. Um, but in general you could have, yeah, you could have these, yeah, myopic, uh, like, strategies for the, for these repeated games where you, you do something in the beginning, and then at each point you look at the opponent's last move and you react to it in some way, maybe, I don't know, do something that's equally cooperative or maybe something that's like very slightly more cooperative to kind of like slowly get towards cooperative outcomes or something like that.

Um, so you could, you could have these strategies for, uh, iterate for repeated games, um, and you can, you can turn any of these strategies into programs for the, uh, for the program game. So one thing that's, um, that I just noticed about this space of strategy, so this is strategies that only look at your opponent's last action, right? Yes. So in particular, like, um, so there's this other, um, there's this other thing you can do which is called like, Wednesday, we switch, um, where like, you know, uh, if, if you cooperate against me, then I just do whatever I did last time.

If you fight against me, then I do the opposite of what I did last time, and it seems like, um, well, uh, it seems like this is another reason that your next, another thing that your next paper is going to fix, but in this strategy, it seems like I can't do this, right? Yes. Yeah, it's very, yeah, it's really, very restrictive. Um, yeah, you can really, yeah, you, I mean, ultimately you can, I mean, most of the time you're going to see one action of the opponent, you have to react about somehow, and that's it.

Yeah, but, but it's cool. So it's a nice idea. And so it's basically this connection right between like, if you can have a good iterated strategy, then you can write a good computer program to play this like a mutually transparent program game, right? Yeah.

How much do we know about good, iterated strategies? That is a good question. So I think, so for the program, uh, for the, for the iterated prisoner's dilemma, there's a lot about this. Um, like there's sort of, yeah, there are a lot of these tournaments for the iterated prisoner's dilemma.

Um, I'm not sure how much there is for other games actually. Like, um, yeah, you might, I don't know, like this, yeah, I don't know, iterated stack under something like that. Um, I guess maybe, yeah, maybe for a lot of the other ones, sort of too, too easy or so. Um, yeah, I mean, there's some literature, and I mean, you can check the paper like there's some, they're like various kind of notions that people have looked at, like, exploitability of various strategies, which is sort of like how much, uh, how much does the other player kind of, like how, how much more utility can the other player get than me?

Um, if I play the strategy, so like, for example, sit for tapped, if the opponent always defects, um, you're gonna get slightly lower utility than them because in the first round, you cooperate and then they defect and then all subsequent rounds, both players defect. Um, and so the, so it's like very slightly exploitable, but not very much. Um, so these notions that have been studied and like, yeah, in my paper, I kind of transfer these notions like you get, if you, if you take a strategy for the iterative prisoner's dilemma and you, it's, or like, for any, for any repeated game, then it's like, has like some amount of exploitability, but the analogous, similar, like, epsilon grounded, pie bot strategy has like the same amount of exploitability. Yeah.

Um, but yeah, I'm not sure, I think this is, there's also kind of an interesting question in general, like, sort of like how, how much like qualitatively different stuff is there even like, in this purely epsilon grounded pie bot space? Like, if you just, if all you can do is look at the other, like one action of the opponent react to the, to this action, like how much more can you even do than things that are kind of like this sort of tit for tat, like I mentioned this, like, like in more complex games, maybe you want to be like slightly more cooperative. So that's, sort of the idea is that if you like, I don't know, you, I don't know, like you, after like a bunch of simulations, you eventually become very cooperative or something like that. Yeah.

And I have a theory. So, okay, in my head, I'm thinking like, okay, what's the general version of this? I'm going to give two, two ways that you can generalize, right? So here's what I think, here's what I'm imagining you should do in general.

Okay, you have a game, right? Well, first you think about, okay, what's the good equilibrium of this game, right? And then what do I want to do if the other person doesn't play ball, right? Seems like there are two things I could do if the other person doesn't join me in the good equilibrium.

Firstly, I could like, do something to try and punish them, right? And secondly, I can do something that will like, make me be okay, like, be good enough no matter what they do, right? Like, I'm not exactly, like, I don't exactly know how you formalize these, but my guess is that you can formalize something like these, and I guess that these will look different, right? And so you can imagine saying like, okay, with absolute probability, I do my part to be in the good equilibrium.

And then the rest of the time, I see like what the other person does, if they play the good equilibrium, I play in the good equilibrium, if they go in the good equilibrium, then depending on what I decided earlier, I might be going to like, punch them or I'm going to do a thing that's fine for me, or I can imagine that I like, randomize between those, like, maybe there's some like, best of both worlds thing for animizing. I don't exactly know, but um, the, do you have a take on that? I mean, there's at least one other thing you can do, right? Which is trying to, like, try to push, like, try to be like slightly more cooperative than them in the hope that, like, you just kind of like, right, like by doing this repeatedly, like, if you imagine like, the repeated game, right?

At any given point, you might, you might want, you might want to be like, trying to be a bit more cooperative in the hope that like, the other person will figure this out, that this is what's going on and that you're always going to be like, a little bit more cooperative than them. And that this will kind of lead you to the good equilibrium or like, to a better equilibrium than what you can get if you, uh, if you just, yeah, punish, I mean, punish usually means you do something that you wouldn't really want to do, you just do it to incentivize the other player, or, yeah, or even the kind of like, okay, well, you're going to go and do whatever, but I'm just going to do something that makes me, makes me okay. I mean, is, is it like, so to be more cooperative from the other person thing, I feel like that's already part of strategy. So like, okay, here's what I can do with epsilon probability, do the like, good equilibrium, then, uh, simulate what the opponent does.

Um, if they do the bad, if they do the good thing, if they're in the good equilibrium, then I join the good equilibrium, if they join the good equilibrium, then with epsilon probability, I be part of the good equilibrium and then otherwise I do my like, other action, like that with that with epsilon probability for being slightly more cooperative, like you could have just folded that into the initial, like, probability, right? Right. I guess the difference is that, um, you can like, you can be sort of like, you can be epsilon more cooperative in like a deterministic way, right? Like, um, like with the, this like, epsilon probability thing, yeah, like you're like, like, some of the time you play your favorite or like the equilibrium that you would like to play.

Yeah. Um, but, um, the, like, this alternative proposal is that like you always become slightly more cooperative, right? Which is, um, I mean, I'm not sure how these things play out. I would imagine that like for, for characterizing what the equilibria are, um, probably, probably all you need is actually the punishment version, like, the, but, but I would imagine that if you want to play like some kind of robust strategy, you would sometimes do this, like move into like a slightly more cooperative direction or something like that.

I guess another, like, another thing to think about is that you could have, like, you can have all of these games where there are like lots of ways to cooperate and they sort of like vary in how would, like, in how like, they distribute the gains from trade or something like that, right? And then, then there's sort of a question of what, like, what exactly happens if your opponent is like, I don't know, they play something that's kind of cooperative, but sort of like in a way that's like a little bit biased towards them. Um, yeah, in which case, um, I guess maybe you would view this as just like a form of punishment if you then say like, well, I'm going to stay like somewhat cooperative, but I'm going to punish them enough to, to make this not worthwhile for them or something like that. Yeah, if there's different cooperative actions that are more or less cooperative, then definitely, it definitely makes sense.

Okay. But at the very least, I think there are at least two strategies in this space, although maybe the, I don't know if we're in Glubia, to be fair. Um, I think the, so, okay, there are a few things about this strategy that I'm like interested in talking about. So the first thing that seems kind of strange is suppose like, I'm this like, you know, you know, I, I, we're both playing the same, like kind of a tiff or tap it in our head strategy, right?

The time that it takes us to eventually output something is order one on epsilon, right? On average, because like, with epsilon, with epsilon probability, we finish and then like, you know, it takes like one on epsilon rounds for that to happen, right? Uh, yeah, I think that's roughly right. I think it's like a geometric series, right?

Yep. Uh, yeah. Yeah. Yeah.

I think it's like roughly one of that. Yeah. It's one minus one. It's one minus one.

It's just very close to one. Yeah. So like, um, that strikes me as a little bit wasteful, right? And, and like, so the cool thing about the, um, about the Lobbian version was like the time it took me to like figure out how to cooperate myself with myself was just the time it took to like do the proof of Lobe's theorem.

Uh, no matter like how, like, it was sort of this constant thing, right? Whereas with like epsilon version, like the, you know, the smaller the epsilon is, the longer it seems to take for us. And we're just going like back and forth, right? We're going back and forth and back and forth.

I have this intuition that there's like something wasteful there, but I'm wondering if you like, agree with that. I think, yeah, I think it's basically right. So like, I think, I think it basically is like, I don't know, I share, I think I share the intuition that it's sort of, yeah, there's something like, yeah, especially if you have like a very low epsilon, right? There's, there's a lot of just kind of like doing the same back and forth thing for a long time without, yeah, without getting anything out of it.

Um, I suppose, like one thing is that, yeah, you could try to speed this up right? Like if you, um, like if I, so let's say I run your program, right, then instead of like just running it into my if way, I could, uh, I could do some analysis first, like I can write in a way that like a compiler with like, if you have like a compiler of computer program, it might be able to like do some optimizations. And so like maybe I could, like, I could analyze your program, analyze my program and I could tell like, okay, what's going to happen here is that we're gonna, uh, we're gonna do a bunch of like nothing, uh, like until this like epsilon thing triggers. So really, instead of like doing like this actually calling each other, we just need to, like, we just need to like sample the kind of depth of simulations according to this geometric distribution, like the distribution that you get from, uh, from this like halting it, uh, with probability epsilon at each step.

Yeah. Um, so you could, if you could, like, you could do this analysis, right? Like if you, if you expect, especially if you expect that your opponent will, will be an epsilon grounded fairbot, you might like explicitly sort of like put in your compiler or whatever, uh, something to like check whether the opponent is like this epsilon grounded fairbot. And if so, uh, we don't, we don't need to, we don't need to do this, like actually calling each other, we just need to sample the depth and then, um, and then you just need to, yeah, then, then, then like in some sense, the computation you need to do is like sample the depth, then sample from what the opponent, well, whatever is at that, like whoever holds, yeah, at that point, um, like sample from their like sort of base distribution, like their, their like blind distribution.

Yeah. And then sort of propagate this through through all of the, like the function that both players have for taking a sample of the opponent strategy and generating a new action. Um, and if, if this is all very simple, then you can, you, like you can, you can show that like in principle, like your compiler could say, okay, I'm here doing all of this like for the epsilon grounded fairbot in particular, sorry, the epsilon grounded fairbot is the version way, like the version for the prisoner slumber. Yeah.

And, uh, you can, in principle, like your compiler could directly see, okay, what's going to happen here? Well, we're going to sample from this geometric distribution, then cooperate will be sampled and then a bunch of identity functions will be applied to this. So this is just cooperate without needing to do any, yeah, like any actual running this, like doing recursive calls by, uh, you know, something, something with the stack and so on, like you don't probably don't actually need any of this. Yeah.

Yeah. I do. Yeah. I do think, yeah, there's something like very, very compelling about like, okay, like if I can prove that, like, you know, the good thing happens or whatever, then like do the pre-facing, if I can't prove anything, then do the simulation stuff seems intuitively compelling.

I imagine you probably want to like, these are checks if that works on the pre-face side depending on the strategy you want to implement. I mean, the thing I'm proposing is not, it's not to have this like fall back, like the proof fall back, but just that you, like you do, you always do the epsilon grounded fairbot thing, for example, or the epsilon ground pivot, you just, like you're, you're like, like, instead of like calling the opponent program in the naive way where you actually run everything, you throw it in like this clever compiler that analyzes in some way. And maybe this compiler can do like some specific optimizations, but it doesn't, like, it's not a fully general like proof search or anything like that. I mean, it's checking for some proofs, right?

Yeah, it's checking for some specific kinds of proofs, yeah. Which I guess is like, I mean, that's how like modern they compiler-icizing work, right? It's that they have, they like understand like specific kinds of optimizations and they can make those, but they don't, I mean, they don't have a fully general proof search or anything like that. I guess I was imagining a slightly like, sorry, when you said that I was half listening and then half thinking about a different thing, which is like, you know, you could imagine like epsilon grounded fairbot, which is, okay, first, if your source code is equal to mine, then cooperate.

Else if your source code is the version of epsilon grounded fairbot that doesn't first do the proof search, then cooperate. Else, it's probably, probably epsilon, probably one minus epsilon do what the other person does, right? Yeah. And that would, like, that probably, that particular version probably doesn't actually get you that much because like the other person like added some spaces in their program and then I'm like, oh, but you could do some proof stuff instead of their, yeah, I guess there are a few possibilities here.

Yeah, but it does seem like, does seem like something's possible. Yeah. And for what it's worth in general, I think these different kinds of, like, yeah, these different kinds of ways of achieving this more robust program and equilibrium, they are compatible with each other. Like, if I, if I do the epsilon grounded fairbot and you do the lubian bot, they are going to cooperate with each other.

They, you're sure? I'm pretty sure. Yeah. Okay.

You've probably thought about this. Yeah. I did. Yeah.

I've got a paper that's about, like, I mean, it's not a real paper. It's sort of like a note on this. Yeah. Cause like, like, if you're, let's say you're the lubian bot.

So you prove, try to prove, yeah. Like maybe, maybe that's take like the simplest version. So we don't need to go down the list there and path again. Yeah.

Take the simplest version, which is just, um, uh, kind of proof that I cooperate. You cooperate. Yeah. You can, like, if you're the lubian bot and I'm epsilon grounded, I bought, sorry, epsilon grounded fairbot, you can prove that if you cooperate, I will cooperate, right?

Because well, I'm epsilon time. Sorry. Can you say that without using you and I? Okay.

Yeah. So, okay. So am I allowed to say, I submit a program that's you are, okay. So I submit a program.

Yeah. That says, uh, that is the epsilon, just the epsilon grounded fairbot. Yeah. So just, uh, yeah, epsilon probability cooperate.

Otherwise simulate you and do what you do. Yeah. And your program is, if, uh, if it's provable that if this program cooperates, the other program cooperates, then cooperate and otherwise defect. Yeah.

Okay. So like, you're, so let's think about your program, the proof based one, the proof based one. Yeah. Um, so your program will, well, it will try to prove if it cooperates, cuspus like my program will, uh, okay.

Well, the epsilon grounded fairbot will cooperate. Okay. So proof based program is trying to prove if proof based program cooperates, then sampling program cooperates and it will be able to prove that. I think that other implication is slightly trickier, but maybe you only care about the first implication.

Yeah. So what is the other implication that if the sampling based program cooperates, then the proof based one will cooperate. Actually, maybe that's not so bad because, but do you actually need this? Like you can, you can prove that the proof based program, yeah, will it will succeed in proving this implication.

Yeah, right. And it will def a corporate. And that's how it proves that it will do it in the other direction. And well, I mean, that's how one can then see that the epsilon grounded fairbot will also cooperate.

Yeah. Because it will, well, with epsilon probability of the corporates anyway, the remaining probability does whatever the proof based thing does, which we've already established is to cooperate. Yeah. Yeah.

Sorry. Does this leave anything open or? So the thing I was curious about is, oh, yeah, I think I was just thinking about a silly version of the program where the proof based thing is checking if my, if I can I prove that if I cooperate, so can I prove that if my opponent will cooperate, then I will cooperate. But I think he wouldn't actually write this because it doesn't make any sense.

Yeah. No, I think that, yeah, that seems, that seems harder. I don't know. Maybe if we think about it for two minutes, we'll figure it out.

Yeah. Yeah. I think one wouldn't submit this program. Yeah.

I next one asked a different question about this like a different attack based spot. So this, this spot is going to cooperate against corporate, right? The but the boys cooperate. That seems pretty sad to me.

Yeah. Right. I'm wondering how sad do you think that this is? Yeah.

I'm not sure how sad. Okay. Two answers to this. The first is that I think it's not so obvious how sad it is.

And the second is that I think this is a relatively difficult problem to fix. So on the like how sad is this? Okay. So I agree that like it's sort of like, I don't know, it sort of depends a little bit on like what you expect your opponent to be, right?

If you imagine like you run around the world and like you're like, sorry, you're this program, you've been written by Daniel and you run around the world and you face opponents. And most of the opponents are just inanimate objects that weren't created by any one for strategic purposes. Yeah. Now you face the classic like rock that says cooperate on it.

And it's just it happens to be a rock that says cooperate, right? Yeah. You should obviously, yeah, you don't really want to cooperate against that. But like here's another possibility.

So let's say you do like we play this program at equilibrium game literally and you submit your program, right? And you know that the opponent program is like written by by the by by Casper, who probably thought about some strategic stuff, right? Then okay, it could be that I just wrote a corporate watch, right? And that you can now get away with defecting against it.

But maybe you could also imagine that like maybe there's like something funny going on. And so for example, one thing that could be going on is that I could like here's a completely like a pretty similar scheme for achieving corporation and program equilibrium game, which is based on like not the programs themselves mixing, but the players mixing over what programs to submit. And so I might mixing in randomizing. Yeah, randomizing.

Yeah, very good. So I might randomize between the program that just corporates the corporate bot, your program that corporates if and only if the opponent corporates against corporate bot. So it's sort of like a second order corporate bot to like something like that. And then you can kind of imagine how this goes on, right?

Like at each of my programs is sort of some hierarchy of programs that check that you cooperated against the one down one lower the list. Like in some sense, this is kind of similar to Epsilon grounded to the Epsilon grounded fair bot. I guess in that, like at each stage, you like kind of like, you can look at my program and like, okay, it would be like maybe I could just effect or something like that. But the problem is you might be in a simulation of the programs that are like higher in the list.

And so here you would want to, if I submit this distribution, you would still want to cooperate against my corporate bot, of course. So that is one reason to want to cooperate against corporate bot. Yeah, I guess it's tricky because like, like it suddenly means that it really matters how like which things in my environment I'm modeling as like agents in which things in my environment that I'm modeling as like non-agents, right? Because like, yeah, so in my actual environment, there are like, I think there are many more non-agents than there are agents.

Yeah. And then like, not only do I have to take this word about, right? Like, not only do I have to like model it as a non-agent, but I've also, it seems like maybe I've also got to be modeling like what are the other things that could have done if this is were different, right? And then like, it feels like I'm going to like, like, it seems like if I have this sort of attitude towards the world, a bunch of like bad things are going to happen, right?

And also like if I'm in a strategic setting with like, you know, other agents that are trying to be strategic, like I think I think it does actually, I think you do actually want to be able to say things like, hey, if I defected, would you cooperate anyway? In that case, I'll just defect. But if your cooperation is dependent on my cooperation, then I'm going to cooperate, which is hard, it's hard to do with this construction because I'm changing two things and that like exploits into a big tree. But like, I think I think this seems to me like something that you do want to do in the programming equilibrium world.

So yeah, I guess those are two things. I'm wondering like, what your takes are. Yes, I mean, I agree that it would be nice to know how to do the like this sort of like, yeah, could I like for this given opponent program, could my defecting like, would it make the opponent affect and so like this, like, I think like a program that exploits corporate, what and corporates against itself in some robust way. I believe that this would be desirable.

I guess we can say more about like, to what extent is feasible. And I do think that basically like in some, I think in some sense, one does just have to do the, you know, form the beliefs about like what, I don't know what the water bottle could have been and things like that. Like I guess with the water bottle, I don't know, like I mean, sort of like a weird example, like with the water bottle, I guess you would, yeah, you would have to think about like, is it, is there someone has like a reason, like, do you have a reason to believe that there's someone who's like simulating what you do against the water bottle and like depending on that does something, right? And like, I guess in the, in the strategic setting where like, you know that the opponent program is submitted by, by Casper, like by someone who like knows a little bit about this literature, you just have like a very high credence that like, if you face a corporate bot, probably something funny is going on, right?

Yeah, yeah, the high credence that there are like some simulations being run off your, your program that check what your opponent, what your program does against various opponents. And so you have to, you have to optimize for that case much more than you optimize for the case where your opponent is just a corporate bot. Whereas with a water bottle, you don't really have this, right? Like, like, I don't know why would someone similar like, okay, the water bottle could have been, I mean, people really did design this water bottle by thinking about how people would use it, right?

So, so like, if I'm, yeah, I think I have a few thoughts there. Firstly, like if I'm just not even like, did people change how this water bottle would work depending on how, like, how other people would like interact with it? Like, that's just true. I mean, they didn't get the water bottle itself to do that.

So maybe that's the thing I'm supposed to check for. It's also true that like, if you do go to real, and maybe this isn't like a great example, because if you go to real, like, you know, mutually transparent prisoners, dilemmas, right? Like, they, people do actually just write down programs in this. And it's possible that like, okay, these are played for like 10 bucks or something.

And that's why people aren't really trying. In fact, like some people are bad at writing these programs. Yeah. And you want to exploit those programs, right?

And I guess I also have this issue, which is like, okay, so it seems like then what's going on is like my overall like, program strategy or something is first check if I'm in a situation where I think the other program was designed to like be, you know, designed to like, care about what I am going to do, then cooperate otherwise effect. Maybe this is not so bad in the simulation setting. In the proof-based setting, this would be pretty bad, right? Because now it's like much harder to prove nice things about me.

In the simulation setting, it might just be fine as long as we're really keeping everything the same. Yeah, maybe this is an advantage of a simulation setting actually. I don't really know. Yeah, sorry, I'm not sure I fully followed that.

Okay, like I took your proposal to be, okay, like the thing you should do is you should like figure out if you're on a strategic setting where the other person is like basically definitely not going to submit a corporate but where I'm imagining myself as a computer program. And maybe this like kind of different to what you're saying. But I was imagining that the program was check if the other person is going to, you know, check if the other computer program was plausibly strategically designed. Then if so, then do epsilon grounded fair about what otherwise do defect what.

And there's a concern, like for example, one concern is like different people write their programs to do this check in different ways. And they end up like one of them ends up being wrong. Maybe there's not a huge issue. And it feels like it adds complexity in a way that's like a little bit sad.

I could imagine that I guess for the proof-based ones, the challenges that they like they need to be able to prove about each other that they assess the like whether they're in a strategic situation. Yeah, they need to assess this consistently or something like that. Yeah, yeah. Well, also the more complicated your program is the harder it is for other people to prove stuff about you.

So you like one thing you kind of want to do with your proof-based program and the world of proof-based programs is like be relatively easy to prove things about. Yeah. Well, depending on how nice you think the other programs are. Yeah.

Yeah, I guess in a, for example, in a, like you brought up the tournament case and I mean, in practice, I think, yeah, you should in the tournament, you should for various reasons, you should mostly try to exploit these like corporate bots or like these like just programs that are just written by people who have thought about it for 10 minutes or who just don't understand the setting or something like that. Like in part because, I know, like the, you shouldn't, I don't know, you wouldn't expect people to submit this like this corporation bought hierarchy thing because there's just other things to do, right? So sort of like there's just like in something that's a higher prior on these kinds of programs. But you could imagine like, you could imagine a version of the tournament setting where you're told who wrote the opponent program and then your program like distinguishes between, you know, someone who has, I don't know, publications on program or both the opponent program and then you think, okay, well, all kinds of funny stuff might be going on here.

Like they might, I might currently be simulated by something that tries to analyze me in some weird ways. So like, I need to think about that versus, you know, opponent is written by, yeah, someone who, I don't want to, I don't know, and I just pod past you. Well, I don't know, by someone who just doesn't know very much about the setting, and then maybe there you think, okay, most, most probability mass, like most kind of prior probability masses on them just having screwed up somehow. And that's why their program is basically a corporate bot, which yeah, I think probably like in these tournaments, I would imagine that like, you know, 30% of programs are just something that just fundamentally doesn't work, doesn't do anything useful, just, you know, checks whether the opponent has a particular string in a source code or something like that.

Frequently asked questions

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

This episode is 2 hours and 32 minutes long.

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

This episode was published on February 18, 2026.

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.