Xinyuan Sun - Relieving Moloch’s Curse

ETH Latam Buenos Aires 2022 · 18 Aug 2022 · 29:26

Xinyuan Sun asks how blockchains can act as trustworthy coordination devices and what stops them from unlocking far more value than speculation and entertainment. Using the prisoner's dilemma and smart contracts, the talk shows how coordinators and sophisticated users can extract value from unsophisticated ones, and frames this as Moloch extractable value, closely tied to MEV. It closes with mechanisms such as auctions that could relieve the curse.

Speakers

Topics

From ETH Latam Buenos Aires 2022, hosted by ETH Latam.

Transcript

[Music] so today we have almost 30 minutes to talk about how to relieve moloch's curse and i trust us i have confidence that we're going to solve all of the philosophical questions in crypto and you know more broadly how blockchain acts as a trustworthy coordination device and how to to resolve the problems that's bottlenecking us towards the future um and fun fact most of the action scenes in an action movie takes only about

one half minutes so you know i'm sure the actual slaying of the monologue won't take too long but before i start i want to share a personal anecdote that i feel like many of you could relate so yesterday i just landed in buenos aires and it's the first time i landed in any point in our you know the sudden sphere of this uh our cute little blue ball that we got home and before that i was in new york and at the airport i arrived like three or four hours earlier you know just to chill just to make sure nothing goes wrong um but then the uh the person the the staff at the airport kept asking asking

me about some insurance forms some paperwork by the government that's required for you know entering and i was in great confusion because i thought you know i have filled them out and send them to the data centers i'm pretty sure they are there um yeah so within this great confusion and panic of losing the flight i um felt like i might enter some kind of illusion as i you know standing two meters away from the uh flight attendant's computer i saw that something was on her screen something in the back of the wallpaper maybe it was a monster maybe it's you know a monster that looks like this

or maybe it was just uh staying on the computer on the monitor screen and then i realized it doesn't matter you know the monster does exist whether it's you know in in the digital dimension or it's in the physical dimension it exists it indeed caused us the inefficiency in coordination between you know the servers the data centers the services that some organization that keeps and the physical actuator which in this case is the airports the airplane their tracking system there is a synchronization failure

so then i recognized this monster and it in its name is malloc and for those of you who don't uh how do you look at the check here in this one okay okay okay yeah so for those of you who don't that who don't have the context malloc is not a new god it's an old god it's often used in a hebrew mythology as a god in the fable that you know in ancient times you sacrifice your child to malloc and monologue

grants you the immediate success in war so moloch preys on the selfishness of people malak preys on the price of anarchy that is existent in encore in uncoordinated non-cooperative games it plays on the conflicts of humans and it can exert its influence in a specific physical region but now the the monologues that i just witnessed is i just witnessed last week which is you know an upgraded version of it on the right side of the slide you can see it's playing not only a specific physical region but more so the

digital region across its dimensions it's currently threatening uh cryptocurrencies and our way on to unlocking the 99 future evaluation as well yeah but then you might ask why don't we see like people discuss moloch all the time why don't we see crypto as a coordination device you know good question and that's because currently crypto's fundamental value derives from not from this but from other areas so what we have now is one on the left right people gambling and having their

degeneracy uh feelings emotions providing you know entertainment getting channeled by the specific communities and then on the right is something you know the thing that's actually worth much much more 10x 100 x more but we are not unlocking because of this moloch's curse but then let's just first focus on the left to talk about how degeneracy constitutes the current fundamental value so i like to use the example of old chinese movies some of you might have seen it it's called the dream factory and it was i air last century uh basically it's about

the story of for a young person in beijing and then they formed such an organization with a unique culture and it's like a dow you know currently you know zoomers also do that but uh they form this and the uh mission of that uh specific organization is to provide uh services to people to satisfy their daydreaming needs quote-unquote and the value of that derives from the entertainment value right you satisfies people's needs and you can see here you know uh yeah you know people are larping as general patton in second world war you

know they're they're having their own fun yeah so you can see this is basically discounted cash flow from being online casino and crypto does you know provide a better community better culture we have probably fair ponzi instead of unfair policies that is centralized hosted in some server and we also have you know probably random coin toss used for um used for channeling degeneracy desires um so how much does this work how much of critical fundamental value is this uh if we take a page from the traditional work we can

