If machines can beat us at games, does it make them more ?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

If machines can beat us at games, does it make them more ?

Post by kinderchocolate »

BrendanJNorman
Posts: 2526
Joined: Mon Feb 08, 2016 12:43 am
Full name: Brendan J Norman

Re: If machines can beat us at games, does it make them more

Post by BrendanJNorman »

When a machine is capable of creating a human being without any outside help, we'll safely be able to say they're smarter than us.

While only we are capable of creating them, there can be no argument about who is more intelligent.

I'm not sure why this topic is debated so much.

It's like saying: "Who is more powerful; a slave or his master?"

And some people then arguing for the slave because he works harder than his master.

This is the current relationship between man and machine.
matthewlai
Posts: 793
Joined: Sun Aug 03, 2014 4:48 am
Location: London, UK

Re: If machines can beat us at games, does it make them more

Post by matthewlai »

Comparing intelligence like that doesn't make any sense.

Human brains and computers are optimized for very different things, and there are many things computers are "more intelligent" for, just like how there are many things humans are "more intelligent" for.

Computers have been beating humans at doing additions since the 1940s.

Humans are still much better at learning a wide variety of simple tasks quickly than computers today.
Disclosure: I work for DeepMind on the AlphaZero project, but everything I say here is personal opinion and does not reflect the views of DeepMind / Alphabet.
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: If machines can beat us at games, does it make them more

Post by duncan »

BrendanJNorman wrote:
When a machine is capable of creating a human being without any outside help, we'll safely be able to say they're smarter than us.
even turing did not ask for that

http://www.turing.org.uk/scrapbook/test.html

Turing's 'imitation game' is now usually called 'the Turing test' for intelligence.
syzygy
Posts: 5563
Joined: Tue Feb 28, 2012 11:56 pm

Re: If machines can beat us at games, does it make them more

Post by syzygy »

What is white’s winning strategy?

Two kings are on either side of a pawn blockade. White has an opportunity to promote the pawn on F6 to a stronger piece. But that square is being guarded by the black king.

[D]8/3k4/4pPp1/3pP1P1/2pP4/2P5/8/4K3 w - - 0 1
An example problem where human intuition often triumphs over AI. David Ireland, Author provided

For white to win, the white king must move around the blockade via column A and force the black king away. Defeat for black is then inevitable.

Simple enough? Not entirely for a chess AI, which has more difficulty perceiving white’s advantage. This is because it would need to search to a depth of 20 ply to find white’s advantage. In this position, at 15 plies there are 10,142,484,904,590 possible positions (we tried computing to 20 plies but after one week of computation, we gave up).

Most computer chess programs won’t see the winning strategy. Instead, they will move the white king to the centre of the board which is the common strategy when there are only a few pieces on the board.

Human intuition is still a powerful force.
Sure!

Code: Select all

info depth 26 seldepth 42 multipv 1 score mate 17 nodes 815896 nps 3903808 tbhits 461 time 209 pv e1d2 d7e8 d2c2 e8d8 c2b2 d8d7 b2a3 d7e8 a3a4 e8f7 a4b5 f7f8 b5c5 f8e8 c5d6 e8f7 d6d7 f7f8 d7e6 f8e8 e6d6 e8f8 d6d7 f8g8 e5e6 g8h8 e6e7 h8h7 f6f7 h7g7 e7e8q
Or my private patzer engine:

Code: Select all

  0:00.066  27   2582098   +Mate17   1.Kd2 Kd8 2.Kc2 Kd7 3.Kb2 Ke8 4.Ka3 Kd7 5.Kb4 Ke8 6.Kb5 Kd7 7.Kc5 Ke8 8.Kd6 Kf7 9.Kd7 Kf8 10.Kxe6 Ke8 11.Kd6 Kf7 12.Kd7 Kf8 13.e6 Kg8 14.e7 Kh7 15.f7 Kg7 16.e8=Q Kh7 17.Qg8#
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: If machines can beat us at games, does it make them more

Post by hgm »

This position actually has become a classic by serving as an example for demonstrating the usefulness of transposition tables, which leave almost nothing of those zillions of nodes in a tree where only two Kings are walking.

Fairy-Max is a bit slower, but eventually sees a mate:

Code: Select all

 34	  #18 	329.5M	4:26.68	e1d1 d7d8 d1c2 d8e8 c2b2 e8f8 b2a3 f8f7 a3b4 f7e8 b4b5 e8f8 b5c6 f8e8 c6d6 e8f7 d6d7 f7f8 d7e6 f8e8 e6d6 e8f7 e5e6 f7f8 e6e7 f8e8 d6c6 e8f7 c6d7
