Welcome, Guest. Please Login or Register.
May 6th, 2024, 7:54pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « How great an advantage is the first move? »


   Arimaa Forum
   Arimaa
   General Discussion
(Moderator: supersamu)
   How great an advantage is the first move?
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: How great an advantage is the first move?  (Read 3818 times)
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: How great an advantage is the first move?
« Reply #15 on: Apr 14th, 2005, 5:30am »
Quote Quote Modify Modify

on Apr 13th, 2005, 9:48pm, Fritzlein wrote:
Interestingly that's almost exactly the percentage I got from the database with my alternating game methodology

 
That just proves that we humans are basically playing randomly in the whole scheme of things Smiley.
 
I think the best way of eliminating psychology but preserving something interesting is not to use random bots, but to look at the better played games, although not in such great numbers, between reasonable bots and other reasonable bots.  Since there have been quite a few versions of them over time, I don't think their style of play will be too significant a bias.  [one problem could be excluding the multitude of testing games, eg gnobot playing firsttry]
 
But for me at least, the bias only really comes out when both players get good enough for tempo to be important.  In my games I consider the initial 4 tempa advantage to last about 4-5 moves.  By that time a structural advantage worth around 50 ratings points has often been attained.  
 
So until we all get quite a bit better, I don't think any stats will show much.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: How great an advantage is the first move?
« Reply #16 on: Apr 14th, 2005, 9:18am »
Quote Quote Modify Modify

If it turns out that the elephant/horse attack is, in general, sound, then that would be a way to demonstrate a tangible advantage for Gold.  But if it turns out that the lone-elephant attack is the only sound opening, then Gold's advantage may well be as tiny as the stats are showing us.
 
I definitely agree that we just don't know enough about the game to pronounce a final opinion on the advantage of going first.  It isn't too late for someone to invent an attacking strategy in which the initial four tempi are critical.  It isn't too late for Arimaa to devolve into endless defensive manuevering in which the initial four tempi are utterly irrelevant.  The elephant/horse attack really shook things up around here this past six months, and I'll bet that before the next challenge match something equally revolutionary surfaces.
IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #17 on: Apr 14th, 2005, 12:13pm »
Quote Quote Modify Modify

on Apr 14th, 2005, 10:01am, Arimanator wrote:
Fritzlein, if you don't mind giving me some examples of games where the elephant/horse attack has been particularly well executed , I'd be eager to study it myself as I am sure most of the budding players around here.

 
Pat, check out the games from this years human vs computer challenge match. Frank did a great job of using the EH attack in those games. We still don't know of a good defense against it, so until we find one and the bots incorporate it, they are totally vulnerable.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #18 on: Apr 14th, 2005, 12:26pm »
Quote Quote Modify Modify

I was about to post this under the 'Fixing Arimaa/Eliminating Draws' thread, but I think it is better to post it here. So this post might make more sense if you first check that thread to see 99of9 and Fritzlein's post to my comments about first player advantage in tic-tac-toe.
 
You guys are right. I am way off if we consider only the games that are not draws.
 
Here's the data again from the TTT experiment (it was posted in the 'Rating of a perfect chess player' thread). I am seperating it based on even and odd ply search depth since it produces very different results.
 
 p0-p0
  as X wins=577 draws=121 lost=302 games=1000
  as O wins=288 draws=137 lost=575 games=1000  
 
 p2-p2
  as X wins=302 draws=515 lost=183 games=1000
  as O wins=191 draws=495 lost=314 games=1000  
 
 p4-p4
  as X wins=318 draws=518 lost=164 games=1000
  as O wins=149 draws=513 lost=338 games=1000  
 
 p6-p6
  as X wins=0 draws=1000 lost=0 games=1000
  as O wins=0 draws=1000 lost=0 games=1000  
 
