Suspicion-Agent: Theory of Mind Aware GPT-4 for Imperfect Information Games
Suspicion-Agent is an innovative implementation of the research paper Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-4. This project leverages the advanced capabilities of GPT-4 to create an AI agent that excels in games with imperfect information by incorporating a theory of mind framework. This allows the agent to predict and simulate opponents' mental states, enhancing strategic decision-making.
Key Features
- Theory of Mind Integration: Utilizes GPT-4 to model opponents' beliefs, intentions, and strategies, enabling sophisticated gameplay in environments with hidden information.
- Counterfactual Reasoning: Implements counterfactual analysis to evaluate alternative scenarios and improve decision-making under uncertainty.
- Versatile Game Support: Designed for various imperfect information games, with configurable settings to adapt to different rules and scenarios.
- Training and Evaluation: Provides scripts to train and evaluate agents against baseline models like CFR, NFSP, DQN, and DMC.
- Interactive Demos: Includes online demos for project interaction and game data visualization to explore agent performance.
Use Cases
- AI Research: Ideal for researchers studying AI in strategic environments, particularly in game theory and decision-making under uncertainty.
- Game Development: Useful for developers creating AI opponents for games requiring complex strategy and bluffing, such as poker.
- Educational Tool: Serves as a learning resource for students and educators exploring AI, machine learning, and cognitive modeling.
Technical Setup
- Requires Python 3.8.5 or higher and dependencies listed in
requirements.txt. - Needs an OpenAI API key for GPT-4 access.
- Run training and evaluation with
main_vs_baseline.pyscript, supporting user interaction and verbose output for debugging.
Suspicion-Agent stands out by combining advanced AI with psychological modeling, offering a unique approach to tackling challenges in imperfect information scenarios.

