Skip to main content
QUICK REVIEW

[Paper Review] Playing the Werewolf game with artificial intelligence for language understanding

Hisaichi Shibata, Soichiro Miki|arXiv (Cornell University)|Feb 21, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes Deep Wolf, an AI agent that plays the Werewolf game using natural language understanding to detect lies, deceive opponents, and win through strategic voting. Trained on human game logs via fine-tuned transformer models, the agent achieves competitive performance with average human players in villager and betrayer roles, demonstrating current language models' ability to reason with deception and contradiction in social deduction contexts.

ABSTRACT

The Werewolf game is a social deduction game based on free natural language communication, in which players try to deceive others in order to survive. An important feature of this game is that a large portion of the conversations are false information, and the behavior of artificial intelligence (AI) in such a situation has not been widely investigated. The purpose of this study is to develop an AI agent that can play Werewolf through natural language conversations. First, we collected game logs from 15 human players. Next, we fine-tuned a Transformer-based pretrained language model to construct a value network that can predict a posterior probability of winning a game at any given phase of the game and given a candidate for the next action. We then developed an AI agent that can interact with humans and choose the best voting target on the basis of its probability from the value network. Lastly, we evaluated the performance of the agent by having it actually play the game with human players. We found that our AI agent, Deep Wolf, could play Werewolf as competitively as average human players in a villager or a betrayer role, whereas Deep Wolf was inferior to human players in a werewolf or a seer role. These results suggest that current language models have the capability to suspect what others are saying, tell a lie, or detect lies in conversations.

Motivation & Objective

  • To develop an AI agent capable of playing the Werewolf game using natural language communication, a domain rich in deception and social reasoning.
  • To investigate whether pre-trained language models can learn to detect lies, tell lies, and reason about others' roles in a social deduction setting.
  • To build a value network that estimates the posterior probability of winning at any game state based on conversation history.
  • To evaluate the AI agent's performance in real games against human players, focusing on win rates across different roles.
  • To contribute a new benchmark for AI in natural language understanding involving deception and contradiction detection.

Proposed method

  • Collected 48 game logs from 15 human players in a five-player text-based Werewolf game, with 32 selected for training due to memory constraints.
  • Translated the Japanese game logs into English to enable training with English-language language models.
  • Fine-tuned a transformer-based pretrained language model to create a value network that predicts the posterior probability of winning given a game state and candidate action.
  • Designed an AI agent, Deep Wolf, that selects the next voting target based on the highest predicted win probability from the value network.
  • Evaluated the agent by having it play actual games with human players, measuring win rates across different roles (villager, betrayer, werewolf, seer).
  • Used the value network's output as a decision-making heuristic to guide voting behavior, simulating strategic reasoning under uncertainty.

Experimental results

Research questions

  • RQ1Can a language model fine-tuned on human Werewolf game logs learn to estimate its own winning probability in real time during gameplay?
  • RQ2To what extent can an AI agent use natural language understanding to detect lies, fabricate plausible falsehoods, and manipulate group dynamics in a social deduction game?
  • RQ3How does the performance of an AI agent trained on natural language logs compare to average human players in different roles (e.g., villager, werewolf, seer)?
  • RQ4Can a value network trained on game logs effectively guide strategic decisions such as voting targets in a dynamic, deceptive conversation environment?
  • RQ5What is the win rate of an AI agent in real human-AI Werewolf games, and how does it vary by role?

Key findings

  • Deep Wolf achieved a win rate comparable to average human players when playing in the villager or betrayer role, indicating strong performance in deception and social reasoning.
  • The agent performed worse than human players when playing as a werewolf or seer, suggesting limitations in role-specific strategic depth or role-identity management.
  • The value network successfully predicted winning probabilities at various game phases, enabling the agent to make informed voting decisions based on conversation context.
  • The agent demonstrated the ability to detect inconsistencies in others' statements and use them to influence voting outcomes, indicating effective lie detection.
  • In a sample game where Deep Wolf played as a werewolf, it successfully manipulated the group by feigning innocence and directing suspicion toward others, leading to its victory.
  • The study provides the first empirical evaluation of an AI agent that uses natural language understanding to play Werewolf, with measurable win rates across roles.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.