--- license: mit task_categories: - other tags: - reasoning - crystal-generation - inverse-design - sudoku - arc-agi pretty_name: Recursive Latent Reasoning --- # Recursive Latent Reasoning — datasets Data for the **Recursive Latent Reasoning** project: one shared recursive generator (a TRM-style weight-tied block refining a VAE latent canvas, with a frozen multi-scale MAE as the feature ruler) applied to three tasks. | domain | unit | input → target | objective | |---|---|---|---| | `crystal/` | a SLICES row | target band_gap → a valid crystal | MAE-based generation, **2 arms**: plain vs **GFN multi-reward** | | `sudoku/` | a (puzzle, solution) pair | puzzle → its **unique** solution | unique-solution MAE objective | | `arc/` | an ARC task | demo pairs → held-out test output | per-task test-time, unique-solution MAE objective | ## Contents - **`crystal/{train,val}.csv`** — 82,408 / 9,099 rows. Columns: `SLICES, formation_energy_per_atom, band_gap, e_above_hull, crystal_system`. `band_gap` + `e_above_hull` are the labels the GFN multi-reward uses (`R = valid · exp(−β_s·e_hull) · exp(−β_g·|band_gap−c|) · novelty`). SLICES strings decode to pymatgen structures. - **`sudoku/snapshot.pt`** — `{train,val}.{puzzles,solutions}` long tensors `[N,9,9]` (0 = blank, 1–9). Puzzles are dug so each has a **unique** solution; train/val use disjoint solution draws. Regenerable at any scale via `latent_reasoning.data.sudoku`. - **`arc/arc-agi_*.json`** — the official ARC-AGI-1 training/evaluation/test challenges + solutions (400 + 400 tasks; grids 1×30, palette 0–9; output size may differ from input). ## Reproduce ```bash python -m latent_reasoning.data.prepare_all \ --crystal-train train.csv --crystal-val val.csv \ --arc-src --stage ./staging --upload ``` Crystal data is from the MatterGPT SLICES corpus; ARC-AGI-1 is by Chollet et al.