Using OpenAI or similar to potentially improve the AI

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Shinkuro Yukinari

General
48 Badges
Jul 26, 2016
1.899
1.390
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Common Sense
  • Age of Wonders III
  • Age of Wonders II
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Sign Up
  • Europa Universalis 4: Emperor
  • Victoria 3 Sign Up
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Jade Dragon
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
We've all heard it, we all agree, Paradox is workin on it(we are yet to see their work in practice though)
AI is god-awful.
Has anyone considered letting OpenAI do a couple of games as specific nations, then analyzing the data it compiles for further use?
Give it the present AI files and let it start from there.
Whilst it will take time, it won't be that time-intensive as you just need to let the game run at speed 5 and HoI4 campaigns are much shorter than say EU4. Heck, you don't even need to let it run past like 1944-1945 as that is when the game dulls out and war comes down to who has more fighters so it can nuke the enemy into submission.
 

Kadanz

Drive-By Memer
20 Badges
Sep 19, 2011
2.379
5.382
  • Crusader Kings II: Charlemagne
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III: Chronicles
  • Darkest Hour
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Prison Architect
  • Cities: Skylines
If only it was that easy :)
 

Daddl

Lt. General
86 Badges
Feb 27, 2015
1.251
2.635
  • Europa Universalis IV: Res Publica
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Semper Fi
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron III: Their Finest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron III
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Nemesis
  • Steel Division: Normand 44 Sign-up
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Humble Paradox Bundle
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Victoria 2
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
Having five years computer science studies at university, including AI and machine learning courses, I can say that while some overlap between academic AI and game AI exists, the two are very different beasts. The goal of academic AI is (typically) finding automated ways of solving certain problems optimally. The goal of game AI is to entertain. One of the hardest problems for AI is pattern recognition, something humans are very very good at. In a complex strategy game the pattern of a situation includes terrain (rivers, mountains, marshes etc), nuber of units, type of units/equipment, current and potential enemies, current and potential allies, air support, naval support, naval invasions, resource locations etc etc. All this, and more, over a potential area of over 13k provinces plus several off map mechanics.
By comparison, go has 361 positions, with a total of 3 possible states each.

I did eagerly follow the results of AlphaGO, and while I would love to play around with deep learning, beyond board games I do not see it applied in games in the near future. AlphaGO was essentially trained on a supercomputer with a massive set of training data for a turn based games where only one move at a time is possible. HoI 4 being a pausable real time game with hard constraints on time for the AI just completely blows this approach out of the water in terms of complexity. Even if you consider each hourly tick a turn, you can still change a very large number of things within each tick.

So, tl;dr: game AI is usually hand tailored for the game it relates to, as is the case for HoI. There are some generalized mechanics detailed in books, such as how to structure agents and state machines. Deep learning is really cool, and the accomplishments of AlphaGO are amazing, but for computer games in general the current state of it is of very little use.
To get the AI on a level to beat the best humans in HoI like AI can do in Chess, Go or other games you probably need around 20 employees, computing power worth a couple dozen million dollars and 3 years time.

Its not that easy. Be sure someone would do it if it was.
 

Marcion

First Lieutenant
65 Badges
Oct 13, 2009
226
1
  • Crusader Kings II: Legacy of Rome
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • March of the Eagles
  • Heir to the Throne
  • For The Glory
  • Europa Universalis III
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Stellaris: Galaxy Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Mount & Blade: With Fire and Sword
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Stellaris: Apocalypse
  • BATTLETECH - Beta Backer
There is already research being done on training AI to play StarCraft and other modern PC games, but it is just research at this point. There's no guarantee that the results with have any practical applications as far as creating algorithms for simulated opponents, and this is bleeding-edge stuff involving top people in the field.

Some day anybody might be able to use an off-the-shelf ML engine to train up a game AI, but that's a ways off.
 

Magnificent Genius

Perennial Also-Ran
95 Badges
Oct 28, 2014
1.493
1.046
  • Battle for Bosporus
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Flashpoint
  • BATTLETECH - Digital Deluxe Edition
  • Surviving Mars
  • BATTLETECH
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Knights of Pen and Paper +1 Edition
  • Knights of Pen and Paper 2
  • Magicka
  • Stellaris: Necroids
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Sign Up
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
Someone made an AI for Dota, that I believe had limited learning capabilities. In a very limited tournament setting, its performance got WORSE as the tourney progressed. Dota is not as complex as HoI. I'm willing to give Paradox a break on the AI.
 

bwhite9

