• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:31
CET 17:31
KST 01:31
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
HomeStory Cup 28 - Info & Preview12Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8
Community News
Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win1RSL Season 4 announced for March-April5Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8
StarCraft 2
General
StarCraft 2 Not at the Esports World Cup 2026 HomeStory Cup 28 - Info & Preview Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win Oliveira Would Have Returned If EWC Continued
Tourneys
HomeStory Cup 28 RSL Season 4 announced for March-April $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) KSL Week 85 OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 511 Temple of Rebirth The PondCast: SC2 News & Results Mutation # 510 Safety Violation Mutation # 509 Doomsday Report
Brood War
General
[ASL21] Potential Map Candidates Can someone share very abbreviated BW cliffnotes? Liquipedia.net NEEDS editors for Brood War BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Mobile Legends: Bang Bang Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread The Games Industry And ATVI Canadian Politics Mega-thread
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Play, Watch, Drink: Esports …
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1912 users

Towards a good SC bot - P5 - H.I. (1/2)

Blogs > imp42
Post a Reply
imp42
Profile Blog Joined November 2010
398 Posts
Last Edited: 2016-11-23 15:40:40
November 23 2016 04:57 GMT
#1
Towards a good StarCraft bot - Part 5 - "Human Intelligence (1/2)"

Summary:
+ Show Spoiler +
A short overview over the executive functions (cognitive capabilities) I consider most relevant for StarCraft players - human or artificial.


While Neural Nets keep me busy, it is a good time for a change of perspective. If we want good Artificial Intelligence bots, what can we copy from Human Intelligence? How do humans work?

That is obviously a very broad question. It involves many different subfields. Here, I pick some aspects that I personally consider important and related to the ability to play games like StarCraft on a high level.

What is human intelligence?
There are many different definitions. So, I just pick one that suits my purpose: human intelligence is the intellectual capacity characterized by perception, consciousness, self-awareness, and volition. It gives humans the cognitive abilities to learn, form concepts, understand, and reason.

Can intelligence be measured?
As the definition of intelligence suggests, there are several dimensions to intelligence. However, there is a notion of general intelligence called “g” or “g factor”. Supporters of this notion believe “g” to be a good metric because it summarizes performance among different cognitive tasks. Many different tests have been developed around such cognitive tasks, to capture the dimensions of intelligence. One test that is believed to be positioned at the center of all those dimensions is called the Raven Progressive Matrices test. This shown in the following illustration:

[image loading]

Figure taken from: Carpenter, P. A., Just, M. A., & Shell, P. (1990). What one intelligence test measures: a theoretical account of the processing in the Raven Progressive Matrices Test. Psychological Review, 97(3), 404–431.

Executive functions
As we learned, intelligence gives us the cognitive abilities required to e.g. play a game of StarCraft. There are ways to measure intelligence and tests have been developed in an attempt to do so. Many tests attempt to capture dimensions of intelligence by measuring performance of a set of execute functions. Executive functions are a set of cognitive processes highly relevant to how well we play StarCraft*. Because these cognitive processes include attentional control, working memory, reasoning, problem solving, and (very important) planning.

*+ Show Spoiler +
On a side note, the same processes are also highly relevant in assessments to identify high-potentials and future leaders in corporates. But we don’t really care about that, right?


Let me elaborate a bit and put each of the mentioned processes into the context of playing a game of StarCraft:

Attentional control: the capacity to choose what to pay attention to and what to ignore. Clearly relevant when perceiving all the graphical (and audio) input from the game. Indicators of mineral/gas income, max supply/used supply, health bars, moving dots on the mini-map, etc. etc. This also includes the ability not to pay attention to the nice reflections in the water or the cute animation of the critter.

Working memory: the system responsible for holding, processing, and manipulating information. There are only so many things we can keep in our working memory at once. A rough estimation is 5 +/- 2 (i.e. between 3 and 7). This implies even the best player is prone to make mistakes when he needs to deal with more than 7 issues simultaneously. Cleary StarCraft overburdens human working memory, so we need to be selective (see attentional control).

Reasoning: the capacity to apply logic and establish facts and beliefs. “If we are at the t minute mark in the game and the opponent already has x units of type y out, then he can impossibly have any units of type z” is an example of such reasoning. Or more simply: “My scout arrives at his base and the base is empty -> he must have a proxy somewhere”.

