stellalisy's picture
Add Levering 2020, Wulff 2018 (description, sampling), Frey 2017 (BART, CCT)
a4c8466 verified
|
Raw History Blame Contribute Delete
23.9 kB
---
license: other
license_name: mixed-see-licences-section
pretty_name: Decision and learning model data (unified trial format)
tags:
- cognitive-science
- psychology
- decision-making
- category-learning
- reinforcement-learning
size_categories:
- 1M<n<10M
configs:
- config_name: all
default: true
data_files:
- split: train
path: data/trials/train/*.parquet
- split: heldout
path: data/trials/heldout/*.parquet
- config_name: badham2017deficits_exp1
data_files:
- split: train
path: data/trials/train/badham2017deficits_exp1.parquet
- split: heldout
path: data/trials/heldout/badham2017deficits_exp1.parquet
- config_name: hilbig2014generalized_exp1
data_files:
- split: train
path: data/trials/train/hilbig2014generalized_exp1.parquet
- split: heldout
path: data/trials/heldout/hilbig2014generalized_exp1.parquet
- config_name: gershman2018deconstructing_exp1
data_files:
- split: train
path: data/trials/train/gershman2018deconstructing_exp1.parquet
- split: heldout
path: data/trials/heldout/gershman2018deconstructing_exp1.parquet
- config_name: gershman2018deconstructing_exp2
data_files:
- split: train
path: data/trials/train/gershman2018deconstructing_exp2.parquet
- split: heldout
path: data/trials/heldout/gershman2018deconstructing_exp2.parquet
- config_name: wilson2014humans_exp1
data_files:
- split: train
path: data/trials/train/wilson2014humans_exp1.parquet
- split: heldout
path: data/trials/heldout/wilson2014humans_exp1.parquet
- config_name: wilson2014humans_exp2
data_files:
- split: train
path: data/trials/train/wilson2014humans_exp2.parquet
- split: heldout
path: data/trials/heldout/wilson2014humans_exp2.parquet
- config_name: wilson2014humans_exp3
data_files:
- split: train
path: data/trials/train/wilson2014humans_exp3.parquet
- split: heldout
path: data/trials/heldout/wilson2014humans_exp3.parquet
- config_name: wilson2014humans_exp4
data_files:
- split: train
path: data/trials/train/wilson2014humans_exp4.parquet
- split: heldout
path: data/trials/heldout/wilson2014humans_exp4.parquet
- config_name: wilson2014humans_exp5
data_files:
- split: train
path: data/trials/train/wilson2014humans_exp5.parquet
- split: heldout
path: data/trials/heldout/wilson2014humans_exp5.parquet
- config_name: kool2016when_exp2
data_files:
- split: train
path: data/trials/train/kool2016when_exp2.parquet
- split: heldout
path: data/trials/heldout/kool2016when_exp2.parquet
- config_name: kool2017cost_exp2
data_files:
- split: train
path: data/trials/train/kool2017cost_exp2.parquet
- split: heldout
path: data/trials/heldout/kool2017cost_exp2.parquet
- config_name: kool2016when_exp1
data_files:
- split: train
path: data/trials/train/kool2016when_exp1.parquet
- split: heldout
path: data/trials/heldout/kool2016when_exp1.parquet
- config_name: kool2017cost_exp1
data_files:
- split: train
path: data/trials/train/kool2017cost_exp1.parquet
- split: heldout
path: data/trials/heldout/kool2017cost_exp1.parquet
- config_name: collsioo2023MCPL_exp1
data_files:
- split: train
path: data/trials/train/collsioo2023MCPL_exp1.parquet
- split: heldout
path: data/trials/heldout/collsioo2023MCPL_exp1.parquet
- config_name: collsioo2023MCPL_exp2
data_files:
- split: train
path: data/trials/train/collsioo2023MCPL_exp2.parquet
- split: heldout
path: data/trials/heldout/collsioo2023MCPL_exp2.parquet
- config_name: collsioo2023MCPL_exp3
data_files:
- split: train
path: data/trials/train/collsioo2023MCPL_exp3.parquet
- split: heldout
path: data/trials/heldout/collsioo2023MCPL_exp3.parquet
- config_name: levering2020revisiting_exp1
data_files:
- split: train
path: data/trials/train/levering2020revisiting_exp1.parquet
- split: heldout
path: data/trials/heldout/levering2020revisiting_exp1.parquet
- config_name: levering2020revisiting_exp2
data_files:
- split: train
path: data/trials/train/levering2020revisiting_exp2.parquet
- split: heldout
path: data/trials/heldout/levering2020revisiting_exp2.parquet
- config_name: wulff2018description_exp1
data_files:
- split: train
path: data/trials/train/wulff2018description_exp1.parquet
- split: heldout
path: data/trials/heldout/wulff2018description_exp1.parquet
- config_name: wulff2018sampling_exp1
data_files:
- split: train
path: data/trials/train/wulff2018sampling_exp1.parquet
- split: heldout
path: data/trials/heldout/wulff2018sampling_exp1.parquet
- config_name: frey2017risk_exp1
data_files:
- split: train
path: data/trials/train/frey2017risk_exp1.parquet
- split: heldout
path: data/trials/heldout/frey2017risk_exp1.parquet
- config_name: frey2017cct_exp1
data_files:
- split: train
path: data/trials/train/frey2017cct_exp1.parquet
- split: heldout
path: data/trials/heldout/frey2017cct_exp1.parquet
- config_name: cpc18_raw
data_files:
- split: train
path: data/trials/train/cpc18_raw.parquet
- split: heldout
path: data/trials/heldout/cpc18_raw.parquet
- config_name: choices13k_nofb
data_files:
- split: train
path: data/trials/train/choices13k_nofb.parquet
- split: heldout
path: data/trials/heldout/choices13k_nofb.parquet
- config_name: choices13k_fb
data_files:
- split: train
path: data/trials/train/choices13k_fb.parquet
- split: heldout
path: data/trials/heldout/choices13k_fb.parquet
- config_name: participants
data_files:
- split: all
path: data/participants.parquet
- config_name: datasets
data_files:
- split: all
path: data/datasets.parquet
---
# Decision and learning model data
Human trial-by-trial data for fitting and comparing classic cognitive models
(categorisation, multiple-cue judgement, risky choice, multi-attribute
inference, bandits and exploration, two-step planning, decisions from
experience, sequential risk taking). Every dataset is in
**one trial-level schema**, so the same code reads all of them.
- 25 datasets, 8816 + 2199 participants (train + heldout),
2,633,201 + 662,794 trials.
- Split: about 20% of the participants of every dataset are in `heldout`
(rule below). Participants are never shared between splits.
- Produced by the `ucm` loaders (`ucm/data/psych101.py`, `ucm/data/risky.py`)
and `scripts/export_hf.py`, which checks that each participant's responses can
be rebuilt from the rows before writing.
## Loading
```python
from datasets import load_dataset
trials = load_dataset("stellalisy/decision_models_data", "all") # every dataset, train + heldout
badham = load_dataset("stellalisy/decision_models_data", "badham2017deficits_exp1") # one dataset
people = load_dataset("stellalisy/decision_models_data", "participants", split="all")
info = load_dataset("stellalisy/decision_models_data", "datasets", split="all")
```
or with pandas: `pd.read_parquet("hf://datasets/stellalisy/decision_models_data/data/trials/train/cpc18_raw.parquet")`.
`condition`, `options` and `extra` are JSON strings (`json.loads`).
## Files
```
data/trials/train/<config>.parquet one row per trial
data/trials/heldout/<config>.parquet
data/participants.parquet one row per participant (split, per-participant metadata)
data/datasets.parquet one row per dataset (source, licence, citation, counts, models)
splits.json held-out participant ids per dataset
```
## Datasets
| config | paradigm | trial kinds | participants (train / heldout) | trials (train / heldout) | seed models that run |
|---|---|---|---|---|---|
| `badham2017deficits_exp1` | Shepard categorisation | classify | 68 / 17 | 23,744 / 6,032 | GCM, Context model, Prototype model (MPM), Varying abstraction model, ALCOVE, SUSTAIN, Rational model (RMC) |
| `hilbig2014generalized_exp1` | multi-attribute decision | cue_pair | 58 / 15 | 5,568 / 1,440 | WADD, Tallying, Take-the-best |
| `gershman2018deconstructing_exp1` | two-armed bandit | bandit | 32 / 8 | 6,400 / 1,600 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Instance-based learning (IBL) |
| `gershman2018deconstructing_exp2` | two-armed bandit | bandit | 32 / 8 | 6,400 / 1,600 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Instance-based learning (IBL) |
| `wilson2014humans_exp1` | horizon task | bandit | 22 / 5 | 52,800 / 12,000 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Horizon information-bonus model, Instance-based learning (IBL) |
| `wilson2014humans_exp2` | horizon task | bandit | 6 / 1 | 7,200 / 1,200 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Horizon information-bonus model, Instance-based learning (IBL) |
| `wilson2014humans_exp3` | horizon task | bandit | 54 / 14 | 64,065 / 17,510 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Horizon information-bonus model, Instance-based learning (IBL) |
| `wilson2014humans_exp4` | horizon task | bandit | 64 / 16 | 76,800 / 19,200 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Horizon information-bonus model, Instance-based learning (IBL) |
| `wilson2014humans_exp5` | horizon task | bandit | 31 / 8 | 37,200 / 9,600 | Rescorla-Wagner / Q-learning, Kalman UCB/Thompson hybrid, Horizon information-bonus model, Instance-based learning (IBL) |
| `kool2016when_exp2` | two-step task | two_step | 150 / 38 | 18,047 / 4,622 | Model-based/model-free hybrid |
| `kool2017cost_exp2` | two-step task | two_step | 70 / 18 | 13,782 / 3,561 | Model-based/model-free hybrid |
| `kool2016when_exp1` | two-step task (Kool novel variant) | two_step_det | 143 / 36 | 17,252 / 4,198 | Model-based/model-free hybrid |
| `kool2017cost_exp1` | two-step task (Kool novel variant) | two_step_det | 74 / 19 | 14,464 / 3,711 | Model-based/model-free hybrid |
| `collsioo2023MCPL_exp1` | multiple-cue judgement | judge | 56 / 14 | 15,680 / 3,920 | Exemplar judgement model, Cue-abstraction model |
| `collsioo2023MCPL_exp2` | multiple-cue judgement | judge | 59 / 15 | 16,520 / 4,200 | Exemplar judgement model, Cue-abstraction model |
| `collsioo2023MCPL_exp3` | multiple-cue judgement | judge | 71 / 17 | 9,798 / 2,346 | Exemplar judgement model, Cue-abstraction model |
| `levering2020revisiting_exp1` | categorisation with transfer | classify | 101 / 25 | 15,958 / 3,950 | GCM, Context model, Prototype model (MPM), Varying abstraction model, ALCOVE, SUSTAIN, Rational model (RMC) |
| `levering2020revisiting_exp2` | categorisation with transfer | classify | 82 / 20 | 12,956 / 3,160 | GCM, Context model, Prototype model (MPM), Varying abstraction model, ALCOVE, SUSTAIN, Rational model (RMC) |
| `wulff2018description_exp1` | decisions from description | gamble_pair | 1585 / 396 | 22,577 / 5,495 | Expected value, Cumulative prospect theory, Priority heuristic |
| `wulff2018sampling_exp1` | sampling paradigm (decisions from experience) | sample_choice | 3158 / 784 | 29,762 / 7,595 | |
| `frey2017risk_exp1` | sequential risk taking (BART) | bart_pump | 1065 / 266 | 1,191,830 / 305,144 | |
| `frey2017cct_exp1` | sequential risk taking (Columbia Card Task) | cct_turn | 1094 / 274 | 492,805 / 120,494 | |
| `cpc18_raw` | decisions from description (repeated, with feedback) | gamble_pair | 741 / 185 | 472,175 / 117,875 | Expected value, Cumulative prospect theory, Priority heuristic |
| `choices13k_nofb` | decisions from description | gamble_pair | aggregate (split by problem) | 1,550 / 378 | Expected value, Cumulative prospect theory, Priority heuristic |
| `choices13k_fb` | decisions from description | gamble_pair | aggregate (split by problem) | 7,868 / 1,963 | Expected value, Cumulative prospect theory, Priority heuristic |
The "seed models" column lists the models of the accompanying model library
whose default parameters give a finite log-likelihood on the dataset.
## Trial schema
Every trial file has the same columns. A column that does not apply to a
trial kind is null.
| column | type | meaning |
|---|---|---|
| `dataset` | string | e.g. `psych101/badham2017deficits/exp1`, `cpc18/raw` |
| `paradigm` | string | task family |
| `trial_kind` | string | one of `classify`, `cue_pair`, `bandit`, `two_step`, `two_step_det`, `judge`, `gamble_pair`, `sample_choice`, `bart_pump`, `cct_turn` (below) |
| `participant_id` | string | globally unique: `<dataset>/<participant id in the source>` |
| `session` | int | 0-based session within participant (a learning problem, for categorisation; else 0) |
| `trial` | int | 0-based trial within session, in presentation order |
| `game` | int | game / block of trials that belong together (bandits: resets learning; CPC18: game id) |
| `condition` | JSON | experimental condition, incl. between-subject factors |
| `stimulus` | list[float] | stimulus features (`classify`, `judge`) |
| `options` | JSON | option descriptions (`cue_pair`, `gamble_pair`) |
| `start_state` | int | first-stage state (`two_step_det`) |
| `forced` | bool | the experiment chose the response (horizon-task forced trials) |
| `modelled` | bool | the trial is scored when fitting the standard model (false for forced trials and horizon free choices after the first) |
| `choice` | int | 0-based chosen option (first-stage action in the two-step tasks) |
| `next_state` | int | second-stage state reached (two-step tasks) |
| `choice2` | int | second-stage action (`two_step`) |
| `judgement` | float | numeric judgement (`judge`) |
| `outcome` | float | payoff / reward of the chosen option |
| `foregone` | float | payoff of the unchosen option, when it was shown |
| `correct` | float | correct category (`classify`) or criterion value (`judge`); null if no feedback |
| `extra` | JSON | kind-specific fields listed below |
**Option indices.** In Psych-101 transcripts, response keys are random letters
per participant. Index 0 is the label the instructions name first, index 1 the
second. Exceptions: in `bart_pump` and `cct_turn`, 1 = continue (pump / turn)
and 0 = stop. In CPC18 and choices13k, 0 = option A, 1 = option B.
### Trial kinds
| kind | datasets | fields used |
|---|---|---|
| `classify` | Badham 2017; Levering 2020 | Badham: `stimulus` = [size big, colour black, shape square] (0/1); `condition.shj_type` (I-VI as 1-6, identified from the feedback) and `condition.problem`. Levering: `stimulus` = [shape square, size 1.50 in, shading black] (0/1); `condition.phase` (train/test); test trials have `correct` null and `extra.typicality` (1-9); `extra.item` is the 3-digit code shown. Both: `choice`; `correct` |
| `cue_pair` | Hilbig 2014 | `options` = 2 x 4 binary cue ratings, cues in decreasing validity; `condition.validities`; `choice`; `extra.shown_first` (which option was printed first) |
| `bandit` | Gershman 2018, Wilson 2014 | `game`; `choice`; `outcome` (points); Gershman exp1 `condition.safe_option` (always pays 0); Wilson `condition.horizon` (1/6), `condition.cell` (horizon x 1-3 or 2-2 forced information), `forced`, `extra.free_index`, `extra.equal_info` |
| `two_step` | Kool 2016 exp2, Kool 2017 exp2 (Daw et al. 2011 structure) | `choice` = spaceship; `next_state` = planet, re-indexed so a spaceship's common planet has its index (common = `choice == next_state`); `choice2` = alien; `outcome` = treasure; Kool 2017 `condition.stakes` (5 or 1) |
| `two_step_det` | Kool 2016 exp1, Kool 2017 exp1 (Kool's deterministic variant) | `start_state` = spaceship pair; `choice`; `next_state` = planet; `outcome` = treasure found (antimatter negative); `extra.received` = amount after the stakes multiplier; `condition.stakes` |
| `judge` | Collsiöö 2023 | `stimulus` = [Progladine, Amalydine] on 1-5; `judgement` and `correct` on 10-90 (verbal labels mapped in order); `extra.phase` (train/test); `condition.function` (additive or non-additive, identified from feedback), `condition.format` |
| `sample_choice` | Wulff 2018 sampling | one row per problem: `extra.samples` = [[option, observed outcome], ...] in order; `choice` = final choice; `condition.fixed_samples` = required number of draws, or null for free sampling. The lotteries are not given in the source |
| `bart_pump` | Frey 2017 BART | one row per key press: `choice` 1 = pump, 0 = stop and collect; `game` = balloon; `outcome` = points collected (stop) or 0 (the pump that exploded the balloon), else null; `extra.pumps_so_far`, `extra.exploded` |
| `cct_turn` | Frey 2017 Columbia Card Task | one row per key press: `choice` 1 = turn a card, 0 = claim; `game` = round; `condition.{gain, loss, n_loss_cards, n_cards}`; `outcome` = card value on a turn, round score on a claim; `extra.card` (gain/loss), `extra.cards_turned` |
| `gamble_pair` | CPC18, choices13k, Wulff 2018 description | `options` = [[[outcome, probability], ...] for A, B], outcomes ascending (CPC18 lotteries expanded); CPC18: `game`, `choice`, `outcome` = chosen payoff, `foregone` when `condition.feedback`, `condition.block`, `extra.{trial_in_game, order, set, corr, ambiguous}`; choices13k (aggregate): `extra.{problem, b_rate, n, corr, block}`, `choice` null; Wulff description: one-shot `choice`, no feedback, `extra.shown_first` |
## Held-out split
Within each dataset, participants are grouped by their between-subject
conditions (participant metadata keys: function, format, deterministic, linearly_separable, fixed_samples). Within each group they are
ordered by `sha256("uct-heldout-v1:" + participant_id)` and the first
round(20% x group size) (at least one, if the group has two or more) are
held out. The rule is deterministic, so it can be reproduced from the ids.
Aggregate datasets (choices13k) are split by problem id with the same rule, so a
problem is in the same split with and without feedback.
The split is for evaluating generalisation to new participants of the same
experiments. Generalisation to new experiments can be tested with the
`dataset` column (e.g. fit Wilson exp1-4, test exp5; fit Kool 2016, test Kool
2017; fit Collsiöö exp1, test exp2; fit choices13k, test CPC18).
## Processing notes
- Psych-101 transcripts were parsed with exact regular expressions. Lines
that do not parse are counted in `datasets.parse_issues`; none of the
included datasets has unparsed lines. Trials where the participant did not
respond in time are dropped (counts in `parse_issues`).
- Badham 2017: the paper reports 96 participants; Psych-101 has 85. Each
participant learned types I-IV, once each.
- Kool two-step: the observed common-transition rate is 0.70 (participant range
0.55-0.79), as in the papers (`participants.meta.common_rate`). Kool's
deterministic variant was checked to be deterministic for every participant.
- Collsiöö: every participant's feedback fits exactly one of the paper's two
criterion functions, 50 + 10P - 10A or 50 + 10(P-3)(A-3).
- Levering 2020: each participant learns three objects per category (two of
the eight are never trained) for 150 trials, then classifies all eight with a
typicality rating. All exp1 structures are linearly separable and all exp2
structures are not (`participants.meta.linearly_separable`). Correct
labels are inferred from the points (1 = correct); they are consistent for
every participant.
- Wulff 2018 description: 81 lotteries whose listed probabilities do not sum
to 100% are dropped. Sampling: 125 problems have a different number of
draws from the fixed number the instructions state (kept, counted in
`parse_issues`).
- Frey 2017: BART explosion points and CCT card positions are not in the
source.
- Psych-101 `plonsky2018when` is not included: each of its 209 usable
participants matches one CPC18 participant exactly on every shared problem,
so it duplicates `cpc18_raw`.
- CPC18: ambiguous games (B's probabilities not shown) are excluded (104,450
trials). `outcome` is recorded for every trial but participants saw payoffs
only when `condition.feedback` is true.
## Licences and citations
This dataset collects data from the sources below; please cite them, and follow
each source's licence.
- **badham2017deficits** (Psych-101; licence Apache-2.0): Badham, S. P., Sanborn, A. N., & Maylor, E. A. (2017). Deficits in category learning in older adults: Rule-based versus clustering accounts. Psychology and Aging, 32(5), 473-488.
- **hilbig2014generalized** (Psych-101; licence Apache-2.0): Hilbig, B. E., & Moshagen, M. (2014). Generalized outcome-based strategy classification: Comparing deterministic and probabilistic choice models. Psychonomic Bulletin & Review, 21(6), 1431-1443.
- **gershman2018deconstructing** (Psych-101; licence Apache-2.0): Gershman, S. J. (2018). Deconstructing the human algorithms for exploration. Cognition, 173, 34-42.
- **wilson2014humans** (Psych-101; licence Apache-2.0): Wilson, R. C., Geana, A., White, J. M., Ludvig, E. A., & Cohen, J. D. (2014). Humans use directed and random exploration to solve the explore-exploit dilemma. Journal of Experimental Psychology: General, 143(6), 2074-2081.
- **kool2016when** (Psych-101; licence Apache-2.0): Kool, W., Cushman, F. A., & Gershman, S. J. (2016). When does model-based control pay off? PLoS Computational Biology, 12(8), e1005090.
- **kool2017cost** (Psych-101; licence Apache-2.0): Kool, W., Gershman, S. J., & Cushman, F. A. (2017). Cost-benefit arbitration between multiple reinforcement-learning systems. Psychological Science, 28(9), 1321-1333.
- **collsiöö2023MCPL** (Psych-101; licence Apache-2.0): Collsiöö, A., Juslin, P., & Winman, A. (2023). Is numerical information always beneficial? Verbal and numerical cue-integration in additive and non-additive tasks. Cognition, 240, 105584. (exp3 in Psych-101 is not in the paper; its source is unknown.)
- **levering2020revisiting** (Psych-101; licence Apache-2.0): Levering, K. R., Conaway, N., & Kurtz, K. J. (2020). Revisiting the linear separability constraint: New implications for theories of human category learning. Memory & Cognition, 48(3), 335-347.
- **wulff2018description** (Psych-101; licence Apache-2.0): Wulff, D. U., Mergenthaler-Canseco, M., & Hertwig, R. (2018). A meta-analytic review of two modes of learning and the description-experience gap. Psychological Bulletin, 144(2), 140-176. (Description condition.)
- **wulff2018sampling** (Psych-101; licence Apache-2.0): Wulff, D. U., Mergenthaler-Canseco, M., & Hertwig, R. (2018). A meta-analytic review of two modes of learning and the description-experience gap. Psychological Bulletin, 144(2), 140-176. (Sampling paradigm.)
- **frey2017risk** (Psych-101; licence Apache-2.0): Frey, R., Pedroni, A., Mata, R., Rieskamp, J., & Hertwig, R. (2017). Risk preference shares the psychometric structure of major psychological traits. Science Advances, 3(10), e1701381. (Balloon Analogue Risk Task.)
- **frey2017cct** (Psych-101; licence Apache-2.0): Frey, R., Pedroni, A., Mata, R., Rieskamp, J., & Hertwig, R. (2017). Risk preference shares the psychometric structure of major psychological traits. Science Advances, 3(10), e1701381. (Columbia Card Task, hot.)
- **cpc18** (CPC18 (Zenodo 2571510); licence CC-BY-4.0): Plonsky, O., Apel, R., Ert, E., Tennenholtz, M., Bourgin, D., Peterson, J. C., Reichman, D., Griffiths, T. L., Russell, S. J., Carter, E. C., Cavanagh, J. F., & Erev, I. (2019). Predicting human decisions with behavioral theories and machine learning. arXiv:1904.06866. Raw data: zenodo.org/record/2571510.
- **choices13k** (github.com/jcpeterson/choices13k; licence none stated): Peterson, J. C., Bourgin, D. D., Agrawal, M., Reichman, D., & Griffiths, T. L. (2021). Using large-scale experiments and machine learning to discover theories of human decision-making. Science, 372(6547), 1209-1214.
Psych-101: Binz, M., et al. (2025). A foundation model to predict and capture
human cognition. *Nature*. huggingface.co/datasets/marcelbinz/Psych-101.