see you know possibly 200 billion dollars let's say crypto provides a better ux through probably fair this then maybe 500 billion but that's definitely not enough and not we are here in this room for right um so then what's the second one that's the second fundamental value that we want to do uh i claim is a crypto used as a credible coordination device so uh back in 2019 this is not a new idea people have proposed this before ethereum as a game-changing technology literally basically the idea is that since ethereum acts as a quote unquote third party that is decentralized so this means that two parties initially

doesn't trust each other can safely coordinate using ethereum as a third party holding their actions accountable and resolve disputes between those two parties and of course people love using prisoner's dilemma as an example you know two by two matrix everybody can handle that so let's start from there uh you know let's say kim and don two prisoners uh you know uh yes i need uh i intentionally chose those two names you know they're playing this uh prisoner's dilemma game and you have uh you know the normal payoff is if they both corporate to be silent then they each get a payoff of two if one of them

betray they get a higher payoff and the other one you know just loses go home eat by dust and uh you know in this scenario both of them will commit to betray because it's a dominating strategy and then using uh yeah in the original post or you know in prior works people focused on the simple scenario which is uh the two players say now kim publishes this smart contract before they play the game right kim kim's smart country says that if don commits to silence then i will also commit to silence and if don doesn't then i will commit to betray so uh in this sense when don sees this smart contract the

rational move for her or for him would be to uh commit to silence right and then uh and it it is strictly better than to ignore kim's extortion or credible threat credible um promise basically this smart contract uh and then uh once we solve this subgame we know that kim will uh publish this microphone instead of not publishing so you know we know in the end tim kim will choose to publish and then choose commit and says you know we get this to uh they both have a higher payoff you know world is great and this is how we you know say the monologue but uh you know but then of course things

aren't that easy this is clearly flawed but you know then what's stopping us from the way to you know going from the current valuation of having only a dream factory probably only worth 200 billion to our lack of this um crypto as a credible coordination device which eliminates the total price of energy that's existed in today's social and economic activities you know if if we even eliminate let's say over 50 of the price of a price of energy in across our nations across you know society and economic economic activities

we probably will easily generate let's say you know 200 trillion because you know the reason we don't have people living for three thousand three thousand years solving longevity and slave dragon tyrant is because we are not collectively working on that a bit exaggeration but you get what i mean um yeah so and then you know why is that why is that we keep asking ourselves uh so the first bottleneck that might be uh locking us is uh is we might actually lack some physical actuator protocol to enforce the coordination device to be credible right because ethereum or like crypto in

general only works uh in the digital world and then the monolog however the monologue can penetrate not only the digital world but it can enter a cross-dimension can enter the physical world as well so this is generally described you know addresses by many companies for example the bulk case for 3d printers right so when you buy something on a dark net you might you know you might get extortion because other people lose your address and so then you know the solution is to have a 3d printer in everybody's house and then you send the uh [Music] the command to the 3d printer and it prints you some you know device that you want but anyway that's already um that's one of the

arguments and also solana moba you know our raveling community they recently launched their solana phone which uh access io device for reading and writing engine data into basically exerting influence on the physical world so that's also one example uh trying to solve this physical actuator critical problem and then finally we have say amazon right amazon is something works in the digital world you only click your phone but then something very physical happened you know a dude just shows up and delivers something into your house um so the example of amazon shows that we can actually use you know finance finance or like

um any kind of economic activity as an incentive to enforce something that is very physical to happen so this shows that once we control the social or like the economic part the digital part we can indeed enforce things on the physical world and the truth is we are indeed working on that through decentralized finance and just more generally having crypto being from the ocean-less world so uh i argue that physical actuator isn't really a problem of stopping us from having this 20 trillion market cap for crypto than what it is the here is what we are talking about you know crypto wants this ethereum as a

game changing uh technology literally but then this thing called moloch is extractable value is stopping it uh but then i understand moloch's curse might be too abstract so let's go go back and to the uh good old-fashioned prisoners dilemma example you know this is our good old 2x2 matrix and then now let's say only kim can publish a smart contract and kim this time be uh she's a little bit more uh not malicious but uh you know acts in her own interests a bit more rational and then now kim publishes smart contracts says that if don commits to silent and give me two minus epsilon after the game then i commit to silent and if don doesn't

