/ Модель

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

Лицензия
MIT
Базовая модель
MedNeXt
Библиотека
nnunetv2
Опубликована
3 окт 2026

mednext-blobloss-brats2023gli

Сегментация изображенийИзображение → mask3 профессии
0скачиваний за 30 дней0лайковвеса обновлены3 ноя 2026

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

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

Модель на базе MedNeXt-B сегментирует области опухоли мозга на мультимодальных МРТ в рамках набора BraTS 2023 GLI.

Это модель 3D-сегментации опухолей головного мозга, разработанная Гийомом Кассезом на базе MedNeXt-B и обученная с помощью nnU-Net v2 на наборе BraTS 2023 GLI. Она выделяет некротическую и неусиливающуюся опухолевую область, отёк и усиливающуюся опухоль на мультимодальных МРТ T1, T1ce, T2 и FLAIR; опубликованы веса для пяти складок кросс-валидации.

В обучении использована функция blob loss как дополнительный член к Dice и cross-entropy. По результатам карточки, модель сама по себе уступает общему базовому эксперту по официальной метрике lesion-wise Dice, однако её предсказания могут применяться как подтверждающий сигнал при консенсусной фильтрации сегментаций. Для вывода требуется конвейер nnU-Net v2 и совместимый план предобработки; вспомогательная SDT-голова для инференса не нужна.

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

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

  • сегментация опухолевых областей на МРТ мозга
  • выделение отёка и усиливающейся опухоли на снимках T1ce, T2 и FLAIR
  • сравнение вариантов функции потерь для сегментации опухолей
  • подтверждение компонентов сегментации в консенсусном анализе
  • исследовательская оценка на BraTS 2023 GLI

Ограничения

Самостоятельно модель уступает базовому эксперту по официальной lesion-wise Dice; blob loss увеличивает число обнаруженных пропущенных очагов, но также число ложноположительных. Для инференса нужны nnU-Net v2 и соответствующий план предобработки; модель не предназначена для клинической диагностики.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

MedNeXt-B + Blob Loss (Kofler et al., IPMI 2023) — BraTS 2023 GLI (5-fold CV)