First Lieutenant
38 Badges
Dec 2, 2016
253
38
  • Cities: Skylines Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Hearts of Iron III
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normandy 44
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Victoria 2
  • Europa Universalis IV
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Expansion Pass
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
Well so far Open AI hasn't been very successful in making AI for games. Last I checked the best it got was best in the world at 1v1. Now I know that might seem impressive but HOI4 is a much more complicated game than Dota and the team working on that AI was probably just as big as the entire HOI4 team. So just running Open AI a few times isn't going to get the team anywhere. Also, the AI that OpenAI would make probably can't be merged with current AI so they would either have to cancel all development of the AI wait till OpenAI is done or have two builds of the AI going at the same time. As well the devs don't really want the whole world to be filled with AI that uses every exploit they do what it to confirm a bit to history. Another issue with using learning AI is that a key step in their development is to test them to see how good they are at whatever it is they are doing. And there really isn't a good test to see how well the AI did.

So it just isn't feasible in any way for it to happen. Maybe for HOI5 when AI programming is much more advanced.
 

Gyrvendal

Lt. General
97 Badges
Oct 2, 2012
1.521
1.887
  • Crusader Kings II: Monks and Mystics
  • King Arthur II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Charlemagne
  • Steel Division: Normand 44 - Second Wave
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron III: Their Finest Hour
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Heir to the Throne
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Conclave
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Way of Life
Machine learning has nothing to do with actual intelligence, despite claims to the countrary. It is just an algorithm that optimizes a large number of parameters in order to reproduce/imitate a desired result.

It can automate some tasks that could previously only be performed by a human, but so can a pocket calculator.

It could never work on a game like Hoi.
 

xsmilingbanditx

Colonel
72 Badges
Jun 25, 2012
818
929
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Rights of Man
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Stellaris: Distant Stars
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
There is this thing about "AI". I do not know the proper translation but there is a scientific field called "game theory". Games like Chess, Go or Tic Tac Toe are "Tree Games". Meaning there ALWAYS exists ONE optimal strategy where one Side will always win and another Strategy where the other side cannot lose. For chess or Go those still have to be found. The complexity is defined by how fast the "decision tree" broadens with each iteration/step/turn.
In these type of games, "AI" will sooner or later beat any human. Period.
HoI or Stellaris are way, way more complex. IF they are in the same category as Chess or Go (which still is open to discussion/research) the complexity would be way higher. Meaning without HUGE computational power the "AI" cannot plan ahead maybe more than one or two "turns" like humans can.
That said, without wanting to sound offensive, I do not understand why everbody complaining about AI here thinks they are more competent than the developers. I had some courses at university about that back in the days and I still would only assume to be able to grasp the sheer complexity of a competitive AI in Grand Strategy Games.
For example, even the "really good " Chess AI would fail hard and would have to relearn EVEYTHING if you would change Chess from 8x8 fields to, say, 9x9 or 7x7. Same goes for the OpenAI if you would change some paramereters of Dota Characters.

About Starcraft: AI is so good there because

a) you so have "build pattern strategies" the first 15 Minutes or so...this is just a numbers game and Computers are made for that
b) AI is great at "micro" and in SC, Battle outcome is pretty deterministic (because damage is)
c) games do not last that long, meaning you do not need to "optimize" for tomorrow, just for the next few seconds and repeat that over and over (which helps with the above)

With all that said, as long as you do not have a Cray SC at home for gaming there will Not be a competitive AI that can plan ahead more than a few "ticks" in complex games.

Well, that is quite a wall if text. I hope I could give you some insights. There is more and I could go into some depths here but typing on my smartphone is a pita :)

Feel free to comment :)
 

Markus Marius

Civilized Barbarian
81 Badges
Sep 3, 2009
230
16
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • Victoria 2
  • Stellaris: Federations
  • Stellaris: Apocalypse
  • Stellaris: Leviathans Story Pack
  • 500k Club
  • Europa Universalis III: Collection
  • Stellaris: Lithoids
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Rights of Man
  • Imperator: Rome Sign Up
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Archon Edition
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: La Resistance
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Rome Gold
  • Sword of the Stars
  • Semper Fi
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
I think we'll have to wait for Quantum computers ( 5000 qbit or larger ) before we get an AI that can play this type of game well.
 

xsmilingbanditx

Colonel
72 Badges
Jun 25, 2012
818
929
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Rights of Man
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Stellaris: Distant Stars
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
I think we'll have to wait for Quantum computers ( 5000 qbit or larger ) before we get an AI that can play this type of game well.

For Insane AI, install "Earth 2140" plus the Patch that "unleashes" the AI. It was so good that it wrecked the Devs.
It attacked you and reacted depending on weak spots of your defense and built units to counter. It had incredible "micro" and nee exactly how many units had to shoot one unit to instagib it and so on...