then i commit to betray and then of course you can adjust the epsilon but we all know that in equilibrium this epsilon is going to end into something like you know one way or like uh 0.1 is or less like most likely zero right so in this case if kim if only kim concludes with the coordinator and don is an unsophisticated user then we can see that the decision the decision tree will end in done committing to the unjust quote unquote unjust smart contract accepting a payoff of only one giving kim the larger share of three and kim will and

solving this stop game we know that kim will always publish gaining uh giving much much more than he would have get in the original game right um two more uh yeah so that was in the case of if only kim is colluding with the coordinator but in reality don being will likely also be a sophisticated user and coordinate with the coordinate and collude with the coordinator as well right so in this sense we can draw the decision tree very easy right you have kim and you you have kim publishes the contract and if kim publishes first ie plays the game first then don can only

commit and accept one payoff and kim gets larger share and then verdang and kim is the duality is same um yeah so once we put this into the uh length of uh real hunching activity i.e what we actually see in reality with uh for example amy researchers or more sophisticated users that trade on chain number then you know we discovered that if kim and don both are sophisticated and colluding with the coordinator then we get in equilibrium we get a decision tree that roughly looks like this so if kim first publishes a smart contract uh transfer coinbase but this is basically

bribing the coordinator to say hey you put my smart contract first and if i publish my smart contract first then i have essentially locked my action for playing the game and don knows that i have locked my action for playing the game and that's don will just commit to accept my smart contract extortion and not do anything else right because you know it's rational for dawn to do so so in this sense if they both compe now remember both kim and don can collude with the coordinator and they will raise and this essentially drives their profit margin to zero so in this sense uh both of them in equilibrium publishes a smart

contract that looks like this both of them transfers um the bribe of two to uh the coordinator and in the end we will see uh you know kim publishes smart contract and she knows that the payoff for both her and don is going to be one and then the coordinator payoff is going to be two and this thing for don and don once is a the smart contract has no incentive to publish because you know even if he published it's going to be the same payoff and he will just commit so this seems pretty bad right because uh in this sense if we model the game as a rap game of the original prisma prisoner's dilemma game

then we will see that both kim and don have a dominant strategy of to front run the smart contract to publish the smart contracts us creating a credible extortion to the other party so we see that the moloch which preys on the uncoordinated behavior in the original game of prisoner's dilemma is not eliminated the monologue makes a great comeback by also inhibi inhibiting and exerting his the malloc's dominance in this rapt game where you know both players choose to frontrun and then they get the exact same payoff as they would have get in

the original game so uh why why does this phenomena occur right and how do we exactly move towards to quantify this model of curse or monarchy's threadable value we see that the coordinator in both cases didn't actively impose attacks on the two players on the two prisoners right the two prisoners because of their own rationality they they chose to bribe the coordinator and such the utility of the whole collision was transferred to the coordinator and to see what's the maximum value that

a coordinator in this case you know an unconscious monologue can extract we claim that it equals to the price of energy in the original game minus epsilon right because if the coordinator tax in this case is larger than the price of anarchy in the original game then both parties have an incentive to just opt out of the coordination device to just not use it at all and they pay the full price of anarchy and it's strictly better than player than even using the coordination device right so uh from this example we can see that if we don't solve the problem of moloch's curse then crypto cannot function as a

grid as a good coordination device because people have zero incentive to use it they would have the exact same payoff as they would have get before and the irony is that this is because people sophisticated users will gain the coordination system and uh you know this cute comic on the right with those two credit kids captures this man plans and god laughs so what's uh having this molok's first problem what can we do to stop it what can we do to unlock the next 99 percent of cryptos uh total market cap uh so uh we know

centralization of blocks profits destroys the incentive of using crypto so the most direct solution would be to make the molok uh makes the molex activity i.e the profits from its extracted value to be contained in one layer and if we contain them in one layer and make this layer programmable then we know that the profits can be easily distributed in future or like through whatever mechanisms that the users seem fit so this is the democrat democratization step and then the other thing is that you know many of you might might recognize that in

