/llm-theory-of-mind

Testing Theory of Mind (ToM) in language models with epistemic logic

Primary LanguagePythonApache License 2.0Apache-2.0

MindGames

Code associated to the MindGames article We generate epistemic reasoning problems (akin to muddy children or drinking logicians) using modal logic to target theory of mind (tom) in natural language processing models.

🤗 https://hf.co/datasets/sileod/mindgames

To appear at EMNLP 2023 Findings !

@article{sileo2023mindgames,
  title={MindGames: Targeting Theory of Mind in Large Language Models with Dynamic Epistemic Modal Logic},
  author={Sileo, Damien and Lernould, Antoine},
  journal={arXiv preprint arXiv:2305.03353},
  year={2023}
}

Contact (interested in logic+NLP colabs) damien.sileo@inria.fr