Man vs. Machine - How to Beat Fuego?

Post your games here for other members to critique your play.
Post Reply
User avatar
moyoaji
Lives in sente
Posts: 773
Joined: Fri Jun 14, 2013 12:53 pm
Rank: KGS 1 kyu
GD Posts: 0
Universal go server handle: moyoaji
Location: Michigan, USA
Has thanked: 143 times
Been thanked: 218 times

Man vs. Machine - How to Beat Fuego?

Post by moyoaji »

I have a few people I would consider to be my rival in the world of go, but there is only one computer AI... Fuego.

It's style is... unusual, but it has been effective at beating me. In our dozens of games, I have beaten it three times. Once when I allowed myself to undo some bad moves, once when I had a 5 stone handicap (but no undos), and once by playing mirror go as white (it just kept playing normally so it resigned because I was going to win by komi).

Now that I'm getting better, I want to beat Fuego fair and square. No hanicap, no undo, and no tricks.

Any help you guys can give me would be appreciated. I would ask that if you know any quirks with the AI (like moves that it always gets wrong) that you wouldn't post them here. I want to beat Fuego by improving my game, not by learning weaknesses that only it has.

Tonight, I played the first in a series of games I intend to do against this AI with the hope of winning an even game. I included a few comments, but mostly this is just the game. Fuego beat me again. I was wondering if you guys could tell me what I'm doing wrong when responding to its unorthodox moves.



For those wondering, this AI is open source and totally free, you can get it here - http://sourceforge.net/projects/fuego/ It is also available to play against on the KGS as fuego19 (where it is currently rated as 1 dan).

EDIT: Also, the hardware this computer is a Core i5 2.5GHz with 6 GB DDR3 RAM.
Attachments
Casual Evening Game 6-24-2013.sgf
Man vs. Machine Game 1
(3.61 KiB) Downloaded 1844 times
Last edited by moyoaji on Tue Jun 25, 2013 8:57 am, edited 2 times in total.
"You have to walk before you can run. Black 1 was a walking move.
I blushed inwardly to recall the ignorant thoughts that had gone through
my mind before, when I had not realized the true worth of Black 1."

-Kageyama Toshiro on proper moves
User avatar
leichtloeslich
Lives in gote
Posts: 314
Joined: Wed Feb 29, 2012 1:16 pm
Rank: KGS 4k
GD Posts: 0
Location: Germany
Has thanked: 10 times
Been thanked: 128 times

Re: Man vs. Machine - How to Beat Fuego?

Post by leichtloeslich »

I would ask that if you know any quirks with the AI (like moves that it always gets wrong) that you wouldn't post them here. I want to beat Fuego by improving my game, not by learning weaknesses that only it has.
I don't think that's how MC bots work. Do you know the basic MC algorithm?
The only weakness of MC bots seems to be wasting ko threats for no reason what's-o-ever, but I don't think you can use that as a strategy against such bots.
Now that I'm getting better, I want to beat Fuego fair and square. No hanicap, no undo, and no tricks.
Me, too. I play it on 9x9 only. On such a small board and my hardware it's somewhere between kgs 3d-5d and I haven't even come close to beating it in an even game. I usually take black without komi.


On bigger boards it's obviously much much weaker. On 19x19 you just have to keep an eye on the center and make sure your groups don't die, pretty much.

But it's also a question of reading power, which scales proportionally with the processing power/memory you give Fuego and reciprocally with boardsize.

On 9x9 with strong hardware Fuego has even beaten some pro (edit: Zhou Junxun 9d from Taiwan, see senseis), so not sure there's a "secret" to defeating it, other than just getting stronger in general.
Boidhre
Oza
Posts: 2356
Joined: Mon Mar 05, 2012 7:15 pm
GD Posts: 0
Universal go server handle: Boidhre
Location: Ireland
Has thanked: 661 times
Been thanked: 442 times

Re: Man vs. Machine - How to Beat Fuego?

Post by Boidhre »

