• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:09
CEST 02:09
KST 09:09
  • 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
[ASL21] Ro16 Preview Pt1: Fresh Flow1[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy21ByuL: The Forgotten Master of ZvT30
Community News
$5,000 WardiTV TLMC tournament - Presented by Monster Energy5GSL CK: More events planned pending crowdfunding7Weekly Cups (May 30-Apr 5): herO, Clem, SHIN win0[BSL22] RO32 Group Stage5Weekly Cups (March 23-29): herO takes triple6
StarCraft 2
General
MaNa leaves Team Liquid Team Liquid Map Contest #22 - Presented by Monster Energy Quebec Clan still alive ? BGE Stara Zagora 2026 cancelled Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
$5,000 WardiTV TLMC tournament - Presented by Monster Energy Sparkling Tuna Cup - Weekly Open Tournament RSL Revival: Season 5 - Qualifiers and Main Event GSL CK: More events planned pending crowdfunding Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 521 Memorable Boss The PondCast: SC2 News & Results Mutation # 520 Moving Fees Mutation # 519 Inner Power
Brood War
General
JD's Ro24 review The Korean Terminology Thread so ive been playing broodwar for a week straight. [ASL21] Ro16 Preview Pt1: Fresh Flow ASL21 General Discussion
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 [ASL21] Ro24 Group F [BSL22] RO32 Group B - Sunday 21:00 CEST
Strategy
Any training maps people recommend? Fighting Spirit mining rates Muta micro map competition What's the deal with APM & what's its true value
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Battle Aces/David Kim RTS Megathread General RTS Discussion Thread Starcraft Tabletop Miniature Game
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread Russo-Ukrainian War Thread The China Politics Thread Trading/Investing Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
lurker extra damage testi…
StaticNine
How Streamers Inspire Gamers…
TrAiDoS
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2268 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 States3304 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
BSL
19:00
RO32 Group B
Sterling vs Azhi_Dahaki
Napoleon vs Mazur
Jimin vs Nesh
spx vs Strudel
ZZZero.O199
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 227
SpeCial 126
CosmosSc2 82
ROOTCatZ 33
StarCraft: Brood War
GuemChi 4537
Artosis 709
ZZZero.O 199
Dota 2
canceldota290
monkeys_forever184
NeuroSwarm45
League of Legends
JimRising 590
Super Smash Bros
Mew2King56
Heroes of the Storm
Khaldor129
Other Games
summit1g18179
gofns17913
tarik_tv9028
Liquid`RaSZi1202
C9.Mang0386
Maynarde90
ViBE60
febbydoto20
Organizations
Other Games
gamesdonequick720
Counter-Strike
PGL401
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• RyuSc2 31
• davetesta31
• musti20045 31
• HeavenSC 25
• mYiSmile16
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Other Games
• Scarra1616
• imaqtpie1286
Upcoming Events
Replay Cast
8h 51m
Wardi Open
9h 51m
Afreeca Starleague
9h 51m
Soma vs YSC
Sharp vs sSak
Monday Night Weeklies
15h 51m
OSC
23h 51m
Afreeca Starleague
1d 9h
Snow vs PianO
hero vs Rain
WardiTV Map Contest Tou…
1d 9h
GSL
1d 11h
Replay Cast
2 days
Kung Fu Cup
2 days
[ Show More ]
The PondCast
3 days
WardiTV Map Contest Tou…
3 days
Escore
4 days
WardiTV Map Contest Tou…
4 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
WardiTV Map Contest Tou…
5 days
IPSL
5 days
WolFix vs nOmaD
dxtr13 vs Razz
BSL
5 days
Sparkling Tuna Cup
6 days
WardiTV Map Contest Tou…
6 days
Ladder Legends
6 days
BSL
6 days
IPSL
6 days
JDConan vs TBD
Aegong vs rasowy
Replay Cast
6 days
Liquipedia Results

Completed

Escore Tournament S2: W2
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
StarCraft2 Community Team League 2026 Spring
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W3
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
RSL Revival: Season 5
WardiTV TLMC #16
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 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...

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 © 2026 TLnet. All Rights Reserved.