Skip to main content

Facebook's CherryPi suffered defeat in 'StarCraft,' but a win for its AI team

CherryPi
Image used with permission by copyright holder
Even the brilliant scientists at Facebook can’t seem to defeat the mighty ZZZKBot. The company participated in a recent StarCraft tournament that pits artificial intelligent “bots” against each other instead of humans. Facebook’s “CherryPi” AI bot walked away with a lower lip, having ranked a mere sixth place in the overall tournament with 2,049 wins out of 2,966 games.

The StarCraft AI competition took place during AIIDE (Artificial Intelligence and Interactive Digital Entertainment) 2017 at the Snowbird Ski Resort in Utah from October 5 to October 9. The annual conference focuses on artificial intelligence and interactive entertainment, pooling talents from the commercial and research communities. The highlighted topic covered artificial intelligence beyond its use in gaming.

Recommended Videos

The StarCraft AI competition specifically used the original StarCraft PC game and its expansion, Brood War. Its purpose was to evaluate the state of artificial intelligence, and how it handles real-time strategy games. This genre poses a challenge because the player must scan the field, manage resources, investigate unknown environments, and respond quickly to threats. Chess doesn’t offer that strategic depth.

Please enable Javascript to view this content

Although StarCraft: Brood War has an integrated artificial opponent, it has access to the game’s back end. It doesn’t view the screen as a human does — it’s not a detached entity that must think on its own. Thus, for an external “bot” to experience the game like a human, a special interface called BWAPI was created for bots to interact with the PC game.

“BWAPI only reveals the visible parts of the game state to AI modules by default,” the Github notes state. “Information on units that have gone back into the fog of war is denied to the AI. This enables programmers to write competitive non-cheating AIs that must plan and operate under partial information conditions.”

In Facebook’s defense, the ZZZKBot is a mean opponent. It just participated in the 2017 IEEE SIG StarCraft AI competition in August and came out winning 1,790 games out of 2,374. At the end of the local tournament in Utah, the ZZZKBot came out on top again with 2,465 wins out of 2,966 games. Written by Chris Coxe, it first made an appearance during the AIIDE 2015 conference.

But given that Facebook’s CherryPi bot managed sixth place out of 28 opponents in its first swing, the company did not exactly suffer total defeat. Facebook’s AI team behind CherryPi are composed of eight individuals who published a dataset last week drawing on early data collected from CherryPi’s gameplay. The data includes 496 million player actions and millions of captured frames.

All bots were ranked by their final winning percentage of one-on-one games. They could not cheat and could not take advantage of in-game glitches. Each session lasted up to 60 minutes with fog of war enabled, which covers unexplored areas of the field. Bots were penalized for slow computations.

Out of the 28 competing bots, 15 were created and submitted by independent developers. Even more, all five bots ranking higher than CherryPI were created by independent developers. The only other non-independent AI developer to reach the top 10 was Stanford University and its Arrakhammer bot.

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Trump reverses ‘critical’ AI safety order on first day in office
Trump stylized image

Amid a flurry of repeals and rollbacks to his predecessor's executive orders during his first day back in office, Donald Trump has announced that he's reversed an executive order from former-President Biden once deemed "critical" by Microsoft. The order sought to protect workers, consumers and national security interests from potential harms caused by emerging AI technologies.

The previous administration released the order in October 2023, dubbed the "Executive Order on the Safe, Secure, and Trustworthy Development and Use of Artificial Intelligence." The order concedes that generative AI systems offer both "promise and peril" to America and could potentially, "exacerbate societal harms such as fraud, discrimination, [and] bias." Links to the newly-cancelled executive orders now return 404 error pages on the White House website.

Read more
The 13-inch Apple MacBook Air M3 is down to $899 on Best Buy
The MacBook Air on a table in front of a window.

If you've been thinking about buying the latest version of the MacBook Air but it's been just beyond your budget, this might be the chance you've been waiting for. The 13-inch model of the Apple MacBook Air M3, which usually sells for $1,099, is available from Best Buy with a $200 discount that brings its price down to $899. We're not sure how much time is remaining before this offer expires, so if you want to take advantage of the savings, you're going to have to complete your purchase right away.

Why you should buy the 13-inch Apple MacBook Air M3
The Apple MacBook Air M3 is the most recent release in this popular line of laptops, and it's powered by the Apple M3 chip for supercharged performance. The eight-core CPU, eight-core GPU, and 16GB of RAM pushes the boundaries of the device -- in fact, the Apple MacBook Air M3's gaming performance is better than expected. It's not going to challenge the best gaming laptops, but the ability to play video games on what is more widely known as a productivity tool is a huge bonus.

Read more
This software stops spam calls, and it’s 55% off right now
Delete my data?

Since most people's personal information eventually ends up in the hands of data brokers, we highly recommend signing up for an Incogni subscription. Incogni is a data broker removal service that will protect your privacy, with annual plans that will cost $180 or $15 per month for an individual plan and $396 or $33 per month for a family and friends plan where you can invite up for four people.

However, if you sign up through the link below and input the coupon code DIGITALDEAL upon checkout, you'll enjoy a 55% discount, so you'll only have to pay $81, or about $7 per month, for an individual plan for total savings of $99, and $178, or about $15 per month, for a family and friends plan for total savings of $218. Sign up now if you're interested to secure the discount!

Read more