NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

All It Takes is 20 Questions!: A Knowledge Graph Based Approach

Alvin Dey, Harsh Kumar Jain, Vikash Kumar Pandey, Tanmoy ChakrabortyarXiv 2019

Introduction

The classic game of 20 Questions is a powerful demonstration of information theory. In an ideal scenario, 20 binary questions can isolate one choice from over a million possibilities ($2^{20}$). However, real-world applications of this logic often fail because human participants are fallible. Users may misremember a director's name or a movie's release year. Traditional AI systems typically employ "hard pruning," where a single "No" response permanently eliminates a large swath of the search space. If that "No" was a mistake, the system cannot recover.

Researchers from IIIT-Delhi have addressed this by developing a fault-tolerant version of the game. Their approach moves away from rigid binary search toward a probabilistic model that re-weights possibilities based on user signals, allowing the system to maintain a high accuracy of 90.8% even in the presence of incorrect user input.

System Architecture and Methods

The core of the proposed system is a Weighted Knowledge Graph (KG) that represents the domain of Bollywood movies as a network of interconnected entities, such as actors, genres, and directors.

The proposed system architecture, featuring a Knowledge Graph, Question Generator, and Distribution Modifier for fault tolerance.

The architecture consists of several key modules:

  • Knowledge Graph & Likelihood Estimator: The domain is modeled using data from DBpedia, covering over 18,000 Indian movies. The Likelihood Estimator assigns initial scores to entities based on static metadata and dynamic popularity trends.
  • Two-Layer Question Generation: To narrow the search space efficiently, questions are categorized into "Primary" (broad attributes like era or genre) and "Secondary" (specific attributes like a particular director or actor).
  • Distribution Modifier: This component provides the system's "fault tolerance." Instead of deleting nodes (hard pruning), it uses a mathematical formula to adjust the probability distribution across the graph. Because no probability is ever set to zero, a movie that was incorrectly "down-voted" by a user error can still emerge as the top candidate if subsequent answers support it.
  • Evolutionary Learning: The model is not static; it updates edge weights after each game to reflect changing user preferences and movie popularity.

Experimental Evaluation

The researchers evaluated their model using a dataset of 18,481 movies with 113 metadata tags. A user study was conducted with 50 participants playing 250 games, focusing on a subset of popular movies to ensure participant familiarity. The proposed model demonstrated significant improvements over traditional baselines in both accuracy and efficiency.

Comparative performance of the proposed model against two baselines across different ranks.

Key performance metrics include:

  • High Accuracy: The model correctly identified the target movie in 90.8% of games.
  • Efficiency: In half of the games, the system reached the correct answer in fewer than 10 questions.
  • Superior Ranking: As shown in the performance table, the proposed model's cumulative probability for the "Top 1" guess (0.564) is more than five times higher than the best baseline (0.104).
  • Robustness: The system successfully handled "maybe" responses and factual errors from users, scenarios where baseline models typically failed.

Conclusion and Future Directions

By treating user responses as probabilistic signals rather than absolute truths, this Knowledge Graph-based approach creates a more resilient conversational AI. While currently applied to the entertainment domain, the authors suggest this framework has significant potential in fields like healthcare. A similar "20 Questions" diagnostic tool could help identify diseases by accounting for a patient's uncertainty regarding their own symptoms. Future work will explore replacing template-based questions with Sequence-to-Sequence (Seq2Seq) models to enable more natural, human-like dialogue.

Summary updated

BibTeX
@misc{dey2019all,
  author = {Alvin Dey and Harsh Kumar Jain and Vikash Kumar Pandey and Tanmoy Chakraborty},
  title = {{All It Takes is 20 Questions!: A Knowledge Graph Based Approach}},
  year = {2019},
  eprint = {1911.05161},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.05161},
}
Figure