From beating Kasparov to self-learning: Chess AI has come a long way
Skip to main content
  • Home
  • Economy
  • Stocks
  • Analysis
  • World+Biz
  • Sports
  • Splash
  • Features
  • Videos
  • Long Read
  • Games
  • Epaper
  • More
    • COVID-19
    • Bangladesh
    • Infograph
    • Interviews
    • Offbeat
    • Thoughts
    • Podcast
    • Quiz
    • Tech
    • Subscribe
    • Archive
    • Trial By Trivia
    • Magazine
    • Supplement
  • বাংলা
The Business Standard
FRIDAY, MAY 27, 2022
FRIDAY, MAY 27, 2022
  • Home
  • Economy
  • Stocks
  • Analysis
  • World+Biz
  • Sports
  • Splash
  • Features
  • Videos
  • Long Read
  • Games
  • Epaper
  • More
    • COVID-19
    • Bangladesh
    • Infograph
    • Interviews
    • Offbeat
    • Thoughts
    • Podcast
    • Quiz
    • Tech
    • Subscribe
    • Archive
    • Trial By Trivia
    • Magazine
    • Supplement
  • বাংলা
From beating Kasparov to self-learning: Chess AI has come a long way

Sports

Rubaid Iftekhar
02 April, 2020, 08:00 am
Last modified: 02 April, 2020, 12:36 pm

Related News

  • Chess Puzzle Solved After 150 Years
  • Dotlines group holds carnival chess festival
  • Foreign Minister Momen’s 12-minute long fight against grandmaster Niaz Morshed
  • Two Indian IMs joint-top Joytu Sheikh Hasina Chess Tournament leaderboard
  • International and local chess champs battle it out in tourney celebrating Prime Minister’s birthday

From beating Kasparov to self-learning: Chess AI has come a long way

With next-generation programs, computer chess competitions may well be the sites of the most exciting chess matches.

Rubaid Iftekhar
02 April, 2020, 08:00 am
Last modified: 02 April, 2020, 12:36 pm
Gary Kasparov was the first chess champion to be defeated by a computer. Photo: Courtesy
Gary Kasparov was the first chess champion to be defeated by a computer. Photo: Courtesy

May 11, 1997, might not appear to be a significant date in history, but, that day redefined what machines are capable of. On that day, Gary Kasparov – the then-reigning World Chess Champion considered by many as the greatest chess player ever – lost a chess match to a chess-playing computer called Deep Blue.

The match consisted of six games; Kasparov won the first, lost the second and drew the third to fifth games. Then, on the decisive day, Kasparov lost the ultimate match to his non-human counterpart.

 

A match that changed everything 

Kasparov beat the machine by 4-2 points during a match in 1996, but, the second time around, the machine was stronger, faster and – as claimed by its makers IBM – smarter. It outsmarted one of the sharpest minds in the world. However, this took a long time to happen. An expert team from Carnegie Mellon University, in the US, predicted in 1957 that a computer would beat the World Champion within a decade – it took forty years.

After the defeat, Kasparov complained about the machine. He claimed it behaved too human-like, and demanded IBM's log data. Kasparov doubted that a machine alone, without human intervention, was behind Deep Blue while it played the games. However, IBM did not give him the log data of the matches.

Later in an interview, Kasparov admitted that he had made peace with the fact that he had been defeated by a machine.

"1997 was an unpleasant experience, but it helped me understand the future of human-machine collaboration. We thought we were unbeatable, at chess, Go and shogi. All these games, they have been gradually pushed to the side [by increasingly powerful AI programs]. But it doesn't mean that life is over. We have to find out how we can turn it to our advantage", Kasparov told an American media outlet last February.

After the series, IBM dismantled Deep Blue, so, neither Kasparov nor any other chess player had another shot at the IBM supercomputer.

 

How do computers play chess?

Since Deep Blue's retirement, a lot has changed in the last 23 years. Now, a handheld device can have more mathematical power than that of Deep Blue. Better, faster and smarter chess-playing programs have been constructed and they regularly take part in global tournaments like the World Computer Chess Championship and Top Chess Engine Championship. 

Newer chess-playing programs have arrived such as Stockfish, Komodo and Houdini. These are more advanced and complex than the machine that defeated Gary Kasparov.

