• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:48
CET 12:48
KST 20:48
  • 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
TL.net Map Contest #21: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Mech is the composition that needs teleportation t TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win RotterdaM "Serral is the GOAT, and it's not close" 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BW General Discussion [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1553 users

Artificial Intelligence

Blogs > LegalLord
Post a Reply
LegalLord
Profile Blog Joined April 2013
United States13779 Posts
August 07 2017 01:26 GMT
#1
It's one of the absolute favorite topic of futurologists of all shapes and sizes - artificial intelligence. A word that evokes any number of images, from computer gamers to Terminator robots to Star Trek-like future technology. But it's also a working field of science at present, and an important one at that. Given that video games are, in fact, one of the most important mediums for AI research, I don't think I'm wrong in thinking that there are a lot of folks on a gaming forum that might be interested in the topic.

Now, unlike with the topic of rocketry, which is directly relevant to my line of work, I would not claim too much depth of expertise in this topic. I did some academic study in the area in my school years, and it has had intermittent relevance to several projects I have worked on. I know far more about AI than the average individual or the hobbyist, but I know for a fact that there are others on this very website whose AI expertise dwarfs my own. Still, I can say I'm confident enough in my own knowledge of the topic to try to give a good overview of what the topic entails.

This one is going to be a one-off blog post; unlike with the rocket blogs, I do not know enough about AI to write a whole series and still have interesting things to say by the end of it all. But for those interested in AI but who don't know enough about it to get started, I hope this will be a helpful springboard towards further study. If nothing else, perhaps it will help to appreciate what goes into the process of making those Starcraft bot tournaments. In any case, I hope you enjoy.

Introduction
A deceptively difficult question to answer is, what is artificial intelligence (AI)? A short, and technically correct, answer is that it is the discipline concerned with developing the means by which computers are to be able to accomplish tasks that are traditionally accomplished with the help of human intelligence. If you find that definition to be frustratingly vague, you're not alone - that's just a reality of how difficult it is to pin down specifically what artificial intelligence work is actually about.

An interesting and important phenomenon with AI work is known as the AI effect - in a nutshell, the phenomenon where a new task that computers can do that is generally accomplished with human intelligence, but in the case of computers is done through cruder means, is popularly discounted as "not actually AI." In a way, this effect follows the development of the entire discipline of computer science from its foundations - and it should be no surprise that the early pioneers of computer science were the very same folk who are considered to be the pioneers of artificial intelligence. In a way, AI is a field of research that focuses on not-yet-developed sub-disciplines within software that, once developed, will expand the scope of what software is capable of accomplishing.

In the field itself, the problem of an ambiguity of definition of the scope of AI has always been a problem. The best, and most common, scope of what AI actually focuses on was relatively recently codified in one particularly important textbook: Artificial Intelligence: A Modern Approach. One class, taught at UC Berkeley based on that book, CS 188, is a widely-used means by which to instruct individuals within the field. For anyone who wants to take a meaningful course of study on AI, these two resources are just about the best source to get started. The class is free, and as for the book - buy an old edition, use an online copy, and so on - by no means should money be a limiting factor in this context.

My only problem with the above listed materials is that the tendency to use the very same teaching tools has a habit of leading to an unfortunate propensity towards groupthink. There are folk who have been in AI well before this book came out and have their own perspective, and there are folks who only stumbled into the field after they came out and never knew any other way. I am of the latter kind and I will not pretend that my insights into the field are all that unique given that I simply never became enough of an expert in AI to be able to provide any particularly unique insights; I have merely done enough to become familiar with the field and to be able to complete a few AI-related projects in my line of work. I am sure that there are others here who know more, given that we do have an AI scene here on TL itself.

The utility of artificial intelligence in its aggregate contribution to science as a whole is ubiquitous; anyone who exists in the modern world, and especially anyone who works in a technical field, can attest to the increasing importance of software in their life - and the development of software largely follows advancements in the field of AI. Like any field with such promise, the industry has many sorts: brilliant thinkers, gigantic egos, clever hucksters, political rent-seekers, interested investors, dreamers, philosophers - you name it. If history is any precedent, much of what is promised will never come to fruition, but what is left will still be a critical contribution to the advancement of the field.

The rest of this blog post is essentially going to be in two parts. In the first part, I'll gloss over a few of the most important concepts in AI - environments, knowledge and decision-making, and machine learning. In the second part, I'll talk about three of the most popular pursuits within the field - social media, gaming, and self-driving cars. There is, of course, no way that I can do justice to every aspect of the field in a single blog post - but for those who want to know more, there are plenty of high-quality, freely available resources online you can look to; the above link is a great place to start and is supplemented by a huge number of available further resources for study. Even research papers are generally quite available if you're sufficiently interested in learning more about AI.

