/ Модель

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

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

SMT-Learner

ЭмбеддингиТекст → embedding
7скачиваний за 30 дней0лайковвеса обновлены23 окт 2026

Описание модели

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

SMT-Learner создаёт эмбеддинги детских траекторий движений руки для исследования моторного контроля и мониторинга прогресса реабилитации.

SMT-Learner — модель на PyTorch для получения векторных представлений траекторий движений верхней конечности во времени и пространстве. Она разработана для исследовательской работы по оценке моторного контроля и мониторингу реабилитации детей; модель представлена вместе с исследованием, опубликованным в IEEE TNSRE.

Модель использует трансформерный автоэнкодер с двумя слоями, восемью головами внимания и размером эмбеддинга 64. На вход подаётся нормализованная траектория касаний на плоскости в координатах x, y, t, пересчитанная на 512 точек; на выходе — эмбеддинг испытания. Чекпойнт содержит 260 704 параметра и рассчитан на быстрое выполнение на CPU, в том числе на iPad. Весовые параметры EXP4 предварительно обучены на MSL и адаптивно дообучены на MP с переносом между задачами и участниками. Лицензия — MIT.

Эмбеддинги предназначены для анализа моторного обучения и расчёта показателя E-E, связанного с прогрессом моторных навыков и реабилитации. Проверка охватывала две планарные задачи касания на планшете у детей 5–12 лет из одного региона. Модель не является диагностическим устройством, данные об эффективности вмешательств отсутствуют; применение к другим возрастным группам, типам движений и способам захвата траекторий не проверено и может потребовать переобучения.

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

SMT-Learner

Transformer autoencoder for spatiotemporal movement trajectories (SMT), trained with movement performance-aware contrastive learning and post-training adaptive transfer. It produces trial-level embeddings of pediatric upper-limb reaching movements collected from gamified iPad assessments, and those embeddings support the exploration-exploitation (E-E) ratio, a biomarker of motor skill learning and rehabilitation progress.

Released with A Deep Learning Framework for Assessing Pediatric Upper-limb Motor Control and Gamified Mobile Rehabilitation (IEEE TNSRE). Code: https://github.com/RaihanSabique/SMT-Learner

Model

Inputcanonicalized (x, y, t) trajectory resampled to 512 points
Encoderlinear stem 3 -> 64, fixed sinusoidal positional encoding, 2 post-norm transformer layers (8 heads, FFN 256, dropout 0.1)
Embeddingmean pooling over 512 tokens -> Z_global in R^64
Metadatabinary task-type indicator -> 2-layer MLP -> R^32, concatenated to give a 96-d fused code
Heads2-layer projection head (R^64, contrastive only) and a single dense decoder (96 -> 512x3)
Parameters260,704 (decoder 57.1%, transformer layers 38.3%)
Checkpoint1.19 MB

The released weights are the EXP4 adaptive-transfer checkpoint: pre-trained on MSL and fine-tuned on MP by combined cross-task and cross-subject transfer.

Training data

  • MSL - Motor Skill Learning. S. Nemanich, R. Mia, and C. Kemmel-Bartletti, Motor skill learning in young children born preterm, Jan. 2026. DOI: 10.17605/OSF.IO/W4R2F · osf.io/w4r2f
  • MP - Motor Performance. C. Kemmel-Bartletti and S. Nemanich, Game-based mobile-health quantification of upper-limb motor performance in children with hemiparetic cerebral palsy, Jun. 2025. DOI: 10.17605/OSF.IO/74DJM · osf.io/74djm

Reported performance

Baseline comparison (Suppl. TABLE III of the paper):

ModelDatarMSEEp-ErrCurve-ErrT-CorrR-CorrS-Corr
STTraj2VecMSL0.3860.0953.6660.9820.647-0.797
VAEMSL0.4120.0894.7580.1360.096-0.135
Seq2SeqMSL0.1900.2153.619-0.996-0.6530.819
Traj-MAEMSL0.1110.29028.304-0.960-0.6380.779
ConvTrajMSL0.3230.14730.8200.7420.6790.660
SMT-LearnerMSL0.0860.0721.5770.8930.6440.970
SMT-LearnerMP0.0010.0051.7200.8600.9100.955

SMT-Learner achieves the lowest reconstruction, endpoint and curvature error and the highest success correlation on both datasets. STTraj2Vec reaches a higher completion-time correlation but a negative success correlation, because it encodes temporal and spatial continuity without outcome constraints.

Adaptive transfer (EXP4) reduced the total loss from 1.05 [1.04, 1.06] to 0.12 [0.11, 0.13], an 88.6% improvement, over 5 seeds.

Inference cost

260,704 parameters and a 1.19 MB checkpoint run on a single CPU thread (tested on iPad): 14.4 ms to embed one trial and 0.042 ms for an incremental E-E update, so the biomarker can be recomputed between trials.

Usage

inference.py in this repository is self-contained - it bundles the model definition, the training-time trajectory normalization and the E-E estimator, so no other code is needed.

import os, sys
from huggingface_hub import hf_hub_download

sys.path.insert(0, os.path.dirname(hf_hub_download("raihan116/SMT-Learner", "inference.py")))
from inference import SMTLearnerInference

smt = SMTLearnerInference.from_pretrained("raihan116/SMT-Learner")

# paths: list of (x, y) touch sequences; time_diff_ms: matching timestamps
embeddings = smt.embed_trials(paths, time_diff_ms)     # (n_trials, 64)
ee_ratio = smt.exploration_exploitation(embeddings)    # (n_trials,)

Or from the command line:

python inference.py --csv trials.csv --out ee_results.csv

Trajectories must be normalized by inference.py, which applies the preprocessing the weights were trained with: spatial canonicalization plus a time channel expressed as [0, 1] movement progress. Passing raw timestamps puts the time channel well outside its training range and the embeddings are meaningless.

E-E hyperparameters follow the sensitivity analysis in the paper: window W=120, decay alpha=0.05, novelty weights beta1=0.10 and beta2=0.90.

Intended use and limitations

Intended for research on upper-limb motor assessment and rehabilitation monitoring. This is an assessment and monitoring model; no intervention data supports it, and it is not a diagnostic device. Results come from two planar touchscreen reaching tasks in children aged 5-12 in one geographic region. Behaviour on substantially different trajectory distributions, other age bands, or non-touchscreen capture is untested and would require retraining. Embeddings are derived from de-identified trial data only.

Citation

@article{mia2026smtlearner,
  title   = {A Deep Learning Framework for Assessing Pediatric Upper-limb Motor
             Control and Gamified Mobile Rehabilitation},
  author  = {Mia, Md Raihan and Ahamed, Sheikh Iqbal and Nemanich, Samuel},
  journal = {IEEE Transactions on Neural Systems and Rehabilitation Engineering},
  year    = {2026}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей