How does Akinator actually do the thing?


How does Akinator actually do the thing?

In: Technology

By having a very large database with things/people/animals and their properties.

Then it just ask about random properties and if you say that your answer has that property, it eliminates all the answers that don’t have them. Repeat it a few times and you’re left with a final answer.

So, Akinator has a database of questions it can ask, which is connects with its list of possible figures. Over time, it learns to associate certain questions with certain figures. On the desktop version, you can (Or at least used to be able to, I’m not sure now) see what answers it expected you to give once it has guessed your character. It also used to ask for your age to help narrow down potential suspects. Though I’m not sure if the mobile any newer versions still have some of those features.

It’s just process of elimination. You’ll notice that it quite often asked the same/simular question multiple times in different ways i.e ‘Is your character a female?’, ‘Is your character feminine?’, ‘Is your character a woman?’.

It’s just incrementally eliminating possibilities from all of it’s lists of traits based on the context of previous answers until there are only a hand full left, and it will pick one.

You’ll also notice that if it’s wrong and you continue, it almost always gets the next one right, because that small pool is then further eliminated from.

And that list of traits to characters grows every time someone beats him and inputs their character. Obviously you can still beat him, but you have to get pretty obscure these days.

It’s….game of 20 questions. A very well understood game of divisive choice making. It would be pretty easy to compile a list of popular fictional characters and attach attributed to those characters that can be categorized and queried on. You’re talking a dataset that’s probably only in the millions.

Thing is…your dataset doesn’t need to be complete at day 1. It just needs to be reasonably substantial to make the guesses have a good shot at being correct. There’s no real penalty for being wrong.

It simply matches your answers against its massive database of characters. If you think about it, a game of 20 questions with only two answers, yes and no, will yield 2^20 possibilities, will yield over a million combinations of yeses and nos.