Let us try to figure out how a computer usually learns to play chess. In simpler terms, programmers make the computer learn a special algorithm, through which it can evaluate chess moves. It judges hundreds and thousands of possible positions for a piece in advance. For example, Deep Blue was able to look at 200 million possible moves per second. Meanwhile, it has been estimated that great chess champions like Kasparov can look at a maximum of three per second. Chess champions usually analyze hundreds of chess matches and practice them in their heads or on the chessboard.

Interestingly, there is a similarity in the way that Stockfish – which is a free, open-source engine that is one of the best chess computers – plays chess the way that Deep Blue did two decades ago. It also approaches the game with sheer power, analysing 70 million moves per second.

 

The age of artificial intelligence

The situation started to change in the last decade or so. Google's artificial intelligence (AI) unit Deep Mind, started to work on AI technology and chess. The result was AlphaZero, an AI-based computer program that, in 2018, defeated the world's best chess engine, Stockfish. AlphaZero won by a score of 28 wins, 72 draws and zero losses. 

This might seem trivial since this is the age of technological advancement and machine updates – a machine toppling another machine is hardly news these days. However, in Alpha Zero's case, the difference between the two computers was hardly external or device-dependent.

AlphaZero does not work like its predecessor. Unlike Stockfish – which analyses possible moves – AlphaZero taught itself chess. After learning the rules of the game, it played itself over and over, essentially ending up going through millions of self-played games. 

Through a technique AI programmers call reinforcement learning, the machine took note of the patterns that led to a win, and then installed that information into its playing style. AlphaZero also looks at the number of positions per move, but significantly lower than Stockfish and Deepblue – just around 80,000. 

AlphaZero's creators went on to say that it does not just play differently than Stockfish does, it plays more like a human.

Chess experts like Gary Kasparov see this advancement as a blessing for the game itself. He braces the idea of AI mastering chess.

"It was a mistake to think that if we develop very powerful chess machines, the game would be dull, that there will be many draws, manoeuvres, or a game will be 1,800, 1,900 moves and nobody can break through. AlphaZero is totally the opposite. It found that it could actually sacrifice material for aggressive action. It's not creative; it just sees the pattern, the odds. But this makes chess more aggressive, more attractive," he said.

 

What next for the game of chess?

Many classic chess players might have deferred with Kasparov about his aforementioned comment. Raul Capablanca, the best player of the 1920s and 30s did not believe in the supremacy of the machines over human minds regarding chess. 

"Chess can never reach its height by following in the path of science," Capablanca once said. "Let us, therefore, make a new effort and with the help of our imagination turn the struggle of technique into a battle of ideas."

However, modernising the game has fallen short of contemporary chess players' recommendations the game be made more exciting and competitive plus avoid draws. The current top-ranked player Magnus Carlsen has suggested changes to the classic format – a shorter time spell for games could lead to more results by encouraging greater risk-taking.

With next-generation programs like AlphaZero, computer chess competitions may well become the sites of the most exciting chess matches.

Then again, what AlphaZero does reinforces the fact that the true human virtue comes from their capacity to create something anew. As AI approaches creativity, it may seem as if it is bridging the gap between humans and machines. However, there is another way to look at it. Kasparov caps the discussion by saying that humans will always guide AI – not the other way round.

"With AlphaZero and future machines, I describe the human role as being shepherds. You just have to nudge the flock of intelligent algorithms," he observed. 

"So far, we see very little evidence that machines can operate outside of these terms, which is a sign of human intelligence. Let's say you accumulated knowledge in one game. Can it transfer this knowledge to another game, which might be similar but not the same? Humans can. With computers, in most cases you have to start from scratch", he said. 

 

Others

Chess

Comments

While most comments will be posted if they are on-topic and not abusive, moderation decisions are subjective. Published comments are readers’ own views and The Business Standard does not endorse any of the readers’ comments.

