CoolFace
Modelpublic

kofdai/verantyx-arc-agi2

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
Model Card

Verantyx ARC-AGI-2 โ€” 16.1% (161/1000) ๐Ÿ†

Pure rule-based solver for ARC-AGI-2. No LLM. No neural networks. No pre-training.

Score

SplitScoreTasks Solved
Training16.1%161 / 1000

Approach

Verantyx is a fully deterministic, LLM-free ARC-AGI-2 solver built on program synthesis and domain-specific language (DSL) enumeration.

Architecture

  1. 1.Cross Engine โ€” Multi-strategy solver with priority-based candidate selection
  2. 2.Neighborhood Rules โ€” Exact and extended (count/directional/multi-pass) neighborhood matching
  3. 3.DSL Enumerator โ€” 32 parameterless primitives with depth-2 composition (1024 combinations)
  4. 4.Panel Operations โ€” Grid splitting (separators, equal partitions) + reduction (XOR, OR, AND, overlay, select)
  5. 5.Per-Object Transform โ€” Object detection โ†’ property-based recoloring/movement
  6. 6.Puzzle Language โ€” 25+ hand-crafted pattern detectors with auto-verification
  7. 7.Iterative Cross โ€” 2-step residual learning for complex transformations

Puzzle Language Patterns (Phase 7)

PatternDescriptionExample Task
cross_and_fillFill cross intersectionsโ€”
diagonal_extendExtend diagonal linesโ€”
connect_same_colorConnect same-colored cellsโ€”
extract_tileDetect repeated tile7b7f7511
two_row_interleave2 rows โ†’ checkerboarde9afcf9a
stack_norTop+bottom halves NORfafffa47
frame_repeat_borderFrame with repeated border49d1d64f
col_color_mapColumn position โ†’ row colora85d4709
split_vsep_andVertical split AND0520fde7
grid_patternLattice/checkerboard generation332efdb3
antidiag_fillAnti-diagonal + bottom fill3bd67248
latin_squareLatin square completion4cd1b7b2
shift_recolorShift + recolor fg cellsa79310a0
uniform_row_detectMark uniform rows25d8a9c8
+ 10 more......

Score History

VersionScoreDeltaKey Changes
v19113 (11.3%)โ€”Baseline with NB + DSL
v27127 (12.7%)+14Extended NB rules
v28136 (13.6%)+9splitcombine + panelextract
v29142 (14.2%)+6puzzle_lang Phase 7
v30144 (14.4%)+2connectsamecolor
v31146 (14.6%)+2udropball + nonzerocountrow
v32147 (14.7%)+1scaledownuniform
v33149 (14.9%)+2staircasegrow + comptile_2x2
v34154 (15.4%)+5framerepeat + extracttile
v35158 (15.8%)+4colcolormap + splitvsepand
v36161 (16.1%)+3grid_pattern + latin_square

Performance

  • โ€”Eval speed: ~0.40s/task (1000 tasks in ~7 minutes)
  • โ€”No GPU required โ€” runs on CPU only
  • โ€”Deterministic โ€” same input always produces same output

Usage

python
from arc.cross_engine import solve_cross_engine

# train_pairs: list of (input_grid, output_grid)
# test_inputs: list of input grids
predictions, versions = solve_cross_engine(train_pairs, test_inputs)

Files

  • โ€”arc/cross_engine.py โ€” Main solver orchestrator
  • โ€”arc/puzzle_lang.py โ€” Pattern-based puzzle language
  • โ€”arc/nb_extended.py โ€” Extended neighborhood rules
  • โ€”arc/beam_search.py โ€” Beam search with DSL
  • โ€”arc/enumerator.py โ€” DSL primitive enumerator
  • โ€”arc/panel_ops.py โ€” Panel split + reduce operations
  • โ€”arc/per_object.py โ€” Per-object transforms
  • โ€”arc/primitives.py โ€” 32 core DSL primitives

License

MIT

Author

kofdai โ€” verantyx project