/ Модель

Характеристики

Лицензия
MIT
Библиотека
pytorch
Опубликована
11 окт 2026

spatial-wave-search-512m-hero

Сегментация изображенийИзображение → mask3 профессии

Компактный трансформер mxv456 итеративно ищет и рисует маршруты по многослойным картам Амстердама в окнах 512 × 512 м.

0скачиваний за 30 дней0лайковвеса обновлены11 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

mxv456 разработал пространственную модель на базе трансформера для поиска маршрутов по слоям городской карты Амстердама. Модель принимает квадратное окно карты размером 512 × 512 м с 17 выровненными слоями, маркерами начала и цели и собственным предыдущим результатом на плоскости черновика. Она выдаёт обновлённый черновик на сетке 256 × 256 ячеек размером 2 м и токен состояния, управляющий следующей итерацией поиска.

Модель обучена с нуля и содержит 8,86 млн параметров: четыре блока трансформера, ширину 384 и шесть голов внимания. Она итеративно распространяет фронт поиска, возвращается по нему и затем рисует найденный путь; веса представлены как PyTorch state_dict и требуют реализации LocalGridViT и конвейера данных либо набора для оценки. В описанных испытаниях она решала 32 % из 500 отложенных маршрутов размером 512 м и 40 % маршрутов в синтетическом лабиринте домов. Обучение проводилось только на слоях карты Амстердама; длинные маршруты модель решает плохо. Лицензия — MIT.

Сценарии применения

  • поиск пешеходного маршрута между двумя точками на карте
  • построение маршрута по слоям городской инфраструктуры
  • эксперименты с итеративным поиском пути на сеточной карте
  • оценка поведения модели в синтетическом лабиринте домов

Ограничения

Модель обучалась на данных одного города, проверялась на ограниченном наборе маршрутов и одном дополнительном районе; длинные маршруты из 13 и более фронтов в основном не решаются. Для запуска нужны код LocalGridViT и конвейер данных либо выпущенный набор для оценки.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

A 9 M-parameter transformer that runs a path search on its own scratchpad (512 m windows)

Free-running search through a house maze it has never seen

Figure. A free-running search by this network on a synthetic house maze (512 m window, 2 m cells). Each frame is one pass: the orange cells are the network's whole output, fed back verbatim as its next input. The state token it emits (SEARCH → BACK → DRAW → DONE) chooses the next pass; nothing outside the network decides anything between passes. Route of 431 m walking, 26 passes. The network was trained only on Amsterdam map layers.

This is the network behind the headline animation of spatial-reasoning-from-scratch, a study of what spatial reasoning a small vision transformer can learn from spatially aligned city map layers with exact targets. It is not a vision-language model: input and output are rasters.

What it does

  • Input: a 512 m × 512 m window of Amsterdam drawn as 17 aligned planes at 1 m per pixel (buildings, surface classes, road noise, places, sunshine, …), two markers (start and goal) in a marker plane, and a scratchpad plane holding its own previous output.
  • Output: the whole next scratchpad on a 256 × 256 grid of 2 m cells, plus one state token.
  • The algorithm it learnt (from a teacher: one clearance-priced wave per route): spread a front 40 m further each pass until the goal is reached, then walk the way back front by front, then draw the path. Run free, it solves 32 % of 500 held-out 512 m routes (91 / 71 / 33 / 18 / 2 % for routes of 2–3 / 4–5 / 6–8 / 9–12 / 13+ fronts) and 40 % of 500 routes on a synthetic house maze it never saw. One pass takes 2.4 ms on an RTX 3060; a route about 60 ms.

Model

4 transformer blocks, width 384, 6 heads, 16 px patches (1,024 tokens at 512 m), learned relative position bias, two condition tokens (state, task), a per-cell 2-class head and a 41-class token head; 8.86 M parameters. Trained from scratch: 48k steps at 256 m, one round of training on its own drawings ("natural noise"), then continued for 16k steps at 512 m (batch 64, lr 1e-4). Run id c5_r5_wave_nat3_tok01_from_ownp50_L4_16k_g256_b64_zc512 in the repository's run ledger.

How to use

The checkpoint is a plain state_dict for the LocalGridViT class of the repository; it needs that code and the data pipeline (or the released evaluation bundle):

git clone https://github.com/Marvel4U/spatial-reasoning-from-scratch
# place this file as runs/checkpoints/c5_r5_wave_nat3_tok01_from_ownp50_L4_16k_g256_b64_zc512.pt
# unpack eval_bundle_v0.2.tar.gz of the GitHub release and copy its data/ and runs/ into the clone (REPRODUCE.md section 8)
cd harness
PYTHONPATH=. python diagnostics/wave_rollout_eval.py c5_r5_wave_nat3_tok01_from_ownp50_L4_16k_g256_b64_zc512 --n 500 --mode free
PYTHONPATH=. python diagnostics/wave_rollout_gif.py   c5_r5_wave_nat3_tok01_from_ownp50_L4_16k_g256_b64_zc512 --route 8 --crops ../data/synthetic/maze_v2_houses/crops/v4ns --store c4_512_val

REPRODUCE.md in the repository lists every command with wall times.

Related models

  • mxv456/spatial-wave-search-256m: the 256 m network, the stronger one on its own window (78 % of 500 held-out routes, 60 % on a never-seen district, 51 % on house mazes).
  • mxv456/qwen3-vl-2b-lora-map-routes: the Qwen3-VL-2B LoRA fine-tune on the same routes, the vision-language baseline of the repository's PAPER.md (49.6 % under the same rule).

Limitations

One city for training; held-out routes of the training district and one never-seen district of the same city; single seed; the success rule scores the drawing as a set of cells; long routes (13+ fronts) are mostly unsolved at this size.

Citation and licence

Marvin Uhlmann, Spatial reasoning from scratch on real city data, 2026, github.com/Marvel4U/spatial-reasoning-from-scratch. Code and weights MIT; the Amsterdam layers carry their own licences (3DBAG CC BY 4.0, BGT CC0, AHN CC0, OSM ODbL, Overture CDLA-Permissive), listed in the repository's DATA_LICENSES.md.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch · image-segmentation

Можно запустить

Подбираем GPU…

Ревизия весов
9957722

0 моделей