leichtloeslich wrote:
I would ask that if you know any quirks with the AI (like moves that it always gets wrong) that you wouldn't post them here. I want to beat Fuego by improving my game, not by learning weaknesses that only it has.
I don't think that's how MC bots work. Do you know the basic MC algorithm?
The only weakness of MC bots seems to be wasting ko threats for no reason what's-o-ever, but I don't think you can use that as a strategy against such bots.
Strange fuseki moves are another one. Once you get Fuego out of its "opening book" it can play some odd moves on the 7th/8th line, tenuki for little profit from an approach to a hoshi stone and similar.

Edit:

For example a game where I was messing around today: (i5 2500k 3.3 GHz, 8GB for reference)



:w24: :w34: and :w36: all look strange to me. Up to :w22: was a (common) pro sequence though.
Attachments
fuego a.sgf
(989 Bytes) Downloaded 1836 times
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: Man vs. Machine - How to Beat Fuego?

Post by daal »

moyoaji wrote:I have a few people I would consider to be my rival in the world of go, but there is only one computer AI... Fuego.
For a while when I was getting started with go, Aya 6.34 was my rival. It played a bit more normally than fuego.
I want to beat Fuego fair and square...it is currently rated as 1 dan
I guess your plan should be pretty clear. ;-)
For those wondering, this AI is open source and totally free, you can get it here -
Thanks for sharing - I didn't know that it came with a gui. Nice. I played it once and it made some moves that even I could see were awful - but from what I've heard, mc engines can learn from their mistakes. This one however has a lot to learn 'till it gets to 1d. Here's the game:


I was wondering if you guys could tell me what I'm doing wrong when responding to its unorthodox moves.
Here are a few comments. Take with a grain of salt, I'm not much stronger than you.

Attachments
Casual Evening Game 6-24-2013 commented.sgf
(4.62 KiB) Downloaded 1848 times
daal-fuego.sgf
(2.79 KiB) Downloaded 1832 times
Patience, grasshopper.
Boidhre
Oza
Posts: 2356
Joined: Mon Mar 05, 2012 7:15 pm
GD Posts: 0
Universal go server handle: Boidhre
Location: Ireland
Has thanked: 661 times
Been thanked: 442 times

Re: Man vs. Machine - How to Beat Fuego?

Post by Boidhre »

MC bots like Fuego are quite sensitive to what hardware they're running on, moreso than traditional bots. Do you know the processor and memory of the machine you played it on Daal?
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: Man vs. Machine - How to Beat Fuego?

Post by Mike Novack »

Boidhre wrote:MC bots like Fuego are quite sensitive to what hardware they're running on, moreso than traditional bots. Do you know the processor and memory of the machine you played it on Daal?
We can be more specific.

a) AFAIK none of the MC based programs are even 1 dan on a machine with less than a dual core 2 GHz processor. The same program that can play at a few dan on a powerful workstation/server class machine (say an I7-2600, i7-3770, or better CPU in it)isn't going to be even 1 dan on a tablet.

b) The weaker settings of such programs might not be using the MC algorithm. It simply isn't possible to get this algorithm to be other than erratic if working at worse than a couple kyu.
User avatar
shapenaji
Lives in sente
Posts: 1103
Joined: Tue Apr 20, 2010 10:58 pm
Rank: EGF 4d
GD Posts: 952
Location: Netherlands
Has thanked: 407 times
Been thanked: 422 times

Re: Man vs. Machine - How to Beat Fuego?

Post by shapenaji »

The big thing I noticed in that game is that you had a lot of opportunities to reduce the center, but tended to get too attached to taking a few points on the side, preventing reductions of only about 10-15 points. Meanwhile, any invasion of the center was worth at least 30 points.

Center territory is vulnerable, but if you don't make the moves to destroy it, it's also gigantic.
Tactics yes, Tact no...
User avatar
moyoaji
Lives in sente
Posts: 773
Joined: Fri Jun 14, 2013 12:53 pm
Rank: KGS 1 kyu
GD Posts: 0
Universal go server handle: moyoaji
Location: Michigan, USA
Has thanked: 143 times
Been thanked: 218 times

