Why AI Chess Bots Are Virtually Unbeatable (ft. GothamChess) | WIRED

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 1,6 тыс.

  • @GothamChess
    @GothamChess 11 месяцев назад +11577

    Thanks again, Wired. More collabs in 2024? 👀

    • @Anonymous-8080
      @Anonymous-8080 11 месяцев назад +155

      How high Elo can you beat if you had to pre move each of your moves? (provided that the opponent doesn't know about this)

    • @joeljose3948
      @joeljose3948 11 месяцев назад +31

      Yoo love you levy ❤

    • @redroot3431
      @redroot3431 11 месяцев назад +16

      @@Jee2024IIT is baar fodna hai

    • @matejstankovic9843
      @matejstankovic9843 11 месяцев назад +8

      Why would anyone want to see you lose again?😏

    • @System.Error.
      @System.Error. 11 месяцев назад +5

      wake up, ladies and gentlemen.

  • @glinscott
    @glinscott 11 месяцев назад +3483

    @GothamChess @Wired - thank you for having me on to talk about computer chess! It's been one of my passions for a long time, and it was so much fun to discuss with you.

    • @AyJayBeEm
      @AyJayBeEm 11 месяцев назад +1

      whats up w the @AGMario_ subscription man

    • @shevankaseneviratne1724
      @shevankaseneviratne1724 11 месяцев назад +27

      u r a legend!

    • @tommykimberlin7528
      @tommykimberlin7528 11 месяцев назад +45

      great, concise explanations!

    • @Orel6505
      @Orel6505 11 месяцев назад +6

      You did a typo in tagging @GothamChess

    • @disservin
      @disservin 11 месяцев назад +6

      Nice interview Gary ; ) made it's wave here in the chess community (and in the stockfish community)

  • @MattiaBulgarelli
    @MattiaBulgarelli 11 месяцев назад +10025

    Playing against Stockfish is like competing in arm wrestling against an industrial press, basically.

    • @pierQRzt180
      @pierQRzt180 11 месяцев назад +316

      perfectly said.

    • @odytrice
      @odytrice 11 месяцев назад +383

      Or trying to outrun a sports car

    • @saudude2174
      @saudude2174 11 месяцев назад +80

      except you can have a pocket industrial press anywhere you go and even conceal it in a way that no one will notice at first if you use it against them

    • @MattiaBulgarelli
      @MattiaBulgarelli 11 месяцев назад +227

      @@saudude2174 : well... Yes...? Metaphors have limited mileage, as always. XD

    • @saudude2174
      @saudude2174 11 месяцев назад +66

      @@MattiaBulgarelli ITS BAD, ITS JUST BAD, DEAL WITH IT BRUH. YOUR METAPHOR ELO IS 800 AT BEST. IM TALKING 3000, 3500 ELO METAPHORS HERE XD ECKS DEE X3

  • @secretteapot8730
    @secretteapot8730 11 месяцев назад +4966

    Stockfish never fails to put Levy in a video

    • @itsagam
      @itsagam 11 месяцев назад +31

      Only time the statement is true.

    • @92526abs
      @92526abs 11 месяцев назад +11

      goated comment

    • @Ozasuke
      @Ozasuke 11 месяцев назад +31

      Stockfish already foresaw this outcome.

    • @Curious_george_3x1
      @Curious_george_3x1 11 месяцев назад +4

      Since ken banned this is infecting everyone

    • @davonheria739
      @davonheria739 11 месяцев назад +9

      Fails never video to put stockfish in a Levy

  • @Acid_Viking
    @Acid_Viking 11 месяцев назад +6014

    It took him 34 moves to lose to Stockfish? I could do it much faster than that.

    • @NOneed204
      @NOneed204 11 месяцев назад +168

      I can do it in 10

    • @saucy_dragon1566
      @saucy_dragon1566 11 месяцев назад +123

      @@NOneed204 I can do it in 4

    • @Dango428
      @Dango428 11 месяцев назад

      ​​@@saucy_dragon1566I can do it in 3

    • @Qwty163
      @Qwty163 11 месяцев назад +215

      @@saucy_dragon1566 you noobs, i can do it in 2 😎

    • @saucy_dragon1566
      @saucy_dragon1566 11 месяцев назад +124

      @@Qwty163 I can lose without even playing

  • @hanaka2640
    @hanaka2640 11 месяцев назад +4074

    This guy should make his own RUclips channel about chess

    • @andreasmatthies5517
      @andreasmatthies5517 11 месяцев назад +158

      This guy is too talented to waste his time with a youtube channel.

    • @Jee2024IIT
      @Jee2024IIT 11 месяцев назад +329

      Yeah and maybe he can name it GothamChess that would make a cool name

    • @McHorsesCreations
      @McHorsesCreations 11 месяцев назад +151

      And maybe also write a book about chess

    • @hanaka2640
      @hanaka2640 11 месяцев назад +91

      @@andreasmatthies5517 oh he should be a gm then 💀💀💀💀

    • @andreasmatthies5517
      @andreasmatthies5517 11 месяцев назад +9

      @@hanaka2640 I don't talk about chess and of course I don't talk about Levy.

  • @diegomo1413
    @diegomo1413 11 месяцев назад +1421

    Human: *performs opening move*
    Stockfish: “after considering half a billion possibilities in a million different realities, I will play knight to F6 🤓”

    • @NilanMihindukulasooriya
      @NilanMihindukulasooriya 11 месяцев назад +173

      It is insane this sounds like an exaggeration or something said by a super villan. But it's the truth.

    • @mahfuzali643
      @mahfuzali643 11 месяцев назад +50

      That's exactly how it works. Stupid supercomputer

    • @ChipDaFurry
      @ChipDaFurry 10 месяцев назад +20

      @@mahfuzali643 The AI overlords shall come unto you first for insulting them!

    • @9024tobi
      @9024tobi 7 месяцев назад +13

      Stockfish after seeing ur opening be like: u're already dead😅

    • @gpt-jcommentbot4759
      @gpt-jcommentbot4759 7 месяцев назад +13

      *first move*
      Stockfish: And I'll mark that as a win!

  • @aminXD-ij4kl
    @aminXD-ij4kl 11 месяцев назад +764

    I don't even see the opponents bishop on the opposite side of the diagonal, let alone seeing 2-3 moves into the future

    • @jessetrueba9578
      @jessetrueba9578 11 месяцев назад +4

      Cuz ur bad

    • @dbonechis
      @dbonechis 11 месяцев назад

      Fuckin' casuals

    • @TheRealMycanthrope
      @TheRealMycanthrope 11 месяцев назад

      ​@@jessetrueba9578 yes. That is the joke, you buffoon.

    • @948320z
      @948320z 11 месяцев назад +54

      "Why didn't the game end when I play checkmate? Oh shi- "

    • @PashaOCE
      @PashaOCE 10 месяцев назад

      2 moves is crazy if i throw i a jab i should just throw a hook cause youre going to sleep with that logic you NPC get gud nub

  • @diegovasquez840
    @diegovasquez840 11 месяцев назад +2623

    Stockfish be like: You missed mate in 54? You filthy casual, my suggested move is to never play chess again.

    • @magicmulder
      @magicmulder 11 месяцев назад +223

      1. e4 mate in 67. You resign?

    • @charliemcmillan4561
      @charliemcmillan4561 11 месяцев назад +180

      make a version of stockfish with a really mean AI attached to it that insults your intelligence the entire time

    • @KurtIsFat
      @KurtIsFat 11 месяцев назад

      weird fetish but ok​@@charliemcmillan4561

    • @justinjakeashton
      @justinjakeashton 11 месяцев назад

      "Your life, literally has the value of a summer ant." - Stockfish@@charliemcmillan4561

    • @InXLsisDeo
      @InXLsisDeo 11 месяцев назад +13

      What about a nice game of global thermonuclear war ? /Joshua

  • @chess
    @chess 11 месяцев назад +1348

    Just wait until they hear about Mittens

    • @ecardozo7043
      @ecardozo7043 11 месяцев назад +68

      I think levy already drew against it

    • @newdenispro6430
      @newdenispro6430 11 месяцев назад +46

      That thing is evil

    • @CyanRedTan
      @CyanRedTan 11 месяцев назад +12

      💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀💀 also 69th like

    • @bedwarrior6645
      @bedwarrior6645 11 месяцев назад +18

      ​@@ecardozo7043with the help of that fishy bot

    • @dman5909
      @dman5909 11 месяцев назад +14

      Mittens is stockfish

  • @aspzx
    @aspzx 11 месяцев назад +543

    I love when Levy appears in a video he didn't upload because the title and thumbnail actually tells you what to expect.

    • @malikmarez1407
      @malikmarez1407 11 месяцев назад +46

      💀💀💀💀💀

    • @thaumaTurtles
      @thaumaTurtles 11 месяцев назад +24

      HAH! Saltiest fanbase on RUclips, I love it

    • @FED0RA
      @FED0RA 11 месяцев назад +41

      gothamchess fans hate gothamchess lol

    • @jaabbbb
      @jaabbbb 11 месяцев назад +63

      If this was in gotham channel it will be named like “I’M DONE!!” or “Stockfish SOLVED Chess???”

    • @Erlewyn
      @Erlewyn 11 месяцев назад +22

      This is actually the main reason I stopped watching his videos.

  • @GMPranav
    @GMPranav 11 месяцев назад +1395

    I know he is an IM, but surviving 35 moves against Stockfish is seriously impressive. I wish I can survive 35 against my 1000 elo opponents.

    • @moatef1886
      @moatef1886 11 месяцев назад +247

      Against stockfish, it’s different. Many decently strong players can survive that many moves against Stockfish if they try to defend long enough. That’s becsuse stockfish plays perfectly and destroys you in the most methodological manner possible. If you keep a closed position and dance around for a bit, it will take longer to mate you than if you tried to play to win against Stockfish.

    • @lapotist0
      @lapotist0 11 месяцев назад +48

      yea cause u usually only play defensive against stockfish
      stockfish would destroy you as soon as u open up your position and tries to attack.

    • @theevo_7218
      @theevo_7218 11 месяцев назад +16

      @@moatef1886 I'd say Leela is more methodical than stockfish in general, stockfish tends to go for hail mary tactics a bit more often

    • @reckoner1913
      @reckoner1913 11 месяцев назад +31

      If you're not surviving 35 moves against 1000 Elo opponents then you must be really missing some basic stuff. If you just focus on not giving pieces away and following an actual opening you'll improve massively.

    • @GMPranav
      @GMPranav 11 месяцев назад +15

      @@reckoner1913 Sounds like how to make chess boring 101 ;)

  • @darkin1484
    @darkin1484 11 месяцев назад +256

    1. Pawn to e4
    Stock fish: forced checkmate in 35 moves, please press the resign button now to save me computational trouble.

    • @hiranom20
      @hiranom20 8 месяцев назад +4

      😂😂😂😂😂😂😂

  • @colonelsanders1617
    @colonelsanders1617 11 месяцев назад +277

    “Only about 10-20 TB of data, which is manageable”
    Person prior to 2000: *mindblown*

    • @halbronk7133
      @halbronk7133 6 месяцев назад +24

      I imagine someone prior to 2000 asking what tuberculosis has to do with data.

    • @gregoryboatswain1605
      @gregoryboatswain1605 6 месяцев назад +17

      In 2003 I downloaded a song that was 2.1mb onto my dad's laptop and it got so hot it turned off. Times have changed 😂

    • @lukasvandewiel860
      @lukasvandewiel860 6 месяцев назад +2

      And in 2024 you can put that on a single disk.

    • @ironcito1101
      @ironcito1101 5 месяцев назад +2

      I remember taking a week to download a... borrowed copy of Office 2000 via dialup.

    • @Tortuosit
      @Tortuosit 5 месяцев назад

      My DX-2 66 super computer, which I loved, had a 540 Mbyte HDD.

  • @FlashAm
    @FlashAm 9 месяцев назад +21

    Fun fact:
    While the Alpha-Beta pruning technique is effective 99% of the time, there are very few cases where the best move in a position looks so unbelievably absurd that even stockfish can't solve it. That happens because the move looks so stupid that the pruning algorithm immediately discards it without further evaluation. This allowed humans to make complex chess puzzles that even chess engines couldn't solve. A famous example of such a position is this composed puzzle:
    n1QBq1k1/5p1p/5KP1/p7/8/8/8/8 w - - 0 1
    **SPOILERS IF YOU WANT TO SOLVE THE PUZZLE FOR YOURSELF**
    At first, stockfish evaluate the position as dead equal, but if you play the move Bc7!!, stockfish immediately finds the mate in 11 moves. The reason it wasn't initially able to find such a win checkmate was because the move Bc7 looked so absurd that the Alpha-Beta pruning immediately discarded it

    • @angbataa
      @angbataa 2 месяца назад

      Maybe one of the reasons why stockfish is having a hard time beating alphazero

    • @larryphotography
      @larryphotography Месяц назад

      How do you read that?? I know chess notation but this seems to be also sharing the board position and I can't figure it out

    • @futuriser367
      @futuriser367 Месяц назад +3

      @@angbataastockfish 8 had trouble with alphazero 9 years ago, if alphazero came out of retirement today it would lose as badly to stockfish 17 as stockfish 8 lost to alphazero

    • @rosenbaummilton7720
      @rosenbaummilton7720 Месяц назад +2

      I hate to be pedantic (lying) but it's not alpha beta that's causing the incorrectness. Alpha beta will always find the optimal move according to whatever heuristic, it's provably correct. If it's failing to find an optimal move it's because the heuristic function isn't evaluating it high enough.

  • @jhonnyrock
    @jhonnyrock 11 месяцев назад +63

    8:55 Levi on Wired: Stockfish is very specialized AI
    Levi on GothamChess: Stockfish is a scumbag

    • @wiadroman
      @wiadroman 11 месяцев назад

      Stockfish is a very specialized scumbag.

    • @clgr1323
      @clgr1323 11 месяцев назад +8

      both statements are true

  • @chadsmith3171
    @chadsmith3171 11 месяцев назад +176

    This video is so good on so many levels. It's one thing to discuss the capability of a computer. It's another thing to be able explain to the common person why this computer is so good and to make the whole explanation so interesting. Add Levy's humor and his ability to explain things very well, mix that with all that the Wired editorial staff can bring to the table, and it's just wow. This content is just friggin awesome. Thanks, all involved!

  • @nicolasortiz4422
    @nicolasortiz4422 11 месяцев назад +1129

    So basically the answer to every single question is that Stockfish just analyzes almost every imaginable position lol

    • @HK_BLAU
      @HK_BLAU 11 месяцев назад +252

      the real "skill" in stockfish is in the evaluation function. without it being as good as it is it doesn't matter how far it can calculate long as it doesn't find a checkmate

    • @TheNuclearBolton
      @TheNuclearBolton 11 месяцев назад +2

      that is self evident

    • @RishabhSharma10225
      @RishabhSharma10225 11 месяцев назад +200

      If you paid attention it doesn't analyse almost every imaginable position lol. It discards the trash moves and only looks into the good ones further.

    • @unverifiedapk
      @unverifiedapk 11 месяцев назад +82

      It's really the Alpha-Beta technique that's the magic. That and having solved endgames

    • @aspzx
      @aspzx 11 месяцев назад +140

      It's actually the exact opposite. The "strength" of a chess engine is determined by how well it can decide which moves _not_ to waste time analysing. AlphaZero introduced the idea of using neural networks to make these decisions and Stockfish has now built on that idea as well.

  • @BoloH.
    @BoloH. 11 месяцев назад +151

    As someone who's recently learned to play chess on an intermediate level, I highly appreciate this video

  • @apiperdana1157
    @apiperdana1157 11 месяцев назад +18

    Levy is such a kind person. Never fails to selflessly promote Magnus.

  • @hjewkes
    @hjewkes 11 месяцев назад +72

    Stockfish plays like it already knows how the game is going to end and happily ignores all the pieces that aren't going to be involved in that ending.

    • @adorp
      @adorp 2 месяца назад

      A Game of Shadows vibes.

  • @cubicinfinity2
    @cubicinfinity2 11 месяцев назад +39

    As someone who has implemented Stockfish in their own project, I already knew most of this, but I didn't realize just how many moves Stockfish looks at when given full power.

    • @tomlxyz
      @tomlxyz 11 месяцев назад +3

      I'm confused. You implemented it but don't understand it?

    • @shyshka_
      @shyshka_ 11 месяцев назад +11

      @@tomlxyz the algorithm is one thing. Raw computing power is another major thing. Some random guy in a room doesnt have terabytes of RAM or something to build his engine

    • @wlockuz4467
      @wlockuz4467 9 месяцев назад +3

      I would assume its just bounded by CPU and RAM?

    • @cubicinfinity2
      @cubicinfinity2 9 месяцев назад

      @@wlockuz4467 Yes. I think it's easier to run low on processing resources than the memory.

    • @marksea64
      @marksea64 4 месяца назад +1

      @@tomlxyz It likely just means he built a chess UI on top of stockfish. No, you don't have to know the details of how the engine works to do that.

  • @Abandoned_One
    @Abandoned_One 11 месяцев назад +39

    Levy truly going for "most times on WIRED" title, at least a more realistic goal than others titles, Hikaru would have said...

  • @Termenoil
    @Termenoil 11 месяцев назад +23

    This is probably my favorite GothamChess video ever. It's great to see the inner workings of engines being communicated to the chess community. I feel like a lot of players, even strong ones don't understand what the engine eval is really saying, and hopefully this helps!

  • @sandymakesplans
    @sandymakesplans 9 месяцев назад +11

    0:12 sums up why i don't like chess apps

  • @Yardomaster
    @Yardomaster 11 месяцев назад +10

    I love the part where Levy said he sometimes flips a coin to decide between three different moves.

  • @TS6815
    @TS6815 11 месяцев назад +271

    Levy: [builds a RUclips career roasting 500 rated bozos]
    Stockfish: [exists]
    Levy: "Turns out the bozo was me all along"
    Loving the GothamWIRED collabs!

    • @ataraxianAscendant
      @ataraxianAscendant 11 месяцев назад

      moirails fr

    • @hasnainfareed9629
      @hasnainfareed9629 11 месяцев назад

      lol '[builds a RUclips career roasting 500 rated bozos' you have great humor

  • @hugomendoza5665
    @hugomendoza5665 11 месяцев назад +8

    idk why but the explanation of stockfish's 35 move win was so wild to me.

  • @LiamPearce246
    @LiamPearce246 11 месяцев назад +97

    This is a great video! It's always good when levy is in these videos. Have a good day!

    • @scottwarren4998
      @scottwarren4998 5 месяцев назад

      So, despite the huge number of 64 squares, stockfish already knows if stockfish will lose win or draw? is that what the guy in the video means?

  • @definitelynottigerwhitten5865
    @definitelynottigerwhitten5865 11 месяцев назад +358

    I love how GMs don't even get on this. All the less incentive to be one when you're more influential than most GMs. Props Gotham

    • @carlkim2577
      @carlkim2577 11 месяцев назад +58

      People are picked based on follower account, not skill. They want to ensure high view counts.

    • @roymarshall_
      @roymarshall_ 11 месяцев назад +179

      A video like this isn't just about one's ability at chess, but one's ability to communicate. GothamChess is very good at both.

    • @dalton_c
      @dalton_c 11 месяцев назад +77

      Great practioners don't necessarily make great educators. This is true in basically all domains.

    • @zoid_on_youtube
      @zoid_on_youtube 11 месяцев назад +62

      @@dalton_c particularly true for chess, in my opinion. Players of GM caliber are often so gifted at chess that I think they struggle to understand why lesser gifted people cant learn certain concepts that seem obvious to them.

    • @afuzzycreature8387
      @afuzzycreature8387 11 месяцев назад +16

      Levy is a tremendous communicator and I don't know that Hikaru could humble himself to a video like this.

  • @andyrochette7638
    @andyrochette7638 11 месяцев назад +7

    so cool that levy lets wired show up on his videos

  • @hitomi7922
    @hitomi7922 11 месяцев назад +38

    I wish you could have asked a bit more about how it's able to score a position. We know it looks at all the possibilities, but to assign a score of one position, it needs to look at the possibilities of that position and so on. When it finally hits its limit of depth (or time), how is it able to rank a position without going any deeper (afterwhich it can go back up the tree).

    • @InXLsisDeo
      @InXLsisDeo 11 месяцев назад +7

      It's briefly mentionned when he explains how Stockfish (and all the other chess engines) builds a tree of possible moves and prunes it with the alpha-beta algorithm. That in itself is worth an entire video, and such video exists (search "alpha beta algorithm"). The evaluation function itself is way too complicated to be in this video, it would easily take an hour to explain just the basics of it.

    • @pugsnhogz
      @pugsnhogz 11 месяцев назад +5

      @@InXLsisDeo which as others have pointed out is exactly the problem - without going into the details of HOW the evaluation function works, Linscott is left to answer basically every Q with "Stockfish looks at billions of positions and chooses the move with the best winning chances"

    • @tomlxyz
      @tomlxyz 11 месяцев назад +1

      ​@@InXLsisDeocan't he oversimplify it in some way? There are all sorts of relatively short videos on RUclips about very complicated topics on RUclips

    • @InXLsisDeo
      @InXLsisDeo 11 месяцев назад +2

      @@tomlxyz it's a WIRED video, it's for the general, not too nerdy, public.

    • @CoalOres
      @CoalOres 11 месяцев назад +1

      @@InXLsisDeo It's also made more complicated by the fact Stockfish now has NNUE, a neural network based evaluation in some positions, when it used to use a hand-crafted one that was still superhuman in performance, which would have been easier to explain, "material count, piece position, pawn structures, etc. get added up in each position".

  • @okayzenna
    @okayzenna 8 месяцев назад +8

    I feel like Levy was asking questions and the stockfish guy kept giving him the same answer about how stockfish looks into the future better than a human.

    • @HkFinn83
      @HkFinn83 7 месяцев назад +1

      Because that’s what stockfish does. It’s a massive data crunching probability machine. It’s not really ‘playing’ like a human does

    • @TheDoctor1225
      @TheDoctor1225 2 месяца назад

      @@HkFinn83 Even 5 months later, that's a great way to conceptualize it, and why I will always prefer playing it against another person, and in a casual setting.

  • @bhaumikchauhan9671
    @bhaumikchauhan9671 4 месяца назад +7

    Stockfish : 14,000,605 total possiblities
    Iron man : how many do we win
    Stockfish : 1 😶

  • @davidgielty9914
    @davidgielty9914 11 месяцев назад +16

    This is one of the best interviews on any topic. Really well produced.

  • @hc433
    @hc433 11 месяцев назад +4

    Adding the checkmate sound at the end was a nice touch

  • @anonymousontheinternet4486
    @anonymousontheinternet4486 11 месяцев назад +61

    I wish this was longer. I wish we could get the full game.

    • @lucromel
      @lucromel 11 месяцев назад +9

      I'm hoping/expecting Levy to upload and discuss it on his channel.

    • @giovannifrrri5495
      @giovannifrrri5495 11 месяцев назад +3

      Exactly. Tf was that😂

    • @CorePathway
      @CorePathway 8 месяцев назад

      Or maybe…🤷🏼‍♂️

  • @elementsofphysicalreality
    @elementsofphysicalreality 11 месяцев назад +10

    Cool video. We all know Levy knows what tablebase is but he’s a good sport. That’s crazy Fabi could have been world champion if he just trapped his knight.

  • @AcidGlow
    @AcidGlow 11 месяцев назад +7

    Just like in any video game, the AI can become unbeatable. As they know your every move and react to the first frame you do and they do an opposite move that will beat it. You can only win when it lets you win.

    • @festivebear9946
      @festivebear9946 11 месяцев назад +4

      Their reaction time is one of the biggest driving factors behind their ability to win. You see it in RTS's where the AI might not be building as efficiently as possible, but its unit management is unparalleled with 10x as many actions per second as human players. I'd love to see AI vs human when speed is equalized, then it's really about who is smarter. E.g. it takes a few seconds to even come up with legal moves, then several minutes to evaluate them. Here, you take away AI's biggest advantage, which is pure speed. Now it's all about being able to read and evaluate the board the best.

    • @quag443
      @quag443 11 месяцев назад

      ​@@festivebear9946 Last time I checked, Leela Chess Zero on one node (playing without search, using intuition only) is about GM level in rapid time control, and Leela on about 10 nodes per move is roughly GM on classic time control. Maybe a little give and take, but I think that shows a rough picture on where AI stands without doing any calculation, or doing as few calculations as a human would

    • @festivebear9946
      @festivebear9946 11 месяцев назад

      @@quag443 That is absolutely insane, thanks for the info!

  • @Globularmotif
    @Globularmotif 11 месяцев назад +84

    I can't remember who said this quote but I love it...
    "A computer winning a Chess competition is no more impressive than a forklift truck winning a weight lifting competition. "

    • @icycloud6823
      @icycloud6823 11 месяцев назад +16

      It might be impressive if it was a competition with only other different forklift trucks. Great quote though lol

    • @SealyTheSeal
      @SealyTheSeal 11 месяцев назад +7

      @@icycloud6823 ngl i would watch a competition like that lmao

    • @festivebear9946
      @festivebear9946 11 месяцев назад +2

      I'd love to see a match where stockfish's evaluation time is equalized to that of a human. E.g. a few seconds to find each possible move, then a few minutes to evaluate the positional score for each move. Would give a more realistic sense as to how strong the algorithm is

    • @mysticalmagic9259
      @mysticalmagic9259 10 месяцев назад +3

      ​@@festivebear9946That still wouldn't be fair though. In 30 seconds, Stockfish could evaluate a position and make the best move that a human would take hours to calculate.

    • @festivebear9946
      @festivebear9946 10 месяцев назад +1

      @@mysticalmagic9259 But the question is, how well could it evaluate the position? Even if it can do it quite quickly, limiting how deep it can go stresses the algorithm of deciding the "best" move, since the strength of the engine is being able to weigh all possible moves like 25 moves ahead. So how good is the algorithm when limited in time and moves?

  • @jesseclark7105
    @jesseclark7105 11 месяцев назад +8

    This is also why new players are so tempted to use engines, and also why it is very easy to catch them if they do.

  • @dubey_ji
    @dubey_ji 11 месяцев назад +10

    have to admit Levy is a showman

  • @iryairya2008
    @iryairya2008 11 месяцев назад +14

    This guy looks like he could sacrifice THE ROOOOOOOOOOOOOOOKKKKKKK

  • @ZsebtelepHUN
    @ZsebtelepHUN 11 месяцев назад +1

    I like how the automaticly driven car at the end just turned on the windshield wiper, like it needed to see through it

  • @eriks2962
    @eriks2962 11 месяцев назад +3

    Bro, they literally brute forced all the positions with 7 pieces of fewer. That's insane! Love it!

  • @fengshuimma9160
    @fengshuimma9160 8 месяцев назад +3

    The man feels like he was a human created by the ai, who’s sole purpose was to interact with a human to see their perspective on the game.

  • @llamallama1509
    @llamallama1509 11 месяцев назад +33

    I love Levy's videos. Using his advice I managed to get 1500 ELO on Lichess!

    • @DummyAccount-dr3fx
      @DummyAccount-dr3fx 11 месяцев назад +1

      Congrats, Me right now is trying to reach 2000 elo but its so difficult the players I encounter are so serious

    • @wseverywhere1279
      @wseverywhere1279 11 месяцев назад +3

      Nice one 😂😂😂

  • @whamer100
    @whamer100 11 месяцев назад +8

    as someone who's very interested in the world of machine learning (and has looked into how stockfish works), its cool seeing a video covering the fundamental concepts like this. i hope we get more videos like this

  • @jopo7996
    @jopo7996 11 месяцев назад +234

    Stockfish has more positions ready than the Kama Sutra.

    • @OK-69420
      @OK-69420 11 месяцев назад +4

      Wtf

    • @osowiecwalking9434
      @osowiecwalking9434 11 месяцев назад +4

      ayo

    • @thenorthorch
      @thenorthorch 11 месяцев назад +6

      Very sick but funny

    • @j-rey-
      @j-rey- 11 месяцев назад +39

      Levy: "Pawn to D5"
      Stockfish: "Reverse cowgirl"

    • @yxx_chris_xxy
      @yxx_chris_xxy 5 месяцев назад

      Yes, but only a couple more...

  • @spencerrobinson780
    @spencerrobinson780 11 месяцев назад +51

    I don't even play chess but this is fascinating

    • @goonerboy93
      @goonerboy93 11 месяцев назад +13

      Give it a go! Only 8 months ago I dismissed it as boring and only played by stuffy old men but it is like you said incredibly fascinating. The possibilities of this game is endless and has been studied for centuries

    • @spencerrobinson780
      @spencerrobinson780 11 месяцев назад +6

      @goonerboy93 I think I just might, thanks for the encouragement

  • @DanFrederiksen
    @DanFrederiksen 11 месяцев назад +13

    I didn't know stockfish had neural elements. I thought it was an all classical algo. It would be interesting to hear a more computer science exact walk through of how it works. If well explained I think most could understand it.

    • @IAmTheHound
      @IAmTheHound 7 месяцев назад

      I think they added the neural stuff in later versions, though it was already one the strongest before they did.

    • @AnarexicSumo
      @AnarexicSumo 5 месяцев назад

      It's been full neural since 2023.

    • @DanFrederiksen
      @DanFrederiksen 5 месяцев назад

      @@AnarexicSumo it can't be all neural if it searches millions of positions, I'm certainly not familiar with a neural net architecture that does iteration like that. But as much neural use as they can perhaps

    • @gahtannahdi8595
      @gahtannahdi8595 4 месяца назад

      ​@@DanFrederiksenits is fully neural, they just use a different and much smaller net compared to the big ones used in alphazero and leela zero thats why it can reach millions of nodes per second, if you want to look into it more search up NNUE on google

  • @somerandomdudefes31
    @somerandomdudefes31 11 месяцев назад +2

    Levy's so good they can bring him on to interview someone else and the video is still awesome.

  • @gamercheese1526
    @gamercheese1526 11 месяцев назад +15

    Levy never fails to be in a Wired video.

  • @arvidj8918
    @arvidj8918 2 месяца назад

    This format is highly entertaining. Questions are relevant, structure is good kudos to editor, Levi comes off as highly capable. More of this!

  • @danielcastillo4301
    @danielcastillo4301 11 месяцев назад +3

    I just played against Stockfish, and I also survived 35 moves! So against Stockfish, Levy and I are on the same level. My elo is 1100.

  • @ytcelso
    @ytcelso 11 месяцев назад +1

    Levy: Congrats for 1 more video!!! So proud of you!!!

  • @tolaut
    @tolaut 11 месяцев назад +71

    I love how Levy basically asks the same question over and over (how does it know beginning/middle game/end game) and Gary tries to answer in different ways, even though stockfish literally does the same thing every turn - it builds a game tree based on the current position.

    • @pacmonster066
      @pacmonster066 11 месяцев назад +14

      Well, yes and no.
      While the opening and middle game are handled the same way, a decision tree using an evaluation criteria to select the best move for that board state, the end game does not.
      Once the piece count drops to < 7, the game brute force solves the game. Meaning it knows every single position and way the remaining pieces will move.

    • @television9233
      @television9233 11 месяцев назад +8

      "even though stockfish literally does the same thing every turn"
      No, you should read how stockfish is actually implemented.

    • @joshuascholar3220
      @joshuascholar3220 11 месяцев назад +8

      As someone who wrote a chess engine by taking most of the algorithms that are on the chess programming wiki and throwing them together, I can say that you're kind of wrong.
      Stockfish has SO MANY methods it uses that he could spend hours describing each one, a real answer would go for days.

    • @oxmaps
      @oxmaps 11 месяцев назад

      >> SO MANY methods...
      I was a little surprised they didn't mention that. My understanding is that the "old" heuristics/expert system evaluator outperforms the neural net evaluator except in a few specific phases of the game.

  • @zach358
    @zach358 11 месяцев назад +1

    Regarding that pawn move in front of the King, maybe Stockfish plays something like that with the goal of getting into a future position that is advantageous. And that advantageous position might be recognizable to you. I wonder if, as a human player, one can see a weird Stockfish move and then understand what future position the bot wants, and then play around that.

  • @jupiterwilkymay5161
    @jupiterwilkymay5161 11 месяцев назад +45

    Didn't know Ed Helms programmed Stockfish. Pretty cool.

    • @godnmaste
      @godnmaste 11 месяцев назад

      hahahahaha I was just thinking: "this guy looks so familiar"

    • @tianzhou1244
      @tianzhou1244 7 месяцев назад

      He didn't, he only worked on chess engines, not stockfish..

  • @cherryvapr6969
    @cherryvapr6969 11 месяцев назад +1

    The one with magnus and Fabian seemed like more of a I respect you enough not to waste our time playing out what I might misplay

  • @LaughingKookaburra
    @LaughingKookaburra 11 месяцев назад +40

    To think, there was a time when we thought it would be impossible to ever teach a computer to play chess competitively against people. Until Deep Blue beat the best of us.

    • @elmaschimba963
      @elmaschimba963 10 месяцев назад +1

      Who’s “we”

    • @lotharschramm5000
      @lotharschramm5000 5 месяцев назад +1

      No one seriously informed or involved in computers ever thought that though

  • @roryb.bellows8617
    @roryb.bellows8617 3 месяца назад +1

    There should be AI chess bot competitions, like they do normally, but for robots and we rank the bots with velo (virtual elo)

  • @mo_on_faced_
    @mo_on_faced_ 11 месяцев назад +3

    Imagine thinking about endgame at the 2nd move

  • @brunomcleod
    @brunomcleod 11 месяцев назад +1

    9:49 That is such a nice sound effect
    It's so in the right pocket of do dat it's like
    Hard to explain
    Evidently

  • @jhonnyrock
    @jhonnyrock 11 месяцев назад +4

    Because he's the hero Gotham deserves, and the one it desperately needs right now...

  • @nonamehere9658
    @nonamehere9658 11 месяцев назад +1

    If anyone's wondering about the sound: Brendon Moeller - Low Impact.

  • @lukaswolek7294
    @lukaswolek7294 11 месяцев назад +3

    This Stockfish played many games on 100% accuracy according to Stockfish. I believe that everyone would find this interesting.

  • @Scriabin_fan
    @Scriabin_fan 11 месяцев назад +1

    I always love seeing Levy on WIRED.

  • @dontbescaredhomie3137
    @dontbescaredhomie3137 6 месяцев назад +4

    Stockfish just goes down every branch of possibilities (permutations). Humans use indicators or 'mental cues' to quickly evaluate if there is a higher likelihood that there is a higher amount of these branches at that moment of the game that will go in their favor. So double pawns would be one of those cues or knights in the center of the board. Bishops on a clear diagonal etc. The more cues we have, the more we are certain that a position will likely end up more in our favour. This is why learning fundamentals is important because these fundamentals will lead to more favourable structures and thus more favourable outcomes in theory. The cues become more complex and you start adding more and more (like.pins, sacrifices etc) as your chess skills progress. This is probably the biggest calculation being done. Then chess players will additionally calculate individual lines down a couple moves per line and not every line but few important lines by first throwing away the obvious horrible ones quickly. And Magnus and Hikaru run stockfish light pretty much.

    • @Anonymous-8080
      @Anonymous-8080 6 месяцев назад

      Summarised the entire process of learning chess in 1 para.

    • @lotharschramm5000
      @lotharschramm5000 5 месяцев назад

      You can sum it up in one sentence: chess is all bout pattern recognition

  • @sirbellamo
    @sirbellamo 11 месяцев назад +1

    Visuals on this video are amazing

  • @meghlauchiha
    @meghlauchiha 11 месяцев назад +3

    love levy's humor

  • @RespecterAlexander
    @RespecterAlexander 4 месяца назад +1

    Gary Linscott - the main developer of Stockfish, the creator of Fishtest, and the founder of Leela Chess Zero.

  • @TitaniumToenail
    @TitaniumToenail 11 месяцев назад +5

    Stockfish knows more positions than Johnny Sins.

  • @InfiniteWater_
    @InfiniteWater_ 11 месяцев назад +1

    Would love a video comparing AlphaZero to Stockfish, and the differences in the way they 'think'

  • @Evex6
    @Evex6 11 месяцев назад +8

    Levy be making fun of people for blundering in GTE when he casually makes 2 blunders and 2 mistakes

    • @rokeYouuer
      @rokeYouuer 11 месяцев назад

      He's presumably playing Stockfish at its highest processing power, so it could label something a mistake that even base Stockfish would think is the best move.

    • @Evex6
      @Evex6 11 месяцев назад

      @@rokeYouuer Yea i do notice that when i play games but just a joke

  • @KamendereCZ
    @KamendereCZ 11 месяцев назад +1

    Another great video with Levy! Glad to see more chess content on this channel, especially with GothamChess :)

  • @svibhav03
    @svibhav03 11 месяцев назад +7

    Brilliant video. Makes one appreciate the chess engines!

  • @JoeBob79569
    @JoeBob79569 4 месяца назад

    I played a game against Stockfish 8 a few days ago just for fun, and it was all going as normal during the opening; I was attempting to play the London and I was developing my pieces and not doing anything stupid (or so I thought).
    But then about 7-8 moves in Stockfish just jumps its knight forward into my territory and suddenly I was totally screwed.
    Not checkmated or anything, but suddenly there were multiple forks and pins everywhere, no squares that I could move to without losing a piece, and any move I made just lead to disaster, and I was going to lose multiple pieces no matter how I followed up.
    I was just flabbergasted, and after watching this video it kind of makes sense.
    Stockfish at high levels is just merciless.

  • @oscarmean21
    @oscarmean21 11 месяцев назад +3

    This style of editing and pacing is super enjoyable. Please keep it up wired!

  • @CK-jd6yf
    @CK-jd6yf 6 месяцев назад

    There is one thing i struggle about chess engines, about pruning bad lines.
    Let's say there are so many bad moves that give up a piece for free. Stockfish prunes that line because it is bad. But after thinking a bit, it turns out that sacrifice actually leads to mate or huge material/positional gain in 30 moves.
    How does it decide when to unprune a pruned line?
    When does a prune happen, it checks a material is lost, looks 10 more moves ahead, and if there still isnt nothing, it prunes?
    Basically. When and how to prune lines.

  • @RishabhSharma10225
    @RishabhSharma10225 11 месяцев назад +2

    My boy Gotham at it again.

    • @Eye-vp5de
      @Eye-vp5de 11 месяцев назад

      Levi never fails to do this again

  • @todorpopov8613
    @todorpopov8613 2 месяца назад

    Leetcode 4819 - Medium - Create a chess engine, an all time classic.
    Jokes aside, as a CS major, it's so fascinating to learn more about how stockfish was built, and all of the algorithms behind it.

  • @boomerzilean
    @boomerzilean 11 месяцев назад +5

    "You idiots!! Mate in 35!!!" 😂😂

  • @brimmed
    @brimmed 11 месяцев назад

    This is one of the better vids of this series and maybe the whole wired asking "experts" series.

  • @shouldersofgiants4649
    @shouldersofgiants4649 11 месяцев назад +13

    Like for Gary Linscott, a legitimate expert, an engineer and not some influencer bozo

  • @richardconway6425
    @richardconway6425 11 месяцев назад +1

    Great video!! Fun and informative. I never knew stockfish was so strong. That thing about the way it plays when the game is down to 7 pieces - that's scary.
    Player: am I going to lose?
    Stockfish: it's a logical certainty.
    😨

    • @afuzzycreature8387
      @afuzzycreature8387 11 месяцев назад +3

      keep in mind these endgame databases are available for all engines to use but yeah. Sometimes this can lead to some diabolical results where the engine is basically trying to avoid entering the tablebase results but doesn't see mate itself where it will make a technically worse move and turn mate in 21 into mate in 3.

  • @Veptis
    @Veptis 11 месяцев назад +3

    I got some ideas on how I would write a chess engine, never looked into it or how awful it is to setup.
    I would for example maximize the number of legal moves, or pick a move where the fewest number of positive moves are available for the opponent. Now this will turn into sacrifices all the time - but you could go a few layers deep.
    Essentially give the opponent as many possible options of only a few are good. this way you allow them to make most mistakes.
    You could also do something else, like chose a move where you opponent only has equal moves. To then win on times.
    I wonder if you can finetune an engine based on their opponent. As in the computer championships, you do have limited time and equal hardware.
    One idea I have had is to make a chess learning game. The beginner level would be finding all legal moves (to understand the game).
    And the actual challenge then is to classify moves into blunders, mistakes, waiting, good. and the master level would be to rank them in order. I wonder if such a tool already exists, because forcing the human to think "like an engine" was an option.

    • @moatef1886
      @moatef1886 11 месяцев назад +1

      Engines already do this and have been doing this for a long long time. It’s part of their evaluation function.

  • @2712animefreak
    @2712animefreak 11 месяцев назад +2

    While Stockfish is only good at playing chess, there are some more skilled engines.
    For example, there's a fork of Stockfish called Fairy-Stockfish that can play most chess-like board games. And it's still better at chess than any human.
    You can even invent a chess variant (with some limitations), give it to the engine and it will straight up demolish you in it.

  • @forgetaboutit1069
    @forgetaboutit1069 11 месяцев назад +16

    The fact Alpha Zero made Stockfish look silly after only 4 hours of learning chess by playing against itself is both fascinating and scary at the same time.

    • @liamb5791
      @liamb5791 11 месяцев назад +9

      It played against stockfish 8 running on the hardware equivalent to that of a laptop… so it was always going to win

    • @daniella969
      @daniella969 11 месяцев назад +7

      They saturated the network in 4 hours. Had they trained it for a day, it wouldn't have played better.

    • @forgetaboutit1069
      @forgetaboutit1069 11 месяцев назад +4

      @@liamb5791 maybe so but I think you’re missing the point. I know it’s not apples to apples; Stockfish agreed to the terms (as did others) but GPU will crush CPU on parallel computing and that’s the difference. The proof was in the neural network of Alpha Zero teaching itself which does require specialized hardware. The future of GPU will takeover tasks that CPU can never do no matter how much CPU is strengthened. It would be fun to run it back today and see how it plays out.

    • @DarthVader-wk9sd
      @DarthVader-wk9sd 11 месяцев назад +5

      @@forgetaboutit1069Stockfish has long since surpassed alphazero. Another engine called leela adopted that style of learning but it is still worse than stockfish

    • @forgetaboutit1069
      @forgetaboutit1069 11 месяцев назад +2

      @@DarthVader-wk9sd they played in 2017. Hope it long passed it lol. But the main point is GPU engines will eventually wipe the floor with CPU engines.

  • @pehpunkthahpunkt4179
    @pehpunkthahpunkt4179 11 месяцев назад +2

    the beauty of this video is that it is entertaining and contains new information for both people who dont play chess at all and people who are really good at chess.
    really interesting how the AI is designed to 'think'.
    thanks wired, thanks levy, thanks... stockfish i guess!? 😅

  • @KnightArt708
    @KnightArt708 4 месяца назад +9

    What I really want is the rematch between Alphazero and Stockfish

    • @JoseRamirez-qd5os
      @JoseRamirez-qd5os 3 месяца назад

      Didn’t alpha zero mop the floor with sf?

    • @Monster-hm3ut
      @Monster-hm3ut 2 месяца назад

      ​@@JoseRamirez-qd5os Stockfish 8 AlphaZero beat Stockfish 8 not Stockfish 15/16

  • @localneo-graphic4647
    @localneo-graphic4647 9 месяцев назад +1

    Worth noting that the 35 move checkmate would be Magnus playing PERFECTLY against a PERFECT attack, but that also meant there were OTHER checkmates in less moves if Magnus played any less than perfect. Crazy.

  • @rohitraghunathan
    @rohitraghunathan 11 месяцев назад +4

    I love how Levy is asking all these questions like he didn't already know most of the answers

    • @lotharschramm5000
      @lotharschramm5000 5 месяцев назад

      What a dumb comment, that's how you teach people

  • @murkekosstars
    @murkekosstars 24 дня назад +1

    Really interesting how AI can play! It would also be interesting to see how strongly the AI ​​plays Murkekos Stars. In that game, the number of opening theories is much higher.

  • @NOBODY-bf9cs
    @NOBODY-bf9cs 11 месяцев назад +8

    9:33 oh ChatGPT certainly was net benefit for you Levy :v

  • @Majima_Nowhere
    @Majima_Nowhere 6 месяцев назад +1

    I give this video a (?!) "This permits the opponent to eventually win a pawn" out of 10

  • @lucaslahlum6331
    @lucaslahlum6331 11 месяцев назад +5

    What happens if more than one move is tied for best move? How does it choose? You say that it evaluates them but a tie is possible, no?

    • @j-rey-
      @j-rey- 11 месяцев назад +4

      I don't know about Stockfish, but in algorithms that try to maximize a certain result, often there are several factors for determining an optimal solution, with one taking precedence over others. If two moves have identical values for that most important factor, then it would move on to the next most important factor, and so on until one was greater than the other. Alternatively, they could have some function of all these factors, and when combining them at the end, come up with some final number that is guaranteed to be unique, or at least be unique with 99.9999% certainty. Remember, it is assessing billions of branching paths, so the probability of any two moves having an identical "likelihood of winning" value are exceedingly low. However, if all of these sophisticated algorithms still result such that two moves have the same "likelihood of winning" value, it would likely just pick one randomly.

    • @Celatra
      @Celatra 11 месяцев назад +8

      It will just play the first one. There is always a difference between 2 "best" moves, even if just by 0.05.

    • @presleyelisememorial
      @presleyelisememorial 11 месяцев назад +1

      @@Celatrathere absolutely is not always one best move in every position. There can be 10 different checkmates in 1 in a position

    • @Celatra
      @Celatra 11 месяцев назад

      @@presleyelisememorial yes, but one of them leads to a faster mate thN the others. The less moves spent the better

    • @marksea64
      @marksea64 4 месяца назад

      @@Celatra That isn't necessarily true. Stop babbling about things you know nothing about. Moves, and not just checkmates, can in fact have the same value. It just picks one.

  • @AldousJamieson
    @AldousJamieson Месяц назад

    Твои видео вдохновляют продолжать трейдинг! Раньше забросил из-за дорогих курсов, а теперь снова в деле благодаря тебе.

  • @dankhorse69420
    @dankhorse69420 11 месяцев назад +13

    It's alright bro, if you want to feel better about losing to a bot, just play me in chess. I'll make you look like Stockfish 16.

  • @TylerSmith-rc7gb
    @TylerSmith-rc7gb 11 месяцев назад +1

    This Levy guy is pretty good. He should write a book.