bool-bench / README.md
johnsonkuan's picture
Polish README wording and flow
f998a91 verified
|
Raw History Blame Contribute Delete
6.04 kB
---
language:
- en
license: other
size_categories:
- 1K<n<10K
task_categories:
- text-classification
pretty_name: Bool-Bench
configs:
- config_name: core
data_files:
- split: test
path: core/test-*
tags:
- reading-comprehension
- abstention
- nli
- boolean-qa
- benchmark
license_name: mixed-source-licenses
license_link: https://huggingface.co/datasets/chowderai/bool-bench/blob/main/DATASET_LICENSE.md
---
<p align="center">
<img src="https://huggingface.co/datasets/chowderai/bool-bench/resolve/main/assets/bool-bench-cats-v3.png" alt="Three cats labeled True, False, and Unknown, the Bool-Bench mascot" width="420" height="280">
</p>
# Bool-Bench
Bool-Bench is a benchmark for document-grounded Boolean inference with abstention. It tests whether models can reason over the evidence in a supplied passage and recognize when that evidence is insufficient to reach a conclusion.
Each example pairs a passage with a question or statement, labeled `true`, `false`, or `unknown`.
| Label | Meaning |
| --- | --- |
| `true` | The supplied evidence supports the claim. |
| `false` | The supplied evidence contradicts the claim. |
| `unknown` | The supplied evidence does not settle the claim. |
`unknown` means the supplied evidence does not settle the claim; it does not mean the model has low confidence. If the evidence establishes or contradicts the claim, abstaining is also an error.
## Dataset details
| Property | Value |
| --- | --- |
| Version | 1.1.0 |
| Examples / sources | 1,000 / 12 |
| Labels | 331 `true`, 324 `false`, 345 `unknown` |
| Input forms | 590 questions, 410 statements |
| Language | English |
| Hub configuration / split | `core` / `test` |
The core combines 850 adapted academic-dataset examples and 150 with generated questions and labels: 90 over real Common Pile passages and 60 over synthetic conversations. Passages range from single sentences to full research papers.
We mapped the original source labels to `true`, `false`, and `unknown`, then audited candidate labels against a shared document-grounded evidence standard using three language-model judges and author review conducted without seeing the source labels or model verdicts.
Of the 1,000 released examples, 172 have revised labels: 87 changed from `true` or `false` to `unknown`, 57 changed from `unknown` to `true` or `false`, and 28 flipped between `true` and `false`.
These changes apply Bool-Bench’s evidence standard; source labels may remain valid under their original task conventions. Unresolved contested candidates were excluded. See [sources and construction](docs/CONSTRUCTION.md).
## Usage
Install the dataset loader:
```bash
pip install datasets
```
The repository is currently private, so authenticate with a Hugging Face account that has access. For reproducible evaluations, pass a full repository commit SHA as `revision`.
```python
import json
from datasets import load_dataset
core = load_dataset("chowderai/bool-bench", "core", split="test")
label_feature = core.features["label"]
assert len(core) == 1000
assert label_feature.names == ["true", "false", "unknown"]
example = core[0]
passage = example["passage"]
claim = example["question"] # Preserve the complete field, including any additional context.
gold_label = label_feature.int2str(example["label"])
metadata = json.loads(example["meta"])
```
The stored labels are integers: **0 = `true`, 1 = `false`, 2 = `unknown`**. The Hugging Face loader exposes their names through `ClassLabel`. When reading the Parquet file directly, use the same mapping.
The Hub split named `test` contains the complete 1,000-example core. The row's `split` column records its **upstream dataset split**, not a Bool-Bench development/test assignment.
Each row includes `id`, `passage`, `question`, `label`, `form`, `source`, `source_id`, `split`, and `meta`. `question` holds either a question or statement; `meta` is a JSON string with annotation and source metadata. See the [column reference](docs/DATA_FORMAT.md).
## Evidence rules
Answer using the supplied passage and the complete `question` field, which may include additional context needed to evaluate the claim. Ordinary reading, one-step implication, arithmetic on stated numbers, and generic common sense are allowed; unstated facts about named entities are not. Missing evidence does not establish `false`.
[TASK_DEFINITION.md](TASK_DEFINITION.md) specifies the v1.8 rules and annotation-version history, including compound claims, missing context, and intent versus outcome.
## Evaluation
Report accuracy, macro-F1, per-class performance, and both abstention errors: answering `unknown` on answerable examples, and answering `true`/`false` on reference `unknown` examples. Always predicting `unknown` scores 34.5%; a model that never predicts it cannot exceed 65.5%.
Report the model’s context limit and any input truncation, including the truncation strategy.
The paper evaluates six baseline models without task-specific examples in their prompts (zero-shot). They score **64.3–90.0% accuracy**. All six predict `unknown` more often than its reference frequency; their largest error category is contradicted claims answered `unknown`.
See [EVALUATION.md](EVALUATION.md) for evaluation prompts, baseline results, serving configurations, metric definitions, and model-specific evaluation partitions.
## License
Source-specific terms apply, including non-commercial restrictions on the complete core; see [dataset terms](DATASET_LICENSE.md).
## Authors
- Johnson Kuan
## Citation
```bibtex
@misc{chowderai2026boolbench,
title = {Bool-Bench: A Benchmark for Boolean Inference with Abstention},
author = {{Chowder AI}},
year = {2026},
url = {https://huggingface.co/datasets/chowderai/bool-bench}
}
```
Cite the upstream datasets when reporting source-specific results; their links and recorded terms are listed in [the source reference](docs/SOURCES.md).
## Contact
For questions about this benchmark, contact [support@chowder.ai](mailto:support@chowder.ai).