You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66-31Lines changed: 66 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Enhanced ARC-AGI-2 Solver
1
+
# PUMA: Program Understanding & Meta-learning Architecture
2
2
3
3
This repository contains an advanced solver for the **ARC Prize 2025** competition (ARC‑AGI‑2), implementing the complete blueprint from neuroscience-inspired research. It combines symbolic reasoning with neural guidance, episodic retrieval, program sketches, and test-time training to achieve superior performance on abstract reasoning tasks.
4
4
@@ -8,22 +8,36 @@ This repository contains an advanced solver for the **ARC Prize 2025** competiti
We are exploring a behavioral perspective grounded in **Relational Frame Theory (RFT)** to tackle ARC. RFT models language and cognition as networks of learned relational frames, giving us a principled way to compose and generalize transformations across tasks.
11
+
We are implementing a behavioral perspective grounded in **Relational Frame Theory (RFT)** to tackle ARC through explicit relational reasoning. RFT models cognition as networks of learned relational frames, providing a principled foundation for understanding spatial and contextual relationships between objects.
12
12
13
-
For more details, see [profile/README.md](profile/README.md).
13
+
### RFT Implementation Strategy
14
+
15
+
Our RFT approach focuses on learning explicit relational contexts between objects:
16
+
17
+
-**Relational Fact Extraction**: Parse visual scenes to identify objects and their spatial relationships (e.g., “blue square is always at top position”)
18
+
-**Contextual Rule Learning**: Extract invariant relationships across training examples (e.g., “if blue square at top, then red square at position (blue_y + 1, blue_x)”)
19
+
-**Compositional Reasoning**: Combine learned relational frames to generate predictions for novel configurations
20
+
-**Behavioral Generalization**: Apply relational rules systematically rather than relying on pattern matching
21
+
22
+
This approach complements the neural components by providing explicit, interpretable relational knowledge that can be composed and reasoned about symbolically.
23
+
24
+
For more details, see <profile/README.md>.
14
25
15
26
## Key Features
16
27
17
-
### 🧠 Neuroscience-Inspired Architecture
28
+
### Neuroscience-Inspired Architecture
29
+
18
30
-**Neural guidance**: Predicts relevant DSL operations using task features
19
-
-**Episodic retrieval**: Maintains database of solved tasks for analogical reasoning
31
+
-**Episodic retrieval**: Maintains database of solved tasks for analogical reasoning
20
32
-**Program sketches**: Mines common operation sequences as macro-operators
21
33
-**Test-time training**: Adapts scoring functions to each specific task
22
34
-**Multi-demand network analog**: Prioritizes candidate programs using learned heuristics
23
35
24
-
### 🔧 Enhanced Capabilities
36
+
### Enhanced Capabilities
37
+
25
38
-**Object-centric parsing** with connected component analysis
26
39
-**Compact DSL** with composable primitives (rotate, flip, translate, recolor, etc.)
40
+
-**Relational reasoning** through explicit fact extraction and rule learning
27
41
-**Two-attempt diversity** as required by ARC Prize 2025 rules
28
42
-**Fallback resilience** with graceful degradation to baseline methods
29
43
-**Performance monitoring** with detailed statistics and benchmarking
@@ -62,7 +76,7 @@ arc_solver_project/
62
76
63
77
## Quick Start
64
78
65
-
### 1. Basic Usage (Kaggle-ready)
79
+
### Basic Usage (Kaggle-ready)
66
80
67
81
```bash
68
82
# Generate submission file (uses enhanced solver by default)
@@ -72,7 +86,7 @@ python arc_submit.py
72
86
ARC_USE_BASELINE=1 python arc_submit.py
73
87
```
74
88
75
-
### 2. Training Neural Components
89
+
### Training Neural Components
76
90
77
91
```bash
78
92
# Train neural guidance (requires training data)
@@ -82,7 +96,7 @@ python tools/train_guidance.py
82
96
python tools/benchmark.py
83
97
```
84
98
85
-
### 3. Python API
99
+
### Python API
86
100
87
101
```python
88
102
from arc_solver.solver import solve_task_enhanced, ARCSolver
This implementation is based on the research blueprint "ARC Prize 2025 & Human Fluid Intelligence" which draws from cognitive neuroscience findings about:
260
+
This implementation is based on the research blueprint “ARC Prize 2025 & Human Fluid Intelligence” which draws from cognitive neuroscience findings about:
230
261
231
262
-**Multiple-demand (MD) network**: Neural guidance mimics executive control
232
-
-**Basal ganglia gating**: Operation selection and working memory control
263
+
-**Basal ganglia gating**: Operation selection and working memory control
233
264
-**Hippocampal-mPFC loop**: Episodic retrieval and schema integration
234
265
-**Test-time adaptation**: Rapid task-specific learning from few examples
235
266
@@ -238,18 +269,21 @@ The solver architecture directly maps these biological systems to computational
238
269
## Competition Strategy
239
270
240
271
### Short-term (Immediate)
241
-
- ✅ Strong symbolic baseline with neural enhancements
242
-
- ✅ Episodic retrieval for common patterns
243
-
- ✅ Test-time adaptation for task specialization
244
-
- ✅ Kaggle-ready submission format
272
+
273
+
- Strong symbolic baseline with neural enhancements
274
+
- Episodic retrieval for common patterns
275
+
- Test-time adaptation for task specialization
276
+
- Kaggle-ready submission format
245
277
246
278
### Medium-term (During Contest)
279
+
247
280
- Train neural guidance on public training data
248
-
- Mine program sketches from successful solutions
281
+
- Mine program sketches from successful solutions
249
282
- Analyze semi-private feedback for failure modes
250
283
- Expand DSL based on discovered patterns
251
284
252
285
### Long-term (Advanced Research)
286
+
253
287
- Probabilistic program synthesis
254
288
- Hybrid symbolic-neural architecture
255
289
- Broader cognitive priors and meta-learning
@@ -265,12 +299,13 @@ If you use this solver or build upon its ideas, please cite the research bluepri
265
299
266
300
## Contributing
267
301
268
-
Contributions are welcome! Focus areas:
302
+
Contributions are welcome. Focus areas include:
303
+
269
304
- Neural architecture improvements
270
305
- New DSL operations based on failure analysis
271
306
- Advanced meta-learning techniques
272
307
- Performance optimizations for Kaggle constraints
0 commit comments