Facebook is developing a Go AI

General conversations about Go belong here.
User avatar
Bonobo
Oza
Posts: 2223
Joined: Fri Dec 23, 2011 6:39 pm
Rank: OGS 9k
GD Posts: 0
OGS: trohde
Universal go server handle: trohde
Location: Germany
Has thanked: 8262 times
Been thanked: 924 times
Contact:

Re: Facebook is developing a Go AI

Post by Bonobo »

Krama,
Krama wrote:
Javaness2 wrote:How many times do you intend to ask that?


I guess until they get an answer. :roll:
I guess you haven’t witnessed how many times “they” have asked the same question, in different places, AND was given hints about where to begin :roll:
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)
Krama
Lives in gote
Posts: 436
Joined: Mon Jan 06, 2014 3:46 am
Rank: KGS 5 kyu
GD Posts: 0
Has thanked: 1 time
Been thanked: 38 times

Re: Facebook is developing a Go AI

Post by Krama »

Bonobo wrote:Krama,
Krama wrote:
Javaness2 wrote:How many times do you intend to ask that?


I guess until they get an answer. :roll:
I guess you haven’t witnessed how many times “they” have asked the same question, in different places, AND was given hints about where to begin :roll:


hehe :D
yoyoma
Lives in gote
Posts: 653
Joined: Mon Apr 19, 2010 8:45 pm
GD Posts: 0
Location: Austin, Texas, USA
Has thanked: 54 times
Been thanked: 213 times

Re: Facebook is developing a Go AI

Post by yoyoma »

tydsh added a stronger DCNN only version, darkfores2. It's currently 3d(!). While not as high as the strongest bots, I'm very impressed that a neural net with no search whatsoever can get rated so high.
Freewheelin'
Beginner
Posts: 16
Joined: Mon Sep 01, 2014 3:26 pm
GD Posts: 0
Has thanked: 32 times
Been thanked: 3 times

Re: Facebook is developing a Go AI

Post by Freewheelin' »

yoyoma wrote:tydsh added a stronger DCNN only version, darkfores2. It's currently 3d(!). While not as high as the strongest bots, I'm very impressed that a neural net with no search whatsoever can get rated so high.


It's kind of a digital reincarnation of TMark Hall! As I understand it, darkforest2 has been fed the GoGoD games database, which TMark played through and recorded, and - like him - plays very quickly, based solely on shape. And plays at a similar grade to his long-standing 3 dan.
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Facebook is developing a Go AI

Post by Uberdude »

Freewheelin' wrote:
yoyoma wrote:tydsh added a stronger DCNN only version, darkfores2. It's currently 3d(!). While not as high as the strongest bots, I'm very impressed that a neural net with no search whatsoever can get rated so high.


It's kind of a digital reincarnation of TMark Hall! As I understand it, darkforest2 has been fed the GoGoD games database, which TMark played through and recorded, and - like him - plays very quickly, based solely on shape. And plays at a similar grade to his long-standing 3 dan.


That's a nice thought, but T Mark was 4 dan (though his rating did drop a bit in the last few years).
Krama
Lives in gote
Posts: 436
Joined: Mon Jan 06, 2014 3:46 am
Rank: KGS 5 kyu
GD Posts: 0
Has thanked: 1 time
Been thanked: 38 times

Re: Facebook is developing a Go AI

Post by Krama »

I think winning against this DCNN is quite easy. Play unusual shapes and start fights. Since it can't calculate it will probably fail.
User avatar
DrQuantum
Dies in gote
Posts: 43
Joined: Wed Sep 05, 2012 11:43 pm
Rank: KGS 12k
GD Posts: 0
Universal go server handle: DrQuantum
Has thanked: 4 times
Been thanked: 15 times

Re: Facebook is developing a Go AI

Post by DrQuantum »

Krama wrote:I think winning against this DCNN is quite easy. Play unusual shapes and start fights. Since it can't calculate it will probably fail.


Looks like you should just go play it then. Let me know when you do - I'd love to watch!
Todd K. Pedlar
Associate Professor of Physics, Luther College
Decorah, IA
Krama
Lives in gote
Posts: 436
Joined: Mon Jan 06, 2014 3:46 am
Rank: KGS 5 kyu
GD Posts: 0
Has thanked: 1 time
Been thanked: 38 times

Re: Facebook is developing a Go AI

Post by Krama »

I just noticed in one game that the network can't even read ladders. So an easy solution would be to start a ladder that works for you.
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: Facebook is developing a Go AI

Post by Mike Novack »

You are making some assumptions (mistake) about how a neural net, or a MCTS program for that matter, works.

MCTS -- in its purest form, very simple but too slow. And THAT is the "ladder problem", not that it doesn't read ladders, because the pure form isn't reading ANYTHING. It is an "evaluator", is move "a" better than move "b" based on the concept that if ENOUGH random games are played form that point on by two EQUAL players (equally good or equally bad) and a higher precentage of games is won following move "a" than following move "b" then "a" is better than "b". The "ladder problem" (and similar things)with this simple form is that "enough would be enormous. the "equally bad" players have rules to guide them, not random play << eg: recognize an "ladder" and get the laddering moves into the tree >>

So how MCTS performs is a tradeoff on these special rules controlling how moves get added to the tree to speed things up while hopefully not pruning away the right best move.