Fundamentals: Environments
For any AI, you have to know what kind of environment it's operating in to be able to know how it is to be able to do its job. Only once you define the conditions under which the AI is operating can you even consider how it is that you can devise a scheme by which it can do what it is meant to do. And of course you don't always have access to all knowledge about the environment itself - so you have to know how it is that you are perceiving that environment.

Environments are far-ranging - they can be as simple and straightforward as a chess board, to something as complicated as the road on a busy city street or a conversation with a real human being. They can also be any number of things you wouldn't normally consider to be tied to AI, such as the innards of a database of emails or the contents of a message board. If you're trying to develop a method as a proof-of-concept of a certain tactic of AI problem-solving, you might even want to induce an artificially simple environment - such as the Wumpus World as pictured below.

[image loading]
The monster is smelly, the pits are breezy, and you are a blind man who wants gold.


Some environments, for example for a chessboard, everything you want to know is right before your eyes - there is nothing that you need to know beyond what is on the board in front of you. For others, such as for Starcraft - things are a bit more complicated; you can't see everything all at once, your "optimal" strategy depends a lot on what your opponent does, the environment isn't "turn-based" and what you think is true at one point has no guarantee of being true at some point in the future, and so on. And in many real-life scenarios, where you can't directly perceive a code-based reality such as a video game, and instead have to deal with sensors such as audio and video inputs - you get further complications. Each additional complexity leads to further troubles to making good AI solutions, and it should be no surprise that the latter problems are seen as more difficult than the former. Every one of these complications has to be addressed - and in fact each one opens up its own sub-discipline of AI that needs to be studied. You want to be able to simplify the world you have into something you can work with - and that's a whole job in and of itself. Once you have that, you can start distilling it down into a strategy for solving that specific problem. And the mother of all those tactics is of course the fabled idea of the general AI, the computer-based thinking machine that will be on par with the general intelligence of humans.

Fundamentals: Knowledge and Decision-Making
So, now that we have the environment down, what do we do with it? The short answer is that we have the AI do stuff in it. And the "how" is, of course, dependent very much on what the environment tells us about what needs to be done and what doesn't. In general, the gist of it is that the AI has to make some sort of decision - how fast to drive, what move to make in a game of chess, when to stim marines, which emails to highlight as important, and so on.

In principle, that's a fairly straightforward idea - you only have so many means by which you can act, and you just have to pick the best actions under those constraints. In reality, finding that "best" way is a computational nightmare. Even for a game as relatively simple for computers as chess, there are generally dozens of possible moves, and dozens of possible responses to that move, that will lead to dozens of possible responses to that move as well - ad infinitum. Out of all those possibilities, which one move should you make now to get to that point? Even the best modern computers can't properly go through every possible move to figure out which one is best; that is an exponentially growing list of possibilities that simply is not feasible to analyze. To be able to get to a point where you can actually feasibly play a game of chess, you have to reduce your consideration to only a select few of the most promising possibilities of moves.

The means by which decisions are made is essentially to be able to, within the constraints of the environment that you have created, throw out as many possible nonviable ideas as you can, and work with whatever is left to find the best possibility out of those. Easier said than done of course - computation is still often pretty tough (for example Go is a different beast than chess, despite having much the same environment, by virtue of being more complex computationally), and being able to know what you can ignore is an art and science in and of itself. By a combination of computation and such intuitive means, however, the field of AI moves forward.

[image loading]
Same general idea, but a whole different beast computationally.


In the context of AI, knowledge is information that you know - or assume - to be true about the environment you're in. If, for example, you know that certain chess moves are illegal, you don't make them. If you know crashing in a car is bad, you won't try to drive in ways that cause crashes. This can be codified in many ways depending on the application you're working on - as a series of logical statements that the AI must follow, as heuristic rules that the AI obeys, as an incentive that internally rewards certain behavior, and so on.

In short: put information together to be able to know what decisions you definitely won't be making, and your job becomes a whole lot easier - maybe even possible!

Fundamentals: Machine Learning
In the modern day, the subfield of machine learning is almost indistinguishable from the idea of artificial intelligence in general. While that's not quite strictly true, a cursory view of the entire field will quickly show you why. Essentially, machine learning is concerned with being able to have a computer that, with more practice, gets better at whatever task it is undertaking - learning, if you will. This can lead to emergent behavior within the AI, behavior which is not explicitly programmed into the computer but which, after sufficient practice, has learned that behavior as the best known way to solve a task. This basic concept mimics a lot of the learning power that humans themselves have, so it shouldn't be a surprise that it's an important area of research. Only, instead of the biological means that humans use, AI learn with the help of mathematics - probability, in particular.