reality most of us don't play one-shot games of prisoner's dilemma most likely is a repeated game and as we know in repeated games people default into whatever tit-for-tat strategy and so if we actually look at the good old example of iterative prison dilemma for our kim and don we will notice that the in on-chain default world the iterative game is actually correspondent with the other flow game that we see in traditional finance and in today's movies space which means that one one prisoner say kim requires the ingredients of the

other prisoner i.e the other prisoners transaction that sends you know approves or commits to the silent operation in actual play in the game to remain having a higher expected return in future so both parties have incentive to keep the other flow coming and not deviate the honest behavior so in this sense it makes uh it makes sense for us to devise a mechanism such that both players will adhere to this other flow game and that is why in for example in east 2 we have this pbs mechanism proposability separation basically the you have

multiple builders and each builder aggregates some other flow from the from the users and use this other flow to construct a block right and why these systems and why this system is secure is because the builders are playing this other flow game with the crypto users and with each other they don't have incentive to deviate exactly as in why in italy game the two prisoners don't have a incentive to deviate but of course there are many caveats into this what we have covered is just a tip of the iceberg uh which is uh why people would need a cr actually need

coordination to use the coordination device right once you have trapped or slave the level of one moloch which you know in our example is a first level uh prisoner's dilemma then you still have this moloch in the rapt game which is the you know the second matrix that we showed in the present dilemma and then you can of course do coordination on that but then that just introduces a level three monologue so that's why it's occurred smaller can never be killed it only moves up a higher level into the coordination device into whatever trustee party that you use to turn your game into a cooperative game so you know we presented solutions to that

and then what we don't what we didn't have to time to cover you know this the margin of this page is too small is that the transparency and democratization of the coordination device also imposes the risk into us unlocking the next potential of crypto so essentially this means that people have to know that the coordination device exists and they are able to use it and they know how to use it they know how to communicate their utility function properly and of course we know that communicating for utility function is impossible and also people need to discover them so this symposium for the risk for the research but

this can all be encapsulated into a sophisticated sophistication problem and in today's i mean we were what most people think as what people what most people attack the searchers for i mean for creating maybe activities all falls under this bundle which is that some users are unsophisticated and weren't able to communicate the ot function to the coordinator and thus it creates predatory behaviors so of course the solution is to devise some some potential solution is to devise a mechanism such that sophisticated users compete on on the opportunity of discovering the

utility function and communicating the utility function for the unsophisticated users and because of this we are picking sophisticated users against each other so in this mechanism their profit margin drives zero and all value flows back to the unsophisticated users and in this case we get mass adoption and the second problem might be we have some coordination costs which is seeing efficiencies that is existing in using the device so for example if we don't have an rp auction instead we have a latency wars and we have that we end up in the same scenario similar to a trade fire arms race of high frequency trading this is basically

where the coordinator can easily devise a mechanism such that people when when go into an rp auction and more inefficiencies is created and the third problem we didn't cover is that the coordinator cannot self-coordinate this is the expressivity problem basically if the coordinate if the coordination mechanism that you choose is too expressive then people can gain the coordination mechanism and such you you create this level two molecules um and then finally coordinator can be malicious which is the case of for example the um when you sell block space futures the

quantitator actively manipulates the price that's driving every market maker out and making the slippery super high and then you know basically untreatable futures so in the end this seems like a dark future right we only get the maximum possible welfare minus all of the above costs and minus you know more realistic trade-offs that we have on computation fairness communication privacy and incentive compatibility um yeah so a couple of takeaways monologues curse is closely tied to the problem of of moloch extractable value or mev here i'm i know i'm redefining a maybe a bit but

this is what really captures the story we can also uh uh and then the second takeaways that we can relieve moloch's curse by removing the centralization of mv activities and thus restoring the incentive for people to use the coordination devices right so for example in the original example this this would be both parties would actually use the coordination device because they know that they will get the bidded value somehow in return in return in future in you know whatever forms and then finally if we don't have a good immune solution we can't slay the moloch and such cryptos valuation stuck at the extreme factory stage which is uh you

know at most 500 billion you know here i do 200 billion just to be you know more sure but then we so good and uv solution after we slay this moloch solves that maybe uh solve simulx curse relieves it then crypto valuation can actually unlock this ethereum as a good coordination device and give a huge boost so takeaways to join the move and started start studying movie i'm happy to talk more my ideas over there and thank you [Applause] [Music] you