PMon commited on
Commit
51d0950
·
verified ·
1 Parent(s): 1771206

Upload folder using huggingface_hub

Browse files
.DS_Store ADDED
Binary file (8.2 kB). View file
 
README.md ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Compositional-ARC
3
+ configs:
4
+ - config_name: all_episodes
5
+ default: true
6
+ data_files:
7
+ - split: test
8
+ path: "all/all_episodes.jsonl.gz"
9
+
10
+ - config_name: split_seed_1860
11
+ data_files:
12
+ - split: train
13
+ path: "split_seed_1860/train_systematicity.jsonl.gz"
14
+ - split: validation
15
+ path: "split_seed_1860/val_systematicity.jsonl.gz"
16
+ - split: test
17
+ path: "split_seed_1860/test_systematicity.jsonl.gz"
18
+
19
+ - config_name: split_seed_1870
20
+ data_files:
21
+ - split: train
22
+ path: "split_seed_1870/train_systematicity.jsonl.gz"
23
+ - split: validation
24
+ path: "split_seed_1870/val_systematicity.jsonl.gz"
25
+ - split: test
26
+ path: "split_seed_1870/test_systematicity.jsonl.gz"
27
+
28
+ - config_name: split_seed_1880
29
+ data_files:
30
+ - split: train
31
+ path: "split_seed_1880/train_systematicity.jsonl.gz"
32
+ - split: validation
33
+ path: "split_seed_1880/val_systematicity.jsonl.gz"
34
+ - split: test
35
+ path: "split_seed_1880/test_systematicity.jsonl.gz"
36
+
37
+ - config_name: split_seed_1890
38
+ data_files:
39
+ - split: train
40
+ path: "split_seed_1890/train_systematicity.jsonl.gz"
41
+ - split: validation
42
+ path: "split_seed_1890/val_systematicity.jsonl.gz"
43
+ - split: test
44
+ path: "split_seed_1890/test_systematicity.jsonl.gz"
45
+
46
+ license: cc-by-sa-4.0
47
+ extra_gated_prompt: I hereby agree to not upload this data publicly without the authors' consent.
48
+ extra_gated_fields:
49
+ Company: text
50
+ Country: country
51
+ I want to use this dataset for:
52
+ type: select
53
+ options:
54
+ - Research
55
+ - Education
56
+ - Product
57
+ - label: Other
58
+ value: other
59
+ task_categories:
60
+ - text-generation
61
+ - image-text-to-text
62
+ tags:
63
+ - Abstract Spatial Reasoning
64
+ - Logical Puzzles
65
+ - ARC
66
+ size_categories:
67
+ - 10K<n<100K
68
+ ---
69
+
70
+ <h1 align="center">Compositional-ARC: Assessing Systematic Generalization in Abstract Spatial Reasoning</h1>
71
+
72
+ <div style="text-align: center; width: 100%;">
73
+ <!-- Container to align the image and the caption -->
74
+ <div style="display: inline-block; text-align: left; width: 85%;">
75
+ <img src="assets/imgs/c_arc_conceptual_overview.png" style="width: 100%;" alt="Conceptual overview of Compositional-ARC">
76
+ </div>
77
+ </div>
78
+
79
+ <br>
80
+
81
+ Philipp Mondorf, Shijia Zhou, Monica Riedler, and Barbara Plank. (2026). [Compositional-ARC: Assessing systematic generalization in abstract spatial reasoning](https://arxiv.org/abs/2504.01445). In *The Fourteenth International Conference on Learning Representations*.
82
+
83
+ Systematic generalization refers to the capacity to understand and generate novel combinations from known components. Despite recent progress by large language models (LLMs) across various domains, these models often fail to extend their knowledge to novel compositional scenarios, revealing notable limitations in systematic generalization. There has been an ongoing debate about whether neural networks possess the capacity for systematic generalization, with recent studies suggesting that meta-learning approaches designed for compositionality can significantly enhance this ability. However, these insights have largely been confined to linguistic problems, leaving their applicability to other tasks an open question. In this study, we extend meta-learning for compositionality to the domain of abstract spatial reasoning. To this end, we introduce *Compositional-ARC*&mdash;a dataset designed to evaluate the capacity of models to systematically generalize from known geometric transformations (e.g., translation, rotation) of abstract two-dimensional objects to novel combinations of these transformations (e.g., translation+rotation). Our results show that a small transformer-based encoder-decoder model, trained via meta-learning for compositionality, can systematically generalize to previously unseen transformation compositions. Notably, despite having only 5.7M parameters, this model significantly outperforms state-of-the-art LLMs&mdash;including o3-mini, GPT-4o, and Gemini 2.0 Flash, which fail to exhibit similar systematic behavior&mdash;and performs on par with the winning model of the ARC prize 2024, an 8B-parameter LLM trained via test-time training. Our findings highlight the effectiveness of meta-learning in promoting systematicity beyond linguistic tasks, suggesting a promising direction toward more robust and generalizable models.
84
+
85
+ ## Data Structure
86
+ This repository contains the data for *Compositional-ARC*. It is structured as follows:
87
+
88
+ ```
89
+ all/
90
+ │ └── all_episodes
91
+ ├── split_seed_1860/
92
+ │ ├── train_episodes
93
+ │ ├── val_episodes
94
+ │ └── test_episodes
95
+ ├── split_seed_1870/
96
+ │ ├── train_episodes
97
+ │ ├── val_episodes
98
+ │ └── test_episodes
99
+ ├── split_seed_1880/
100
+ │ ├── train_episodes
101
+ │ ├── val_episodes
102
+ │ └── test_episodes
103
+ ├── split_seed_1890/
104
+ │ ├── train_episodes
105
+ │ ├── val_episodes
106
+ │ └── test_episodes
107
+ ```
108
+
109
+ As described in our [paper](https://arxiv.org/abs/2504.01445), *Compositional-ARC* consists of 100,000 episodes. Each episode comprises three few-shot examples for the "3-Shot" task, 12 systematic study examples for the “Systematicity” setup, and ten query input-output grid pairs demonstrating the final level-2 transformation composition. Each episode is characterized by a unique visual interpretation grammar. For instance, in one episode, yellow objects are translated down by a single cell, while in another, yellow objects are reflected horizontally. All 100,000 episodes can be found in `all/all_episodes`.
110
+
111
+ ### Data Instances
112
+ Each data sample (episode) contains the following information:
113
+
114
+ ```
115
+ {
116
+ "primitive_functions": {
117
+ "shape_transformation": list of input-output examples for shape-based transformation,
118
+ "color_transformation": list of input-output examples for color-based transformation,
119
+ "indicator_transformation": list of input-output examples for neighbor-based transformation,
120
+ },
121
+ "function_compositions": {
122
+ "shape_color_transformation": list of input-output examples for (shape+color)-based transformation,
123
+ "shape_indicator_transformation": list of input-output examples for (shape+neighbor)-based transformation,
124
+ "color_indicator_transformation": list of input-output examples for (color+neighbor)-based transformation,
125
+ },
126
+ "queries": list of input-output level-2 composition queries,
127
+ "meta_data": {
128
+ "shape_transformation": {
129
+ "type": type of transformation,
130
+ "kwargs": transformation argument dict,
131
+ },
132
+ "color_transformation": {
133
+ "type": type of transformation,
134
+ "kwargs": transformation argument dict,
135
+ },
136
+ "indicator_transformation": {
137
+ "type": type of transformation,
138
+ "kwargs": transformation argument dict,
139
+ }
140
+ }
141
+ }
142
+ ```
143
+
144
+ ### Training Splits
145
+ As described in our [paper](https://arxiv.org/abs/2504.01445), we split the data into training, validation, and test sets to train an encoder-decoder model via MLC. Importantly, the data splits are constructed such that the geometric transformations involved in the final query level-2 compositions differ between the training and evaluation sets. For instance, while the model is trained on basic transformations and a range of transformation compositions (e.g., translation + rotation + reflection), it is evaluated out of distribution on compositions not seen during training (e.g., translation + rotation + extension). We include four different data splits (based on seeds 1860, 1870, 1880, and 1890) in this repository.
146
+
147
+ ### Further Information
148
+ Details about the data generation process, dataset statistics, and evaluations are presented in the corresponding [paper](https://arxiv.org/abs/2504.01445).
149
+
150
+ ## Citation
151
+
152
+ If you find our work helpful, you can cite this paper as:
153
+ ```
154
+ @inproceedings{
155
+ mondorf2026compositionalarc,
156
+ title={Compositional-{ARC}: Assessing Systematic Generalization in Abstract Spatial Reasoning},
157
+ author={Philipp Mondorf and Shijia Zhou and Monica Riedler and Barbara Plank},
158
+ booktitle={The Fourteenth International Conference on Learning Representations},
159
+ year={2026},
160
+ url={https://openreview.net/forum?id=h497VpgFKd}
161
+ }
162
+ ```
163
+
164
+ [def]: #table-of-contents
all/.DS_Store ADDED
Binary file (6.15 kB). View file
 
all/all_episodes.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e521af32f59b37515f2bba009809644135cc6c6723803e30e0eadc56b5adff2b
3
+ size 81188604
assets/imgs/c_arc_conceptual_overview.png ADDED

Git LFS Details

  • SHA256: 5db71734785c0f0413a5ed9bca82c9ac76d6a9a1270ea5deb1279021b48f6a35
  • Pointer size: 131 Bytes
  • Size of remote file: 910 kB
split_seed_1860/.DS_Store ADDED
Binary file (6.15 kB). View file
 
split_seed_1860/test_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8be45e4d074eb9fa374c4adbd465940efd52f70537c6dddd8a11236864c377df
3
+ size 3958528
split_seed_1860/train_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27f29f4c2dabf8a5f04292c959a72f547a9b06982c2a50952e55baec65ccc9b7
3
+ size 39454467
split_seed_1860/val_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dc22283b111c363560c117f0ef3e33fc699df3721858f5a58aa2700f5d1eb61
3
+ size 3954571
split_seed_1870/.DS_Store ADDED
Binary file (6.15 kB). View file
 
split_seed_1870/test_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d36a29992ec2f580ed815eed033238021e3fc6afea23b7ff33e635cb48648759
3
+ size 3838180
split_seed_1870/train_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156f029bc3fa9ee785706be7f2035e39e2f1db12220501a9cd6e7a07e16ced17
3
+ size 39676870
split_seed_1870/val_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d32bf6a32bf9d185000e89cedb1d842ef4111b792e3e612ad2169eb4169d1952
3
+ size 3828982
split_seed_1880/.DS_Store ADDED
Binary file (6.15 kB). View file
 
split_seed_1880/test_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa1cce9e92d3e265242497b0d2d51a8c0249fc2c5ba31ff2df64c94eb7f18fd0
3
+ size 4925719
split_seed_1880/train_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bccaa9275827f84fbf737a8c0d09369609b8785b8292ead155a3642dd2c76be7
3
+ size 37474470
split_seed_1880/val_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6faa005f68b923de3e000ebaa732f0982306d26b1899e87151966c86c1c36dde
3
+ size 4924295
split_seed_1890/.DS_Store ADDED
Binary file (6.15 kB). View file
 
split_seed_1890/test_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bc207b48fd9d119ff29029960488e95a81226b51de267b089c26ba2f09e5342
3
+ size 4398578
split_seed_1890/train_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b966964a1addf0d5f3b46ed6d3f205b9334131c04e94b6e058d3fc8cea8a26
3
+ size 38618096
split_seed_1890/val_systematicity.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d981cbcf9f027b972e4dfad37cf4c6bf488e756f67cae8a25ed41664348a79f6
3
+ size 4399201