Re: Man vs. Machine - How to Beat Fuego?

Post by moyoaji »

Thanks, daal. You are right, I should have played on the right before moving on the bottom. I was forgetting what I learned in The Direction of Play. Next time I'll be more conscious of my opening. Congratulations on beating Fuego.
shapenaji wrote:The big thing I noticed in that game is that you had a lot of opportunities to reduce the center, but tended to get too attached to taking a few points on the side, preventing reductions of only about 10-15 points. Meanwhile, any invasion of the center was worth at least 30 points.

Center territory is vulnerable, but if you don't make the moves to destroy it, it's also gigantic.
Interesting. It is true that I am fond of side-oriented strategies. One of the reasons I play the low Chinese so much is that it often turns into a big side for me. (That or a fun game of running my opponent's weak invasion group around the board) When I first started playing I was very territorial, preferring a san-san, komoku fuseki that secured the corners and built along the side before challenging the center - a part of me still likes that style of play.

Perhaps Fuego can teach me the value of the center. I was taught the traditional approach of corners, sides, then center, so I will naturally play that way. I was thrilled when Fuego was giving me 4th and 5th line territory on the top because I know that is huge, but I wasn't paying attention to the fact that he was giving it to me in exchange for a massive wall defending the center. Traditional wisdom says that pushing your opponent to make 4th and 5th line territory is bad because for every stone they get 3-4 solid points. However, Fuego knew that his center was worth more and didn't care about proverbs or "traditional wisdom."

Part of me says I should channel my inner san-ren-sei and forget everything I hate about that opening, but I will not. But that's not saying I won't adapt my go for the next game...
Last edited by moyoaji on Tue Jun 25, 2013 9:22 am, edited 1 time in total.
"You have to walk before you can run. Black 1 was a walking move.
I blushed inwardly to recall the ignorant thoughts that had gone through
my mind before, when I had not realized the true worth of Black 1."

-Kageyama Toshiro on proper moves
User avatar
daal
Oza
Posts: 2508
Joined: Wed Apr 21, 2010 1:30 am
GD Posts: 0
Has thanked: 1304 times
Been thanked: 1128 times

Re: Man vs. Machine - How to Beat Fuego?

Post by daal »

Boidhre wrote:MC bots like Fuego are quite sensitive to what hardware they're running on, moreso than traditional bots. Do you know the processor and memory of the machine you played it on Daal?
i5 2,40 MHz, 6 GB ram.
Patience, grasshopper.
User avatar
quantumf
Lives in sente
Posts: 844
Joined: Tue Apr 20, 2010 11:36 pm
Rank: 3d
GD Posts: 422
KGS: komi
Has thanked: 180 times
Been thanked: 151 times

Re: Man vs. Machine - How to Beat Fuego?

Post by quantumf »

Fuego is pretty strong, sort of. I played it on an i7-3520M laptop (dual core 2.90 Ghz machine with 8gigs of RAM). After 100 moves it was well ahead, in my opinion, although I wasn't playing too hard (I would say that of course :) ), but then, instead of consolidating it's lead, it rather collapsed, and things just went from bad to worse, as is the norm with MC. It eventually resigned when I was about 60 points ahead.
skydyr
Oza
Posts: 2495
Joined: Wed Aug 01, 2012 8:06 am
GD Posts: 0
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Location: DC
Has thanked: 156 times
Been thanked: 436 times

Re: Man vs. Machine - How to Beat Fuego?

Post by skydyr »

moyoaji wrote:Traditional wisdom says that pushing your opponent to make 4th and 5th line territory is bad because for every stone they get 3-4 solid points. However, Fuego knew that his center was worth more and didn't care about proverbs or "traditional wisdom."
Takemiya is also known for playing moves that are conventionally thought of as bad in this way, but his style is quite hard to play. The reason it's "bad" is that it assumes that an opponent will play to limit the center at some point so that it's hard for the center-oriented side to make as many points there as they give away, but if it's never challenged, that isn't an issue
User avatar
paK0
Lives in gote
Posts: 507
Joined: Sun Jun 23, 2013 2:17 pm
Rank: terrible
GD Posts: 0
OGS: paK0, paK0666
Universal go server handle: paK0
Location: Germany
Has thanked: 176 times
Been thanked: 46 times

Re: Man vs. Machine - How to Beat Fuego?

Post by paK0 »

I'm not sure if this helps, but when chess programs were still beatable the way to do it was always almost a closed position.

The go equivalent to this would probably be to stay away from fights where the one wins that can read further/that come down simply to who can calculate better, since there even home pcs are miles better than any human will ever be.

Not 100% sure though, take it with a grain of salt =)
Boidhre
Oza
Posts: 2356
Joined: Mon Mar 05, 2012 7:15 pm
GD Posts: 0
Universal go server handle: Boidhre
Location: Ireland
Has thanked: 661 times
Been thanked: 442 times

