Google Deepmind AI tries it hand at creating Hearthstone and Magic: The Gathering cards

http://www.techrepublic.com/article/google-deepmind-ai-tries-it-hand-at-creating-hearthstone-magic-the-gathering-cards/

Google Deepmind tasks a machine learning system with recreating cards from Hearthstone[炉石传说] and [Magic: The Gathering万智牌], as part of research into language generation.

 

Google Deepmind researchers are teaching an AI how to understand language by getting it to recreate cards from Hearthstone.

 

Tens of million of people worldwide play Hearthstone, an online collectible可收集的 card game set in the Warcraft universe世界,

which also encompasses包含 the massively大量的 popular MMO[Massive-Multiplayer On-Line大型多人网友] World of Warcraft and a major movie.

 

Now Google Deepmind, fresh from creating an AI that triumphed获胜 at a game it was thought no computer could master,

has been using Hearthstone to test ways a machine learning system could generate

natural language- such as English - and formal正式的,有条理的 language - such as computer code.

 

Researchers tasked a system with writing the code that sets the behaviour of cards used in Hearthstone and in another famous collectible card game, Magic: The Gathering (MTG万智牌).

 

The Deepmind system — which implemented a novel neural神经的 network architecture —

was first trained using code from open-source versions of Hearthstone, programmed in Python,and Magic: The Gathering, programmed in Java.

The system ingested data from code that underpins more than 10,000 MTG cards and more than 500 Hearthstone cards.

 

Once trained, researchers tested the ability of the system to generate code needed to represent Hearthstone and MTG cards in each game.

 

Each card in Hearthstone and MTG has a written description that sums up概述 the various attacks and power-ups that playing the card will grant.

The Deepmind system was given descriptions from cards it wasn't fed in training and asked to write the code needed to play those cards in each video game.

 

The system has room for improvement. When the code it generated was compared to that used in the actual games, only a small percentage of cards were generated correctly.

Where it did create the correct code for the card, the cards were generally similar to those it had been trained on.

 

For example, as seen below, the system correctly generated code for Hearthstone's Madder Bomber card - recreating both its attack and damage rating.

However, researchers write that this is likely due to it being trained on the Mad Bomber card, which has the same attack but does less damage.

 

In contrast, the system failed to code the right effect for Hearthstone's Preparation card, though it did generate the right properties.

 

When Deepmind's generated code was compared to the actual code used to generate cards, using the machine translation evaluation评估 algorithm Bleu, it scored 61.4 percent in MTG and 65.6 percent in Hearthstone.

 

Researchers will now focus on ways to generate code that can more accurately reproduce the cards, in particular effects relating to attacks, power-ups and the like.

 

While the work is focused on automatically generating Python and Java code from an English language description,

the researchers suggest the broad approach taken to training could help in designing systems that answer natural language questions from humans.

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(324)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示