The (strange) Mathematics of Game Theory | Are optimal decisions also the most logical?

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • Create your own website for free at Wix: www.wix.com/go...
    STEMerch Store: stemerch.com/
    Support the Channel: / zachstar
    PayPal(one time donation): www.paypal.me/...
    Full Game Theory Course on Coursera: click.linksyne...
    Instagram: / zachstar
    Twitter: / imzachstar
    Join Facebook Group: / majorprep
    ►My Setup:
    Space Pictures: amzn.to/2CC4Kqj
    Magnetic Floating Globe: amzn.to/2VgPdn0
    Camera: amzn.to/2RivYu5
    Mic: amzn.to/2BLBkEj
    Tripod: amzn.to/2RgMTNL
    Equilibrium Tube: amzn.to/2SowDrh
    ►Check out the MajorPrep Amazon Store: www.amazon.com...

КОМЕНТАРІ • 541

  • @zachstar
    @zachstar  5 років тому +144

    Hope you guys enjoy! So most of the 'games' mentioned in the video are in fact famous game theory examples but I changed the payouts to mainly involve money rather than something like 'years in jail' or hypothetical 'points'. If you want more info regarding the 'games' I pulled these payouts from though I've attached the wikipedia pages below.
    Also if you're interested in the results of the 'iterated prisoner's dilemma' tournament I attached a link where a couple dozen programs each with a unique strategy played each other.
    Battle of the Sexes: en.wikipedia.org/wiki/Battle_of_the_sexes_(game_theory)
    Guess 2/3 of the Average: en.wikipedia.org/wiki/Guess_2/3_of_the_average
    Prisoner's Dilemma: en.wikipedia.org/wiki/Prisoner%27s_dilemma
    Iterated Prisoner's Dilemma Competition: www.lesswrong.com/posts/hamma4XgeNrsvAJv5/prisoner-s-dilemma-tournament-results

    • @yasminsalih9168
      @yasminsalih9168 5 років тому

      Not Mr Beast but someone has done this game with money
      Once I find it I’ll edit my comment
      Edit: jubilee have done it
      it’s called human theory

    • @laxmibiswas4041
      @laxmibiswas4041 5 років тому

      well thanks for keeping your words. Hope you do the same with AI

    • @bravedom2228
      @bravedom2228 5 років тому

      I have been waiting for this video. Thank.

    • @yaiirable
      @yaiirable 5 років тому

      Nice video, a traditional matrix is easier to understand the strategies though. I found the reordering confusing

    • @2503guilherme
      @2503guilherme 5 років тому

      There is a TV show called Split or Steal, and the game is basically the same!

  • @CricketStyleJ
    @CricketStyleJ 5 років тому +612

    A note on the Prisoners' Dilemma tournaments: It's true that "Tit for Tat" was initially the most successful strategy. However, subsequent tournaments showed that stronger strategies exist.
    For example, there was a tournament in which two A.I. players would be matched for 100 repetitions of the game. Matches were organized in a "Round Robin" fashion, where every algorithm played against every possible opponent for the same 100 rounds. Each bot would get a score based on the outcomes it achieved in each round. The winning strategy was really clever.
    One programmer submitted several algorithms (the maximum number allowed) and gave them different roles so they would act as a team. The tournament rules made them play anonymously, so they had to get clever to communicate. They would use their first few moves to send a signal so they could identify each other.
    One bot was the designated winner, and all the other team members would lose to it on purpose whenever they met, in order to give that one bot the best possible score. That same winner would play a more conventional strategy when paired against someone not on its own team.
    Meanwhile, all the other bots were designed to lose on purpose, and to never cooperate with anyone else except for the designated winner. This way, they could sacrifice their own scores to harm everyone else.
    This "teamwork" strategy proved successful against a large field of opponents.

    • @RedYakshaEntertainment
      @RedYakshaEntertainment 5 років тому +8

      Source on this? I would love to read about it.

    • @CricketStyleJ
      @CricketStyleJ 5 років тому +15

      @@RedYakshaEntertainment web.archive.org/web/20140421055745/www.southampton.ac.uk/mediacentre/news/2004/oct/04_151.shtml

    • @andarted
      @andarted 5 років тому +67

      You wrote:
      "It's true that "Tit for Tat" was initially the most successful strategy. However, subsequent tournaments showed that stronger strategies exist.
      For example, there was a tournament in which two A.I. players would be matched for 100 repetitions of the game. Matches were organized in a "Round Robin" fashion, where every algorithm played against every possible opponent for the same 100 rounds. Each bot would get a score based on the outcomes it achieved in each round. The winning strategy was really clever. [...]"
      What you are describing doesn't showed that stronger strategies exist than "Tit for Tat". It just showed that in a different kind of game "Tit for Tat" isn't the strongest strategie. And that shouldn't be surprising, imho, because if you change the rules of a game significant, than the strongest strategie has to change also.
      Say, the main goal of a chess changes from killing the king to one must kill all enemy figures. If the best player in the world wouldn't change they strategy, they would be easy to beat.
      "Tit for Tat" seems to be the best strategy if two single player compete in a competition of several rounds in a row. The competition you are describing is a team gameplay in a "Round Robin" structure. That is a different kind of game. It would be very surprising if "Tit for Tat" would work here. It would show, that team work is a bad thing. And that sounds very unlikely for me.
      _
      Disclaimer: I neither studied mathematics nor game theory. It's not unlikely that I'm wrong. So if you see an error in my conclusion please tell me.

    • @CricketStyleJ
      @CricketStyleJ 5 років тому +17

      @@andarted The original finding that "Tit for Tat" was a strong strategy originated from exactly this kind of tournament. It grabbed headlines by defeating many other strategies in this same context, a few decades ago.
      In some sense you are kind of right, though, because "Tit for Tat," like almost all other strategies, was focused on winning the match rather than winning the tournament. The team that succeeded in 2004 did so by taking a broader view of the rules of the game.
      As far as your conclusion about chess, it's probably true with regard to the current best players. However, there probably does exist an optimal chess strategy which never loses even if the opponent knows it perfectly (his strategy would have to involve many contingency plans for different situations). Predictability is no disadvantage in a game with perfect information. And in theory, chess has perfect availability of information, although in practice no player (human or machine) actually has access to the whole of that information, nor has the kind of memory or intelligence necessary to understand it fully.

    • @andarted
      @andarted 5 років тому +2

      ​@@CricketStyleJ I wasn't aware, that the "Tit for Tat" originated from this kind of tournament.
      The video didn't explained the whole ruleset. A short mention that the maker simplifies it for the sake of intelligibility, would have been nice.
      Thank you for adding this information!

  • @alex_zetsu
    @alex_zetsu 5 років тому +124

    You should make it clear the point of the card game is to maximize your payoff and it's not a contest to see who gets more, otherwise people might mistake it for a zero sum game.

    • @CommieHunter7
      @CommieHunter7 Рік тому +1

      This is a good point. I thought this was a competitive game, where the goal is to outscore the opponent. In this case, I would prefer 0-0, as we're still tied, over 1-2, which puts me 'behind' by one in ranked scoring.

    • @Anthony-dy5cq
      @Anthony-dy5cq 2 місяці тому

      I already don't want to play the game

  • @mechaluke
    @mechaluke 4 роки тому +69

    For the second one, don't randomize, alternate. Once the other person realizes what you're doing, they can alternate with an opposite pattern, therefore maximizing the amount of money both of you make.

    • @YokeRoel
      @YokeRoel 3 роки тому +3

      This was my first response to a strategy as well and kind of searched for this comment :D He even allowed making a strategy!

    • @joegreen4959
      @joegreen4959 3 роки тому +8

      This should be super exploitable. If you alternate non-randomly, they can arrange their choice so they will get 100k or 10k meanwhile you get 10k or 0k.

    • @maxjohnson65
      @maxjohnson65 3 роки тому +7

      @@joegreen4959 Doesnt really work over a large period of repetitions. Obviously, if you see that they aren't going to play nice, then you shift away and adopt another strategy.

    • @jared1862
      @jared1862 Рік тому +1

      ​@@joegreen4959 not that one, the one with 2 dollars and 1 dollar

  • @bluehorse6714
    @bluehorse6714 5 років тому +284

    have to say as somewhat colorblind the use of red and green in this video is not optimal on my eyes

    • @NareshkumarRao
      @NareshkumarRao 5 років тому +5

      Same, pretty much nope-d out of the video.

    • @zachstar
      @zachstar  5 років тому +125

      Sorry about that! Will keep this in mind for future videos, just wasn't thinking.

    • @vojtechstrnad1
      @vojtechstrnad1 5 років тому +31

      I thought you guys can make your screen change the color palette to fit your specific type of color blindness. Or is that not how it works?

    • @Blox117
      @Blox117 5 років тому +82

      as a person with no eyesight whatsoever, I find the use of video and motion pictures highly offensive

    • @Blox117
      @Blox117 5 років тому +18

      @You’re right because my dear god! just think of the atrocities committed against those persons without a brain! how could any youtuber with a modicum of self-respect and thus the acknowledgement of those less fortunate, dare to even discriminate against the diverse population of brain-less individuals! math should be accessible to every individual, including those without a well developed nervous system!
      I shall be reporting this channel to Google HQ promptly for crimes committed against humanity!

  • @somanayr
    @somanayr 5 років тому +58

    There was a game show centered around a prisoner's dilemma like game, I think called "Split or Steal"

    • @cryme5
      @cryme5 5 років тому +12

      Golden Balls, iirc

    • @RoderickEtheria
      @RoderickEtheria 4 роки тому +9

      @@cryme5 And the optimal outcome was to tell your opponent you were going to steal and then give them half after the show.

  • @TheFasof
    @TheFasof 4 роки тому +91

    9:57 there actually is a gameshow called "golden balls" that does something very similar.

    • @Utoko
      @Utoko 4 роки тому +12

      Ye but the golden balls got "solved" and got canceled soon after. If we would solve it like in the show I would say "I pick green no matter what you do. So you can choose red and I will share 50% of the money with you after the show or you can take green and we go home with a miserable 1000 $ both. "
      In the show the host says than there is no binding contract and he does not have to share the money in any way after.
      but any reasonable person would then still go for the chance of 50k instead of going with 1000 home.
      The show because the numbers worked out had a switch back in the end def worth a watch:
      ua-cam.com/video/S0qjK3TWZE8/v-deo.html (I know Skyline prob watched it but that is for others)

    • @Ten_Thousand_Locusts
      @Ten_Thousand_Locusts 3 роки тому +2

      @@Utoko yeah but the guy stated in this video you couldn't share the money afterwards, so that strategy won't work. I figured it was in direct reference to that gameshow.

    • @surelock3221
      @surelock3221 3 роки тому

      Kintama

  • @daaaron5016
    @daaaron5016 5 років тому +726

    After 7 minutes I realized, that this is not about matpat

    • @jcnot9712
      @jcnot9712 5 років тому +50

      Da Aaron no, it’s better. It’s actual Mathematics.

    • @michelledavis2580
      @michelledavis2580 4 роки тому +37

      ive been trying to find a game theory video without matpat.

    • @Mercilessonion
      @Mercilessonion 4 роки тому +13

      I was waiting for something about matpat for the whole video

    • @nemolai7989
      @nemolai7989 4 роки тому +12

      NO thats JUST a theory, A MATH THEORY

    • @nemolai7989
      @nemolai7989 4 роки тому +10

      A MAT THEMATIC

  • @Jellylamps
    @Jellylamps 5 років тому +38

    In theory, with the prisoner’s dilemma, if it can be repeated numerous times and the two can communicate, alternating red and green each would be a sustainable solution. Every other turn, each player would get the 100k, and if either player strayed from the pattern, it would likely devolve into both playing green every turn and thus only getting 1k every turn, essentially dividing the payout to both players by 50. There lies the incentive to hold the pattern.

    • @vishwalohana6404
      @vishwalohana6404 4 роки тому

      You're right except there's generally an odd number of rounds then, for such a game. The incentive goes away on the last round!

    • @remus-alexandrusimion3439
      @remus-alexandrusimion3439 4 роки тому +1

      @@vishwalohana6404 Actually, simply announcing the last round is the last will make the incentive go away, if you're trying to maximize own gain. Because whoever has to win nothing in the last case will betray the strategy to get something, knowing it is the last chance to do so.

    • @serlotamcho
      @serlotamcho 4 роки тому +2

      I think people are missing the point of prisoners dilemma. The name of the game is "non cooperative games" which means that they can only choose the best strat one time, and they cant talk. Alternating because of communication would become cooperative game, which goes into a whole different area of game theory, and prisoners dilemma is exactly not that, hence ur theory make sense, but will never happen

    • @lakshitdagar
      @lakshitdagar Рік тому

      It’s not Nash equilibrium though.

  • @dylancloonan3903
    @dylancloonan3903 4 роки тому +8

    With your example of betrayal and winning money this was actually a British game show called Golden Balls. One really interesting example of how this ended is also on youtube where instead of agreeing to both split, one contestant just straight up told the other contestant he was going to pick steal no matter what but he would split the money after the show. They shook hands and when they both revealed their choices he actually picked the split option and they both split like 100 thousand.

  • @justinniederhauser1543
    @justinniederhauser1543 4 роки тому +63

    +zachstar
    One of my classes in University was Negotiations in business, and every class session we played a game similar to this. But a little more complex having 10 round each game with the option to "collaborate" or "compete", developed by Harvard. on the 5th and 10th round there was a BONUS if you chose to compete if everyone else collaborated (and vise versa).
    100% of our class grade was based on how many points we acquired in the game throughout the semester. The element of self interest made the game extremely difficult, because when everyone agreed to "collaborate," the distributed points is much, much lower - essentially only guaranteeing a "C" for everyone in the class. For that reason, people would choose to compete and screw over everyone else and reap massive reward toward their grade on the bonus rounds. However, if everyone chose to compete, the distributed points would be 0, and the one person who collaborated would get all the points.
    Statistically only 5% of the class could make an A, the majority would make B's and C's, and a few would make an F. What we learned from the professor who had a giddy excitement all through the semester as we became total savages, Is that there WAS in fact a way to play the game so that we ALL got an A. It was through strategy and negotiation. If we collaborated on HOW and WHEN we chose to "compete" on certain rounds each class period when we played the 15 minute game, then the distribution of points would be 100 for everyone come the end of the semester. the key was in the bonus rounds.
    He was too cryptic and we never understood this concept until the end, and so he decided to give us all A's for trying our absolute best to understand the game. Make no mistake, we were SAVAGES to each other, and at one point we all HATED *each other* for betrayal, *ourselves* for being guilty of doing the same, and *the professor* for putting us in an "unfair" environment.
    HAHA! It was an amazing life lesson. Everyone truly wins in capitalism if we work together!
    Game theory: In a system of rules, cheaters reap the reward. On the contrary, In a system without rules, those who collaborate, create, and abide by agreed upon rules, reap the reward.

    • @youdalin2621
      @youdalin2621 2 роки тому +7

      This is such an interesting anecdote, and that observation at the end might explain why corruption tends to arise in bureaucratic organizations that become overly bogged down with rules and red tape

    • @NolenGYT
      @NolenGYT Рік тому +11

      BRUH, your class was literally an anime plot 💀💀

    • @bizopca
      @bizopca Рік тому +3

      That game is known as the Win as Much as You Can Game. The payoff structures are designed to prevent collaboration. Other versions of the payoff structures will promote more collaboration.

    • @deadersurvival4716
      @deadersurvival4716 Рік тому +13

      Two years late, but I'd like to point out that everyone does not win in capitalism if we work together, as, if we all work together, it's no longer Capitalism, and it's, instead, Socialism.
      Capitalism is a system of economics where businesses hold the "power of the product" (i.e. they are the ones who get to make most, if not all of the decisions on what happens).
      Socialism is where the power of the product is given to the people THEMSELVES.
      Lastly, Communism is where the power of the product is given to the state (aka the government).

    • @fdagpigj
      @fdagpigj 9 місяців тому

      @@deadersurvival4716 I hope your last line was intended as a joke, though it does not come off as one.

  • @kano0403
    @kano0403 3 роки тому +10

    I remember in a Brain Games episode where random* people played “Split” and “Steal”. If both split, then they get 50,000 each, if one says steal and the other says split than the stealer gets 100,000, if they both steal then nobody gets anything. It was interesting watching people take advantage of others optimism lol

  • @holgerchristiansen4003
    @holgerchristiansen4003 5 років тому +7

    I love that Terraforming Mars was used as one of the games shown at 13:10. I didn't love that the moving of the blue cubes done there don't have anything to do with how the game is actually played.

  • @karlinchina
    @karlinchina 5 років тому +7

    A good real-world example of a mixing strategy would be a pitcher in baseball. There are some situations where a certain pitch has a higher value than another pitch, but you can't just use that same pitch every time, otherwise batters will know what's coming. For example, a 1-2 count the pitcher might do 70% curveballs and 30% fastballs. I heard Greg Maddux used to check the clock in the stadium to randomly determine which pitch he would throw. Maybe other pitchers do that too.

  • @demerion
    @demerion 4 роки тому +150

    Honestly, I would just pick green everytime, because that way I get money for sure. I don't care what the other person gets.

    • @alexeysaphonov232
      @alexeysaphonov232 4 роки тому +14

      I believe these feelings are going to change when you compare your progress with your oponent after each lap.

    • @thisisnotok2100
      @thisisnotok2100 4 роки тому +31

      @@alexeysaphonov232 that is flawed thinking. Its not a zero sum game. You're just trying to win money.

    • @yonatanbeer3475
      @yonatanbeer3475 3 роки тому +4

      The problem with this is that if you know your opponent will pick red, you get more money by playing red than by playing green.

    • @demerion
      @demerion 3 роки тому +1

      @Pluto N. Uranus Of course I did. I did not talk against the video, all I said was what I would do.
      And just picking green always gives me money, there's no need to gamble for me :)

    • @kano0403
      @kano0403 3 роки тому +1

      @@yonatanbeer3475 if you know your opponent will pick red, then picking green gets you 90,000 more than if you pick red.

  • @alirezashahin8061
    @alirezashahin8061 4 роки тому +5

    Hey man, great content!! one note, however.The non-cooperative game with $100000 payout for green vs red should had a lower value for green(

  • @Rokkc
    @Rokkc Рік тому +1

    I remember a game show where some guy had the red-green card thing, but where red-red is 0-0, red-green is 100-0, green-red is 0-100, and green-green is 50-50. Some guys said he would play red no matter what and split the winnings after the show, so the other guy played green, but the first guy played green too, so they split the money at the show itself. big brain maneuvers.

  • @namenotavailable
    @namenotavailable 3 роки тому +1

    I don't think there's anything that I enjoy so much yet understand so little as game theory.

  • @eventhorizon88
    @eventhorizon88 3 роки тому +4

    10:31 The best strategy is you plays green then me plays red, then next round you plays red and me plays green. This way the average of 2 rounds for each person is 100k instead of 20k.

    • @Vi5hnujan
      @Vi5hnujan 3 роки тому +3

      Well that isn't usually the case with this game cuz its a one off

  • @ZekuChanU
    @ZekuChanU 3 роки тому +2

    4:42 when you wanted to make one door but accidentally made 12 doors in minecraft so you just drop the rest on the ground

  • @cookiecakeeater6340
    @cookiecakeeater6340 3 роки тому +11

    This isn’t the same as the prisoners dilemma because in that the most good comes from both cooperating, but in this it’s from one cooperating and one betraying

    • @joshuafury5353
      @joshuafury5353 9 місяців тому

      No betraying gives you a better payout than cooperating with another player who's cooperating. Otherwise there wouldn't be an incentive to betray if you were both cooperating and mutual cooperation would be an efficient nash equilibrium.

    • @cookiecakeeater6340
      @cookiecakeeater6340 9 місяців тому +1

      @@joshuafury5353 In the classic prisoners dilemma, the lowest total prison time comes from both sides cooperating.

    • @joshuafury5353
      @joshuafury5353 9 місяців тому

      @@cookiecakeeater6340 ​ @cookiecakeeater6340 No that's not the prisoner's dilemma. While mutual cooperation is better than mutual defection and usually in how it's written mutual cooperation is less prison time between both players overall than 1 person betraying it is not the case that mutual cooperation is the best outcome to land on, betraying someone who is cooperating gives you less prison time or else there's no point in betraying.
      In a game matrix player 1 picks a row and player 2 picks a column, player 1 receives the payoffs on the left. This is the prisoner's dilemma each player can cooperate or defect. Sorry for the shitty drawing but here: A>B>C>D
      c d
      c B,B | D,A
      --------------
      d A,D | C,C
      Player 1 would like to play Defect as regardless of his opponents choice A>B and C>D
      Player 2 would like to play Defect as regardless of her opponents choice A>B and C>D
      Payoffs are good and prison time is bad so maybe it's more intuitive to think of the payoffs as the negative amount of years they spend in prison (so it's clear that more prison time is worse).
      In the game you're describing we would likely see mutual cooperation. B>A>C>D
      c d
      c B,B | D,A
      --------------
      d A,D | C,C
      There are actually 3 Nash equilibrium in this game but mutual cooperation is the only one that would make sense for you to play as it gives a better and actually the best possible payoff for both players than the other equilibria, a payoff of B every time.
      A Nash equilibrium is a set of strategies for each player such that neither player has a profitable deviation given the other player's strategy. Mutual cooperation and mutual defection are both equilibria in this game.
      if you are cooperating and the other player is cooperating you would not want switch to defect as B>A. This also applies to the other player.
      if you are defecting and the other player is defecting you would not want to switch to cooperate as C>D. This also applies to the other player.
      There is also a mixed strategy Nash equilibrium where each player is using the strategy that makes the other player indifferent between his choices. A Nash equilibrium by definition, as neither player can profitably deviate given the opponents strategy.
      These other equilibria don't really matter though because it is in both players interest to play into the equilibrium where they both cooperate.

  • @WylliamJudd
    @WylliamJudd 5 років тому +7

    Love the shot of Terraforming Mars at the end there :)

    • @xicufwm
      @xicufwm 5 років тому +1

      yeah, but what the hell os he doing there? hahahaha just randomly moving player markers from place to place

    • @joegreen4959
      @joegreen4959 3 роки тому

      I noticed that too. TM is a great game.

  • @camerontristan3573
    @camerontristan3573 Рік тому +1

    Zach, you're brilliant! I love your videos. I'm a physics major and I'm just learning to more comfortably thinking mathematically. Your videos make learning math soooo much fun!! Keep up the good work man.

  • @jgposner
    @jgposner Рік тому +1

    HA! I said I would use a 3 sided die before you revealed the answer. I'm pretty proud of myself for figuring it out.

  • @JohnDoeDoeJohn69
    @JohnDoeDoeJohn69 4 роки тому +2

    We did a quiz grade in AP Microecon on this. We were randomly paired and had the choose the grade we wanted together. A or C. A/A gets F/F. C/C gets C/C. A/C gets A/F. Everyone said they were going to cooperate and then we waited to see the sharks.

    • @JhettJones
      @JhettJones Рік тому

      Making a graded assignment rely on the outcome of a literal game sounds psychotic. Imagine narrowly losing a scholarship because your teacher thinks they're clever.

    • @JohnDoeDoeJohn69
      @JohnDoeDoeJohn69 Рік тому

      @@JhettJones Small assignment with minimal grade implication, if your scholarship depended on that then you didn’t deserve it in the first place 🤷🏼‍♂️😂

  • @franchello1105
    @franchello1105 5 років тому +8

    love the Terraforming Mars at the end.

    • @holgerchristiansen4003
      @holgerchristiansen4003 5 років тому +4

      I just wished they had used actual gameplay footage. The way the blue cubes are being moved makes no sense.

    • @franchello1105
      @franchello1105 5 років тому

      @@holgerchristiansen4003good catch! I did not see this before.

  • @gabrielpeterson2079
    @gabrielpeterson2079 5 років тому +1

    I would tell them I am going to play green. Also greens pay out is technically better for everyone since you could cooperate and split the $100,000, 50/50, the payouts should be 20k, 0, for betrayal, 15,15, for cooperation and 5,5 for both attempt to betray.

    • @holgerchristiansen4003
      @holgerchristiansen4003 5 років тому +1

      The rules stated that splitting was NOT allowed. Yes, that is an arbitrary rule, but that is true for the whole game, so what can you do?

    • @gabrielpeterson2079
      @gabrielpeterson2079 5 років тому

      @@holgerchristiansen4003 The you cannot divide the money afterwards rule is not just arbitrary but unneeded, there is a game like this but slightly different and yet it is a strategy and legitimate to split your winnings if you steal. There is no reason that a green steal should have a lot bigger payout since there are many reasons why letting someone steal by playing red in a roundabout way if you trust your opponent is more beneficial than splitting like asking for them to donate $10,001 to your charity of choose. In all honesty you can even tell them I will choose red have red already choose and if you trust the other player to spend that money in a way that is beneficial to you than loosing like this is the best outcome. In all fairness the order of magnitude more a solo win nets the community it is what these two players should conspire to achieve.

    • @gabrielpeterson2079
      @gabrielpeterson2079 5 років тому

      @@holgerchristiansen4003 also if my last comment seems confusing the whole point is in reality you don't trust the player outside the configs of the game so for all you know they would never split those winnings even if they said they would, my point was if you could convince the other player to do so you could convince them to benefit you in other ways that is straight or direct monetary compensation.

  • @williamtraub1356
    @williamtraub1356 3 роки тому +2

    I would suggest that my opponent picks red and I pick green and then we split 50/50 after, then when he/she inevitably thinks I'm going to just take the money afterwards I'll suggest that we skip the roles making him/her more likely to split with me after

  • @robinkarlsson1460
    @robinkarlsson1460 4 роки тому +2

    You sir, are my favorite UA-cam of all time.

  • @loudradialem5233
    @loudradialem5233 3 роки тому +2

    11:15 To make this betrayal game spicier, both players should be married to each other or be best friends.

  • @xnopyt647
    @xnopyt647 5 років тому +3

    Thank you for the video! I've been interested in game theory for a long time now but I haven't found a good video on it up until now.

  • @nezv71
    @nezv71 4 роки тому +1

    Got a link to the proof of your first example anywhere? I evaluated the minimax problem and got a slightly different answer: choose red 41.2% (not your 37.5%). But I did get that the opponent should do the opposite just like you did. Here is the calculation:
    Your action is random variable a, can be Red or Green.
    Your compeitor's action is random variable c, can be Red or Green.
    Policy distributions are p(a) and p(c).
    Your competitive reward function is,
    r(a,c) =
    R,R: 5-0 = 5
    G,R: 2-3 = -2
    G,G: 5-0 = 5
    R,G: 0-5 = -5
    Assume a is independent of c.
    (Players don't model each other or read minds).
    p(a,c) = p(a) * p(c)
    Expected reward is,
    E(r) = sum_{a,c} ( r(a,c) * p(a) * p(c) )
    = 5 * p(a=R) * p(c=R) +
    -2 * 1-p(a=R) * p(c=R) +
    5 * 1-p(a=R) * 1-p(c=R) +
    -5 * p(a=R) * 1-p(c=R)
    Assume both players are trying to optimize their policies.
    (I.e. competitor is doing the best they can).
    Solve minmax problem for the above sum over parameters
    x := p(a=R) and y := p(c=R). That is,
    E(r|x,y) =
    min_y(max_x(5*x*y - 2*(1-x)*y + 5*(1-x)*(1-y) - 5*x*(1-y)))
    s.t. {x,y} in [0,1]^2
    In this case it's the saddle point of a quadratic form.
    Solution is x = 0.412, y = 0.558
    I.e. choose action R about 41.2% of the time to optimize expected reward.
    R: 41.2%
    G: 58.8%
    And interestingly y turns out to be the opposite, R at 58.8% and G at 41.2%.
    This is because it is a zero-sum game (Nash equilibrium theory).
    Alternative equivalent approach:
    y = 1 y = 0
    max_x(min(5*x - 2*(1-x), 5*(1-x) - 5*x))
    => R: 41.2% (same answer)
    **So close to what you found Zack. What went wrong?**

    • @firebrain2991
      @firebrain2991 4 роки тому +1

      So the thing that went wrong is that the solution Zach put up is optimal *for direct payouts* (where you don't care what your opponent makes), not for the competitive scenario.
      I can't say anything about the mini-max tho, since with the adjusted payoffs the mixed nash equilibrium is exactly what you described (although I found it the traditional way by making the opponent indifferent).

  • @paulhenderson7779
    @paulhenderson7779 4 роки тому +18

    You severely moved the goalposts in the introduction. First, you said, "the goal is to end up with the most amount of money possible" but then you said "What would your strategy be to win this game over several rounds?" If the goal is to win as much money for myself as possible, then how much the other person wins is of no importance. However, if the goal is to beat the other person, then winning as much money as possible for myself is not the goal. The goal is simply to win more than you. I know it was just a slip of the tongue, but it was a big one!

    • @carazy123_
      @carazy123_ 4 роки тому +2

      However, wouldn’t earning the most amount possible inherently require beating the other person in this case?

    • @spencergraham-thille9896
      @spencergraham-thille9896 3 роки тому +3

      This game is zero sum, though, so it's equivalent.

  • @nekoman8560
    @nekoman8560 4 роки тому +1

    If we’re allowed to strategize with each other beforehand, then there’s an alternative: “If you play red and I play green, then I’ll get 100,000 and I’ll give you 50,000, five times what you’d get if we both played red.” Or if there’s multiple rounds: “If we alternate who’s playing red and who’s playing green, we’ll both average 50,000 per round, which gives both of us maximum payout.”

  • @phyphor
    @phyphor 5 років тому +3

    You should read up about the UK game show "Golden Balls" and then go and look out the most savage betrayal and, also, "the weirdest split or steal ever".

  • @markuspfeifer8473
    @markuspfeifer8473 2 роки тому

    regarding the prisoner's dillema you set up at the end:
    I'd get the other person to sign a contract saying they owe me 50k if I show red and they show green and make sure it's legally absolutely binding

  • @omrinygate1356
    @omrinygate1356 4 роки тому

    Hey Zach! Just one note about a statement you made about chess's Nash equilibrium - it turns out that every game can be split in 2 categories:1) a game where some player i has some set of moves such that they always win, or 2) a game where all players have a strategy such that no player wins. As it turns out, Chess is probably of game type (2) and therefore has no meaningful nash equilibrium (just all strategies that always result in a tie).

  • @thothrax5621
    @thothrax5621 4 роки тому +2

    As for the "screw over" game, my response would be: I would show red if it were someone I know, green if it was someone I didn't. My reasoning being: if I know the person it's likely I wouldn't want to screw them over, and vice versa, so by showing red we either get the best outcome for the both of us, or they're happy and might give me some money later when you can no longer enforce the no sharing thing. However if it's someone I don't know I have to assume that they are going to try and screw me over as there is no presumed trust, so I either get 1,000 and dollars which is pretty good for no work and we go our separate ways appreciating that we each have the same understanding that this is how it had to be, or I get 100,000 dollars, feel bad for them in the moment, then leave and never see or think about them again.

  • @Danicker
    @Danicker 5 років тому +1

    For the last one (the prisoners dilemna):
    If you are able to discuss beforehand you should be able to win 50 000/round. Simply agree to alternate between me showing green while you show red and vice versa. You could deny me my 100 000 by playing a green when we agreed you would play red, but that would leave you worse off on future rounds because I would just play green for the rest of the game

    • @loveforsberg530
      @loveforsberg530 5 років тому

      His numbers are bad. The same logic applies to the Nash equilibrium if you replace 100k by any number larger than 1000. Thus we can pick 1500 which is still a decent incentive to betray, but makes alternating betrayal a suboptimal strategy.

    • @zachstar
      @zachstar  5 років тому +1

      Alternating works if you could play the game multiple times and cooperate, but for that example we are assuming you only play once and cannot split up the money afterwards.

    • @Danicker
      @Danicker 5 років тому

      @@zachstar Ah ok, I thought we were addressing a strategy for multiple games
      Love Forsberg but if the [roze was only 1500 not 100k then wouldn't you just both choose red? there is no incentive to betray since the pay is now only 1500, instead of the 10k you would get for both picking red

  • @pranay2972
    @pranay2972 Рік тому

    For the last game, you should add one more rule to actually have people play it with a strategy.
    Make the rounds odd.
    Whoever makes less money at the end off all rounds gets nothing.
    This would be way more interesting.

  • @Mode-Selektor
    @Mode-Selektor 5 років тому +3

    Before watching this video: I'm choosing my card randomly without revealing it to you that I have chosen randomly, thus preventing you from using any game logic to deduce my choice. Worst case scenario for me, you know I'm going to do this and show green which gives us equal odds at winning $5 thereby making the bet have an average value of 0. Best case scenario is you don't know I'm choosing randomly and through some manner deduce that red is your best choice in which case the odds are in my favor. Sometimes the logical choice is chaos.

  • @KirbySliver
    @KirbySliver 5 років тому +2

    My initial strategy without watching the rest of the video is to play green 70% of the time and red 30% of the time, chosen randomly.

    • @KirbySliver
      @KirbySliver 5 років тому +1

      Hey, not that far off!

  • @JasonHenke
    @JasonHenke Рік тому

    Well done explanation. Loved it. Thanks for taking the time to share, put this together, and putting it out there.

  • @UnkleRiceYo
    @UnkleRiceYo 5 років тому +1

    This betrayal game was actually the final round of a game show called golden balls, check it out if you wanna see people playing!

  • @traceymartel6016
    @traceymartel6016 4 роки тому +4

    When you find out you've been using Game Theory to make decisions all your life:

  • @christophkrass6929
    @christophkrass6929 Рік тому

    The Prisoner's Dilemma has been done in German television. One Guy ended up taking advantage over the other person...

  • @mr_niceman
    @mr_niceman 3 роки тому +1

    That’s kinda useful to be honest.
    Now imma play rock 41.76%, paper 30.197%, and scissors 28.043% next time

  • @therealswitt4554
    @therealswitt4554 11 місяців тому

    If I was placed into that game, I'd tell the other player "I'm picking green regardless of what you do, since we'll both get 1,000 dollars if we show it, but I won't lose anything if you disagree, so the choice is yours." Simply because, 1,000 or 100,000, it doesn't matter, their actions won't dictate me coming out with nothing, therefore guarantees that'll they'll cooperate.

  • @willisverynice
    @willisverynice 2 роки тому

    When you mentioned “fights” you did a weird thing with your eyes and now I’m worried.

  • @richmondxavieriringan7491
    @richmondxavieriringan7491 Рік тому

    Ahh I love game theory back in Uni. I remember in one of our finance classes, the professor said that we can either put +5 or +3, if more than 95% of the students put +3, they don’t get a plus; if more than 6% puts +5 they get a minus 3; now there are like 200 students that are under the professor so basically only about 11 people or less can win on +5 and the test was really hard so most people put +3 because everyone was afraid or further lowering their scores but I knew this, also one of the reasons why I put +5 was also because this was the first time it was happening to us so everyone is scared to put +5, and lastly, that same professor keeps on repeating one of our first lessons in the principles of finance which is the risk-return tradeoff so I basically knew that even if there are more than 6% +5, the professor wouldn’t mind because he was subtly teaching us to take risks, idk if I was right tho but all of us got the plus that we put so I take it I was right. The next time he did it, I knew I had to put +3 because everyone else are now greedy because of the previous result and I was right so I basically got the best plus I could get.
    Another time it happened again in our ethics class but this time if less than 5% puts +5 they get +5, if more than 95% puts +3, everyone gets a +3 and if more than 6% puts +5, everyone doesn’t get a plus. Everyone was understandably campaigning for a +3 because that’s the best result for everyone, but I knew one of us will put +5 and I’m also a greedy AH, well I kept it a secret since I don’t want to be hated but I know 2 other people that put +5 😂😂😂 never told anyone until of course after we finished taking that class.

  • @notbaconzzzzzzz
    @notbaconzzzzzzz 4 роки тому

    with the 1,000 10,000 100,000 game you showed in the video with repeated interactions the optimal strategy is actually to alternate between red and green so it's
    100,000 - 0
    0 - 100,000
    100,000 - 0
    0 - 100,000
    100,000 - 0
    0 - 100,000
    giving an average of 50,000 dollars as opposed to 10,000

  • @inafridge8573
    @inafridge8573 4 роки тому +1

    You should agree to switch between showing red and green, always opposite to each other. Both of you get 100K, back and forth!

  • @wrog7616
    @wrog7616 5 років тому +9

    I like how to mention mr. beast. xD I also like this math vid!

  • @Forced2
    @Forced2 5 років тому +8

    Haven't you seen 'Golden Balls'?
    This is a UK gameshow where they do exactly this!

    • @DynestiGTI
      @DynestiGTI 5 років тому +2

      Hate that show, it makes me lose faith in humanity.

    • @zachstar
      @zachstar  5 років тому

      Never heard of that show! Thanks for the heads up.

    • @skartdo
      @skartdo 5 років тому

      ua-cam.com/video/S0qjK3TWZE8/v-deo.html check out this episode

    • @daniellesmeister
      @daniellesmeister 5 років тому

      @@skartdo that is an awesome episode but this one is even more messed up
      ua-cam.com/video/p3Uos2fzIJ0/v-deo.html

  • @WingedEspeon
    @WingedEspeon Рік тому

    The funny thing about the game at 5:14 is that both of us playing red every time is better for me than the 50:50 unstable equilibrium and stable fair equilibrium.

  • @Kelly191014
    @Kelly191014 4 роки тому

    There is a TV show called split, which is about dilemma.

  • @UnknownRager96
    @UnknownRager96 4 роки тому +1

    Omg the part where you mentioned Mr. Beast I nearly cried because of the thought of getting scammed out of 10,000 dollars as I would play red

  • @aedengasser-brennan2120
    @aedengasser-brennan2120 3 роки тому +1

    this is a really great video

  • @WandererTheLost
    @WandererTheLost 3 роки тому

    They had a game show like that called Friend or Foe in the US. Also completely unrelated, as someone who plays Terraforming Mars, what is that player doing at 13:09? They paid 1 currency cube to lay "Industrial Microbes" which raises your power production and steel production each by 1. I probably wouldn't noticed except they then moved the token that tracks their titanium production every turn and put it on the Terraforming tack with is both your score and income (he has 2 tokens on there for some reason) and then puts it on the board also for... some reason. They has someone who knew how the board should be set up but couldn't bother to have that person play something that looked like the game?

  • @davontekh
    @davontekh 3 роки тому

    This is a much for people who struggles with mathematics and general finance along with economics

  • @dv3282
    @dv3282 3 роки тому +1

    they played the betrayal game on German television. One betrayed the other and the audience hated him

  • @zanonymousruiz9697
    @zanonymousruiz9697 4 роки тому +1

    For the modified prisoners dilemma I think there’s a clear best answer! If you’re allowed to cooperate with the person you’re playing against, tell them that you’ll pick green, and you’ll split the money with them if they pick red. That way you reach a Nash equilibrium: The other person will always make more money picking red than green, and you’ll always make more money picking green than red.
    You can even split it unevenly (say, you take 80,000 and give them 20,000) and there’s no logical reason to refuse. Although that COULD end up with some mind games and stuff fighting over who’ll get the 80,000, so I’d just stick to 50-50.
    Of course, this solution doesn’t work for the original prisoners dilemma bc you can’t “split” jail time once you’ve been sentenced, but there’s no reason given that you can’t exchange money outside the framework of the game!

  • @nemtudom5074
    @nemtudom5074 Рік тому

    If MRBeast had people playing these games it'd be hilarious

  • @user-ko9tc1go3h
    @user-ko9tc1go3h 3 роки тому

    9:50 this actually was based on a show “split or steal”.

  • @ryanreviews8566
    @ryanreviews8566 11 місяців тому

    this shit is actually pretty crazy. no wonder that alice in borderland numbers game was somehow both confusing & exciting at the same time lol

  • @mihaleben6051
    @mihaleben6051 Рік тому

    My startegy would be secretly cursing matpat under my breath, and picking the green card because it seems ok.

  • @PugganBacklund
    @PugganBacklund Рік тому

    Playing green have a chans of giving $100'000, all other combination is less then 10% and can be ignored, so green is the only option to get the jacpot.

  • @peterengel8601
    @peterengel8601 5 років тому +1

    There was a game show called Split or Steal that is very similar to the betraying for 100k game

  • @Rox123ify
    @Rox123ify 4 роки тому

    Regarding the red and green cards, where it's 100k vs 10k vs 1k vs bust, what does game theory say to players who take an even bigger risk through cooperation to "game" the game? What's to stop them from going for one person winning the 100k and then splitting the reward and both walking away with 50k?
    And then there's trolls who just want everybody else to lose, and they don't care about winning. How does game theory address that?
    I HAVE SO MANY QUESTIONS!!

  • @goncalosanhudodeportocarre9591
    @goncalosanhudodeportocarre9591 5 років тому +1

    Great video, but of course we don't know a Nash equilibrium for chess, it's not impossible to find it but the computation power required is just absurd

  • @toddboothbee1361
    @toddboothbee1361 4 роки тому +1

    Your channel is too interesting. It's taking time away from my full stack web development courses.

  • @technoboop1890
    @technoboop1890 Рік тому +1

    But that's just a theory. A GAME THEORY, thanks for watching

  • @joeaob9816
    @joeaob9816 3 роки тому

    10:00 This does exist- it’s a UK game show called Golden Balls

  • @rafaelluisdasilva3504
    @rafaelluisdasilva3504 5 років тому +1

    Poker is all about dominating the Nash equilibrium and pushing it over the edge against players that don't understand it.

  • @joshhallam2253
    @joshhallam2253 5 років тому +2

    In my Number Theory class we spent 1 week (2 lectures) talking about how to divide assets. The way we did it was from one of the teacher’s colleagues (or maybe students?) and hadn’t been published yet, back in ‘13, I think. I really enjoyed it and have wanted to learn more about Game Theory. Do you have a text book you would recommend?

  • @zachdurocher1166
    @zachdurocher1166 4 роки тому +4

    Betrayal!
    *[Betrayed]*

  • @mockingconundrum
    @mockingconundrum 2 роки тому +1

    I learned that you need to consider every option, people's psychology, and that algebra is beneficial to solving problems.
    What about you?😁

  • @enomiellanidrac9137
    @enomiellanidrac9137 4 роки тому

    Nice game of terraforming Mars going at around 13:11.

  • @clevermorepuzzles4557
    @clevermorepuzzles4557 4 роки тому +1

    10:00 I would tell the other person, "No matter what, I'm going to pick green. If you pick red, I'll split the 100,000 with you 50/50. I'm trusting you to make sure we both walk away with as much money as possible, but we need to cooperate and now you need to trust me too."
    Now if they think I'm lying, the difference in what they could get is only 1,000 (instead of 10,000 if we both agree to choose red), but if they think I'm trustworthy their payoff will be much bigger than the 1,000 maximum they can hope to achieve (since I've blatantly told them no matter what, I'm picking green). And yes, I would be true to my word if they chose red.

    • @clevermorepuzzles4557
      @clevermorepuzzles4557 4 роки тому +1

      @@scythear That's the sort of assumption the gameshow bigwigs would like for us to believe to help their ratings. But once the money is mine and I walk away from the game, I should hope I'm free to do whatever I like with it, including but not limited to giving some of it to someone else.

    • @fernandobanda5734
      @fernandobanda5734 4 роки тому +1

      No splitting was part of the rules of the game. If it's hard to get a situation that implies that restriction, imagine the prize being something else like food you have to eat right there or something you can't sell.

  • @ardabaser1349
    @ardabaser1349 4 роки тому +1

    I would always show red if the other person says they are going to show red. I don't care if they are lying, trusting people always wins out in the long term and after all, relationships are always better than money.

  • @leopoldtaylorsugar7869
    @leopoldtaylorsugar7869 4 роки тому +1

    What if you agree to split the 100,000 so that you both get 50,000?

  • @galacticplastic1741
    @galacticplastic1741 3 роки тому +1

    If only we can cooperate more than being more greedy
    Self-interest is a huge distraction for trust & it's hard to cooperate when trust is in uncertainty

  • @byronwatkins2565
    @byronwatkins2565 4 роки тому

    If we are truly allowed to collaborate, the best strategy is actually to take turns winning $100,000. This yields an average of $50,000 > $10,000 > $1000.

  • @hughjazz4936
    @hughjazz4936 5 років тому

    Don't know if this is interesting to anyone, but my uni does have a research lab for game theory experiments and I had the pleasure to take part in 6 of those experiments. The sample size is not too big but here's my experience: Eventhough cooperating usually gets a better combined outcome, betraying is common. In games where multiple rounds are played, the percentage of betraying increases from round to round.
    Yes, people will jeopardise a great outcome for everybody to either benefit themselves more or worsen their position because everyone else gets tired of their shit eventually and act selfish too.
    We humans really aren't the most clever species...

  • @naifalkhunaizi4372
    @naifalkhunaizi4372 5 років тому +2

    Keep it up!! Love those videos

  • @shinigmiblacky1331
    @shinigmiblacky1331 5 років тому +6

    Why is cooperating red and betraying green?

    • @wlan246
      @wlan246 5 років тому +1

      9:22 You and your counterpart discuss it in advance and agree to choose red, so that you each get 10K rather than 1K.

    • @shinigmiblacky1331
      @shinigmiblacky1331 5 років тому +3

      @@wlan246 what... Im talking about his choice of colors, why isnt cooperating green and betraying red

    • @nanigopalsaha2408
      @nanigopalsaha2408 4 роки тому +1

      Because people are green when they are jealous. And cooperation may be related to a blood pledge or something.

    • @willarnolles2938
      @willarnolles2938 4 роки тому

      It's because the situation is based on the Prisoner's Dilemma, choosing red might get you jail time while choosing green means freedom.

  • @AppleOceanus
    @AppleOceanus 11 місяців тому

    Treasure trove of information here. If it suits your taste, a kindred book might further satisfy. "Game Theory and the Pursuit of Algorithmic Fairness" by Jack Frostwell

  • @ayyymacaroni
    @ayyymacaroni Рік тому

    For the second version of the game, I would hold up green-red-green-red to maximize our wins. I want the best for my homie. And if they don’t do the same I will simply start crying, guilting them into giving me my owed money or making them feel bad in general.

  • @jac.34
    @jac.34 Рік тому

    Title:
    "The mathematics of game theory"
    3 minutes into the video:
    "I'm not going to show the math"

  • @boium.
    @boium. Рік тому

    So I've just watched 1:03. I think my strategy is to pick green with probability 7/12, and red with probability 5/12.

  • @sidneyw.mathiasdeoliveira8621
    @sidneyw.mathiasdeoliveira8621 2 роки тому +1

    2:20 - what's the formula to get these percentages?

  • @theou1883
    @theou1883 5 років тому +1

    I wouldve picked 22 too. Since people will think the average is 50% so the 2/3rds will be 33. This means most people will choose 33 and 2/3 of 33 is 22

  • @emmettnelson7260
    @emmettnelson7260 Рік тому

    As a poker player this question was very easy for me. If I play red 3/8 of the time I make you indifferent between playing red and green.

  • @koyashtik
    @koyashtik 2 роки тому

    So in nutshell Nash equilibrium is all about optimal solution with minimal risk.

  • @nealkonneker6084
    @nealkonneker6084 Рік тому

    Great explanation. I appreciate that you got right to it.

  • @anthonytejada181
    @anthonytejada181 8 місяців тому

    As a true altruist I would totally choose red. Red gives the most money to the most people. IF we both get red than I benefit with 10,000 and so does the other player. If I am betrayed then I lose nothing but the other person does gain a lot. If I betray and also get betrayed we both get something but so little as to not make me care. I am disincentivized to choose green. Gaining little is worse than nothing.
    Maybe that isn't altruism but it is how my mind works

  • @live4twilight4ever
    @live4twilight4ever 5 років тому

    I paused the video at 7:21 and figured out what I would pick. I thought most people would assume that everyone's guesses would have an average of 50, so people would tend to pick ~33. Thus, my best bet would be 22. Sounds like I was pretty on base.

  • @aleksitjvladica.
    @aleksitjvladica. 3 роки тому

    Mass Spellbreakers in every HU mirror.

  • @prabhatp654
    @prabhatp654 3 роки тому

    Seriously thank you for not including prisoners' dilemma

  • @giantdinoboy8264
    @giantdinoboy8264 3 роки тому

    10:05 Easy, say I'm going to play red, distract my opponent to look behind them, then swap the cards.