/ Модель

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

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

event2rgb-distillation

Классификация изображенийИзображение → label3 профессии
0скачиваний за 30 дней0лайковвеса обновлены28 сен 2026

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

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

Дистиллированная ResNet-34 классифицирует RGB-изображения, сильнее опираясь на форму объектов и устойчивость к изменениям цвета и высокочастотному шуму.

В репозитории snskysk опубликованы предобученные RGB-модели ResNet-34 из исследования «The Shape of Events: Edge-Based Inductive Biases via Cross-Domain Distillation». Основной вариант ED_Student получен дистилляцией знаний замороженного учителя DiST, обученного на событийных данных N-ImageNet, в студенческую модель для классификации изображений ImageNet-1k. Также доступны контрольные веса базовой RGB-модели и варианта ED_SoftLabelOnly.

Дистиллированная модель предназначена для классификации изображений с повышенной опорой на контуры и форму объектов. По данным README, ED_Student демонстрирует цветовую инвариантность, смещение к форме, устойчивость к высокочастотному шуму и улучшенный перенос при линейном зондировании; точность top-1 на чистом ImageNet составляет 69,7% против 73,9% у RGB-базовой модели, то есть устойчивость достигается ценой примерно четырёх пунктов точности. Весовые файлы — только state_dict в формате safetensors, загружаемые в соответствующие модели torchvision со strict=True; код обучения и модель-учитель в репозитории не опубликованы. Лицензия репозитория — MIT.

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

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

Ограничения

ED_Student уступает RGB-базовой модели примерно 4 процентных пункта по top-1 точности на чистом ImageNet. Опубликованы только веса студенческих моделей; учитель DiST и код обучения не входят в репозиторий.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

The Shape of Events — pretrained RGB students

Pretrained weights for "The Shape of Events: Edge-Based Inductive Biases via Cross-Domain Distillation" (NeurIPS 2026).

We distil an event-domain teacher (DiST, trained on N-ImageNet) into an RGB ImageNet student. The resulting student suppresses its dependence on unstructured high-frequency texture and instead relies on edge-based object shape, which shows up as color invariance, shape bias, robustness to high-frequency band noise, and better linear-probe transfer.

Available weights

All files are weights-only state_dicts in safetensors format that load directly into torchvision models with strict=True.

FileArchPaper nameImageNet top-1
resnet34-baseline.safetensorsResNet-34baseline73.90
resnet34-ed-student.safetensorsResNet-34ED_Student (α = 0.2, main result)69.70
resnet34-ed-softlabelonly.safetensorsResNet-34ED_SoftLabelOnly (α = 1.0)53.50
resnet34-self-distilled.safetensorsResNet-34Self Distilled (control)74.72
resnet34-gray-distilled.safetensorsResNet-34Gray Distilled (control)74.60
resnet50-baseline.safetensorsResNet-50baseline78.16
resnet50-ed-student.safetensorsResNet-50ED_Student67.47

Start with resnet34-ed-student — it is the model behind the main claims of the paper.

Usage

import torchvision
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file

path = hf_hub_download("snskysk/event2rgb-distillation",
                       "resnet34-ed-student.safetensors")

model = torchvision.models.resnet34(weights=None)
model.load_state_dict(load_file(path), strict=True)
model.eval()

Inputs use the standard ImageNet preprocessing (resize 256 → center crop 224, mean = [0.485, 0.456, 0.406], std = [0.229, 0.224, 0.225]). Outputs are 1000-way ImageNet-1k logits.

What ED_Student buys you

Relative to the RGB baseline, on four axes (Table 2 of the paper; positive is better):

AxisbaselineED_Student
Clean ImageNet top-173.969.7
Color — mean top-1 over 10 hue rotations61.8+3.6
Shape — ImageNet-Sketch top-123.7+4.4
High-frequency band noise — reduction in accuracy drop at 0.95π29.6 pp drop+17.4
Transfer — mean linear-probe accuracy over 19 tasks73.5+1.6

ED_Student is the only supervision among those evaluated that improves on all four axes at once. It trades roughly 4 points of clean ImageNet accuracy for that robustness profile.

Notes

  • These are the student networks only. The frozen DiST event teacher used during distillation is not redistributed here — it is the public checkpoint released by the N-ImageNet authors (82magnolia/n_imagenet), and should be obtained from that repository under its own terms.
  • The original training checkpoints were PyTorch Lightning files that also contained optimizer state and the teacher weights; these files contain only the student state_dict, which is why they are about a quarter of the size.
  • Remaining checkpoints from the paper (B&W Distilled, Adversarial Training, Noise Training, SIN, and the additional DiST teachers) are currently distributed from the links in the GitHub README and may be added here later.

License

MIT, for research and reproduction purposes. The datasets used upstream (ImageNet-1k, N-ImageNet) carry their own terms, which users are responsible for complying with.

Citation

All authors contributed equally.

@inproceedings{yasuki2026event2rgb,
  title     = {The Shape of Events: Edge-Based Inductive Biases via Cross-Domain Distillation},
  author    = {Yasuki, Shunsuke and Kihara, Soshun and Taki, Masato},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026},
  eprint    = {2609.30478},
  archivePrefix = {arXiv}
}

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

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

GPU в ailist

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

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

В репозитории нет config.json: не понять архитектуру модели.

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

0 моделей