Top Stories

  • Infographic: TBS
    Census in monsoon: Tk12.85cr to be spent on umbrellas, waterproof bags
  • “The Chronicle of the Postal System in Bangladesh” in the Dak Bhaban, the headquarters of Bangladesh Postal Directorate in the capital’s Agargaon, showcases the history of the development of the postal system of Bangladesh. The oldest stamp in the gallery dates back to 121 BC. Photo: TBS
    From runners to digital Speed Post: How our postal system evolved
  • Labourers unload rice bags from a supply truck at India's main rice port at Kakinada Anchorage in the southern state of Andhra Pradesh, India, September 2, 2021. REUTERS/Rajendra Jadhav
    India has no plans to curb rice exports as local supplies surge

MOST VIEWED

  • Shakib, Litton counter-attack after Mushfiqur's fall as Bangladesh move into lead
    Shakib, Litton counter-attack after Mushfiqur's fall as Bangladesh move into lead
  • File photo of Shakib Al Hasan.
    Shakib gives the blueprint on how Bangladesh can save the 2nd Test against Sri Lanka
  • Photo: CSA
    Another match and another failure with the bat mounts more pressure on Bangladesh Test captain Mominul
  • The first manager to win all three European competitions: Jose Mourinho's 'football heritage'
    The first manager to win all three European competitions: Jose Mourinho's 'football heritage'
  • Bangladesh staring at defeat after batting debacle
    Bangladesh staring at defeat after batting debacle
  • Photo: BSS
    Taijul fined for breaching ICC's code of conduct in the 2nd Test against Sri Lanka

Related News

  • Chess Puzzle Solved After 150 Years
  • Dotlines group holds carnival chess festival
  • Foreign Minister Momen’s 12-minute long fight against grandmaster Niaz Morshed
  • Two Indian IMs joint-top Joytu Sheikh Hasina Chess Tournament leaderboard
  • International and local chess champs battle it out in tourney celebrating Prime Minister’s birthday

Features

Pakistan finds itself in political turmoil again as Imran Khan pushes for immediate general elections. Photo: Reuters

Supreme Court of Pakistan: Now a candle in the dark

1h | Analysis
Indulge in Momium’s guilt-free dips and spreads

Indulge in Momium’s guilt-free dips and spreads

1h | Food
Sketch: TBS

‘Government officials tend to show exaggerated food production data to make the higher-ups happy’

3h | Interviews
“The Chronicle of the Postal System in Bangladesh” in the Dak Bhaban, the headquarters of Bangladesh Postal Directorate in the capital’s Agargaon, showcases the history of the development of the postal system of Bangladesh. The oldest stamp in the gallery dates back to 121 BC. Photo: TBS

From runners to digital Speed Post: How our postal system evolved

3h | Features

More Videos from TBS

Kanak is ahead of everyone in Guinness Book

Kanak is ahead of everyone in Guinness Book

1h | Videos
What should your CV cover letter look like?

What should your CV cover letter look like?

2h | Videos
Inflation changes lives of limited-income people

Inflation changes lives of limited-income people

14h | Videos
 Vat on locally-made mobile phones, fridges may increase prices

Vat on locally-made mobile phones, fridges may increase prices

14h | Videos

Most Read

1
Tk100 for bike, Tk2,400 for bus to cross Padma Bridge
Bangladesh

Tk100 for bike, Tk2,400 for bus to cross Padma Bridge

2
Bangladesh at risk of losing ownership of Banglar Samriddhi
Bangladesh

Bangladesh at risk of losing ownership of Banglar Samriddhi

3
Corporates go cashless…tax cut on cards
NBR

Corporates go cashless…tax cut on cards

4
Photo: Courtesy
Panorama

Misfit Technologies: A Singaporean startup rooted firmly in Bangladesh

5
BSEC launches probe against Abul Khayer Hero and allies
Stocks

BSEC launches probe against Abul Khayer Hero and allies

6
Illustration: TBS
Banking

Let taka slide

The Business Standard
Top
  • Home
  • Entertainment
  • Sports
  • About Us
  • Bangladesh
  • International
  • Privacy Policy
  • Comment Policy
  • Contact Us
  • Economy
  • Sitemap
  • RSS

Contact Us

The Business Standard

Main Office -4/A, Eskaton Garden, Dhaka- 1000

Phone: +8801847 416158 - 59

Send Opinion articles to - oped.tbs@gmail.com

For advertisement- sales@tbsnews.net

Copyright © 2022 THE BUSINESS STANDARD All rights reserved. Technical Partner: RSI Lab