Re: Man vs. Machine - How to Beat Fuego?

Post by Boidhre »

paK0 wrote:I'm not sure if this helps, but when chess programs were still beatable the way to do it was always almost a closed position.

The go equivalent to this would probably be to stay away from fights where the one wins that can read further/that come down simply to who can calculate better, since there even home pcs are miles better than any human will ever be.

Not 100% sure though, take it with a grain of salt =)
Go is still very young in AI terms. On a home pc you're talking mid amateur dan at absolute best, on server gear perhaps 6d amateur? Maybe not even that.

Sorry, I misread your post. I'm very tired. :)
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: Man vs. Machine - How to Beat Fuego?

Post by hyperpape »

I think actually monte carlo based bots often struggle in cases where capturing races are involved,perhaps just the cases when there are multiple capturing races on the same board. The bot is unable to compartmentalize in the same way that a human can. Things that are easyish for humans, like recognizing "this series of moves is forcing, and will be whenever it is played" are hard for bots in some cases.
User avatar
moyoaji
Lives in sente
Posts: 773
Joined: Fri Jun 14, 2013 12:53 pm
Rank: KGS 1 kyu
GD Posts: 0
Universal go server handle: moyoaji
Location: Michigan, USA
Has thanked: 143 times
Been thanked: 218 times

Re: Man vs. Machine - How to Beat Fuego?

Post by moyoaji »

The Fuego-Moyoaji Ladder Game

I haven't come back to this thread in a while, but I have still been playing Fuego every once in a while. I still haven't won an even game, but I am getting closer.

The other day, Fuego played a very bizarre game with me - it played out a broken ladder in exchange for the weak influence it gives.

The whole reason I felt comfortable playing 55 was because I knew the ladder worked for me. The whole way down the ladder I kept reading it out and looking for where I was messing up. I must have spent 5 minutes just in that part of the game reading and re-reading to make sure I wasn't misunderstanding how the ladder worked for me. Fuego wouldn't play a bad ladder, right? At the end, the ladder was broken, but I was so taken aback that I didn't know what to do. I was so frustrated and confused that I actually ended up losing the game trying to find a way to take advantage of white's supposed mistake. Psychological warfare at its best. At move 245 I made a tragic self-atari and I gave up. I had to go to class anyway. So I took a break for a couple of hours then, after class, I tried again. I undid that blunder and then a few moves here and there toward the end of the game but was still unsuccessful.

Finally, I went all the way back to the original failed ladder. I knew I could win from there. I took a good long look and figured out a winning strategy from that point on. At move 187 Fuego resigned. Apart from a misclick at 157 (I was playing that one on a bus) I only needed that one undo at 87 to win. The game was still bizarre to say the least...

Attachments
Fuego Ladder Game Try and Win.sgf
A bizarre Fuego ladder game where I won after redoing my response to the unusual play.
(2.66 KiB) Downloaded 1608 times
"You have to walk before you can run. Black 1 was a walking move.
I blushed inwardly to recall the ignorant thoughts that had gone through
my mind before, when I had not realized the true worth of Black 1."

-Kageyama Toshiro on proper moves
Post Reply