/ Модель

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

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

remdm-minihack-checkpoints

Обучение с подкреплением3 профессии

Набор диффузионных планировщиков ReMDM для выбора последовательностей действий в MiniHack по символьным наблюдениям.

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

Бенчмарки

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

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

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

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

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

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

Набор контрольных точек ReMDM Planner, разработанный для экспериментов с планированием действий в MiniHack и сопровождающий исследование Return-Weighted ELBO Fine-Tuning Degrades Masked Diffusion Planners. В репозитории представлены две версии: обученная офлайн методом поведенческого клонирования и обученная онлайн методом DAgger с оракулом BFS. Модель использует двунаправленный трансформер, который восстанавливает замаскированную последовательность действий, опираясь на обрезанное наблюдение MiniHack в виде символьной графики. Для одной из конфигураций указаны 4 слоя, размерность 256, 4 головы внимания, горизонт планирования 64 шага и около 5 млн параметров; точные параметры зависят от контрольной точки.

Модель предназначена для исследования планирования действий и оценки стратегий обучения в окружениях MiniHack, включая сравнение офлайн и онлайн обучения. Для инференса доступны EMA-веса в safetensors, а также полные состояния обучения PyTorch, конфигурации и результаты оценки. В README приведены средние доли побед 0,44 для офлайн-версии и 0,30 для онлайн-версии на описанных наборах оценки.

Это исследовательские артефакты для конкретных версий MiniHack и кодирования наблюдений через обрезанные символьные изображения. Они не являются универсальными агентами и не предназначены для переноса в другие среды или на пиксельные наблюдения. Лицензия репозитория — MIT.

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

  • планирование последовательности действий в MiniHack
  • оценка офлайн обучения с поведенческим клонированием
  • оценка онлайн обучения DAgger с оракулом BFS
  • сравнение стратегий дообучения диффузионных планировщиков
  • воспроизведение экспериментов по планированию в MiniHack

Ограничения

Модель привязана к конкретным версиям MiniHack и представлению наблюдений через обрезанную символьную графику; перенос на другие среды и пиксельные наблюдения не предусмотрен. README сообщает средние доли побед 0,44 и 0,30 для двух контрольных точек, но не приводит здесь оценку разброса.

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

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

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

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

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

Открыть на Hugging Face

ReMDM Planner: MiniHack checkpoints

Trained weights accompanying Return-Weighted ELBO Fine-Tuning Degrades Masked Diffusion Planners: a remasking discrete diffusion model (ReMDM) used as an action-sequence planner in MiniHack, together with the BFS oracle rollouts that supervise it, and the results reported in the paper.

Code, configs and evaluation harness: https://github.com/mathisweil/minihack-ReMDM-planner

Contents

PathRoleEnvironmentArchitectureSelected atTrainingSize
checkpoints/offline/Minihack-Offline-Diffusion-BC-100MDiffusion planner (offline BC)MiniHack4L, d_model 256, 4 heads, horizon 64, 5M paramsgradient step 50,000102,400,000 sample-equivalents100 MB
checkpoints/online/Minihack-Online-Diffusion-DAgger-100MDiffusion planner (online DAgger)MiniHack4L, d_model 256, 4 heads, horizon 64, 5M paramsiteration 5635,657,661 env steps100 MB

Each checkpoint ships the .pth training state it was published from (weights, EMA shadow, optimiser, scheduler, and for the DAgger run the curriculum and RNG state, so training resumes exactly), a model.safetensors export of the EMA weights for inference, the YAML config snapshot it was trained under, and a selection.json recording how it was chosen.

Weights are PyTorch training states with a safetensors export of the EMA weights alongside, and the paths above mirror the source repository so a snapshot can be dropped straight into a working copy.

Results

RL fine-tuning ablation runs, as produced by experiments/rl_finetuning/run_ablations.py. Each run ships its results.json summary, the diagnosis.md write-up, and the tables (.csv and .tex) and figures generated from it.

RunContentsSize
experiments/rl_finetuning/outputs/minihack_ablationsresults.json, diagnosis.md, 20 tables, 113 figures, 4 gdelta29 MB

Evaluation results produced by main.py --mode inference on the checkpoints above, under results/inference/.

FileEnvironmentEvaluationHeadline metricSize
eval_offline_s0.json7 envs50 episodes per envmean win rate 0.441 KB
eval_online_s0.json7 envs50 episodes per envmean win rate 0.301 KB