Problem solving: The capacity to use generic or ad hoc methods to find solutions to problems. Let’s say you played ladder some years ago and ran into a player called “Gaulzi”. You would immediately know he _only_ does cannon rushes. And sure enough, you find a pylon warping in behind your mineral line. Since you already knew it was coming you can apply a generic “defend against canon rushes” method, even though you may have never faced the exact same situation (same map, same spots, pylon on the same tile, etc.) before. Let’s now assume you ran into TLO in the early days. You might end up playing against something you have never seen before. Your ability to come up with an answer on the spot is referred to as ad-hoc problem solving.

Planning: the capacity to think about and organize activities required to achieve a required goal. In StarCraft it is very beneficial to have a goal in mind _before_ entering the game (precisely because we’re not good enough at planning while we have to perform all the other cognitive tasks at the same time). Still, we definitely need to be able to adjust our plan once we encounter a deviation in the game state that makes our initial plan infeasible. People good at planning can come up with very efficient build orders or are able to optimally exploit a given map.

Conclusion
I have given you a short overview of some cognitive capabilities I consider very relevant in the context of StarCraft. On one hand, it is a very narrow selection and I haven’t even touched concepts like perception or learning yet. On the other hand, each of the mentioned cognitive capabilities is a research field in its own right and there is no way to give them justice in a blog post. If you are interested, please take this post as a pointer for your own investigations. I am sure you can also benefit as a human player.

If we want to create a successful bot, we need to master the presented cognitive capabilities in one way or another. In a next post, I will attempt to map the cognitive capabilities to attributes of an artificial intelligence, compare strengths and weaknesses and hopefully lay out a road map to cover current deficiencies of bots.

Disclaimer
Although I did deal with this subject in-depth for a good while, I am not a Neuroscientist. Apart from a 3-digit number of published scientific papers that I read I do also rely on Wikipedia as a source.



50 pts Copper League
Jett.Jack.Alvir
Profile Blog Joined August 2011
Canada2250 Posts
November 23 2016 15:54 GMT
#2
If you are trying to emulate human intelligence using those 5 processes, which would you say would be the most difficult for an artificial intelligence bot?

I can already assume attentional control and working memory are easy to design, unless you intentionally design your bot to get distracted by shiny objects and a memory of a goldfish. In fact, this might be where an artificial intelligence bot will be superior to human intelligence (aside from having automaton 1000 micro)

Reasoning will have limitations as the game goes longer, so that might be challenging for your bot. In super long games where all upgrades/units are unlocked, trying to use reasoning might become an exercise in futility.

Problem solving will be the greatest challenge for an AI, specifically ad-hoc problem solving. Your AI could have a plethora of problems it has encountered and solved, but can it account for every problem ever encountered in a game of SC? Because one of the truly remarkable capacities of humans is to 'think on our feet', which is a realm an AI might struggle with.
imp42
Profile Blog Joined November 2010
398 Posts
November 23 2016 16:20 GMT
#3
you mostly answered it yourself, here is my view as a preview of the next post:

Attentional Control: needs to be modeled for AI as well. Yes, a computer can simultaneously handle 3 incoming drops with ease and split the army perfectly, but at a lower level we have to deal with how this is done. Which process gets priority and access to CPU cycles?

Working Memory: not an issue for an AI.

Reasoning: Computers are good at reasoning if they are given a universe in which to reason. See e.g. theorem provers written in logical programming languages.

Problem solving requires the crucial abilities to generalize and to transfer.

Planning requires the crucial abilities to extrapolate and imagine.

So yes, the last two contain the real challenges and current Neural Nets are not the solution to those challenges IMO.

PS: you will probably laugh but I have spent several days thinking about how to make a computer discover the concept of addition (unsupervised), and I haven't come up with a good answer yet

E.g.: given the fact that 1 + 1 = 2, how can a computer extrapolate that 2 + 1 = 3 and how can it generalize that the concept holds for any natural numbers?
50 pts Copper League
Jett.Jack.Alvir
Profile Blog Joined August 2011
Canada2250 Posts
November 23 2016 16:50 GMT
#4
Yeah I assumed as much.

So for attentional control, it seems you are limited by hardware. If you had access to Google's data centres across the world, this shouldn't be a problem. Theoretically you can have your AI pay attention to everything.

It's funny what we take for granted as humans. Computers can do things no human could ever think of, but the simple things that we assume are easy are huge obstacles for computers.
imp42
Profile Blog Joined November 2010
398 Posts
November 23 2016 17:22 GMT
#5
On November 24 2016 01:50 Jett.Jack.Alvir wrote:
It's funny what we take for granted as humans. Computers can do things no human could ever think of, but the simple things that we assume are easy are huge obstacles for computers.


