Repository navigation
JAX implementations of batched A* and Q* search for neural heuristic search research.
Release v0.1.1 (bbc54321) pairs JAxtar with Xtructure v0.1.4 (1b0a4e9d) and PuXle v0.2.0 (146d4df6), incorporating batched search and host/device loop optimizations (#84, #86, #93) alongside Xtructure v0.1.4 BGPQ and deduplication kernels.
Highlights
- Dependency & Type-Checking Alignment: Updated
uv.locktoXtructure v0.1.4(1b0a4e9d) andPuXle v0.2.0(146d4df6) while keeping@maintracking inpyproject.toml, and fixedBeamSearchLoopStatestatic_fields=("params",)tuple specification. - Controlled Benchmark Summary (
JAxtar v0.1.1vs.GPUAStar@ RTX 4080 SUPER, 280 W, 2,100 MHz, 100% CPU-verified):- Matched Fixed-Batch (
pop_ratio=inf,w=0.6):
- Matched Fixed-Batch (
| Domain / Batch | Variant (Solved) | Median (ms) | vs. PyTorch | vs. CUDA |
|---|---|---|---|---|
15-Puzzle B=1,000 (n=500) |
JAxtar FP32 (500/500) |
194.5 | 5.97x | 0.94x |
15-Puzzle B=1,000 (n=500) |
JAxtar W8A8 (500/500) |
81.4 | 14.32x | 2.24x |
15-Puzzle B=10,000 (n=500) |
JAxtar FP32 (500/500) |
1,199.0 | 2.40x | 1.13x |
15-Puzzle B=10,000 (n=500) |
JAxtar W8A8 (500/500) |
338.5 | 8.48x | 4.00x |
Rubik's Cube B=10,000 (n=50) |
JAxtar FP32 (50/50) |
5,890.6 | 1.63x | 1.04x |
Rubik's Cube B=10,000 (n=50) |
JAxtar W8A8 (50/50) |
1,333.0 | 7.63x | 4.49x |
- Non-Neural GPU Search Kernels (
pop_ratio=inf,w=0.6, FP32):
| Domain / Batch | GPUAStar-CUDA (ms/step) |
JAxtar v0.1.1 (ms/step) |
Delta |
|---|---|---|---|
15-Puzzle B=1,000 |
0.84 | 0.65 | -22.6% |
15-Puzzle B=10,000 |
2.54 | 0.85 | 2.99x faster |
Rubik's Cube B=1,000 |
0.83 | 1.38 | +66.3% |
Rubik's Cube B=10,000 |
3.32 | 2.71 | -18.4% |
- Robustness & Generalization: Zero crashes or workspace restarts through
B=50,000(5/5solved on both domains),astar_dunique-state reduction up to9.81xon Rubik's Cube, andQ*world-model solving down to33.4–43.2 ms(3.26x–3.73xvs.WM A*).
Source snapshot for version 0.1.1. Citation metadata.
Citation
- Version 0.1.1 10.5281/zenodo.24545129
- All versions 10.5281/zenodo.24442928