3D segmentation of brain tumor regions (NCR, edema, enhancing tumor) on multi-modal MRI (T1, T1ce, T2, FLAIR), trained on the BraTS 2023 GLI challenge dataset using nnU-Net v2 with the MedNeXt-B backbone (Roy et al., MICCAI 2023) and the blob loss of Kofler et al. (IPMI 2023, arXiv:2205.08209) as an auxiliary instance-aware term. This is the arm studied for itself in the paper "It Detects More, It Scores Less" (Paper 5, its own companion paper below), and it also serves as the expert G of "The Gate Does Not Choose" (Paper 3), where its checkpoint initialises the G branch of the MoE V3. Loss : L = L_seg(Dice+CE) + β·L_blob with β = 0.5 (read back from each fold's debug.json), applied at the full-resolution scale only, ε = 1.0.

This repository ships the 5 cross-validation folds (300 epochs each). Honest framing, exactly as published : alone, this is the weakest of the programme's four experts — and its value is what it contributes to combinations.

Per-fold validation Dice (best EMA, foreground-mean)

FoldBest EMA DiceTrained epochs
fold 00.9348300
fold 10.9321300
fold 20.9368300
fold 30.9356300
fold 40.9331300

Mean across folds : 0.9345.

Official BraTS-2023 results (lesion-wise, clean regime, n = 1 195 — 1 degenerate case excluded —, 5 disjoint folds)

Paired deltas in lesion-wise Dice against the shared baseline expert (B), published in Paper 3 v0.13 (data/v3_vs_consensus.json) and re-validated at 1e-12 by Paper 5 v1.1 (analysis/blobloss_stats.json), SESOI pre-declared at 0.003 :

  • G alone : -0.0038 averaged over the 5 folds — 0/5 folds positive, none above the SESOI. Per-fold : -0.0022 · -0.0056 · -0.0042 · -0.0030 · -0.0038. The blob term does not improve the dense model on the official metric ; this repository publishes that negative result, not a hidden one.
  • G as a deterministic veto : the ordered pair cc_B_G gains +0.0011 with 4/5 folds positive — the best two-expert veto of the 24 deterministic operators scored in the study, produced by the expert that is worst alone.
  • G hosted in the learned MoE V3 (its checkpoint initialises the G branch of the mixture) : +0.0057, 5/5 folds positive, above the SESOI on 4 of 5.

The pre-registered verdict (Paper 5 — this arm's own paper)

Paper 5 pre-registered H1 : the blob term should shift predictions toward PRECISION — missed lesions unchanged, false positives down (extrapolated from Kofler's MS cohort). H1 is refuted in both clauses, in opposite directions (official lesion counting, paired, Holm-corrected, raw regime) :

  • It detects more : missed lesions 190 → 129 (3/3 regions significant) — the loss buys RECALL, the opposite of what the prediction announced.
  • It scores less : false positives 1418 → 2029 (3/3 regions significant) — the precision clause is refuted.
  • The official clean decode absorbs almost all of it : 93.2 % of the raw Dice delta and 96.2 % of the raw HD95 delta vanish under BraTS component cleaning (missed 310 → 306, FP 57 → 72). What remains for G alone : -0.0038 lesion-wise Dice, 95 % CI [-0.00648, -0.00103] excluding zero, 1.25× the SESOI in the wrong direction — H2 (neutral Dice) is refuted too.
  • Its only positive delta : the ordered consensus veto cc_B_G (baseline components vetoed by the blob arm), rank 1 of 12 two-expert vetoes (+0.0011, Holm p = 0.156) — below the SESOI, reported as such, never as a win. The veto is asymmetric : the reversed order cc_G_B falls to rank 11 (-0.002306). What survives is the baseline's component corroborated by the blob arm : this model is worth more as a corroborator than as a segmenter.

Corpus : analysis/blobloss_stats.json of the Zenodo deposit (generated 2026-09-30), cross-checked against Paper 3's v3_vs_consensus.json at 1e-12 before this card is written.

Files

  • fold_{0..4}/model.safetensors — network weights (weights-only, no optimizer state)
  • fold_{0..4}/metadata.json — trainer name, β = 0.5, best EMA Dice, mirroring axes
  • fold_{0..4}/plans.json — nnU-Net architecture plan (patch size 128³, BS 2, MedNeXt-B)
  • fold_{0..4}/dist_head.safetensors — auxiliary SDT head shipped for completeness. Honest note : this arm trains with λ_dist = 0.0, so the head is instantiated but never driven by the loss ; it is not needed for inference.

Usage

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

# Pick a fold (0–4), or load all 5 for ensembling
fold = 0
weights_path = hf_hub_download(repo_id="guillaume-cassez/mednext-blobloss-brats2023gli", filename=f"fold_{fold}/model.safetensors")
plans_path   = hf_hub_download(repo_id="guillaume-cassez/mednext-blobloss-brats2023gli", filename=f"fold_{fold}/plans.json")

state_dict = load_file(weights_path)
# Build the MedNeXt model with nnU-Net v2 (see https://github.com/MIC-DKFZ/nnUNet)
# and load the state_dict :
# model.load_state_dict(state_dict)

For the full inference pipeline (preprocessing, sliding-window prediction, TTA) you need :

At inference the blob term is not part of the network : it is a loss-time auxiliary, and model.safetensors is a plain MedNeXt-B segmentation model (λ_dist = 0.0 in this arm — the shipped SDT head is never trained and not used), so test-time cost is identical to the baseline.

Training details

  • Backbone : MedNeXt-B (Roy et al., MICCAI 2023)
  • Framework : nnU-Net v2, custom trainer nnUNetTrainerMedNeXtBlobLoss
  • Auxiliary loss : blob loss (Kofler et al., IPMI 2023), β = 0.5, full-resolution scale only, ε = 1.0
  • Input : 4-modality MRI (T1, T1ce, T2, FLAIR), patch 128³, BS 2, BF16
  • Hardware : RTX PRO 6000 Blackwell (96 GB)
  • Schedule : 300 epochs per fold
  • Cross-validation : 5-fold stratified by patient ID over 1 196 patients
  • Role in Paper 3 : initialises the G expert branch of the patch-wise MoE V3 (mednext-moe-v3-brats2023gli)

Companion artefacts

Related publications (same research programme, BraTS 2023 GLI)

Open-access Zenodo preprints, all evaluated under the official BraTS-2023 lesion-wise metrics:

  • Two Models That Agree Beat the Best of Them Alone: Parameter-Free Connected-Component Consensus That Beats the Baseline under the Official BraTS-2023 Metrics (v10) — 10.5281/zenodo.19695263 · code · paper page
  • Precision Pays: A Fixed-Weight Boundary Loss Anchors the Precision End of a Recall–Precision Axis and Wins as the Consensus Veto under the Official BraTS-2023 Metrics (v2.6) — 10.5281/zenodo.22906446 · code · paper page
  • The Gate Does Not Choose: An Expert-Initialised Mixture-of-Experts Outperforms Training-Free Consensus under the Official BraTS-2023 Metrics (v0.13) — 10.5281/zenodo.22776410 · code · paper page
  • It Detects More, It Scores Less: A Pre-Registered Blob Loss Refutes Its Own Precision Prediction and Pays Only as a Consensus Veto under the Official BraTS-2023 Metrics (v1.1) — 10.5281/zenodo.23091253 · code · paper page

License

Weights: MIT. The companion paper is CC-BY-4.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей