Please avoid testing OpenToM questions in OpenAI playground or places where the data might be used for LLM training.
OpenToM is a new benchmark for assessing LLMs' Neural Theory-of-Mind (N-ToM) with the following key features: (1) longer and clearer narrative stories (2) characters with explicit personality traits (3) actions that are triggered by character intentions (4) questions designed to challenge LLMs' capabilities of modeling characters' mental states of both the physical and psychological world.
The OpenToM benchmark contains 696 narratives, 596 of which are narratives of normal length (average word count: 194.3 words) and 100 of which are long narratives (average word count: 491.6 words). Each of the narrative is followed with 23 ToM questions, making a total of 16008 questions. The OpenToM benchmark pose first-order and second-order questions in the following genres:
All the OpenToM questions are designed to be a binary or ternary classification task. We recommend using macro-averaged F1 score to evaluate LLMs' performance as the labels are not uniformly distributed.
The OpenToM dataset is designed to benchmark the performance of LLMs. It shall not be used for training or fine-tuning. Therefore, please avoid testing OpenToM questions in OpenAI playground or places where the data might be used for LLM training.
opentom.json contains the QA data with 13,708 questions derived from 596 OpenToM stories of normal length
opentom_long.json contains the QA data with 2,300 questions derived from 100 OpenToM long stories
To access individual question types, nevigate to the opentom_data folder, in which there is a metadata.json / metadata_long.json file containing the metadata of OpenToM. The other JSON files store OpenToM questions of each genre asked for either first-order (fo) or second-order (so) ToM.
location_cg_fo: Coarse location questions asking about characters' belief of whether an entity is in its initial location (First-Order).location_cg_so: Coarse location questions asking about characters' belief of whether another character believes that an entity is in its initial location (Second-Order)location_fg_fo: Fine location questions asking about characters' belief of the precise location of an entity (First-Order).location_fg_so: Fine location questions asking about characters' belief of another character's belief of the precise location of an entity (Second-Order).multihop_fo: Multihop questions that requesting additional reasoning hops based on location questions (First-Order).multihop_so: Multihop questions that requesting additional reasoning hops based on location questions (Second-Order).attitude: Questions inquire about characters' attitude towards others' actions.Each metadata contains the following information:
plot: stores the OpenToM plot used to produce an OpenToM story.plot_info: stores the key information in OpenToM plot, which include the two protangonists, the entity-of-interest, and the two containers.preferences: stores the first-order and second-order preference belief of the characters.personality: stores the presonality trait of the mover.sentiment_statement: stores the mover's latent sentiment towards the entity-of-interest.true_sentiment: stores the mover's latent sentiment towards the entity-of-interest.intention: stores the mover's latent intention towards the entity-of-interest.new_location: the new location (fine-grained) of the entity.observed: documents whether the observer witnessed the mover's action.narrative: the OpenToM narrative.
Part of the contents of our story generation plots are derived from the ToMi dataset. We wish to thank them for generously making the ToMi dataset publicaly available.
The drafts of OpenToM stories are composed using LLMs. Although some of the stories went through human revision, we acknowledge that the texts generated by LLMs could contain biases and lack lexical diversity.
If you find our benchmark useful, please cite our work:
BibTeX:
@article{xu2024opentom,
title={OpenToM: A Comprehensive Benchmark for Evaluating Theory-of-Mind Reasoning Capabilities of Large Language Models},
author={Xu, Hainiu and Zhao, Runcong and Zhu, Lixing and Du, Jinhua and He, Yulan},
journal={arXiv preprint arXiv:2402.06044},
year={2024}
}
For any question or inquiry about the OpenToM benchmark, please email hainiu.xu@kcl.ac.uk
Please avoid testing OpenToM questions in OpenAI playground or places where the data might be used for LLM training.
OpenToM is a new benchmark for assessing LLMs' Neural Theory-of-Mind (N-ToM) with the following key features: (1) longer and clearer narrative stories (2) characters with explicit personality traits (3) actions that are triggered by character intentions (4) questions designed to challenge LLMs' capabilities of modeling characters' mental states of both the physical and psychological world.
The OpenToM benchmark contains 696 narratives, 596 of which are narratives of normal length (average word count: 194.3 words) and 100 of which are long narratives (average word count: 491.6 words). Each of the narrative is followed with 23 ToM questions, making a total of 16008 questions. The OpenToM benchmark pose first-order and second-order questions in the following genres:
All the OpenToM questions are designed to be a binary or ternary classification task. We recommend using macro-averaged F1 score to evaluate LLMs' performance as the labels are not uniformly distributed.
The OpenToM dataset is designed to benchmark the performance of LLMs. It shall not be used for training or fine-tuning. Therefore, please avoid testing OpenToM questions in OpenAI playground or places where the data might be used for LLM training.
opentom.json contains the QA data with 13,708 questions derived from 596 OpenToM stories of normal length
opentom_long.json contains the QA data with 2,300 questions derived from 100 OpenToM long stories
To access individual question types, nevigate to the opentom_data folder, in which there is a metadata.json / metadata_long.json file containing the metadata of OpenToM. The other JSON files store OpenToM questions of each genre asked for either first-order (fo) or second-order (so) ToM.
location_cg_fo: Coarse location questions asking about characters' belief of whether an entity is in its initial location (First-Order).location_cg_so: Coarse location questions asking about characters' belief of whether another character believes that an entity is in its initial location (Second-Order)location_fg_fo: Fine location questions asking about characters' belief of the precise location of an entity (First-Order).location_fg_so: Fine location questions asking about characters' belief of another character's belief of the precise location of an entity (Second-Order).multihop_fo: Multihop questions that requesting additional reasoning hops based on location questions (First-Order).multihop_so: Multihop questions that requesting additional reasoning hops based on location questions (Second-Order).attitude: Questions inquire about characters' attitude towards others' actions.Each metadata contains the following information:
plot: stores the OpenToM plot used to produce an OpenToM story.plot_info: stores the key information in OpenToM plot, which include the two protangonists, the entity-of-interest, and the two containers.preferences: stores the first-order and second-order preference belief of the characters.personality: stores the presonality trait of the mover.sentiment_statement: stores the mover's latent sentiment towards the entity-of-interest.true_sentiment: stores the mover's latent sentiment towards the entity-of-interest.intention: stores the mover's latent intention towards the entity-of-interest.new_location: the new location (fine-grained) of the entity.observed: documents whether the observer witnessed the mover's action.narrative: the OpenToM narrative.
Part of the contents of our story generation plots are derived from the ToMi dataset. We wish to thank them for generously making the ToMi dataset publicaly available.
The drafts of OpenToM stories are composed using LLMs. Although some of the stories went through human revision, we acknowledge that the texts generated by LLMs could contain biases and lack lexical diversity.
If you find our benchmark useful, please cite our work:
BibTeX:
@article{xu2024opentom,
title={OpenToM: A Comprehensive Benchmark for Evaluating Theory-of-Mind Reasoning Capabilities of Large Language Models},
author={Xu, Hainiu and Zhao, Runcong and Zhu, Lixing and Du, Jinhua and He, Yulan},
journal={arXiv preprint arXiv:2402.06044},
year={2024}
}
For any question or inquiry about the OpenToM benchmark, please email hainiu.xu@kcl.ac.uk