r/twilightstruggle • u/lastchancexi • Oct 21 '26
Opening Setups: DeepStruggle Analysis
DeepStruggle is a Twilight Struggle AI trained by reinforcement learning. I think it has gotten pretty good at the game. I wanted to know how much opening setups mattered, and if DeepStruggle's opening setups were any good at all, so I took two different versions of the bot and made it play against itself 200,000 times for each set of fixed openings to see whether these tournament results disagreed with the bot's actual openings. The opening doesn't actually matter that much, which is surprising to me, but I did find that it generally likes certain openings for a reason.
The below tables should be treated as like tournament statistics, not the bot’s opinion.
Setups are written as final influence (EG4 = East Germany's starting 3 + 1). Win % counts a draw as half a win and averages the two bots. "Human mix" means the other side's setups in the proportions they appear in 254 human games.
USSR setups (USSR win % vs the human US mix)
| Tier | USSR setup | Human share | USSR win % |
|---|---|---|---|
| S | Pol3/Yug3 | 0% | 51.2 |
| S | EG4/Pol4/Yug1 | 30% | 51.0 |
| B | EG4/Pol4/Aus1 | 45% | 50.5 |
| B | EG4/Pol5 | 24% | 50.4 |
Thoughts: The bot loves couping Italy, it thinks Italy is the best country in the game (2 stab in Europe). With 3 Yugoslavia, you immediately get Europe Domination when you take Italy (~40% of the time). I think actually saving those two ops is actually good. That said, 1 Yugoslavia is also perfectly good (and can't really be differentiated at all). I think Yugoslavia is better than Austria because it's 3 Stab vs 4 Stab and so it saves an OP and can give you control if US plays Warsaw Pact. Bot absolutely hates spending 2 Ops to get control of non-BGs.
US setups (US win % vs the human USSR mix)
| Tier | US setup | Human share | US win % |
|---|---|---|---|
| S | WG4/It3/Fr1/Ir2 | 3% | 50.0 |
| S | WG3/Fr3/It2/Ir2 | 31% | 50.0 |
| A | WG4/Fr2/It2/Ir2 | <1% | 49.8 |
| A | WG4/It3/Ir3 | 5% | 49.7 |
| A | WG3/It3/Fr2/Ir2 | 7% | 49.6 |
| B | WG4/Fr3/It2 | 3% | 49.5 |
| C | WG4/It4/Ir2 | 48% | 48.8 |
Thoughts: The bot is not afraid of Suez or De Gaulle. The playouts think 4 Italy is a complete waste (though they do not mind 3 Italy at all).
Cards in hand (on deals where the card is in that hand: the holder's win % vs the other side's human mix, with the standard setup and with the best setup for that hand)
| Card | In whose hand | Reference setup | Win % | Improved setup | Win % | Gain |
|---|---|---|---|---|---|---|
| De Gaulle Leads France | US | WG3/Fr3/It2/Ir2 | 48.7 | WG4/It3/Ir3 | 50.0 | +1.3 |
| Middle East Scoring | US | WG3/Fr3/It2/Ir2 | 48.6 | WG4/It3/Fr1/Ir2 | 48.9 | +0.3 |
| Marshall Plan | US | WG3/It3/Fr2/Ir2 | 53.6 | WG3/Fr3/It2/Ir2 | 54.5 | +0.9 |
| Europe Scoring | USSR | EG4/Pol4/Yug1 | 46.0 | Pol3/Yug3 | 47.6 | +1.6 |
| Socialist Governments | USSR | EG4/Pol4/Yug1 | 52.2 | Pol3/Yug3 | 53.4 | +1.2 |
| De Gaulle Leads France | USSR | EG4/Pol4/Yug1 | 51.5 | Pol3/Yug3 | 51.7 | +0.2 |
| Middle East Scoring | USSR | Pol3/Yug3 | 46.5 | EG4/Pol4/Yug1 | 46.8 | +0.3 |
| Independent Reds | USSR | Pol3/Yug3 | 48.9 | EG4/Pol4/Yug1 | 49.4 | +0.5 |
And here are cards which change your setup from the standards (3/3/2/2 and 4/4/1). With De Gaulle and Soc Gov, the USSR really, really wants to dominate Europe on Turn 1 (and Independent Reds/ME Scoring means it prefers 1 Yugo over 3 Yugo).
With the US having De Gaulle, empty France is fine. And if you have Marshall Plan in hand, set up with at least 2 France so you immediately dominate Europe.
7
u/ccam0821 Oct 21 '26
Does the AI consider Independent Reds in their opening hand for 3 Yugo? Or EEU?
These are the 2 biggest issues for the 3/3/3 opening. Independent Reds makes a usually harmless opponent event very annoying, and EEU can leave the USSR presence-less in Europe after headline. Does the US opponent ever do EEU headline with Europe scoring in their hand? What is the win percentage in that case, and what does the AI think is the best AR1 response?
6
u/Baluba95 Oct 21 '26
Amazing work! Altough until I'm covinced that the BOT is at least as strong as the top 50 human players, where I ballpark estimate to be the point where the huge self-play data is compensating for the overall weaker play compared to top human in terms of opening analysis, I won't really implement it in my play.
However, I'd be really interested in the win% wort of certain card in early war, i.e. how does the win prob chages based on who gets CIA, Destal, Decol, Purge, etc.
3
u/misomiso82 Oct 21 '26
So this is very interesting. Ty for all your work!
Some of it is quite hard to understand though.
What have you done in general - have you FORCED set ups then made the bot play against each other? Is that what the difference in win % is when you have certain cards in hand?
I don't understand what 'human share' means in the tables - is there a wide variety of human set ups in the 254 human games you are using? What ARE the set ups in the pool - is Italy 4 common for example? This is quite important I feel.
What are the human share percentages in the top 2 tables?
What other interesting things have you found? Do you have a depository site that has a compendium of all the info?
Ty
1
u/VytautasTheGreat Oct 23 '26
Nice job, this is interesting and thought provoking.
However after playing against the bot this week I'm not sure if it's skilled enough yet to make such fine distinctions.
I don't consider myself a champion-level player, but over the last few days I've been on an 8-game winning streak against the AI. It's good and definitely gave me a shock initially, but it still seems to favor risky short-term moves that can be defeated with sound "normal" play.
Moreover there seem to be some side-tracks into genuinely questionable play that the AI heavily favors. It seems to get maniacally focused on a specific region (not necessarily one where the scorecard is in hand) and ignore severe challenges elsewhere. This can sometimes be quite hard to counter but more often than not seems to give openings to an enemy with a more global focus.
Therefore I'm skeptical that the single-digit results of your analysis are solid data and not the results of "noise" in the AI's individual playstyle. In the other thread the creator of the AI mentioned that openings are one of the biggest challenges to optimize because they are the farthest away from the end of the game.
That said, the step is so big that I'm left with a feeling of not yet, but it's only a matter of time...
1
u/remetagross 16d ago
This is very, very interesting. I must say I'm puzzled by one thing. If the US starts with Marshal Plan, how come it's better to start off 2 Italy/3 France rather than 3 Italy/2 France?
0
u/No_Entrepreneur_9134 Oct 22 '26
Is the DeepStruggle bot publicly available? I love Twilight Struggle but I suck pretty bad at playing it. Would I be able to use the bot as a kind of coach?