The field of machine learning is in many ways just a fancy form of doing statistics. The tools are the same - probability theory, data collection, and data analysis - only applied to the similar, but not identical, problem of determining desired behavior (as opposed to the statistical problem of making sense of data). It draws a lot of inspiration from the concept of Bayesian statistics - which I have previously described in this post. Although that post discusses the idea in the context of elections rather than AI - the fundamental concept is the same; make assumptions, get data, improve your working assumptions based on the results you get.

In a nutshell, machine learning is a way to deal with uncertainty, whatever form that uncertainty may take. It may be uncertainty in your knowledge about the world, or in your ability to perceive it, or in the chance of truly random events and their chance of occurring. In any case, you won't be able to attain perfection - but if your learning is done effectively, then you will be able to replicate some of that intuitive "knack" for events that humans develop over a lifetime of their own learning.

Applications
There are a wide range of applications in which some forms of AI are used; it would be nigh impossible to cover them all. I will be focusing on just three of them.

The first we're going to talk about is the field of social media - your Facebook, Twitter, and to some extent even your Google and your news feed. This one, broadly speaking, deals with people and with what they do, informed by what you can mine out of what they post online and what they view online. Conceptually, it would seem almost boring, if not for the fact that this is the subfield of AI that really brings home the bacon. When you can get a good handle on people and their habits, what is that useful for? Advertising, of course! It should be no surprise that the major players in the field of AI are almost exclusively companies that make their fortune primarily off of internet advertising, since that's where the major profit of that kind of work comes in.

The big blue-sky AI idea of the future that gets the most focus these days is, of course, self-driving cars. In principle, it's an idea that isn't too bad - stay on the road, follow well-defined rules of traffic, and you start to have a working self-driving car. And there are already prototypes of working ones that do test drives on the road. So what's the problem with this idea? The fact that the driving environment, while generally calm and straightforward, is occasionally extremely unpredictable and possibly fatal. Those insurance folk and government regulators are going to need a lot of convincing before they're willing to let those things on the road in sufficiently large numbers - and they're not wrong to be cautious about a technology that isn't even close to ready for dealing with rare, dangerous situations.

As a gaming forum, the application most interesting to us is of course... gaming. Although, it might be interesting to entertain one related question: why do so many serious research institutions dedicate so much real AI research labor to board games and video games? The answer is actually fairly simple: these represent a very simplified environment in which important aspects of AI research - computation, dealing with uncertainty, getting enough samples to learn, and so on - can be tested and developed. I have even seen some AI work in which a Minecraft model was used to help teach a bipedal robot how to stand up - without having to damage the physical equipment in every single iteration of a task that can be effectively faked within a video game. Chess helped to develop computational board gaming, Go (with the recent AI champion, AlphaGo) helped to develop some important machine learning methods for AI (specifically within the subfield of deep learning) - and within video games, the next frontier is our own bread-and-butter: Starcraft.

[image loading]


There's a lot to Starcraft that is interesting from a computational perspective: real-time decision-making, imperfect information, an almost infinite range of potential decisions at any given instance in time, and so on. Being able to crack Starcraft would be to be able to outdo many of the standard "intellectual" advantages that humans possess in the game. And so it should be no surprise that it is a prize sought by many.

The Starcraft: Brood War scene has one particularly useful tool that makes it a great game for AI development: BWAPI. In a nutshell, it's an interface into the Brood War engine that AI can use in order to be able to perceive the environment. The long-standing tradition of developing custom content has helped build a rather substantial AI community within the Brood War scene, and they almost without stop play matches against each other as a means by which to gauge each other's progress and find means by which to improve their strategies. Starcraft, by comparison to the already complex challenges of chess and Go, is a particularly tough nut to crack, for all the reasons listed above. But little by little, these Brood War AI are getting better... perhaps one day, they will even be able to compete with the big dogs and actually win games against highly skilled human players?