Neural nets are TRAINED. What they are is something that computes a function. Given an input, produce an output (position => next move or perhaps small set of moves to be fed to a MCTS evaluator). The large database of games is the TRAINING DATA. Think of this as a multi-dimentional array of cell values with connections between some cells. During training, cell values are altered and how values transfer through connection according to whether it gave a right answer (reward) or a wrong one (give those values and connection coefficients small random changes until helps with the answer for that position without hurting the results for the other positions; then on to the next training position. There's more to this. Ever so often, a random small disturbance to all values and connections, and retrain (that's called "annealing", necessary to get off false summits).

The point I am making is that the neural net doesn't contain that database of game records in their original form. What has been learned has been internalized in the final version of cell values and connection coefficients << note: training the neural net is time consuming (computationally intensive) but once you have a trained neural net you can "clone it" instead of having to train a copy (simply initialize to all those cell values and connection coefficients).

What is interesting about neural nets is the trainer doesn't have to know how to it (evaluate the function) but just be able to tell right answer from wrong (the assumption here is that the record of a game between high level experts represent almost all correct moves).

Understand? Sticking to ladders for example, doesn't have to "know" about ladders. In the position where a ladder COULD have been a factor, the expert didn't play in a certain way or perhaps played a move that was a ladder breaker preventing the ladder from materializing. The neural net doesn't "know" anything. Look, at THIS level (the level of the internals in your brain) you don't know anything either. Just signals going between a net of neurons.

BEFORE HAVING BEEN TRAINED (to some specific task) there is no difference between neural nets of the same complexity. In other words, the neural net program is "general purpose". Only the DATA stored during the training process would distinguish between one to play go, to play chess, or drive a car (I know Carnegie Mellon had a neural net doing that quite a ways back)
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: Facebook is developing a Go AI

Post by hyperpape »

I looked at its games, and while there were a few fighting/reading sequences that seemed dodgy to me, there were not many. I'm at least 4 stones weaker, so I'm sure a dan player would see more holes, but I don't know if the bot has any obvious weaknesses a kyu player can exploit.
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: Facebook is developing a Go AI

Post by Mike Novack »

yoyoma wrote:

DCNN = Deep Convolutional Neural Network -- most commonly used in image recognition. So it is good at recognizing shapes/patterns on the go board.


Misunderstanding the generality of a DCNN. They are evaluating a function and the function could be anything. Useful for when those training them DON'T know how to do it, just can tell right result from wrong.

Image recognition a good example. Say it's face recognition. The trainers know for each face what the correct name is and in this case they can themselves learn to perform this task (assigning name to face) BUT they don't really know how they do that. Nor is it necessary that the be able to do it. All they need is a good supply of images for each face to be recognized, each correctly labeled. A DCNN can then be trained to recognize the faces that but NOT because "good at recognizing shapes/patterns". You have just read in a "how accomplished" but that doesn't make sense when a neural net is involved. They "just work" (once the cell values and inter-cell connection coefficients have been properly adjusted, and that adjustment is by random trial and error. Under training the originally blank neural net evolves to one that correctly evaluates the desired function.)

Think of biological evolution. No PLAN involved << sorry if I just offended "intelligent design" folks; but the real thing is more elegant and robust than "by design" >>
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post by EdLee »

Off topic:
Think of biological evolution. ...the real thing is more elegant and robust than "by design"
Ummm, no. Misunderstanding or mis-characterization.
Nature has countless examples of the most IN-elegant and ridiculous-looking features.
They exist precisely because there was no design; things just evolved.
Jhyn
Lives with ko
Posts: 202
Joined: Thu Sep 26, 2013 3:03 am
Rank: EGF 1d
GD Posts: 0
Universal go server handle: Jhyn
Location: Santiago, Chile
Has thanked: 39 times
Been thanked: 44 times

Re: Facebook is developing a Go AI

Post by Jhyn »

Interesting consequences of having an AI stronger that humans : intrinsic time-independant ratings.

http://www.cse.buffalo.edu/~regan/paper ... eHa11c.pdf
La victoire est un hasard, la défaite une nécessité.
Krama
Lives in gote
Posts: 436
Joined: Mon Jan 06, 2014 3:46 am
Rank: KGS 5 kyu
GD Posts: 0
Has thanked: 1 time
Been thanked: 38 times

Re: Facebook is developing a Go AI

Post by Krama »

I will now retract my claim. The DCNN is quite strong (I still didn't play it)

I was able to win against 5/6 dans on KGS and plays on a stable 3d - 4d

However there is another theory that I have, the bot actually plays bad because it plays amateurs and not pros. Remember that it was trained on pro games.

It would be interesting to see it play against a pro but without pro knowing it is a bot (thus preventing the pro from playing overplays thinking the computer will fail to win the fight)

The NN plays quite good in the opening but it is the middle game that the most mistakes are made.

I have watched it play almost pro like only to blunder groups for no reason.
Uberdude
Judan
Posts: 6727
Joined: Thu Nov 24, 2011 11:35 am
Rank: UK 4 dan
GD Posts: 0
KGS: Uberdude 4d
OGS: Uberdude 7d
Location: Cambridge, UK
Has thanked: 436 times
Been thanked: 3718 times

Re: Facebook is developing a Go AI

Post by Uberdude »

Mark Zuckerberg (Facebook boss) just made a post about their Go Ai with a link to that paper, I wonder if that'll get more people interested in and playing Go?

mz go.png
mz go.png (167.79 KiB) Viewed 8499 times
Post Reply