{"id":168687,"date":"2021-06-10T00:14:04","date_gmt":"2021-06-09T19:14:04","guid":{"rendered":"https:\/\/techcrunch.com\/?p=2163929"},"modified":"2021-06-10T00:14:04","modified_gmt":"2021-06-09T19:14:04","slug":"decades-old-ascii-adventure-nethack-may-hint-at-the-future-of-ai","status":"publish","type":"post","link":"https:\/\/www.technologyforyou.org\/decades-old-ascii-adventure-nethack-may-hint-at-the-future-of-ai\/","title":{"rendered":"Decades-old ASCII adventure NetHack may hint at the future of AI"},"content":{"rendered":"<p id=\"speakable-summary\">Machine learning models have already mastered Chess, <a href=\"https:\/\/techcrunch.com\/2017\/05\/24\/alphago-beats-planets-best-human-go-player-ke-jie\/\">Go<\/a>, <a href=\"https:\/\/techcrunch.com\/2020\/04\/01\/deepminds-agent57-ai-agent-can-best-human-players-across-a-suite-of-57-atari-games\/\">Atari games<\/a>&nbsp;and more, but in order for it to ascend to the next level, researchers at Facebook intend for AI to <a href=\"https:\/\/ai.facebook.com\/blog\/launching-the-nethack-challenge-at-neurips-2021\/\">take on a different kind of game<\/a>: the notoriously difficult and infinitely complex NetHack.<\/p>\n<p>\u201cWe wanted to construct what we think is <a href=\"https:\/\/nethackchallenge.com\/\">the most accessible \u2018grand challenge\u2019<\/a> with this game. It won\u2019t <em>solve<\/em> AI, but it will unlock pathways towards <em>better<\/em> AI,\u201d said Facebook AI Research\u2019s Edward Grefenstette. \u201cGames are a good domain to find our assumptions about what makes machines intelligent and break them.\u201d<\/p>\n<p>You may not be familiar with NetHack, but it\u2019s one of the most influential games of all time. You\u2019re an adventurer in a fantasy world, delving through the increasingly dangerous depths of a dungeon that\u2019s different every time. You must battle monsters, navigate traps and other hazards, and meanwhile stay on good terms with your god. It\u2019s the first \u201croguelike\u201d (after Rogue, its immediate and much simpler predecessor) and arguably still the best \u2014 almost certainly the hardest.<\/p>\n<p>(It\u2019s free, by the way, and you can <a href=\"http:\/\/nethack.org\/\">download and play it on nearly any platform.<\/a>)<\/p>\n<p>Its simple ASCII graphics, using a g for a goblin, an @ for the player, lines and dots for the level\u2019s architecture, and so on, belie its incredible complexity. Because Nethack, which made its debut in 1987, has been under active development ever since, with its shifting team of developers expanding its roster of objects and creatures, rules, and the countless, countless interactions between them all.<\/p>\n<p>And this is part of what makes NetHack such a difficult and interesting challenge for AI: It\u2019s so open-ended. Not only is the world different every time, but every object and creature can interact in new ways, most of them hand-coded over decades to cover every possible player choice.<\/p>\n<div id=\"attachment_2164028\" class=\"wp-caption aligncenter\" readability=\"32\"><a href=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg\"><img decoding=\"async\" aria-describedby=\"caption-attachment-2164028\" loading=\"lazy\" class=\"size-full wp-image-2164028\" src=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg\" alt width=\"1024\" height=\"272\" srcset=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg 1264w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg?resize=150,40 150w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg?resize=300,80 300w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg?resize=768,204 768w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg?resize=680,181 680w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/NetHack_level2.jpg?resize=50,13 50w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a><\/p>\n<p id=\"caption-attachment-2164028\" class=\"wp-caption-text\">NetHack with a tile-based graphics update \u2013 all the information is still available via text.<\/p>\n<\/div>\n<p>\u201cAtari, Dota 2, StarCraft 2\u2026 the solutions we\u2019ve had to make progress there are very interesting. NetHack just presents different challenges. You have to rely on human knowledge to play the game as a human,\u201d said Grefenstette.<\/p>\n<p>In these other games, there\u2019s a more or less obvious strategy to winning. Of course it\u2019s more complex in a game like Dota 2 than in an Atari 800 game, but the idea is the same \u2014 there are pieces the player controls, a game board of environment, and win conditions to pursue. That\u2019s kind of the case in NetHack, but it\u2019s weirder than that. For one thing, the game is different every time, and not just in the details.<\/p>\n<p>\u201cNew dungeon, new world, new monsters and items, you don\u2019t have a save point. If you make a mistake and die you don\u2019t get a second shot. It\u2019s a bit like real life,\u201d said Grefenstette. \u201cYou have to learn from mistakes and come to new situations armed with that knowledge.\u201d<\/p>\n<p>Drinking a corrosive potion is a bad idea, of course, but what about throwing it at a monster? Coating your weapon with it? Pouring it on the lock of a treasure chest? Diluting it with water? We have intuitive ideas about these actions, but a game-playing AI doesn\u2019t think the way we do.<\/p>\n<p>The depth and complexity of the systems in NetHack are difficult to explain, but that diversity and difficulty make the game a perfect candidate for a competition, according to Grefenstette. \u201cYou have to rely on human knowledge to play the game,\u201d he said.<\/p>\n<p>People have been designing bots to play NetHack for many years that rely not on neural networks but decision trees as complex as the game itself. The team at Facebook Research hopes to engender a new approach by building a training environment that people can test machine learning-based game-playing algorithms on.<\/p>\n<div id=\"attachment_2164029\" class=\"wp-caption aligncenter\" readability=\"32\"><a href=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-2164029\" loading=\"lazy\" class=\"size-full wp-image-2164029\" src=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png\" alt width=\"1024\" height=\"336\" srcset=\"https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png 1129w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png?resize=150,49 150w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png?resize=300,99 300w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png?resize=768,252 768w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png?resize=680,223 680w, https:\/\/techcrunch.com\/wp-content\/uploads\/2021\/06\/nethack-logic.png?resize=50,16 50w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a><\/p>\n<p id=\"caption-attachment-2164029\" class=\"wp-caption-text\">NetHack screens with labels showing what the AI is aware of.<\/p>\n<\/div>\n<p>The <a href=\"https:\/\/github.com\/facebookresearch\/nle\">NetHack Learning Environment<\/a> was actually put together last year, but the NetHack Challenge is only just now getting started. The NLE is basically a version of the game embedded in a dedicated computing environment that lets an AI interact with it through text commands (directions, actions like attack or quaff)<\/p>\n<p>It\u2019s a tempting target for ambitious AI designers. While games like StarCraft 2 may enjoy a higher profile in some ways, NetHack is legendary and the idea of building a model on completely different lines from those used to dominate other games is an interesting challenge.<\/p>\n<p>It\u2019s also, as Grefenstette explained, a more accessible one than many in the past. If you wanted to build an AI for StarCraft 2, you needed a lot of computing power available to run visual recognition engines on the imagery from the game. But in this case the entire game is transmitted via text, making it extremely efficient to work with. It can be played thousands of times faster than any human could with even the most basic computing setup. That leaves the challenge wide open to individuals and groups who don\u2019t have access to the kind of high-power setups necessary to power other machine learning methods.<\/p>\n<p>\u201cWe wanted to create a research environment that had a lot of challenges for the AI community, but not restrict it to only large academic labs,\u201d he said.<\/p>\n<p>For the next few months, NLE will be available for people to test on, and competitors can basically build their bot or AI by whatever means they choose. But when the competition itself starts in earnest on October 15, they\u2019ll be limited to interacting with the game in its controlled environment through standard commands \u2014 no special access, no inspecting RAM, etc.<\/p>\n<p>The goal of the competition will be to complete the game, and the Facebook team will track how many times the agent \u201cascends,\u201d as it\u2019s called in NetHack, in a set amount of time. But \u201cwe\u2019re assuming this is going to be zero for everyone,\u201d Grefenstette admitted. After all, this is one of the hardest games ever made, and even humans who have played it for years have trouble winning even once in a lifetime, let alone several times in a row. There will be other scoring metrics to judge winners in a number of categories.<\/p>\n<p>The hope is that this challenge provides the seed of a new approach to AI, one that more fundamentally resembles actual human thinking. Shortcuts, trial and error, score-hacking, and zerging won\u2019t work here \u2014 the agent needs to learn systems of logic and apply them flexibly and intelligently, or die horribly at the hands of an enraged centaur or owlbear.<\/p>\n<p>You can check out the rules and other <a href=\"https:\/\/nethackchallenge.com\/\">specifics of the NetHack Challenge here<\/a>. Results will be announced at the NeurIPS conference later this year.<\/p>\n<p> <a href=\"http:\/\/feedproxy.google.com\/~r\/Techcrunch\/~3\/B1M9IadppkA\/\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machine learning models have already mastered Chess, Go, Atari games&nbsp;and more, but in order for it to ascend to the next level, researchers at Facebook intend for AI to take on a different kind of game: the notoriously difficult and infinitely complex NetHack. \u201cWe wanted to construct what we think is the most accessible \u2018grand [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27765,27766,14083],"tags":[37,32241,277,32242,32243,1687,76,32202,14563],"class_list":{"0":"post-168687","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-artificial-intelligence-news","7":"category-machine-learning-news","8":"category-technology-industry-news","9":"tag-artificial-intelligence","10":"tag-ascii","11":"tag-facebook","12":"tag-facebook-ai-research","13":"tag-facebook-research","14":"tag-gaming","15":"tag-machine-learning","16":"tag-nethack","17":"tag-science"},"_links":{"self":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts\/168687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/comments?post=168687"}],"version-history":[{"count":0,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts\/168687\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/media?parent=168687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/categories?post=168687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/tags?post=168687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}