33	  #19 	181.4M	2:12.90	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e2 d7e8 e2e3 e8f7 e3f3 f7e8 f3f4 e8d7 f4e3 d7e8 e3f3 e8f8 f3f4 f8f7
 13	+1.48 	18274  	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f3 f7e8 f3f4 e8d7 f4e3 d7e8 e3f3 e8f7 f3f4
 12	+1.48 	12939  	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f3 f7e8 f3f4 e8d7 f4e3 d7e8 e3f3 e8d7
 11	+1.50 	8882    	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f3 f7e8 f3f4 e8f8
 10	+1.49 	6355    	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f4 f7g8 f4f3 g8f7 f3e3 f7f8
  9	+1.48 	4198    	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f4 f7g8 f4f3 g8f7 f3e3
  8	+1.49 	2737    	0:00.01	e1e2 d7e8 e2e3 e8f7 e3f4 f7f8 f4f3
  7	+1.52 	1636    	0:00.01	e1e2 d7e8 e2e3 e8d7 e3f3 d7e8 f3f4
  6	+1.51 	1083    	0:00.01	e1e2 d7e8 e2f3 e8f7 f3f4
  5	+1.48 	630      	0:00.00	e1e2 d7e8 e2e3 e8f7 e3f4
  4	+1.48 	345      	0:00.00	e1e2 d7e8 e2e3 e8d7
  3	+1.52 	227      	0:00.00	e1e2 d7e8 e2e3
  3	+1.48 	166      	0:00.00	e1f1 d7e8 f1e2
  3	+0.05 	117      	0:00.00	f6f7 d7e7 f7f8 e7f8
  2	+1.98 	14        	0:00.00	f6f7 d7e7
  1	+1.99 	7          	0:00.00	f6f7
After 0.32 sec it already sees a way to make progress.
User avatar
Leto
Posts: 2071
Joined: Thu May 04, 2006 3:40 am
Location: Dune

Re: If machines can beat us at games, does it make them more

Post by Leto »

Isn't it bizarre that the article claims their computer searched for a week and it didn't reach a depth of 20 ply on that problem? To me that sounds like something you'd expect from a computer from the 60's. Any computer today should have no problem reaching 20 ply in seconds. A recent dev version of Stockfish finds the mate in less than a second.
Dann Corbit
Posts: 12540
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: If machines can beat us at games, does it make them more

Post by Dann Corbit »

Let's start with multiplication.
I think we can all safely agree that computers multiply faster than we do.
Even that Daniel guy from Great Britain can't do it as fast as a computer.

Let's go on to games:
Computers win.

Now computers can do other sorts of AI things too. They can fold towels.
http://news.berkeley.edu/2010/04/02/robot/
but it turns out that we are a bit better at it:
http://www.npr.org/sections/money/2015/ ... ing-towels

At some point in the next two decades, the computers will surpass us in full on brain horsepower.

I guess that if we keep going on the way we are, that computers would get the upper hand and take over.

The military seems to have overlooked Asimov's robot rules and are already building fully automated killing systems that can decide for themselves about targets.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: If machines can beat us at games, does it make them more

Post by kinderchocolate »

Leto wrote:Isn't it bizarre that the article claims their computer searched for a week and it didn't reach a depth of 20 ply on that problem? To me that sounds like something you'd expect from a computer from the 60's. Any computer today should have no problem reaching 20 ply in seconds. A recent dev version of Stockfish finds the mate in less than a second.
I believe the article author meant reaching 20 ply by brute-force. That is, compute all the possible moves.

He then compared the difficulty (> one week computation) with human intuition.

That was why I shared the article, because I think the author (who was a PHD in artificial intelligence) didn't understand what he was writing, something that is supposed to be his research area.
nionita
Posts: 175
Joined: Fri Oct 22, 2010 9:47 pm
Location: Austria

Re: If machines can beat us at games, does it make them more

Post by nionita »

This one was really good!

Barbarossa did not find the correct plan after 20 plys and I was disappointed.

Then I decided suddenly to inactivate null move search when side to move has no piece (I wanted to do it long before and never came to it). Et voila!

Up to ply 16 everything normal, but at ply 17 the new version doubbles the advantage for white on 576 cp and has already the best move! It took only abt 17k nodes and 16 milliseconds for this.