|
--- |
|
configs: |
|
- config_name: set_E |
|
data_files: |
|
- split: characters_3 |
|
path: |
|
- data/set_E/characters_3/puzzles.jsonl |
|
- split: characters_4 |
|
path: |
|
- data/set_E/characters_4/puzzles.jsonl |
|
- split: characters_5 |
|
path: |
|
- data/set_E/characters_5/puzzles.jsonl |
|
- split: characters_6 |
|
path: |
|
- data/set_E/characters_6/puzzles.jsonl |
|
default: true |
|
- config_name: set_I |
|
data_files: |
|
- split: characters_3 |
|
path: |
|
- data/set_I/characters_3/puzzles.jsonl |
|
- split: characters_4 |
|
path: |
|
- data/set_I/characters_4/puzzles.jsonl |
|
- split: characters_5 |
|
path: |
|
- data/set_I/characters_5/puzzles.jsonl |
|
- split: characters_6 |
|
path: |
|
- data/set_I/characters_6/puzzles.jsonl |
|
- config_name: set_S |
|
data_files: |
|
- split: characters_3 |
|
path: |
|
- data/set_S/characters_3/puzzles.jsonl |
|
- split: characters_4 |
|
path: |
|
- data/set_S/characters_4/puzzles.jsonl |
|
- split: characters_5 |
|
path: |
|
- data/set_S/characters_5/puzzles.jsonl |
|
- split: characters_6 |
|
path: |
|
- data/set_S/characters_6/puzzles.jsonl |
|
license: cc-by-sa-4.0 |
|
extra_gated_prompt: I hereby agree to not upload this data publicly without the authors' consent. |
|
extra_gated_fields: |
|
Company: text |
|
Country: country |
|
I want to use this dataset for: |
|
type: select |
|
options: |
|
- Research |
|
- Education |
|
- Product |
|
- label: Other |
|
value: other |
|
task_categories: |
|
- question-answering |
|
tags: |
|
- Logical Reasoning |
|
- Logical Puzzles |
|
- Suppositional Reasoning |
|
- Propositional Logic |
|
size_categories: |
|
- 1K<n<10K |
|
--- |
|
<p align="center"><h1>TruthQuest</h1></p> |
|
|
|
We introduce *TruthQuest*, a benchmark for suppositional reasoning based on the principles of knights and knaves puzzles. Knights and knaves problems represent a classic genre of logical puzzles where characters either tell the truth or lie. The objective is to logically deduce each character's identity based on their statements (see Figure 1). The challenge arises from the truth-telling or lying behavior, which influences the logical implications of each statement. Solving these puzzles requires not only direct deductions from individual statements, but the ability to assess the truthfulness of statements by reasoning through various hypothetical scenarios. As such, knights and knaves puzzles serve as compelling examples of suppositional reasoning. |
|
|
|
<img src="assets/imgs/knightsknaves_example.png" alt="Figure 1: Knights and Knaves example" width="400" style="display: block; margin: 0 auto;"/> |
|
|
|
*Figure 1: An instance of the knights & knaves puzzle. By reasoning about the characters’ statements and their truthfulness, it is possible to deduce that Greeny and Bluey must be knights, while Pinky is a knave.* |
|
|
|
<br> |
|
|
|
Our benchmark encompasses problems of varying complexity, considering both the number of characters and the types of logical statements involved. Specifically, we provide three sets of puzzles: *Set E*, *Set I*, and *Set S*. Each set differs based on the types of statements characters may make, as outlined in Table 1. Additionally, we consider varying numbers of characters across each set, specifically: *n* = 3, 4, 5, 6. This results in 3 × 4 = 12 data subsets. For each subset, 200 problems are generated, resulting in a total of 2,400 unique instances. Each instance has a unique solution. |
|
|
|
<br> |
|
|
|
<img src="assets/imgs/statements_table.png" alt="Table 1: Statement types" width="700" style="display: block; margin: 0 auto;"/> |
|
|
|
*Table 1: Character statements in TruthQuest. Each type is represented by an example expressed both in natural language and boolean logic. The final column indicates the types of statements included in each statement set. For instance, S is the only set that includes self-referential statements alongside accusations and conjunctions.* |
|
|
|
<br> |
|
|
|
Below, we provide a short description of each column in our dataset: |
|
- **Problem** (list of strings): A list of strings representing the statements made by each character in the puzzle. |
|
- **Problem Logic** (list of strings): A list of strings representing the logical expression of each statement in the puzzle. |
|
- **Symbolic Reasoning** (string): A string representing the symbolic reasoning to solve the puzzle. |
|
- **Solutions** (list of dictionaries): A list of dictionaries containing the solutions to the puzzle. Each dictionary contains the characters' names and their identity (`True` for knight or `False` for knave). Note that we only permit problems with a single solution. Thus, there is only a single dictionary in the list. |
|
- **Metadata**: A dictionary containing additional metadata such as the puzzle index, numbers of characters, or types of statements involved. |
|
|
|
For further details, please refer to the original study *Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models* [(Mondorf and Plank, 2024)](https://arxiv.org/abs/2406.12546). |
|
|
|
|
|
## Cite |
|
``` |
|
@misc{mondorf2024liarliarlogicalmire, |
|
title={Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models}, |
|
author={Philipp Mondorf and Barbara Plank}, |
|
year={2024}, |
|
eprint={2406.12546}, |
|
archivePrefix={arXiv}, |
|
primaryClass={cs.CL} |
|
url={https://arxiv.org/abs/2406.12546}, |
|
} |
|
``` |