p0 66.1%
p2 62.2%
p4 67.7%
p6 undefined
 
 
 p1-p1
  as X wins=693 draws=40 lost=267 games=1000
  as O wins=260 draws=51 lost=689 games=1000  
 
 p3-p3
  as X wins=541 draws=264 lost=195 games=1000
  as O wins=168 draws=296 lost=536 games=1000  
 
 p5-p5
  as X wins=697 draws=254 lost=49 games=1000
  as O wins=57 draws=266 lost=677 games=1000  
 
p1 72.4%
p3 74.8%
p5 92.8%
 
The first player advantage might dips a little with quality of play above random, but not much; maybe not even enough to be statistically significant. However, it seems to shoot up a lot as we get close to perfect play. So I was totally off. Thanks for catching that.
 
It is quite intersting that the first move advantage starts to shoot up at near perfect play even though the game is a draw at perfect play.
 
I had generate some data for Connect4 once, but can't seem to find where I put. If I find it, I'll post it here so we can see how it compares.
 
But this suggests that the the results we find with the random bots may actually apply quite well to our level of higher quality, but far from perfect play. As Toby mentioned, in the big picture we are probably barely above random. So it tends to explain why Claude's results with random stepper are very close to Karl's results from the database.
 
« Last Edit: Apr 14th, 2005, 2:05pm by omar » IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #19 on: Apr 14th, 2005, 12:39pm »
Quote Quote Modify Modify

on Apr 14th, 2005, 5:30am, 99of9 wrote:

 
That just proves that we humans are basically playing randomly in the whole scheme of things Smiley.
 
I think the best way of eliminating psychology but preserving something interesting is not to use random bots, but to look at the better played games, although not in such great numbers, between reasonable bots and other reasonable bots

 
The nice thing about using random bots is that we can generate a lot more games with random bots than with bots that say take even 10 seconds per move. If we also assume that searching a few plys is not that far from random then the results from the random bots should be pretty close to what we find with the thinking bots.
 
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #20 on: Apr 14th, 2005, 2:04pm »
Quote Quote Modify Modify

I found the data for the Connect4 games. I had setup a process to generate this last year and forgot about it. It finished and produced the data file, but I didn't look at it until now.
 
The Connect4 results tend to support that idea that first move advantage is higher at random play and gets lower with increasing search depth. But then shoots up again as play starts to approach near perfect.  
 
Here is the self play data seperated by even and odd ply.
 
==> p0-p0 <==
  as X wins=550 draws=2 lost=448 games=1000
  as O wins=458 draws=2 lost=540 games=1000
 
==> p2-p2 <==
  as X wins=488 draws=93 lost=419 games=1000
  as O wins=424 draws=88 lost=488 games=1000
 
==> p4-p4 <==
  as X wins=403 draws=183 lost=414 games=1000
  as O wins=407 draws=159 lost=434 games=1000
 
==> p6-p6 <==
  as X wins=395 draws=174 lost=431 games=1000
  as O wins=374 draws=212 lost=414 games=1000
 
==> p8-p8 <==
  as X wins=503 draws=142 lost=355 games=1000
  as O wins=373 draws=159 lost=468 games=1000
 
First move advantage
p0 54.6%
p2 53.7%
p4 50.5%
p6 50.1%
p8 57.2%
 
 
==> p1-p1 <==
  as X wins=617 draws=0 lost=383 games=1000
  as O wins=379 draws=0 lost=621 games=1000
 
==> p3-p3 <==
  as X wins=526 draws=19 lost=455 games=1000
  as O wins=436 draws=24 lost=540 games=1000
 
==> p5-p5 <==
  as X wins=522 draws=52 lost=426 games=1000
  as O wins=462 draws=56 lost=482 games=1000
 
==> p7-p7 <==
  as X wins=540 draws=64 lost=396 games=1000
  as O wins=403 draws=68 lost=529 games=1000
 
First move advantage
p1 61.9%
p3 54.5%
p5 53.1%
p7 57.2%
 
 
I will try to see if I can generate some data for p9 and p10 so we can see if it continues to shoot up.
 
