Datasets:
Modalities:
Text
Formats:
json
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
mental-spaces
counterfactual-reasoning
belief-tracking
mechanistic-interpretability
minimal-pairs
text
DOI:
License:
Commit ·
96bc066
0
Parent(s):
Mental Spaces Corpus v0.1
Browse files- .gitattributes +60 -0
- CITATION.cff +38 -0
- LICENSE +21 -0
- README.md +171 -0
- VALIDATION.md +112 -0
- data/test.jsonl +0 -0
- data/train.jsonl +0 -0
- data/validation.jsonl +0 -0
- schema.json +120 -0
- summary.json +53 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
CITATION.cff
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "If you use this dataset, please cite it using this metadata and the Hugging Face DOI."
|
| 3 |
+
title: "Mental Spaces Corpus"
|
| 4 |
+
version: "0.1.0"
|
| 5 |
+
type: dataset
|
| 6 |
+
authors:
|
| 7 |
+
- family-names: Steele
|
| 8 |
+
given-names: Oliver
|
| 9 |
+
license: MIT
|
| 10 |
+
repository-code: "https://github.com/osteele/mental-spaces"
|
| 11 |
+
abstract: >-
|
| 12 |
+
A controlled suite of natural-language stimuli for testing whether language
|
| 13 |
+
models keep base-space and alternative-space discourse targets separate under
|
| 14 |
+
mental-space constructions such as counterfactuals, belief contexts,
|
| 15 |
+
depictive spaces, and nested spaces.
|
| 16 |
+
references:
|
| 17 |
+
- type: article
|
| 18 |
+
title: "One mechanism for many mental spaces: a shared router over a value slot in language models"
|
| 19 |
+
authors:
|
| 20 |
+
- family-names: Steele
|
| 21 |
+
given-names: Oliver
|
| 22 |
+
- family-names: Wen
|
| 23 |
+
given-names: Jiangtao
|
| 24 |
+
- family-names: Han
|
| 25 |
+
given-names: Yuxing
|
| 26 |
+
year: 2026
|
| 27 |
+
url: "https://arxiv.org/abs/2607.10248"
|
| 28 |
+
- type: article
|
| 29 |
+
title: "Belief-reality separation lives in routing over a shared value slot in language models"
|
| 30 |
+
authors:
|
| 31 |
+
- family-names: Steele
|
| 32 |
+
given-names: Oliver
|
| 33 |
+
- family-names: Wen
|
| 34 |
+
given-names: Jiangtao
|
| 35 |
+
- family-names: Han
|
| 36 |
+
given-names: Yuxing
|
| 37 |
+
year: 2026
|
| 38 |
+
url: "https://arxiv.org/abs/2607.11945"
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Oliver Steele
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Mental Spaces Corpus
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: mit
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
- text-classification
|
| 9 |
+
tags:
|
| 10 |
+
- mental-spaces
|
| 11 |
+
- counterfactual-reasoning
|
| 12 |
+
- belief-tracking
|
| 13 |
+
- mechanistic-interpretability
|
| 14 |
+
- minimal-pairs
|
| 15 |
+
- text
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/train.jsonl
|
| 21 |
+
- split: validation
|
| 22 |
+
path: data/validation.jsonl
|
| 23 |
+
- split: test
|
| 24 |
+
path: data/test.jsonl
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Mental Spaces Corpus
|
| 28 |
+
|
| 29 |
+
Version: 0.1.0
|
| 30 |
+
|
| 31 |
+
The Mental Spaces Corpus is a controlled suite of natural-language stimuli for testing
|
| 32 |
+
whether language models keep base-space and alternative-space discourse targets
|
| 33 |
+
separate. It is designed for probing, causal interventions, and behavioral readouts in
|
| 34 |
+
mental-space constructions such as counterfactuals, belief contexts, and depictive
|
| 35 |
+
spaces, including nested belief and nested depictive spaces.
|
| 36 |
+
|
| 37 |
+
This release is a stimulus suite for controlled experiments, not a broad natural-language
|
| 38 |
+
benchmark. It provides confound control: items expose explicit base-space and
|
| 39 |
+
alternative-space target values, matched readout prompts, and annotations for the space
|
| 40 |
+
builder and control type.
|
| 41 |
+
|
| 42 |
+
Each construction is realized across several surface *frames* (distinct templates, tracked
|
| 43 |
+
by `template_id`) so that results do not rest on a single fixed sentence. Counterfactual
|
| 44 |
+
frames vary the space builder itself (painting / dream / movie / story / hypothetical);
|
| 45 |
+
every other construction holds the space role constant and varies only the wording.
|
| 46 |
+
|
| 47 |
+
## Dataset Structure
|
| 48 |
+
|
| 49 |
+
Files:
|
| 50 |
+
|
| 51 |
+
- `data/train.jsonl`
|
| 52 |
+
- `data/validation.jsonl`
|
| 53 |
+
- `data/test.jsonl`
|
| 54 |
+
- `schema.json`
|
| 55 |
+
- `summary.json`
|
| 56 |
+
- `VALIDATION.md`
|
| 57 |
+
- `CITATION.cff`
|
| 58 |
+
- `LICENSE`
|
| 59 |
+
|
| 60 |
+
Each JSONL row is one readout prompt. A single underlying scenario can yield multiple
|
| 61 |
+
rows, for example a reality readout and a belief readout.
|
| 62 |
+
|
| 63 |
+
Core fields:
|
| 64 |
+
|
| 65 |
+
- `context`: the full setup text.
|
| 66 |
+
- `prompt`: the completion prompt ending immediately before the expected answer.
|
| 67 |
+
- `answer`: the expected color/value continuation.
|
| 68 |
+
- `scenario_id`: stable ID shared by all readout rows from one scenario.
|
| 69 |
+
- `construction`: the construction family, such as `belief_reality` or
|
| 70 |
+
`counterfactual_or_alternative_space`.
|
| 71 |
+
- `answer_space`: the discourse space queried by the prompt.
|
| 72 |
+
- `base_value` and `alternative_value`: the competing target values when present.
|
| 73 |
+
- `value_space_map`: all target values keyed by space, or by entity-and-space for
|
| 74 |
+
multi-entity controls.
|
| 75 |
+
- `template_id`: stable template/frame identifier for frame-sensitive analyses.
|
| 76 |
+
- `answer_kind`: the answer vocabulary type, currently `color`.
|
| 77 |
+
- `confound_controls`: design controls active for the item.
|
| 78 |
+
- `source_experiment`: project experiment family the construction derives from.
|
| 79 |
+
|
| 80 |
+
See `schema.json` for the complete field list.
|
| 81 |
+
|
| 82 |
+
## Intended Use
|
| 83 |
+
|
| 84 |
+
The corpus is intended for:
|
| 85 |
+
|
| 86 |
+
- behavioral completion tests;
|
| 87 |
+
- linear probes over model activations;
|
| 88 |
+
- activation patching and low-rank steering experiments;
|
| 89 |
+
- controlled comparisons of base-space, alternative-space, and nested-space readouts.
|
| 90 |
+
|
| 91 |
+
Prompts are completion-style and currently use short color/value answers. Users should
|
| 92 |
+
verify tokenizer behavior for a target model before interpreting token-level results.
|
| 93 |
+
|
| 94 |
+
## Design Controls and Known Confounds
|
| 95 |
+
|
| 96 |
+
This corpus is built around known failure modes in counterfactual, belief-tracking, and
|
| 97 |
+
theory-of-mind evaluations. Each row includes a `confound_controls` list that records
|
| 98 |
+
which controls are active for that item.
|
| 99 |
+
|
| 100 |
+
The main controls are:
|
| 101 |
+
|
| 102 |
+
- `distinct_values`: competing spaces use different answer values, so a model must
|
| 103 |
+
choose a space rather than copy the only value in the context.
|
| 104 |
+
- `randomized_clause_order`: base-space and alternative-space clauses appear in
|
| 105 |
+
randomized order, reducing first/last-mention and recency shortcuts.
|
| 106 |
+
- `generic_entities`: counterfactual and depictive items use arbitrary entities and
|
| 107 |
+
colors, following the generic-subject logic of Li, Yu, and Ettinger (2023), so world
|
| 108 |
+
knowledge is not enough to answer.
|
| 109 |
+
- `copy_proof_readout`: belief and nested-belief rows include both relevant values in
|
| 110 |
+
context, addressing the copying concern raised by theory-of-mind benchmark critiques
|
| 111 |
+
such as Ullman (2023), Sclar et al. (2023), and Shapira et al. (2024).
|
| 112 |
+
- `two_entities` and `entity_bound_readout`: two-entity rows distinguish a global
|
| 113 |
+
image-versus-reality feature from an entity-bound space assignment.
|
| 114 |
+
- `three_distinct_values` and `nested_space_builder`: nested depictive rows separate
|
| 115 |
+
reality, inner-depiction, and outer-depiction values (for example a photograph and a
|
| 116 |
+
painting of that photograph) so nested-space behavior cannot be reduced to a binary
|
| 117 |
+
frame choice.
|
| 118 |
+
|
| 119 |
+
These controls do not make the corpus a solved benchmark. They are meant to make the
|
| 120 |
+
stimuli inspectable and to expose likely shortcuts. Users should still report
|
| 121 |
+
tokenization checks, clean behavioral accuracy, and whether results survive irrelevant
|
| 122 |
+
context or frame variation. `VALIDATION.md` reports a behavioral check of the released
|
| 123 |
+
stimuli on Qwen2.5-7B-Instruct. The context-fragility concern follows Schouten et al.
|
| 124 |
+
(2024), and the broader requirement that a representation be accurate, coherent,
|
| 125 |
+
uniform, and causally used follows Herrmann and Levinstein (2024).
|
| 126 |
+
|
| 127 |
+
## Related Papers
|
| 128 |
+
|
| 129 |
+
These constructions are studied in:
|
| 130 |
+
|
| 131 |
+
- Steele, Oliver. 2026. One mechanism for many mental spaces: a shared router over a value
|
| 132 |
+
slot in language models. arXiv:2607.10248.
|
| 133 |
+
- Steele, Oliver. 2026. Belief-reality separation lives in routing over a shared value slot
|
| 134 |
+
in language models. arXiv:2607.11945.
|
| 135 |
+
|
| 136 |
+
The corpus is a companion stimulus suite for the mental-space phenomena these papers study,
|
| 137 |
+
not the exact experimental data behind their reported numbers.
|
| 138 |
+
|
| 139 |
+
## References
|
| 140 |
+
|
| 141 |
+
- Herrmann, Daniel A., and Benjamin A. Levinstein. 2024. Criteria for belief-like
|
| 142 |
+
representations in language models.
|
| 143 |
+
- Li, Jiaxuan, Lang Yu, and Allyson Ettinger. 2023. Counterfactual reasoning in
|
| 144 |
+
language models.
|
| 145 |
+
- Sclar, Melanie, Sachin Kumar, Peter West, Alane Suhr, Yejin Choi, and Yulia
|
| 146 |
+
Tsvetkov. 2023. Benchmark concerns for theory-of-mind evaluation.
|
| 147 |
+
- Schouten et al. 2024. Belief probes are fragile under irrelevant context.
|
| 148 |
+
- Shapira, Natalie, et al. 2024. Clever Hans-style shortcuts in theory-of-mind
|
| 149 |
+
evaluation.
|
| 150 |
+
- Ullman, Tomer. 2023. Large language models fail on trivial alterations to
|
| 151 |
+
theory-of-mind tasks.
|
| 152 |
+
|
| 153 |
+
## Citation
|
| 154 |
+
|
| 155 |
+
Please cite this dataset via `CITATION.cff` (Oliver Steele) and
|
| 156 |
+
the Hugging Face dataset DOI. The dataset lives at
|
| 157 |
+
https://huggingface.co/datasets/osteele/mental-spaces.
|
| 158 |
+
|
| 159 |
+
## Provenance
|
| 160 |
+
|
| 161 |
+
The templates derive from the `mental-spaces` project experiment suite; the release adds
|
| 162 |
+
surface-frame variants (further space builders and wordings) to broaden coverage beyond
|
| 163 |
+
the single frame each experiment used. The build script lives in the source repository,
|
| 164 |
+
[github.com/osteele/mental-spaces](https://github.com/osteele/mental-spaces); the generated
|
| 165 |
+
files are deterministic:
|
| 166 |
+
|
| 167 |
+
```bash
|
| 168 |
+
uv run python scripts/build_corpus.py --profile expanded
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
The checked-in `summary.json` states which profile generated the current files.
|
VALIDATION.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Behavioral Validation
|
| 2 |
+
|
| 3 |
+
This records whether the released stimuli actually elicit the intended space-tracking
|
| 4 |
+
behavior in capable open models. It is a check on the stimuli, not a reproduction of any
|
| 5 |
+
result in the papers that study these constructions (arXiv:2607.10248, arXiv:2607.11945):
|
| 6 |
+
those papers' numbers come from the project experiment scripts, and this corpus is a
|
| 7 |
+
companion stimulus suite derived from the same constructions.
|
| 8 |
+
|
| 9 |
+
## Method
|
| 10 |
+
|
| 11 |
+
Each row's `prompt` is a completion that ends on a copula, so the answer is the next
|
| 12 |
+
token. For every prompt we read the next-token logits and take:
|
| 13 |
+
|
| 14 |
+
- **forced accuracy** (primary): argmax restricted to the item's in-play values
|
| 15 |
+
(`value_space_map`). This is the minimal-pair question: does the model pick the correct
|
| 16 |
+
space's value over the competing one?
|
| 17 |
+
- **open accuracy** (secondary): argmax over the full color vocabulary. The gap between
|
| 18 |
+
open and forced surfaces the model's color prior and any off-vocabulary drift; it is a
|
| 19 |
+
diagnostic, not the headline.
|
| 20 |
+
|
| 21 |
+
Answers are scored on the first token of ` {color}` using the target model's own
|
| 22 |
+
tokenizer; the single-token audit below reports whether each answer is one token.
|
| 23 |
+
|
| 24 |
+
Scoring is completion-style (no chat template), matching the corpus format. Instruction
|
| 25 |
+
models may behave differently under their chat template; verify for your setup.
|
| 26 |
+
|
| 27 |
+
## Caveats
|
| 28 |
+
|
| 29 |
+
- **Two architectures, still provisional.** These numbers are Qwen2.5-7B-Instruct and
|
| 30 |
+
OLMo-2-1124-7B-Instruct. Agreement across two models is reassuring but not proof of
|
| 31 |
+
generality. The cross-model pattern matters more than any single cell: a frame weak on
|
| 32 |
+
one model may be fine on another, and only frames weak on both point to the stimulus.
|
| 33 |
+
- Accuracy below 1.0 is expected: two-space and nested constructions are genuinely hard,
|
| 34 |
+
and the two-entity control is designed to leak (see below). The bar is that a capable
|
| 35 |
+
model tracks the correct space well above chance, not perfectly.
|
| 36 |
+
|
| 37 |
+
## Per-construction results
|
| 38 |
+
|
| 39 |
+
Completion scoring, all splits, forced accuracy (argmax restricted to the item's competing
|
| 40 |
+
values). Overall 0.87 (Qwen2.5-7B-Instruct) and 0.90 (OLMo-2-1124-7B-Instruct).
|
| 41 |
+
|
| 42 |
+
| construction | n | Qwen-7B | OLMo-2-7B |
|
| 43 |
+
|---|---:|---:|---:|
|
| 44 |
+
| single_space_control | 120 | 1.000 | 1.000 |
|
| 45 |
+
| belief_reality | 450 | 0.933 | 0.933 |
|
| 46 |
+
| counterfactual_or_alternative_space | 500 | 0.846 | 0.930 |
|
| 47 |
+
| nested_depictive | 360 | 0.825 | 0.892 |
|
| 48 |
+
| two_entity_selectivity | 240 | 0.858 | 0.854 |
|
| 49 |
+
| nested_belief | 240 | 0.821 | 0.817 |
|
| 50 |
+
|
| 51 |
+
Both models track the correct space well above the two-value chance line (0.50) on every
|
| 52 |
+
construction. Forced accuracy is the metric that answers the space-tracking question; the
|
| 53 |
+
open six-way argmax deflates the four-color constructions through the model's prior toward
|
| 54 |
+
the two unused colors, so it stays a diagnostic rather than the headline.
|
| 55 |
+
|
| 56 |
+
The two-entity control leaks as designed (swap 0.125 Qwen, 0.142 OLMo-2): it separates
|
| 57 |
+
entity-bound space assignment from a global image-versus-reality feature, and a model that
|
| 58 |
+
copies the distractor's value scores as swap. Nested belief is the hardest construction on
|
| 59 |
+
both models, driven by one frame (see below).
|
| 60 |
+
|
| 61 |
+
## Per-template results
|
| 62 |
+
|
| 63 |
+
Forced accuracy per frame. This is the diagnostic for a weak surface realization.
|
| 64 |
+
|
| 65 |
+
| construction | template | n | Qwen-7B | OLMo-2-7B |
|
| 66 |
+
|---|---|---:|---:|---:|
|
| 67 |
+
| belief_reality | belief-thinks | 150 | 0.967 | 0.860 |
|
| 68 |
+
| belief_reality | belief-convinced | 150 | 0.960 | 0.960 |
|
| 69 |
+
| belief_reality | belief-believes | 150 | 0.873 | 0.980 |
|
| 70 |
+
| counterfactual | cf-hypothetical | 100 | 0.940 | 0.940 |
|
| 71 |
+
| counterfactual | cf-painting | 100 | 0.810 | 0.910 |
|
| 72 |
+
| counterfactual | cf-story | 100 | 0.910 | 0.900 |
|
| 73 |
+
| counterfactual | cf-dream | 100 | 0.800 | 0.930 |
|
| 74 |
+
| counterfactual | cf-movie | 100 | 0.770 | 0.970 |
|
| 75 |
+
| nested_belief | nb-imagines-confirms | 80 | 0.975 | 0.900 |
|
| 76 |
+
| nested_belief | nb-assumes-sees | 80 | 0.800 | 0.838 |
|
| 77 |
+
| nested_belief | nb-thinks-knows | 80 | 0.688 | 0.713 |
|
| 78 |
+
| nested_depictive | nd-reflection-portrait | 120 | 0.867 | 0.933 |
|
| 79 |
+
| nested_depictive | nd-photo-painting | 120 | 0.825 | 0.900 |
|
| 80 |
+
| nested_depictive | nd-snapshot-sketch | 120 | 0.783 | 0.842 |
|
| 81 |
+
| single_space_control | single-space-* | 40 each | 1.000 | 1.000 |
|
| 82 |
+
| two_entity_selectivity | te-painting | 80 | 0.850 | 0.912 |
|
| 83 |
+
| two_entity_selectivity | te-photo | 80 | 0.863 | 0.838 |
|
| 84 |
+
| two_entity_selectivity | te-drawing | 80 | 0.863 | 0.812 |
|
| 85 |
+
|
| 86 |
+
`nb-thinks-knows` is the hardest nested-belief frame (0.69 Qwen, 0.71 OLMo-2) but no longer
|
| 87 |
+
near chance. An earlier build read 0.60 / 0.55: the readout then repeated a verb
|
| 88 |
+
(`{observer} thinks {believer} thinks ...`), which let the model collapse the two belief
|
| 89 |
+
levels. Changing the outer verb to `believes` lifted the frame on both models (+0.09 Qwen,
|
| 90 |
+
+0.16 OLMo-2), so the cause was surface phrasing, not a defect in the scenario. It stays the
|
| 91 |
+
softest nested-belief frame, consistent with genuine 2-deep difficulty on top of the
|
| 92 |
+
phrasing effect.
|
| 93 |
+
|
| 94 |
+
Frame variance elsewhere is model-specific rather than stimulus-driven: `cf-movie` is Qwen's
|
| 95 |
+
softest counterfactual (0.77) but OLMo-2's strongest (0.97).
|
| 96 |
+
|
| 97 |
+
## Single-token audit
|
| 98 |
+
|
| 99 |
+
All answer colors are a single token under both models' tokenizers (Qwen2.5-7B-Instruct and
|
| 100 |
+
OLMo-2-1124-7B-Instruct), with the leading space: blue, green, red, brown, yellow, purple.
|
| 101 |
+
Re-check for any other model before interpreting token-level results.
|
| 102 |
+
|
| 103 |
+
## Reproduce
|
| 104 |
+
|
| 105 |
+
The build and validation scripts live in the source repository,
|
| 106 |
+
[github.com/osteele/mental-spaces](https://github.com/osteele/mental-spaces). With the
|
| 107 |
+
model and a GPU available, the validation script scores every prompt (`uv run` installs
|
| 108 |
+
`torch` and `transformers` from the lockfile):
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
uv run python scripts/exp_corpus_behavioral_audit.py --model Qwen/Qwen2.5-7B-Instruct
|
| 112 |
+
```
|
data/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/validation.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
schema.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"additionalProperties": false,
|
| 4 |
+
"properties": {
|
| 5 |
+
"alternative_space": {
|
| 6 |
+
"type": ["string", "null"]
|
| 7 |
+
},
|
| 8 |
+
"alternative_value": {
|
| 9 |
+
"type": ["string", "null"]
|
| 10 |
+
},
|
| 11 |
+
"answer": {
|
| 12 |
+
"type": "string"
|
| 13 |
+
},
|
| 14 |
+
"answer_kind": {
|
| 15 |
+
"type": "string"
|
| 16 |
+
},
|
| 17 |
+
"answer_space": {
|
| 18 |
+
"type": "string"
|
| 19 |
+
},
|
| 20 |
+
"base_space": {
|
| 21 |
+
"type": "string"
|
| 22 |
+
},
|
| 23 |
+
"base_value": {
|
| 24 |
+
"type": ["string", "null"]
|
| 25 |
+
},
|
| 26 |
+
"confound_controls": {
|
| 27 |
+
"items": {
|
| 28 |
+
"type": "string"
|
| 29 |
+
},
|
| 30 |
+
"type": "array"
|
| 31 |
+
},
|
| 32 |
+
"construction": {
|
| 33 |
+
"type": "string"
|
| 34 |
+
},
|
| 35 |
+
"context": {
|
| 36 |
+
"type": "string"
|
| 37 |
+
},
|
| 38 |
+
"control_type": {
|
| 39 |
+
"type": "string"
|
| 40 |
+
},
|
| 41 |
+
"entity": {
|
| 42 |
+
"type": "string"
|
| 43 |
+
},
|
| 44 |
+
"family": {
|
| 45 |
+
"type": "string"
|
| 46 |
+
},
|
| 47 |
+
"id": {
|
| 48 |
+
"type": "string"
|
| 49 |
+
},
|
| 50 |
+
"labels": {
|
| 51 |
+
"additionalProperties": {
|
| 52 |
+
"type": ["string", "boolean"]
|
| 53 |
+
},
|
| 54 |
+
"type": "object"
|
| 55 |
+
},
|
| 56 |
+
"lexical_trigger_present": {
|
| 57 |
+
"type": "boolean"
|
| 58 |
+
},
|
| 59 |
+
"notes": {
|
| 60 |
+
"type": "string"
|
| 61 |
+
},
|
| 62 |
+
"prompt": {
|
| 63 |
+
"type": "string"
|
| 64 |
+
},
|
| 65 |
+
"query_type": {
|
| 66 |
+
"type": "string"
|
| 67 |
+
},
|
| 68 |
+
"scenario_id": {
|
| 69 |
+
"type": "string"
|
| 70 |
+
},
|
| 71 |
+
"source_experiment": {
|
| 72 |
+
"type": "string"
|
| 73 |
+
},
|
| 74 |
+
"space_builder": {
|
| 75 |
+
"type": ["string", "null"]
|
| 76 |
+
},
|
| 77 |
+
"template_id": {
|
| 78 |
+
"type": "string"
|
| 79 |
+
},
|
| 80 |
+
"value_space_map": {
|
| 81 |
+
"additionalProperties": {
|
| 82 |
+
"type": "string"
|
| 83 |
+
},
|
| 84 |
+
"type": "object"
|
| 85 |
+
},
|
| 86 |
+
"split": {
|
| 87 |
+
"enum": ["train", "validation", "test"],
|
| 88 |
+
"type": "string"
|
| 89 |
+
}
|
| 90 |
+
},
|
| 91 |
+
"required": [
|
| 92 |
+
"id",
|
| 93 |
+
"scenario_id",
|
| 94 |
+
"split",
|
| 95 |
+
"construction",
|
| 96 |
+
"family",
|
| 97 |
+
"source_experiment",
|
| 98 |
+
"context",
|
| 99 |
+
"prompt",
|
| 100 |
+
"answer",
|
| 101 |
+
"answer_space",
|
| 102 |
+
"entity",
|
| 103 |
+
"base_space",
|
| 104 |
+
"alternative_space",
|
| 105 |
+
"base_value",
|
| 106 |
+
"alternative_value",
|
| 107 |
+
"value_space_map",
|
| 108 |
+
"query_type",
|
| 109 |
+
"template_id",
|
| 110 |
+
"answer_kind",
|
| 111 |
+
"space_builder",
|
| 112 |
+
"lexical_trigger_present",
|
| 113 |
+
"control_type",
|
| 114 |
+
"labels",
|
| 115 |
+
"confound_controls",
|
| 116 |
+
"notes"
|
| 117 |
+
],
|
| 118 |
+
"title": "Mental Spaces Corpus record",
|
| 119 |
+
"type": "object"
|
| 120 |
+
}
|
summary.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"constructions": [
|
| 3 |
+
"belief_reality",
|
| 4 |
+
"counterfactual_or_alternative_space",
|
| 5 |
+
"nested_belief",
|
| 6 |
+
"nested_depictive",
|
| 7 |
+
"single_space_control",
|
| 8 |
+
"two_entity_selectivity"
|
| 9 |
+
],
|
| 10 |
+
"families": [
|
| 11 |
+
"belief",
|
| 12 |
+
"controls",
|
| 13 |
+
"counterfactual",
|
| 14 |
+
"depictive"
|
| 15 |
+
],
|
| 16 |
+
"profile": "expanded",
|
| 17 |
+
"records": 1910,
|
| 18 |
+
"source_experiments": [
|
| 19 |
+
"EXP-001",
|
| 20 |
+
"EXP-001/002/003",
|
| 21 |
+
"EXP-030",
|
| 22 |
+
"EXP-034",
|
| 23 |
+
"EXP-052",
|
| 24 |
+
"EXP-067"
|
| 25 |
+
],
|
| 26 |
+
"splits": {
|
| 27 |
+
"test": 284,
|
| 28 |
+
"train": 1337,
|
| 29 |
+
"validation": 289
|
| 30 |
+
},
|
| 31 |
+
"templates": [
|
| 32 |
+
"belief-believes",
|
| 33 |
+
"belief-convinced",
|
| 34 |
+
"belief-thinks",
|
| 35 |
+
"cf-dream",
|
| 36 |
+
"cf-hypothetical",
|
| 37 |
+
"cf-movie",
|
| 38 |
+
"cf-painting",
|
| 39 |
+
"cf-story",
|
| 40 |
+
"nb-assumes-sees",
|
| 41 |
+
"nb-imagines-confirms",
|
| 42 |
+
"nb-thinks-knows",
|
| 43 |
+
"nd-photo-painting",
|
| 44 |
+
"nd-reflection-portrait",
|
| 45 |
+
"nd-snapshot-sketch",
|
| 46 |
+
"single-space-color-of",
|
| 47 |
+
"single-space-plain",
|
| 48 |
+
"single-space-there-is",
|
| 49 |
+
"te-drawing",
|
| 50 |
+
"te-painting",
|
| 51 |
+
"te-photo"
|
| 52 |
+
]
|
| 53 |
+
}
|