archive by month
Skip to content

AIIDE 2019 - what AITP learned

AITP scored zero against over half of the participants, so its learning results are not deeply interesting. Also, its strategies are labeled with opaque sequences of letters and numbers. But it was easy to generate the tables, and they offer a little insight into AITP’s interesting design, so here they are.

Unlike other Steamhammer forks, AITP does not spell out concrete opening builds in the configuration file, at least not beyond 4 x SCV—start by making workers. The strategy names themselves are code sequences that tell what to do throughout the game. The letters A, B, C are stages of the game, and the combinations A1, A2 etc. are “modules” that may be active during the matching stage. Each module has its own update method to decide what to build, and the StrategyManager sometimes checks the current module for other decisions. There is module switching code in case of surprises (StrategyManager::shouldSwitchModule()); it also sets flags and updates other information.

I like it, it’s a flexible way to specify a plan for the whole game, and allows for changing plans on the fly. It’s an abstract strategy system, similar in principle to what I plan for Steamhammer. My implementation will look entirely different, though.

AITP has only 5 strategies configured. I gather that it can switch to other sequences on the fly if circumstances warrant. 5 is not many, though; I think they have only completed the basics. Here is the Steamhammer opening group it assigns to each strategy. It does not use the opening group strings, but they may have some heuristic value:

A1-B3-C2 AntiRush
A1-B1-B2-C2 Rush
A3-B5-C1 NoneBunker
A3-B7-C1 NoneBunker
A4-B2-C1 8BB (does that mean BBS?)


#1 locutus

openinggameswins
A1-B1-B2-C270%
A1-B3-C2100%
A3-B5-C1160%
A3-B7-C1270%
A4-B2-C1400%
5 openings1000%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Naked expand5959%0%1111%0%7%83%
Proxy2727%0%99%0%11%67%
Turtle99%0%33%0%0%67%
Unknown55%0%7777%0%0%80%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout1002:011:178:58
enemy combat units1003:492:428:06
enemy air units357:186:147:57
enemy cloaked units617:346:1411:26


AITP lost every game, but did not explore its possible strategies equally. It seems to have priorities. Maybe later I will look into how that works. AutoGasSteal is set true in the configuration file, but AITP did not record itself as stealing gas against any opponent. Presumably it is turned off in the code.


#2 purplewave

openinggameswins
A1-B1-B2-C270%
A1-B3-C2150%
A3-B5-C1170%
A3-B7-C1200%
A4-B2-C1300%
5 openings890%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Naked expand8090%0%33%0%2%98%
Unknown910%0%8697%0%0%89%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout892:031:196:53
enemy combat units893:393:116:22
enemy air units836:536:0311:38
enemy cloaked units606:535:2514:01

#3 bananabrain

openinggameswins
A1-B1-B2-C2110%
A1-B3-C250%
A3-B5-C1110%
A3-B7-C1370%
A4-B2-C1350%
5 openings990%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Fast rush99%0%33%0%0%78%
Heavy rush2020%0%55%0%10%70%
Naked expand3030%0%55%0%3%83%
Proxy3131%0%44%0%0%90%
Unknown99%0%8283%0%0%89%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout992:010:456:38
enemy combat units993:392:258:07
enemy air units696:313:3911:25
enemy cloaked units786:343:479:46

#4 daqin

openinggameswins
A1-B1-B2-C250%
A1-B3-C270%
A3-B5-C1170%
A3-B7-C1160%
A4-B2-C1280%
5 openings730%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Unknown73100%0%73100%0%0%100%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout734:032:4310:39
enemy combat units733:422:347:59
enemy air units737:015:558:43
enemy cloaked units3311:0110:0115:01

#5 steamhammer

openinggameswins
A1-B1-B2-C250%
A1-B3-C2176%
A3-B5-C140%
A3-B7-C1225%
A4-B2-C1215%
5 openings694%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Naked expand6797%3%1319%0%18%82%
Unknown23%50%5681%5%0%50%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout692:270:515:46
enemy combat units693:312:537:15
enemy air units487:245:2214:13
enemy cloaked units78:227:3411:21


Steamhammer is the highest-ranked opponent that AITP scored wins against. It looks like a few scattered games, though.