This data suggests that running self play experiments with random bots may help determine the worst case intrinsice first move advantage for non perfect play. But we have to check if the first move advantage also decreases if the bots have heuristics. These bots picked a random move unless the search showed and end node and had no heuristics.
 
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: How great an advantage is the first move?
« Reply #21 on: Apr 14th, 2005, 3:45pm »
Quote Quote Modify Modify

OK, Omar, I downloaded that database of chess games, and I used SCID and your methodology from your analysis of draws.  The results show no decline in the advantage of moving first as the players get stronger.
 
Rating Wins Draws Losses Avg. Score
1600 63 35 40 0.583
1700 274 186 226 0.535
1800 440 317 352 0.540
1900 942 750 739 0.542
2000 1913 1694 1502 0.540
2100 5515 4576 4350 0.540
2200 18689 16553 14545 0.542
2300 37993 37469 28782 0.544
2400 43989 55673 30648 0.551
2500 34626 53263 22870 0.553
2600 12407 22860 8077 0.550
>2600 2063 4079 1323 0.550
 
I was a little suspicious of your method of setting the filters, because, for example, for the 1800 category you let white's rating run from 1700 to 1900, black's rating run from 1700 to 1900, and they had to be within 50 points of each other.  But a game with white rated 1820 and black rated 1860 will be counted in both this and the 1900 category.  If you count games in more than one category, you are probably unintentionally smoothing the data.
 
To count each game exactly once (if the players are within 50 rating points) I decided to filter only on white's rating and on the rating difference.  Sure enough, the data looks somewhat choppier that way:
 
W Rating Wins Draws Losses Avg. Score
<1650 27 21 25 0.514
1650-1749 69 37 46 0.576
1750-1849 311 228 265 0.529
1850-1949 289 237 211 0.553
1950-2049 1086 934 895 0.533
2050-2149 1760 1615 1398 0.538
2150-2249 9413 8139 7743 0.533
2250-2349 21112 20435 16080 0.544
2350-2449 23875 30605 16958 0.548
2450-2549 20378 31589 12913 0.558
>2549 7923 14167 4820 0.558
 
But the conclusion is the same in my eyes: there is no discernable correlation between playing strength and the advantage of the first move.
« Last Edit: Apr 14th, 2005, 4:12pm by Fritzlein » IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #22 on: Apr 16th, 2005, 12:03pm »
Quote Quote Modify Modify

on Apr 14th, 2005, 5:45pm, Arimanator wrote:

I believe Omar must be commended to have managed to create a game where the forces are so well balanced that no important advantage can be held onto without an impeccable technique and steadiness of game.

 
Thanks for the nice comments Pat. But really I just got very lucky. There was no way for me to know just how balanced the game would be in the long run. Even now we think it may be well balanced, but some strategy might come up that tips the scale to either too offensive or too defensive.
 
I did experiment with a lot of variations. So much so that my own relatives got tired of the rules changing and eventually stopped helping me test them Smiley I've written a little summary about how Arimaa was created on the 'About' page.
  http://arimaa.com/arimaa/about/
 
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: How great an advantage is the first move?
« Reply #23 on: Apr 16th, 2005, 12:37pm »
Quote Quote Modify Modify

on Apr 14th, 2005, 3:45pm, Fritzlein wrote:

But the conclusion is the same in my eyes: there is no discernable correlation between playing strength and the advantage of the first move.

 
Thanks for trying this out Karl; that's interesting data. So it looks like there is about a 3 to 4 percent advantage for white in chess.
 
I have to agree with you that there does not seem to be any trend to suggest that the first move advantage decreases with increasing play streangth. But keep in mind that with this data we are only looking at a small piece in the middle of the curve. At the extream ends of the curve (near random play and perfect play) Im sure we would see the treand as we do in the simple games. Also Im not sure what effect heuristics have on this compared to random-or-perfect play. Im running some experiments with Connect4 to see if heuristics increases or decreases the first move advantage compared to random-or-perfect play.
IP Logged
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.