Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What kind of algorithm is behind the Akinator game?

Tags:

It always amazed me how the Akinator app could guess a character by asking just several questions. So I wonder what kind of algorithm or method let it do that? Is there a name for that class of algorithms and where can I read more about them?

like image 943
Desmond Hume Avatar asked Nov 30 '12 16:11

Desmond Hume


People also ask

What is the logic behind Akinator?

Akinator's goal is to guess a real or fictional characters. To guess the character the player is thinking, Akinator asks a series of questions and the player can answer with 'Yes',' Don't know', 'No', 'Probably 'and 'Probably' not , then the program determines the best question.

What kind of AI is Akinator?

The genius Akinator uses artificial intelligence to guess the actor, singer, fictional character, celebrity, etc. you have in mind. During gameplay, Akinator attempts to determine real-life or fictional characters in the mind of the player by asking several questions in the game.

What are the algorithms of creation of a decision tree?

The decision tree splits the nodes on all available variables and then selects the split which results in most homogeneous sub-nodes. The ID3 algorithm builds decision trees using a top-down greedy search approach through the space of possible branches with no backtracking.

Is Akinator always correct?

An Akinator does not and cannot "guess" everything right. In the end, Akinator cannot ultimately “guess” right unless some human [or connected database that the Akinator can look-up from or deduce from] somewhere at some point has input the right answer to begin with.


2 Answers

Yes, there is a name for these class of algorithms - it is called classification algorithms in the field of machine learning. Decision trees is one example for classification algorithm.

In this classification problem, the features for the algorithm are the answers to the question.

Deciding which question should be asked next can be done in various ways - for example by trying to maximize the predicted (or mean) entropy from the next question.

like image 199
amit Avatar answered Sep 16 '22 18:09

amit


This game is sometimes known as 20 Questions. There are some questions on SO on it, e.g.:

  • How do 20 questions AI algorithms work?
  • Designing a twenty questions algorithm
  • the akinator is running with a database?
like image 33
ziggystar Avatar answered Sep 16 '22 18:09

ziggystar