#6 zzzkbot

openinggameswins
A1-B3-C25147%
A3-B7-C130%
A4-B2-C1425%
3 openings5843%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Fast rush5798%44%3764%51%63%37%
Unknown12%0%2136%29%0%0%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout582:370:588:29
enemy combat units582:562:185:11
enemy air units438:136:3811:51
enemy cloaked units0---


It looks like ZZZKBot played its 4 pool in over half the games, and perhaps its guardian rush in the remainder. A1-B3-C2 is the strategy labeled AntiRush. AITP recorded more wins for itself than it actually scored, despite recording fewer games than it played. I suspect that AITP has changed the meaning of the numbers.


#7 microwave

openinggameswins
A1-B1-B2-C250%
A1-B3-C23222%
A3-B5-C1140%
A3-B7-C1170%
A4-B2-C170%
5 openings759%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Fast rush5979%8%57%0%3%93%
Naked expand1520%13%34%0%7%80%
Unknown11%0%6789%10%0%0%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout752:381:435:53
enemy combat units753:292:464:29
enemy air units1313:0111:2615:46
enemy cloaked units0---

#8 iron

openinggameswins
A1-B1-B2-C2190%
A1-B3-C250%
A3-B5-C1270%
A3-B7-C1120%
A4-B2-C1360%
5 openings990%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Factory9899%0%99100%0%100%0%
Unknown11%0%--0%0%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout992:181:557:23
enemy combat units994:143:334:55
enemy air units956:055:376:39
enemy cloaked units955:555:266:38

#9 xiaoyi

openinggameswins
A1-B1-B2-C2100%
A1-B3-C2130%
A3-B5-C1250%
A3-B7-C1110%
A4-B2-C1360%
5 openings950%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Factory9499%0%95100%0%100%0%
Unknown11%0%--0%0%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout951:471:228:27
enemy combat units953:132:394:46
enemy air units929:137:2211:14
enemy cloaked units896:265:4111:14

#10 mcrave

openinggameswins
A1-B1-B2-C230%
A1-B3-C21527%
A3-B5-C1140%
A3-B7-C1268%
A4-B2-C14030%
5 openings9818%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Fast rush66%17%22%0%17%67%
Heavy rush3738%19%44%0%5%89%
Naked expand4243%21%77%14%10%86%
Unknown1313%8%8587%20%0%92%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout981:591:1412:41
enemy combat units984:132:557:13
enemy air units367:396:1710:39
enemy cloaked units726:345:2911:01

#11 ualbertabot

openinggameswins
A1-B1-B2-C21421%
A1-B3-C23057%
A3-B5-C110%
A4-B2-C11421%
4 openings5939%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Fast rush5085%40%1322%54%20%74%
Naked expand712%14%35%33%0%71%
Unknown23%100%4373%35%0%50%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout582:411:1712:26
enemy combat units583:292:187:27
enemy air units87:056:4615:01
enemy cloaked units0---


Again, AITP recorded fewer games and more wins than happened. Is it a bug, or is it intentionally over-recording wins for certain strategies to focus its search? Or what? AITP is interesting, it deserves a closer look into the code.


#13 bunkerboxer

openinggameswins
A1-B3-C25698%
A3-B5-C13100%
2 openings5998%
planpredictedrecognizedaccuracy
countgameswinscountgameswinsgood?
Unknown23%100%5898%98%0%50%
Worker rush5797%98%12%100%0%100%
timing#medianearlylate
gas steal attempt0---
gas steal success0---
enemy scout562:071:503:25
enemy combat units367:442:589:22
enemy air units0---
enemy cloaked units0---

overall

totalTvTTvPTvZTvR
openinggameswinsgameswinsgameswinsgameswinsgameswins
A1-B1-B2-C2863% 290% 330% 100% 1421%
A1-B3-C225642% 7474% 528% 10032% 3057%
A3-B5-C11492% 555% 750% 180% 10%
A3-B7-C11912% 230% 1262% 422%
A4-B2-C12916% 720% 1737% 326% 1421%
total97314%25323%4594%20217%5939%
openings played55554

Trackbacks

No Trackbacks

Comments

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.