/ Модель

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

Лицензия
Apache 2.0
Базовая модель
siglip2-large-patch16-256
Библиотека
pytorch
Опубликована
16 ноя 2026

control-resonant-idm

Классификация видеоВидео → label3 профессии

Модель анализирует видео игры CONTROL Resonant и восстанавливает нажатия геймпада и движения стиков для автоматической разметки игрового процесса.

66скачиваний за 30 дней0лайковвеса обновлены21 ноя 2026

Бенчмарки

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

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

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

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

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

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

CONTROL Resonant IDM — модель обратной динамики для игры CONTROL Resonant, разработанная автором репозитория XvKuoMing. Она анализирует видео игрового процесса и предсказывает по каждому кадру состояние 21 кнопки геймпада и четырёх осей двух аналоговых стиков. Модель предназначена для разметки видеозаписей без сохранённых нажатий, чтобы создавать данные для обучения игрового агента.

В основе лежит дообученный визуальный энкодер SigLIP 2 Large с патчами 16×16 и входным разрешением 256×256; временную динамику обрабатывает четырёхслойный трансформер с восемью головами внимания. На вход подаётся RGB-видео, пересэмплированное до 60 кадров в секунду; выход включает оценки кнопок и значения стиков в диапазоне [-1, 1]. Модель обучена на 27 сессиях одного игрока общей длительностью 16,6 часа и рассчитана только на эту игру.

На отложенных участках записи ошибка стиков оказалась на 39% ниже базового предсказания неподвижных стиков; основные кнопки распознаются умеренно хорошо, тогда как редкие кнопки обучены недостаточно. Модель может ошибаться на редко встречающихся сценах, меню и заставках; нажатия, не меняющие изображение, нельзя восстановить по видео. Для длинных видео декодирование целиком требует около 12 ГБ памяти на час, поэтому автор рекомендует обрабатывать записи короткими фрагментами. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

CONTROL Resonant IDM

An inverse dynamics model for the game CONTROL Resonant. It watches gameplay video and predicts what the gamepad was doing on every frame: the 21 buttons and both analog sticks. The purpose is to label gameplay footage that has no recorded input, so it can be used to train a playing agent.

This is a single-game model. Models for other games live next to it in the games_idm collection and are kept separate for now.

Results

Scored against the real gamepad input recorded alongside the video, on the validation block: the stretch from 30% to 40% of every session, which is never used for training.

All 27 sessions (about 100 minutes of validation video):

modelstick errorstick error, sticks at restbutton F1button AP
this version (27 sessions)0.0800.1310.340.35
previous version (8 sessions)0.0890.1310.260.26

The first 8 sessions only, where both versions held out the same block:

modelstick errorstick error, sticks at restbutton F1button AP
this version (27 sessions)0.1080.1830.340.33
previous version (8 sessions)0.1150.1830.270.27

Stick error is the mean absolute error over the four stick axes, each in [-1, 1]. "Sticks at rest" is the error of always predicting centred sticks, which is the baseline to beat. Button F1 (at a probability threshold of 0.5) and AP are averaged over the buttons that were pressed at least once in the block. In the first table the previous version is at a disadvantage: it never saw any part of sessions s09 to s27, while this version trained on the rest of them. The second table is the like-for-like comparison.

Unlike the previous version, this one has no sessions that were held out completely: every recorded session contributes to training, and only the validation block of each is unseen.

Per-button scores of this version on the 27-session block:

buttonF1AP
Left trigger0.670.68
Left bumper0.600.80
X (west)0.580.52
A (south)0.580.67
B (east)0.520.53
Y (north)0.510.58
D-pad down0.440.43
Right bumper0.290.26
Right trigger0.290.22
Left stick click0.290.22
D-pad up0.130.07
D-pad right0.110.13
D-pad left0.100.09
Start0.000.01
Right stick click0.000.00

What this means in practice:

  • Stick labels are useful: the error is 39% below the at-rest baseline.
  • The main action buttons are right about half of the time or better.
  • The rarest buttons (most of the D-pad, right stick click, Start) are not learned yet. They are almost absent from the training data.
  • A press that changes nothing on screen cannot be recovered from video by any model.

Usage

pip install torch transformers safetensors numpy
# ffmpeg must be on PATH
from huggingface_hub import snapshot_download
import sys

folder = snapshot_download("XvKuoMing/control-resonant-idm")
sys.path.insert(0, folder)
from idm import load, label_video, BUTTONS

model = load(folder)                     # cuda by default, load(folder, "cpu") also works
out = label_video(model, "gameplay.mp4")

out["buttons"]   # (frames, 21) uint8, column order = BUTTONS
out["probs"]     # (frames, 21) float32, probability of each button being held
out["sticks"]    # (frames, 4) float32: left x, left y, right x, right y

Frame k of the output is video time k / 60 seconds. Sticks are in [-1, 1] with x to the right and y down. label_video decodes the whole file into memory (about 12 GB per hour of video), so split long recordings into pieces of a few minutes, or decode in chunks and call label_frames.

From the command line, python idm.py gameplay.mp4 writes gameplay.actions.npz.

Input

  • Video resampled to 60 fps.
  • The full 16:9 frame squashed to 256×256 (no crop), RGB.
  • The model was trained on 1080p captures with the in-game HUD visible. Other resolutions work as long as the whole frame is passed in.

Architecture

partdetail
frame encoderSigLIP 2 large, patch 16, 256 px (fine-tuned)
tokens per frame16×16 patches projected to 512 dimensions, average-pooled to 4×4
temporal model4-layer transformer, 8 heads, over all tokens of the window
window8 frames, every 2nd frame at 60 fps (267 ms)
outputs per frame21 button logits, 4 stick values through tanh
parameters329 M

Button order: BACK, DPAD_DOWN, DPAD_LEFT, DPAD_RIGHT, DPAD_UP, EAST, GUIDE, LEFT_SHOULDER, LEFT_THUMB, LEFT_TRIGGER, NORTH, RIGHT_BOTTOM, RIGHT_LEFT, RIGHT_RIGHT, RIGHT_SHOULDER, RIGHT_THUMB, RIGHT_TRIGGER, RIGHT_UP, SOUTH, START, WEST. EAST/SOUTH/WEST/NORTH are B/A/X/Y on an Xbox pad. The triggers are treated as buttons (held or not).

Training

  • Data: 27 recording sessions of one player, 16.6 hours, with gamepad input logged at 1000 Hz and aligned to the video. The recordings are published as the control-resonant dataset, sessions s01 to s27. The published clips are shorter (14.7 hours) because stretches outside the game are cut from them.
  • Validation: a contiguous block of each session (from 30% to 40% of its length), never used for training.
  • 20000 steps, batch 16, AdamW, learning rate 1e-4 (1e-5 for the frame encoder), weight decay 0.01.
  • Loss: binary cross-entropy on buttons, with positives of rare buttons weighted up to 10×, plus L1 on sticks.
  • Frames with no input at all were thinned to 30% so that idle time does not dominate.
  • This checkpoint is the one with the lowest validation loss (the final step). Validation scores had mostly levelled off over the last 4000 steps.

Limitations

  • One game, one player, one controller layout, one graphics setup.
  • Trained on 16.6 hours. Expect it to fail on scenes it has rarely seen, such as menus and cutscenes.
  • Button labels are too noisy to be used as ground truth without filtering by probability.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
8e574c1

0 моделей