One thing I have observed, is that many people including well-known researchers make the "mistake" to judge the performance of a computer by a problem that is very biased towards humans.

For example: Neural Networks have been trained to play Frostbite better than humans. But some authors criticize that the Neural Networks need much more learning iterations (hundreds of thousands of iterations) than a human (a couple of minutes) to master the game.

What they forget when doing this comparison is the fact that any game produced by humans is specifically designed to suit the human brain. That is, it follows a set of rules that we're pretty much hardwired to know (e.g. human babies already have some concept of temporal causality).

In Pong, we just know that if a ball goes in a certain direction, it will follow that direction in the next frame, unless it hits an obstacle. In Frostbite we know that if birds kill you and fish give extra points, they will continue to do so in the next frame.

But what if we designed a game of Frostbite, where birds and fish reward or kill the player based on the pixel position of the floating ice multiplied by the game score or in-game frame count minus (randomly changing) color value of the polar bear?
Well, it wouldn't make a difference to the Neural Net but the human brain would struggle to the point it would under-perform even after hundreds of thousands of iterations.

Yes, we humans have a pretty good general problem solving tool in our heads. But at the same time it is also highly specialized to deal with problems that have been historically relevant to survival in our physical world and it will often fail miserably outside that domain.
50 pts Copper League
angrybacon
Profile Joined March 2010
United States98 Posts
November 24 2016 05:34 GMT
#6
On November 24 2016 02:22 imp42 wrote:
But at the same time it is also highly specialized to deal with problems that have been historically relevant to survival in our physical world and it will often fail miserably outside that domain.


The same can be said of neural nets.
imp42
Profile Blog Joined November 2010
398 Posts
November 24 2016 06:28 GMT
#7
On November 24 2016 14:34 angrybacon wrote:
Show nested quote +
On November 24 2016 02:22 imp42 wrote:
But at the same time it is also highly specialized to deal with problems that have been historically relevant to survival in our physical world and it will often fail miserably outside that domain.


The same can be said of neural nets.


yes, maybe it can.
Still, comparing neural nets and human brains on the grounds of video games developed for us by us seems to me as valuable as comparing movement speeds of the fish and the bird when doing all the tests in the water.
50 pts Copper League
Please log in or register to reply.
Live Events Refresh
Next event in 8h 29m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 85
BRAT_OK 59
SC2Nice 49
StarCraft: Brood War
Sea 6707
Calm 4807
Bisu 1135
Horang2 1122
Shuttle 1065
Hyuk 813
Flash 780
EffOrt 686
Stork 526
Mini 442
[ Show more ]
GuemChi 421
firebathero 261
actioN 227
BeSt 225
ggaemo 197
Soulkey 187
Sharp 123
Hyun 112
Mong 82
Aegong 61
Shinee 34
Barracks 32
JYJ 31
Killer 30
ToSsGirL 30
Yoon 26
Backho 26
Free 20
Hm[arnc] 18
HiyA 13
yabsab 13
SilentControl 13
scan(afreeca) 12
Terrorterran 12
Sacsri 8
ajuk12(nOOB) 6
Dota 2
singsing2944
qojqva1754
Dendi701
Fuzer 250
BananaSlamJamma162
febbydoto10
Counter-Strike
fl0m3131
byalli1328
kRYSTAL_27
Super Smash Bros
Mew2King78
Other Games
Liquid`RaSZi1830
Grubby1820
hiko724
B2W.Neo628
crisheroes236
Hui .161
DeMusliM157
QueenE137
KnowMe68
ArmadaUGS56
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 103
• iHatsuTV 66
• LUISG 29
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• FirePhoenix12
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis11277
• TFBlade1327
• Shiphtur91
Upcoming Events
PiGosaur Cup
8h 29m
WardiTV Invitational
19h 29m
Replay Cast
1d 7h
The PondCast
1d 17h
WardiTV Invitational
1d 19h
Replay Cast
2 days
RongYI Cup
3 days
uThermal 2v2 Circuit
4 days
Replay Cast
5 days
Wardi Open
5 days
[ Show More ]
Monday Night Weeklies
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2026-02-02
HSC XXVIII
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W7
Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
LiuLi Cup: 2025 Grand Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.