Manuscript figures as vector PDF, under results/paper_figures/. Each puts Craftax Classic and MiniHack side by side, so they are built from both repositories' ablation results.json by the sibling repo's scripts/paper_figures.py and published identically in both Hub repos.

FigureSize
fig10_timestep_conditioning.pdf31 KB
fig11_train_vs_eval.pdf34 KB
fig1_finetuning_trajectories.pdf21 KB
fig2_repr_drift.pdf24 KB
fig3_cka.pdf19 KB
fig4_grad_alignment.pdf23 KB
fig5_minihack_per_env.pdf18 KB
fig6_achievements.pdf24 KB
fig7_tbin_gradients.pdf20 KB
fig8_score_vs_kl.pdf23 KB
fig9_weight_dispersion.pdf45 KB

Download

This repo mirrors the code repository's layout, so a snapshot drops straight into a working copy -- but it also carries its own README.md (this card), LICENSE and .gitattributes, and local_dir="." would overwrite the code repository's copies of all three. Exclude them, or download into a directory of its own.

from huggingface_hub import snapshot_download

# everything (~229 MB), into a clone of the code repository
snapshot_download(
    repo_id="mathisweil/remdm-minihack-checkpoints",
    local_dir=".",
    ignore_patterns=["README.md", "LICENSE", ".gitattributes"],
)

# or somewhere of its own, leaving any working copy untouched
snapshot_download(repo_id="mathisweil/remdm-minihack-checkpoints", local_dir="remdm-minihack")

# a single model
snapshot_download(
    repo_id="mathisweil/remdm-minihack-checkpoints",
    local_dir=".",
    allow_patterns="checkpoints/offline/Minihack-Offline-Diffusion-BC-100M/**",
)

Use

From a clone of the code repository, after downloading into it:

DIR=checkpoints/offline/Minihack-Offline-Diffusion-BC-100M
uv run python main.py --mode inference \
    --config $DIR/config.yaml --checkpoint $DIR/offline_step50000.pth \
    --output results/inference/eval.json

Programmatic loading uses src.models.denoiser.make_model with the checkpoint's own config, then the safetensors export:

from safetensors.torch import load_file
from src.config import load_config
from src.models.denoiser import make_model

cfg = load_config("checkpoints/offline/Minihack-Offline-Diffusion-BC-100M/config.yaml")
model = make_model(cfg)
model.load_state_dict(load_file("checkpoints/offline/Minihack-Offline-Diffusion-BC-100M/model.safetensors"))
model.eval()

Architecture arguments should be read from the checkpoint's own config snapshot rather than from configs/defaults.yaml, which tracks the current code.

Training

The planners are bidirectional transformers that denoise a masked action plan conditioned on a cropped MiniHack glyph observation, trained either by offline behaviour cloning on oracle rollouts or by online DAgger against the BFS oracle under a dynamic environment curriculum. Model size and horizon differ per run (see the table). Exact hyperparameters for every run, including the in-distribution and out-of-distribution environment sets, the remasking strategy, schedule and sampling settings, are in the per-checkpoint config snapshots listed above, which are the authoritative record.

Both models are best-checkpoint selections rather than final-step dumps: each trainer evaluates every periodic checkpoint on its configured number of episodes per environment using EMA weights, and the highest-scoring one is published (selected on mean ID+OOD win rate). Directory names encode the sample-equivalents the published model consumed (gradient steps x batch size, rounded); file names carry each trainer's own counter, DAgger iterations online and gradient steps offline. Each checkpoint's selection.json records the configured budget it was drawn from and the step it was selected at.

Limitations

These are research artefacts tied to specific MiniHack environment versions and to the cropped-glyph observation encoding; they are not general-purpose agents and will not transfer to other environments or to pixel observations. Evaluation results and their variance are reported in the paper.

Citation

@inproceedings{khan2026returnweighted,
  title     = {Return-Weighted {ELBO} Fine-Tuning Degrades Masked Diffusion Planners},
  author    = {Muhammad Ali Khan and Mathis Weil and Ahmet H. G{\"u}zel and Jack Parker-Holder and Ilija Bogunovic},
  booktitle = {Beyond Next Token Prediction: Diffusion and Flow Models for Next-Generation Decoding},
  year      = {2026},
  url       = {https://openreview.net/forum?id=VGyjG8Gy29}
}

Paper: OpenReview · Code: GitHub · Author: mathisweil.github.io

License

MIT, see LICENSE.

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

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

GPU в ailist

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

Нельзя запустить

RL-агенты не запускаются как сервис инференса.

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

0 моделей