Английская Википедия:General game playing

Материал из Онлайн справочника
Версия от 00:25, 12 марта 2024; EducationBot (обсуждение | вклад) (Новая страница: «{{Английская Википедия/Панель перехода}} {{short description|Learning to play multiple games successfully}} {{Artificial_intelligence|Major goals}} {{split|General video game playing|date=June 2023|discuss=Talk:General game playing#Revert merge and split out General video game playing}} '''General game playing''' ('''GGP''') is the design of artificial intelligence programs to be able to play more than one game successful...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Artificial intelligence Шаблон:Split General game playing (GGP) is the design of artificial intelligence programs to be able to play more than one game successfully.[1][2][3] For many games like chess, computers are programmed to play these games using a specially designed algorithm, which cannot be transferred to another context. For instance, a chess-playing computer program cannot play checkers. General game playing is considered as a necessary milestone on the way to artificial general intelligence.[4]

General video game playing (GVGP) is the concept of GGP adjusted to the purpose of playing video games. For video games, game rules have to be either learnt over multiple iterations by artificial players like TD-Gammon,[5] or are predefined manually in a domain-specific language and sent in advance to artificial players[6][7] like in traditional GGP. Starting in 2013, significant progress was made following the deep reinforcement learning approach, including the development of programs that can learn to play Atari 2600 games[8][5][9][10][11] as well as a program that can learn to play Nintendo Entertainment System games.[12][13][14]

The first commercial usage of general game playing technology was Zillions of Games in 1998. General game playing was also proposed for trading agents in supply chain management thereunder price negotiation in online auctions from 2003 on.[15][16][17][18]

History

Шаблон:Update section In 1992, Barney Pell defined the concept of Meta-Game Playing, and developed the "MetaGame" system. This was the first program to automatically generate game rules of chess-like games, and one of the earliest programs to use automated game generation. Pell then developed the system Metagamer.[19] This system was able to play a number of chess-like games, given game rules definition in a special language called Game Description Language (GDL), without any human interaction once the games were generated.[20]

In 1998, the commercial system Zillions of Games was developed by Jeff Mallett and Mark Lefler. The system used a LISP-like language to define the game rules. Zillions of Games derived the evaluation function automatically from the game rules based on piece mobility, board structure and game goals. It also employed usual algorithms as found in computer chess systems: alpha–beta pruning with move ordering, transposition tables, etc.[21] The package was extended in 2007 by the addition of the Axiom plug-in, an alternate metagame engine that incorporates a complete Forth-based programming language.

In 1998, z-Tree was developed by Urs Fischbacher.[22] z-Tree is the first and the most cited software tool for experimental economics. z-Tree allows the definition of game rules in z-Tree-language for game-theoretic experiments with human subjects. It also allows definition of computer players, which participate in a play with human subjects.[23]

In 2005, the Stanford Project General Game Playing was established.[3]

In 2012, the development of PyVGDL started.[24]

GGP implementations

Stanford project

General Game Playing is a project of the Stanford Logic Group of Stanford University, California, which aims to create a platform for general game playing. It is the most well-known effort at standardizing GGP AI, and generally seen as the standard for GGP systems. The games are defined by sets of rules represented in the Game Description Language. In order to play the games, players interact with a game hosting server[25][26] that monitors moves for legality and keeps players informed of state changes.

Since 2005, there have been annual General Game Playing competitions at the AAAI Conference. The competition judges competitor AI's abilities to play a variety of different games, by recording their performance on each individual game. In the first stage of the competition, entrants are judged on their ability to perform legal moves, gain the upper hand, and complete games faster. In the following runoff round, the AIs face off against each other in increasingly complex games. The AI that wins the most games at this stage wins the competition, and until 2013 its creator used to win a $10,000 prize.[19] So far, the following programs were victorious:[27]

Year Name Developer Institution Ref
2005 Cluneplayer Jim Clune UCLA
2006 Fluxplayer Stephan Schiffel and Michael Thielscher Dresden University of Technology [28]
2007 Cadiaplayer Yngvi Björnsson and Hilmar Finnsson Reykjavik University [29]
2008 Cadiaplayer Yngvi Björnsson, Hilmar Finnsson and Gylfi Þór Guðmundsson Reykjavik University
2009 Ary Jean Méhat Paris 8 University
2010 Ary Jean Méhat Paris 8 University
2011 TurboTurtle Sam Schreiber
2012 Cadiaplayer Hilmar Finnsson and Yngvi Björnsson Reykjavik University
2013 TurboTurtle Sam Schreiber
2014 Sancho Steve Draper and Andrew Rose [30]
2015 Galvanise Richard Emslie
2016 WoodStock Eric Piette Artois University

Other approaches

There are other general game playing systems, which use their own languages for defining the game rules. Other general game playing software include:

System Year Description
FRAMASI 2009 Developed for general game playing and economic experiments during a PhD thesis.[31][32]
AiAi 2015-2017 Developed by Stephen Tavener (previous Zillions developer).[33][34][35]
PolyGamo Player 2017 Released by David M. Bennett in September 2017 based on the Unity game engine.[36]
Regular Boardgames 2019 Developed by Jakub Kowalski, Marek Szykuła, and their team at University of Wrocław.[37][38]
Ludii 2020 Released by Cameron Browne and his team at Maastricht University as part of the ERC-funded Digital Ludeme Project.[39][40][41]

GVGP implementations

Reinforcement learning

GVGP could potentially be used to create real video game AI automatically, as well as "to test game environments, including those created automatically using procedural content generation and to find potential loopholes in the gameplay that a human player could exploit".[7] GVGP has also been used to generate game rules, and estimate a game's quality based on Relative Algorithm Performance Profiles (RAPP), which compare the skill differentiation that a game allows between good AI and bad AI.[42]

Video Game Description Language

The General Video Game AI Competition (GVGAI) has been running since 2014. In this competition, two-dimensional video games similar to (and sometimes based on) 1980s-era arcade and console games are used instead of the board games used in the GGP competition. It has offered a way for researchers and practitioners to test and compare their best general video game playing algorithms. The competition has an associated software framework including a large number of games written in the Video Game Description Language (VGDL), which should not be confused with GDL and is a coding language using simple semantics and commands that can easily be parsed. One example for VGDL is PyVGDL developed in 2013.[6][24] The games used in GVGP are, for now, often 2-dimensional arcade games, as they are the simplest and easiest to quantify.[43] To simplify the process of creating an AI that can interpret video games, games for this purpose are written in VGDL manually.Шаблон:Clarify VGDL can be used to describe a game specifically for procedural generation of levels, using Answer Set Programming (ASP) and an Evolutionary Algorithm (EA). GVGP can then be used to test the validity of procedural levels, as well as the difficulty or quality of levels based on how an agent performed.[44]

Algorithms

Since GGP AI must be designed to play multiple games, its design cannot rely on algorithms created specifically for certain games. Instead, the AI must be designed using algorithms whose methods can be applied to a wide range of games. The AI must also be an ongoing process, that can adapt to its current state rather than the output of previous states. For this reason, open loop techniques are often most effective.[45]

A popular method for developing GGP AI is the Monte Carlo tree search (MCTS) algorithm.[46] Often used together with the UCT method (Upper Confidence Bound applied to Trees), variations of MCTS have been proposed to better play certain games, as well as to make it compatible with video game playing.[47][48][49] Another variation of tree-search algorithms used is the Directed Breadth-first Search (DBS),[50] in which a child node to the current state is created for each available action, and visits each child ordered by highest average reward, until either the game ends or runs out of time.[51] In each tree-search method, the AI simulates potential actions and ranks each based on the average highest reward of each path, in terms of points earned.[46][51]

Assumptions

In order to interact with games, algorithms must operate under the assumption that games all share common characteristics. In the book Half-Real: Video Games Between Real Worlds and Fictional Worlds, Jesper Juul gives the following definition of games: Games are based on rules, they have variable outcomes, different outcomes give different values, player effort influences outcomes, the player is attached to the outcomes, and the game has negotiable consequences.[52] Using these assumptions, game playing AI can be created by quantifying the player input, the game outcomes, and how the various rules apply, and using algorithms to compute the most favorable path.[43]

See also

References

Шаблон:Reflist

External links

  1. Шаблон:Cite journal
  2. Шаблон:Cite journal
  3. 3,0 3,1 Шаблон:Cite journal
  4. Шаблон:Cite book
  5. 5,0 5,1 Шаблон:Cite web
  6. 6,0 6,1 Шаблон:Cite book
  7. 7,0 7,1 Шаблон:Cite journal
  8. Шаблон:Cite journal
  9. Шаблон:Cite journal
  10. Шаблон:Cite web
  11. Шаблон:Cite web
  12. Шаблон:Cite web
  13. Шаблон:Cite web
  14. Шаблон:Cite web
  15. Шаблон:Cite journal
  16. Шаблон:Cite book
  17. Шаблон:Cite web
  18. Шаблон:Cite journal
  19. 19,0 19,1 Barney Pell's research on computer game playing Шаблон:Webarchive.
  20. Шаблон:Cite web
  21. Available: Universal Game Engine Шаблон:Webarchive email to comp.ai.games by Jeff Mallett, 10-Dec-1998.
  22. Шаблон:Cite web
  23. Шаблон:Cite journal
  24. 24,0 24,1 Шаблон:Cite web
  25. GGP Server Шаблон:Webarchive, platform for competition of general game playing systems.
  26. Dresden GGP Server Шаблон:Webarchive, platform for competition of general game playing systems with automatic scheduling of matches.
  27. Шаблон:Cite web
  28. Information about Fluxplayer Шаблон:Webarchive, the winner of the 2nd International General Game Playing competition.
  29. Information about CADIAPlayer Шаблон:Webarchive, more information about the winner of the 3rd, 4th, and 8th International General Game Playing competitions.
  30. Sancho is GGP Champion 2014! Шаблон:Webarchive, winner of the 2014 International General Game Playing competition.
  31. Шаблон:Cite book
  32. Шаблон:Cite book
  33. Шаблон:Cite web
  34. Шаблон:Cite web
  35. Шаблон:Cite news
  36. Шаблон:Cite web
  37. Шаблон:Cite journal
  38. Шаблон:Cite book
  39. Шаблон:Cite web
  40. Шаблон:Cite web
  41. Шаблон:Cite book
  42. Шаблон:Cite web
  43. 43,0 43,1 Шаблон:Cite web
  44. Шаблон:Cite web
  45. Шаблон:Cite journal
  46. 46,0 46,1 Шаблон:Cite web
  47. Шаблон:Cite journal
  48. Шаблон:Cite web
  49. M. Swiechowski; J. Mandziuk; Y. S. Ong, "Specialization of a UCT-based General Game Playing Program to Single-Player Games," in IEEE Transactions on Computational Intelligence and AI in Games, vol.PP, no.99, pp.1-1 Шаблон:Doi
  50. Шаблон:Cite web
  51. 51,0 51,1 Шаблон:Cite web
  52. Jesper Juul. Half-Real: Video Games Between Real Rules and Fictional Worlds. MIT Press, 2005.