Conclusion
Relative to my rocket blogs, this post is a fairly short one. That's not for lack of possible content to cover; AI is a large field with much that would be of interest to a wide range of people. But it's a tough topic to cover in the proper amount of depth - in part due to the fact that I am but a novice in the field, but in part due to the fact that it very quickly descends into an unpleasant amount of highly technical minutiae. Nevertheless, I hope that I've provided you with an interesting read - to be able to learn more, to be able to understand what the whole fuss about the Starcraft AI is about, or even just some food for thought for the next time you philosophize with your friends about what the world will look like when the AI take over. There's an important, albeit small, subsect of our gaming community that is very involved in all this stuff - and they do some interesting work that I'm sure many of you could appreciate if you understand the gist of what it is all about.

*****
History will sooner or later sweep the European Union away without mercy.
ChristianS
Profile Blog Joined March 2011
United States3245 Posts
August 10 2017 02:17 GMT
#2
I don't have much to add, being far more of a novice than you, but I thought I'd mention that I've enjoyed all of your explanation blogs a lot, and that I've already bought a couple of the books you've recommended in them. Thanks!
"Never attribute to malice that which is adequately explained by stupidity." -Robert J. Hanlon
LegalLord
Profile Blog Joined April 2013
United States13779 Posts
Last Edited: 2017-08-16 16:51:30
August 16 2017 16:46 GMT
#3
A mild necro, but I just found something today that would be interesting to anyone who wanted a more concrete example of machine learning used in a common video game and I wanted to share.


And this one shows how tricky things can get with a more complicated environment:
History will sooner or later sweep the European Union away without mercy.
uniathena5
Profile Joined August 2024
1 Post
August 10 2024 07:40 GMT
#4
Is it worth learning Artificial Intelligence?

Definitely yes! In recent times AI is mostly used in all domain and that makes it one of the most sought-after skills. The biggest companies in the world are already progressively implementing AI because of its many advantages in reducing human error, increasing productivity, and streamlining procedures at a lower cost.

There's no doubt that AI will be one of the most marketable and in-demand skills in the years to come, so your decision to pursue a career in AI is ideal.

I was a working professional and wanted to pursue a career that was in demand and would have a lucrative career. So I found out that Artificial Intelligence is the field that will rule over the industry. And I decided to pursue a Diploma in Artificial Intelligence from UniAthena.

The Diploma course in Artificial Intelligence gave me all the necessary skills and techniques to grow in the rapidly evolving field. The free course was flexible and self-paced which gave me the freedom to learn at my convenience and have a proper work-life balance.

If you are also a busy professional like me and want to upgrade your career in a short time pursuing this online AI short course from UniAthena is the right choice.

Sign up right away and open doors to lucrative opportunities.
Please log in or register to reply.
Live Events Refresh
CranKy Ducklings
10:00
Sea Duckling Open #140
CranKy Ducklings100
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 157
ProTech134
StarCraft: Brood War
Sea 7520
Horang2 3621
GuemChi 3257
Jaedong 732
actioN 400
Larva 387
Soma 312
Stork 243
Mini 239
BeSt 211
[ Show more ]
EffOrt 144
Killer 135
Backho 111
ToSsGirL 91
Hyun 87
Rush 69
Mind 48
PianO 35
NaDa 30
Sharp 29
Icarus 19
HiyA 15
sorry 12
soO 12
Bale 11
Sacsri 8
Terrorterran 1
Dota 2
Gorgc4086
singsing1567
XcaliburYe267
Counter-Strike
fl0m2419
zeus556
edward31
Heroes of the Storm
Khaldor129
Other Games
B2W.Neo527
Sick264
XaKoH 119
Fuzer 68
nookyyy 24
MindelVK16
Organizations
Counter-Strike
PGL130
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
StarCraft 2
WardiTV0
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH166
• StrangeGG 66
• LUISG 31
• Dystopia_ 3
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2776
• Stunt940
Upcoming Events
IPSL
6h 13m
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
6h 13m
Lambo vs Clem
Scarlett vs TriGGeR
ByuN vs TBD
Zoun vs TBD
BSL 21
8h 13m
Gosudark vs Kyrie
Gypsy vs OyAji
UltrA vs Radley
Dandy vs Ptak
Replay Cast
11h 13m
Sparkling Tuna Cup
22h 13m
WardiTV Korean Royale
1d
LAN Event
1d 3h
IPSL
1d 6h
JDConan vs WIZARD
WolFix vs Cross
BSL 21
1d 8h
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
1d 21h
[ Show More ]
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
3 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
4 days
The PondCast
4 days
RSL Revival
4 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
5 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
CranKy Ducklings
6 days
RSL Revival
6 days
herO vs Gerald
ByuN vs SHIN
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
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...

Disclosure: This page contains affiliate marketing links that support TLnet.

Advertising | Privacy Policy | Terms Of Use | Contact Us

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