/ Модель

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

Лицензия
Своя лицензия
Библиотека
onnx
Опубликована
6 авг 2026

qsh-medical-breastmnist-resnet50

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

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

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

ResNet-50 классифицирует небольшие ультразвуковые изображения молочной железы из BreastMNIST для исследовательских экспериментов.

Это модель ResNet-50, разработанная в рамках проекта QSMPC-QKD-QHE-AI-Hybrid для классификации ультразвуковых изображений молочной железы из набора BreastMNIST. Она принимает одноканальные изображения размером 28×28 пикселей и предсказывает класс изображения. Модель обучена с нуля, без предварительной инициализации; в проекте она служит открытым plaintext-вариантом для сценария medical_fl, тогда как зашифрованный путь использует дистиллированную модель-ученика.

На указанном авторами тестовом разделении получены accuracy 0,782 и AUC 0,799. Это исследовательская демонстрация для проверки опубликованных результатов, а не средство клинической диагностики или готовая производственная система. Набор BreastMNIST мал и содержит отмеченные в README проблемы качества: авторы сообщают о точном дубликате между обучающим и тестовым разделениями с противоречивыми метками и о множестве близких дубликатов. Лицензия самой модели указана как other; README отмечает, что для производных данных MedMNIST заявлена CC BY 4.0, но отдельная лицензия авторов исходного набора BUSI не опубликована.

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

  • классификация изображений УЗИ молочной железы
  • эксперименты с бенчмарком BreastMNIST
  • сравнение ResNet-50 с другими моделями медицинской классификации
  • демонстрация plaintext-модели в исследовательском сценарии medical_fl

Ограничения

Исследовательский proof of concept не предназначен для клинической диагностики; на тестовом разделении указаны accuracy 0,782 и AUC 0,799. Малый набор данных имеет проблемы с дубликатами и противоречивыми метками, а лицензия модели обозначена как other.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

ResNet-50 on BreastMNIST (published comparison)

ResNet-50 @28px, 1-channel stem, trained from random initialisation

Part of QSMPC-QKD-QHE-AI-Hybrid, a quantum-safe orchestration demo. This is the plaintext model for the medical_fl use case; the encrypted path runs a distilled student, not this model.

Measured performance

metricvalue
accuracy0.782051282051282
auc0.7987677527151211
best_val_auc0.935673
macro_f10.6492063492063492
n_parameters23505858
resolution28
wall_clock_s12.2

Published baselines this is measured against

  • Target metric: AUC
  • Baseline to beat: 0.857 - ResNet-50 @28px, MedMNIST v2, Yang et al., Scientific Data 10:41 (2023) (AUC 0.857 / ACC 0.812). Note this is BELOW the ResNet-18 baseline of 0.901 on the same corpus and the same 100-epoch Adam regime: on 780 images the deeper network loses. That is the published finding, and it is why this model exists here - to test it rather than to win, under a training regime that differs from the paper's (see the model's notes).
  • Published ceiling: 0.919 - Google AutoML Vision, MedMNIST v2 (AUC 0.919)
  • Companion metric shown alongside: accuracy - reported together because the aggregate figure can look healthy while the class that matters is not.

Training data

  • Dataset: MedMNIST v2 BreastMNIST
  • Licence: CC-BY-4.0 asserted by MedMNIST; the BUSI authors publish no licence
  • Source: https://medmnist.com/ (licence read 2026-10-26)
  • Attribution (CC-BY-4.0 asserted by MedMNIST; the BUSI authors publish no licence): Yang, Shi, Wei, Liu, Zhao, Ke, Pfister & Ni, 'MedMNIST v2 - A large-scale lightweight benchmark for 2D and 3D biomedical image classification', Scientific Data 10:41 (2023), and Yang, Shi & Ni, 'MedMNIST Classification Decathlon: A Lightweight AutoML Benchmark for Medical Image Analysis', IEEE ISBI 2021; CC BY 4.0. BreastMNIST is derived from Al-Dhabyani, Gomaa, Khaled & Fahmy, 'Dataset of breast ultrasound images', Data in Brief 28:104863 (2020).

780 images at 28x28. The tiny tier; also the source of the FHE-feasible T1 student. TWO problems, both upstream of MedMNIST, both checked 2026-08-10. LICENCE: MedMNIST licenses ITSELF CC BY 4.0, but BreastMNIST is a resize of BUSI (Al-Dhabyani et al., Data in Brief 28:104863, 2020) and the CC BY there attaches to the ARTICLE - PMC carries 'This is an open access article under the CC BY license' and states no separate licence for the data, while the dataset host (scholar.cu.edu.eg) asks only 'If you use this dataset, please cite'. A citation request is not a grant. CHECKED AGAIN 2026-10-26 at every source the authors publish: the host page asks the same in every capture from 2021 to 2026; the article's supplements hold the Baheya Hospital ethics committee's approval to publish the dataset publicly and the waiver of consent, and no licence; the authors made no repository deposit; and every Kaggle mirror carries a licence its uploader chose, none of them an author. So the BUSI authors publish no licence: the data was released publicly with no terms, and the only licence anyone states is MedMNIST's CC BY 4.0 for its derived dataset. The three HF repos stay public on that basis, by decision (2026-10-26). That differs from CIC-IDS2017, declined, and ImageNet, dropped: their providers state conflicting or restrictive terms, and BUSI's state none. CONTAMINATION: Pawlowska, Karwat & Zolek (Letter to the Editor, Data in Brief 48:109247, 2023-05-19) found 235 duplicates (~19% of 780), >=8 images in BOTH benign and malignant, 70 axilla images that are not breast tissue, and warn of train/test leakage. MEASURED HERE on the actual npz rather than assumed: at 28x28 exactly ONE pair survives as a pixel-exact duplicate - train[115] label=0 (MALIGNANT) and test[76] label=1 (BENIGN). The same image, trained as malignant and scored as benign. That is 1 of 156 test images, 0.64%, which the model cannot get right and which no amount of training fixes. Loosening to RMSE<=0.05 finds 216 near-duplicate pairs, 120 crossing a split boundary and 6 both crossing AND contradicting - but those are threshold-dependent and the exact pair is the only hard number. So the letter's 19% does NOT wholesale survive downsampling; a real floor on this benchmark does.

Notes and limitations

Trained to test a published claim rather than to win one. MedMNIST v2 reports ResNet-50 at AUC 0.857 against ResNet-18's 0.901 on this corpus, so the expected outcome is that the larger model scores LOWER, and it is reported either way. The regime here is not the published one: torchvision's 7x7 stride-2 stem with max-pool, early-stopped at 27 of at most 60 epochs at lr 3e-4, against MedMNIST v2's 3x3 stride-1 stem without max-pool and 100 epochs at lr 1e-3. It replaces a DenseNet-121 entry that named a dataset with no loader, no fetch command and no artefact directory, and linked a Hugging Face repo that did not exist. Architectures benchmarked only ImageNet-pretrained (AlexNet, VGG16, DenseNet-121, EfficientNet-B4 in MedMNIST+) are deliberately absent: this project dropped ImageNet weights over redistribution terms, so their published numbers are not comparable to a from-scratch run.

Honest scope

This model is published as part of a research proof of concept, not as a production system. Numbers above are what this repository measured on the split described, with the code in scripts/train/. Where a figure is carried from the literature rather than measured here, it is labelled as such.

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

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

GPU в ailist

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

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

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

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

0 моделей