• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:23
CEST 07:23
KST 14:23
  • 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
[ASL19] Finals Recap: Standing Tall6HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL40Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports?
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
[ASL19] Finals Recap: Standing Tall Flash Announces Hiatus From ASL Help: rep cant save BGH Auto Balance -> http://bghmmr.eu/ Where did Hovz go?
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Trading/Investing Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread The Games Industry And ATVI Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 496 users

Artificial Intelligence

Blogs > LegalLord
Post a Reply
LegalLord
Profile Blog Joined April 2013
United Kingdom13775 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 States3187 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 Kingdom13775 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
Next event in 4h 37m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 231
StarCraft: Brood War
PianO 302
Snow 118
JulyZerg 78
Aegong 67
Nal_rA 48
Rock 35
ajuk12(nOOB) 14
Noble 13
Bale 11
Icarus 7
Dota 2
NeuroSwarm123
League of Legends
JimRising 763
Counter-Strike
Stewie2K785
Super Smash Bros
Mew2King234
amsayoshi47
Heroes of the Storm
Khaldor100
Other Games
summit1g9128
shahzam843
WinterStarcraft368
hungrybox357
RuFF_SC266
Organizations
Other Games
gamesdonequick1007
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Berry_CruncH294
• practicex 54
• OhrlRock 3
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1280
• Lourlo883
• Stunt388
Upcoming Events
The PondCast
4h 37m
RSL Revival
4h 37m
ByuN vs Classic
Clem vs Cham
WardiTV European League
10h 37m
Replay Cast
18h 37m
RSL Revival
1d 4h
herO vs SHIN
Reynor vs Cure
WardiTV European League
1d 10h
FEL
1d 10h
Korean StarCraft League
1d 21h
CranKy Ducklings
2 days
RSL Revival
2 days
[ Show More ]
FEL
2 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL: ProLeague
3 days
Dewalt vs Bonyth
Replay Cast
4 days
Replay Cast
5 days
The PondCast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.