Datasets:

Modalities:
Text
Formats:
parquet
License:
File size: 2,908 Bytes
4b665e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---

license: cc-by-4.0
configs:
- config_name: default
  data_files:
  - split: train
    path: default/train.parquet
  - split: validation
    path: default/validation.parquet
  - split: test
    path: default/test.parquet
  default: true
- config_name: medium
  data_files:
  - split: train
    path: medium/train.parquet
  - split: validation
    path: medium/validation.parquet
  - split: test
    path: medium/test.parquet
- config_name: hard
  data_files:
  - split: train
    path: hard/train.parquet
  - split: validation
    path: hard/validation.parquet
  - split: test
    path: hard/test.parquet
---

# GRADIEND Function Composition Data

Synthetic alias-resolution cloze data used in the GRADIEND/ACTIEND/SAE/CAA comparison (aieng-lab/iend-study).

## Usage

```python

from datasets import load_dataset



ds = load_dataset("aieng-lab/gradiend-function-composition", "default", split="train")

```

Splits: `train`, `validation`, `test`.

## Dataset Details

### Dataset Description

One variable aliases a variable holding the target value, e.g. `m = fork; p = seal; h = m; h = [MASK]` (target `fork`). The factual class is `RESULT`.

### Dataset Structure

Configs `default` (easy), `medium`, and `hard`; each has all splits (8,000 / 1,000 / 1,000 rows).

- `masked`: the input text with a single `[MASK]` slot to be predicted
- `label`: the factual target token(s) for the slot
- `label_class`: class of the factual target
- `alternative`: the alternative (counterfactual) target for the slot
- `alternative_class`: class of the alternative target
- `feature_class_id`: identifier of the feature class (equal to `label_class`)
- `split`: `train`, `validation`, or `test`
- `difficulty`: difficulty level of the row

`default` = easy (one alias step, canonical format). `medium` (chain depth 2) and `hard` (chain depth 3) add longer alias chains and format variation.

### Dataset Sources

- Repository: https://github.com/aieng-lab/iend-study
- Generated with `study.data.synthetic` in the repository above; no external data.

## Dataset Creation

Variable names are sampled without replacement from the 26 lowercase Latin letters; values come from the same split-disjoint 75-value vocabulary as `gradiend-key-value`. Easy examples contain one alias step and zero or one unrelated distractor assignment. If a distractor is present its value is the alternative, otherwise a different value from the split-local vocabulary is used. Alias and distractor variables are distinct, distractor values never equal the target, and duplicate masked contexts are removed.

## Bias, Risks, and Limitations

Fully synthetic and templated; it probes one narrow symbolic mechanism, not general reasoning, and results need not transfer to natural text. Value/token vocabularies are small and hand-curated.

## Citation

BibTeX: TODO