Статья опубликована в рамках: CCXLVIII Международной научно-практической конференции «Научное сообщество студентов: МЕЖДИСЦИПЛИНАРНЫЕ ИССЛЕДОВАНИЯ» (Россия, г. Новосибирск, 09 ноября 2026 г.)
Наука: Информационные технологии
Скачать книгу(-и): Скачать книгу
дипломов
RESOURCE-EFFICIENT BRAIN TUMOR SUB-REGION SEGMENTATION ON BRATS 2021: A CONTROLLED COMPARISON OF 2D, 2.5D AND ATTENTION U-NETS
Abstract
Automatic segmentation of glioma sub-regions on multimodal MRI is a mature research problem, yet the strongest published systems are 3D networks and ensembles that assume large GPUs. Many university labs and regional hospitals have one consumer GPU or a free cloud notebook. We ask how much accuracy lightweight slice-based models reach under such a budget, and whether two inexpensive extensions help. Using the BraTS 2021 training set (1,251 patients, four MRI sequences) with a patient-level 70/15/15 split, we train three U-Net variants that share data, loss, augmentation and schedule: a 2D U-Net, a 2.5D U-Net that receives three neighboring slices, and a 2.5D U-Net with attention gates. Each model has about 7.8 million parameters and trains in under three hours on a single NVIDIA T4 GPU. On 188 held-out patients the 2D U-Net reaches mean Dice scores of 91.2 %, 87.0 % and 82.7 % for the whole tumor, tumor core and enhancing tumor, with median 95th percentile Hausdorff distances below 3 mm. Neither extension improves on it: through-plane context lowers whole tumor Dice by 0.66 points (Holm-adjusted p = 0.030), attention gates recover this loss, and no other Dice difference is significant. All enhancing tumor failures in patients with enhancing tumor occur in the smallest volume quartile, and a common volume-based post-processing rule changes enhancing tumor Dice by only 0.0 to 1.0 points while deleting true small lesions. The full pipeline runs end to end in one notebook on a free cloud GPU.
Аннотация
Автоматическая сегментация субрегионов глиом на мультимодальных МРТ-изображениях хорошо изучена, однако лучшие опубликованные системы основаны на 3D-сетях и ансамблях, рассчитанных на мощные графические процессоры. Многие университетские лаборатории и региональные больницы располагают лишь одной потребительской видеокартой или бесплатным облачным ноутбуком. В работе исследуется, какой точности достигают лёгкие послойные модели при таком бюджете и помогают ли два недорогих расширения. На обучающей выборке BraTS 2021 (1251 пациент, четыре МРТ-последовательности) с разбиением 70/15/15 на уровне пациентов обучены три варианта U-Net с одинаковыми данными, функцией потерь, аугментацией и расписанием обучения: 2D U-Net, 2.5D U-Net, получающая на вход три соседних среза, и 2.5D U-Net с блоками внимания (attention gates). Каждая модель содержит около 7,8 млн параметров и обучается менее чем за три часа на одной видеокарте NVIDIA Т4. На 188 отложенных пациентах 2D U-Net достигает среднего коэффициента Дайса 91,2 %, 87,0 % и 82,7 % для всей опухоли, ядра опухоли и контрастируемой части опухоли, а медиана 95-го процентиля расстояния Хаусдорфа не превышает 3 мм. Ни одно из расширений не улучшает этот результат: межсрезовый контекст снижает коэффициент Дайса для всей опухоли на 0,66 пункта (р = 0,030 с поправкой Холма), блоки внимания компенсируют это снижение, остальные различия статистически незначимы. Все неудачные сегментации контрастируемой части у пациентов, у которых она есть, приходятся на квартиль наименьших объёмов, а распространённое правило постобработки по объёму меняет коэффициент Дайса для контрастируемой части лишь на величину от 0,0 до 1,0 пункта, удаляя при этом истинные мелкие очаги. Весь конвейер обработки выполняется в одном ноутбуке на бесплатном облачном GPU.
Keywords: brain tumor segmentation, BraTS 2021, U-Net, 2.5D convolutional neural networks, attention gates, magnetic resonance imaging.
Ключевые слова: сегментация опухолей головного мозга, BraTS 2021, U-Net, 2.5D свёрточные нейронные сети, блоки внимания, магнитно-резонансная томография.
1. Introduction
Gliomas are the most common primary brain malignancies [1]. The 2021 WHO classification defines them by histology together with molecular markers, and these features strongly shape prognosis and treatment [2]. In practice, the extent of a glioma is read from multiparametric MRI: native T1, contrast-enhanced T1 (T1Gd), T2 and T2-FLAIR. Clinicians look at three nested regions, namely the whole tumor with its peritumoral edema, the tumor core, and the enhancing tumor. Drawing them by hand, slice after slice, takes time, and experts disagree more than one might expect. In the original BRATS benchmark, Dice overlap between human raters ranged from 74 % to 85 % depending on the region [3].
The BraTS challenge turned this problem into a public benchmark. Since its first edition in 2012 it has grown to 2,040 patients in 2021, all with expert annotations [3–5]. For years the winning methods have been 3D encoder-decoder networks: an autoencoder-regularized 3D network in 2018 [6], a two-stage cascaded U-Net in 2019 [7], and tuned versions of nnU-Net in 2020 and 2021 [8, 9]. nnU-Net itself is a self-configuring U-Net framework that remains a very strong baseline across medical segmentation tasks [10]. These systems are accurate, but they are expensive. They train on large 3D patches, and final submissions often average several networks from cross-validation folds. The BraTS 2021 winner, for example, ensembled models from five folds [9].
For many groups this budget is out of reach. A university lab or a regional hospital may have one consumer GPU or a free cloud notebook with a weekly time limit. Slice-based 2D networks fit such hardware easily, but they see nothing above or below the current slice. A recent comparison on normal brain structures found 3D models more accurate, at the price of roughly 20 times more GPU memory than 2D or 2.5D models [11]. Between the two extremes sit cheap fixes: 2.5D input, which stacks neighboring slices as channels, and attention gates, which let the decoder down-weight irrelevant skip features [12]. For tumor sub-regions, however, published comparisons often change several things at once (preprocessing, loss, training length and architecture), so it is hard to tell which choice actually helps.
This paper asks a narrow, practical question: under a fixed and modest compute budget, how much do through-plane context and attention gates add to a plain 2D U-Net for glioma sub-region segmentation? We keep data, preprocessing, loss, augmentation, optimizer and training length identical and change one factor at a time. In our experiments neither option improved the plain 2D U-Net in a meaningful way, and the largest enhancing tumor errors came from small lesions. Our contributions are:
1. A controlled comparison of 2D, 2.5D and attention-gated 2.5D U-Nets on 1,251 BraTS 2021 patients, evaluated in 3D on 188 held-out patients with overlap, boundary and efficiency metrics and paired statistical tests.
2. An error analysis by sub-region and lesion size, and an evaluation of a widely used volume-based post-processing rule for enhancing tumor, which in our setting trades a small Dice gain for deleted true lesions.
3. The complete pipeline as a single notebook that reproduces every number and figure in this paper on a free cloud GPU; the notebook is available from the authors on request.
Section 2 reviews related work, Section 3 describes the data and methods, Section 4 reports the results, and Section 5 discusses them together with the limitations of the study.
2. Related work
2.1. From patch classifiers to U-Nets
Early deep learning methods for glioma segmentation classified the center voxel of small 2D patches. Pereira et al. built a deep 2D CNN with small 3×3 kernels and careful intensity normalization [13], and Havaei et al. combined a local and a global pathway in a cascaded architecture [14]. DeepMedic moved to a dual-pathway 3D CNN followed by a fully connected CRF [15]. The field then settled on fully convolutional encoder-decoders. U-Net added skip connections that carry high-resolution features to the decoder [16]. 3D U-Net and V-Net extended the idea to volumes, and V-Net introduced a Dice-based loss that copes with strong class imbalance [17, 18].
2.2. Large 3D models in the BraTS challenge
Since 2018 the BraTS leaderboard has been led by 3D U-Net-like networks. Myronenko regularized a 3D encoder with a variational autoencoder branch [6], and Jiang et al. refined a coarse prediction with a second U-Net [7]. nnU-Net won in 2020 with three ideas that we reuse below: training directly on the three nested regions with sigmoid outputs, a binary cross-entropy term per region, and a rule that relabels very small enhancing tumor predictions as necrosis [8]. The 2021 winner enlarged the network, replaced batch normalization with group normalization, added axial attention in the decoder and ensembled five folds [9]. On the official BraTS 2021 validation set its best configuration reached Dice scores of 84.5 %, 87.8 % and 92.8 % for enhancing tumor, tumor core and whole tumor [9].
Cheaper ways to model 3D context exist. Wang et al. split a 3D network into anisotropic in-plane and through-plane convolutions inside a cascade [19]. Transformer hybrids such as TransBTS [20] and Swin UNETR [21] went the other way: they add self-attention to capture long-range context and grow larger. Swin UNETR has about 62 million parameters, and its BraTS 2021 entry was an ensemble of ten models [21].
2.3. 2D, 2.5D and attention gates
For normal brain structures, Avesta et al. compared 2D, 2.5D and 3D versions of several networks on 3,430 T1-weighted scans [11]. The 3D models were the most accurate and degraded least when training data shrank, but they needed about 20 times more GPU memory. Attention U-Net, first proposed for pancreas segmentation in CT, places additive attention gates on the skip connections so the decoder can suppress features that are irrelevant to the target [12]. To our knowledge, these two inexpensive options have rarely been compared head to head for glioma sub-regions with everything else held fixed. That is the gap this study addresses.
3. Materials and methods
Figure 1 summarizes the pipeline. All three models see the same patients, the same preprocessing, the same slices and the same training schedule; only the input depth and the skip connections differ.
3.1. Dataset and split
We use the labeled training set of the BraTS 2021 segmentation task, which contains pre-operative scans of 1,251 glioma patients [5]. Every case has four sequences (T1, T1Gd, T2 and T2-FLAIR) that the organizers co-registered to the SRI24 anatomical template [22], resampled to 1 mm isotropic resolution and skull-stripped [5]. Volumes have 240×240×155 voxels. The reference labels mark necrotic tumor core (label 1), peritumoral edema and invaded tissue (label 2) and contrast-enhancing tumor (label 4). Evaluation uses three nested regions: whole tumor (WT, labels 1, 2 and 4), tumor core (TC, labels 1 and 4) and enhancing tumor (ET, label 4).
Labels for the official validation (219 cases) and test (570 cases) sets are not public [5]. We therefore split the 1,251 labeled patients into training (875), validation (188) and test (188) sets with a fixed random seed. The split is made per patient, so no slice of a test patient is ever used for training. The validation set drives checkpoint selection, the learning rate schedule and the post-processing threshold. The test set is touched once, for the final numbers.
3.2. Preprocessing and model input
Because the images are already registered, resampled and skull-stripped, we apply only two steps. First, each sequence is z-score normalized with the mean and standard deviation of its brain voxels (voxels where any sequence is non-zero), clipped to [−5, 5], and set to zero outside the brain. Second, every volume is cropped in-plane to 160×192 voxels around the center of the brain bounding box; the crop removed no reference tumor voxel in any test patient. The 2D model receives one axial slice of each sequence (4 channels). The 2.5D models receive slices z − 1, z and z + 1 of each sequence (12 channels), with the first and last slice repeated at the volume edges.
3.3. Network architectures
The three models share one U-Net [16] (Figure 2). The encoder has five levels with 32, 64, 128, 256 and 512 feature maps. Each level applies two 3×3 convolutions, each followed by batch normalization [23] and ReLU, and levels are connected by 2×2 max pooling. The decoder mirrors the encoder with 2×2 transposed convolutions, concatenation with the skip features and the same double convolution. A final 1×1 convolution produces three sigmoid maps, one per region. The 2D, 2.5D and attention models have 7.76, 7.77 and 7.85 million parameters.
The attention model adds an additive attention gate [12] to each of the four skip connections. Let x be the skip features with C channels and g the up-sampled decoder features at the same resolution. The gate computes
(1)
where Wg and Wx are 1×1 convolutions with batch normalization that map to C/2 channels, ψ is a 1×1 convolution with batch normalization that maps to one channel, and σ is the sigmoid. The gated features x̂ replace x in the concatenation. Oktay et al. take the gating signal from the coarser decoder level [12]; we use the up-sampled decoder features instead, a common simplification that keeps every tensor at the same resolution.
3.4. Training
Following [8], the networks are trained directly on the three overlapping regions. The loss is the sum of a soft Dice term and binary cross-entropy with equal weights:
(2)
where p and y are predicted probabilities and reference labels of region r, i runs over all pixels of the batch, ε = 10−5, and the cross-entropy is averaged over regions and pixels.
An epoch visits every training patient once in random order. Each visit draws 40 axial slices: each slice comes from a tumor-containing slice with probability 0.7 and otherwise from any slice inside the brain. A batch holds two patients, that is 80 slices. Augmentation runs on the GPU: a left-right flip with probability 0.5, a random intensity gain in [0.9, 1.1] and shift in [−0.1, 0.1] per sequence inside the brain, and, with probability 0.5, a rotation of up to ±15° combined with scaling in [0.9, 1.1] (bilinear interpolation for images, nearest neighbor for labels).
We use Adam [24] with a learning rate of 3×10−4, halved whenever the validation mean Dice has not improved for five epochs, and train for 20 epochs with mixed precision. After every epoch the model segments 40 fixed validation patients in 3D, and the checkpoint with the highest mean Dice over the three regions is kept. Everything is implemented in PyTorch [25] and trained on a single NVIDIA T4 GPU (16 GB) in a Kaggle notebook.
3.5. Inference and post-processing
At test time every axial slice that contains brain is segmented, the probability maps are stacked back into a volume and thresholded at 0.5. The three region maps are converted into one label map by writing WT as edema, then TC as necrosis, then ET as enhancing tumor. This order guarantees ET ⊆ TC ⊆ WT. The map is pasted back into the full 240×240×155 grid.
Small false enhancing regions are a known problem. Some patients, typically with lower-grade gliomas, have no enhancing tumor at all (four of our 188 test patients), and a single false voxel then drops their ET Dice from 1 to 0. Following [8], if the predicted ET volume of a patient is positive but smaller than T voxels, those voxels are relabeled as necrosis, so they stay in the tumor core. T is chosen separately for each model from {0, 50, 100, 200, 300, 500, 750, 1000} voxels by maximizing mean ET Dice on all 188 validation patients (T = 0 means no post-processing). Results are reported with and without this step.
3.6. Evaluation
All metrics are computed per test patient and region on the full grid: Dice, intersection over union (IoU), sensitivity, specificity and the 95th percentile Hausdorff distance (HD95) in millimeters [26]. Specificity is computed inside the brain mask extended by both segmentations, since the background outside the head would make it trivially close to 1. HD95 is the 95th percentile of the pooled distances from each surface voxel of one mask to the surface of the other. When both masks are empty, Dice is 1 and HD95 is 0; when only one is empty, Dice is 0 and HD95 equals the image diagonal (373.13 mm). Sensitivity is left out for patients without the region.
We report means with standard deviations and a 95 % bootstrap confidence interval of the mean Dice (2,000 resamples). Models are compared pairwise on the same patients with the two-sided Wilcoxon signed-rank test [27], and p-values are adjusted with the Holm procedure [28] over the nine comparisons of each metric. For efficiency we record the number of parameters, the peak GPU memory during training, the training time and the inference time per patient, measured from the preprocessed volume to the probability maps.
4. Results
4.1. Training
All three models trained for 20 epochs (Figure 3). Validation Dice kept improving within the five-epoch patience window, so the learning rate was never reduced, and the best checkpoints came from epochs 19, 18 and 20 for the 2D, 2.5D and attention models. After the third epoch the validation curves of the three models are almost indistinguishable. One epoch took 7.3 to 7.9 minutes of training plus 0.6 to 0.8 minutes of validation, so each model trained in 2.6 to 2.9 hours (Table 3).
4.2. Segmentation accuracy
Table 1 lists Dice and HD95 on the 188 test patients without post-processing. The three models reached almost the same accuracy. The 2D U-Net had the highest Dice averaged over the three regions (87.0 %, against 86.7 % for the attention model and 86.6 % for the 2.5D U-Net), with 95 % bootstrap confidence intervals of [89.7, 92.3], [84.1, 89.6] and [79.6, 85.5]% for WT, TC and ET. Median HD95 was below 3 mm for every model and region. The means are much larger because a few patients have distant errors; in particular, four patients without enhancing tumor add 373.13 mm each to the ET column (Section 4.3). Figure 4 shows that the spread between patients is far larger than any gap between models, and Figure 5 shows typical cases.
Table 1.
Test results without post-processing (188 patients), mean ± standard deviation. Dice is in %, HD95 in mm
| Model | Dice WT | Dice TC | Dice ET | HD95 WT | HD95 TC | HD95 ET |
|---|---|---|---|---|---|---|
| 2D U-Net | 91.2 ± 8.9 | 87.0 ± 19.3 | 82.7 ± 20.9 | 7.4 ± 12.4 | 5.1 ± 8.6 | 12.1 ± 54.2 |
| 2.5D U-Net | 90.5 ± 9.6 | 86.8 ± 20.5 | 82.5 ± 21.3 | 4.6 ± 5.3 | 4.5 ± 7.1 | 11.3 ± 53.9 |
| 2.5D Attention U-Net | 91.1 ± 8.2 | 86.9 ± 18.3 | 82.2 ± 21.4 | 6.8 ± 11.3 | 7.3 ± 12.8 | 13.5 ± 54.6 |
Table 2 answers the two questions of the study. Adding the two neighboring slices lowered WT Dice by 0.66 points (Holm-adjusted p = 0.030) and changed TC and ET Dice by less than 0.25 points. Adding attention gates to the 2.5D U-Net raised WT Dice by 0.56 points (p = 0.004), back to the level of the 2D U-Net, but also increased ET HD95 by 2.2 mm (p = 0.002). No other difference survived the Holm correction, and the 2D U-Net and the attention model were statistically indistinguishable on both metrics in every region. Mean specificity was above 99.5 % for every model and region, and mean sensitivity ranged from 83.7 % to 91.1 %.
Table 2.
Paired differences on the 188 test patients (second model minus first). Holm-adjusted Wilcoxon p-values in parentheses, bold if below 0.05
| Comparison | ΔDice, percentage points | ΔHD95, mm | ||||
|---|---|---|---|---|---|---|
| WT | TC | ET | WT | TC | ET | |
| 2.5D − 2D (context) | −0.66 (0.030) |
−0.23 (1.00) |
−0.12 (1.00) |
−2.75 (0.72) |
−0.60 (1.00) |
−0.82 (0.35) |
| Att. − 2.5D (gates) | +0.56 (0.004) |
+0.13 (1.00) |
−0.36 (1.00) |
+2.14 (1.00) |
+2.85 (0.14) |
+2.18 (0.002) |
| Att. − 2D (both) | −0.10 (1.00) |
−0.10 (1.00) |
−0.48 (1.00) |
−0.60 (1.00) |
+2.26 (0.16) |
+1.36 (0.24) |
The per-patient volumes show where the WT difference comes from. The 2.5D U-Net under-segmented the whole tumor: its median relative WT volume error was −6.7 %, against +0.5 % for the 2D U-Net and −0.2 % for the attention model, and its WT sensitivity was 86.5 %, against 91.1 % and 90.2 %. At the same time it had the fewest patients with a WT HD95 above 10 mm (22, against 34 and 28). The attention model had the highest TC and ET sensitivity (88.8 % and 86.9 %), but also the most patients with a TC HD95 above 10 mm (37, against 22 for the 2D and 20 for the 2.5D U-Net).
4.3. Enhancing tumor and post-processing
Four of the 188 test patients have no enhancing tumor in the reference. All three models predicted a small false enhancing region (0.03 to 1.24 ml) in each of them, so by the convention of Section 3.6 these four patients score an ET Dice of 0 and an ET HD95 of 373.13 mm. Together they add about 7.9 mm to the mean ET HD95 of every model; without them, mean ET HD95 is 4.3, 3.4 and 5.7 mm for the 2D, 2.5D and attention models.
Among the 184 patients with enhancing tumor, ET Dice depends clearly on lesion size (Figure 6). For the 2D U-Net, median ET Dice rose from 85.3 % in the smallest volume quartile (up to 6.9 ml) to 92.3 % in the largest, and all nine patients with an ET Dice below 0.5 fell in the smallest quartile. The same held for the other two models, with 10 and 11 such patients, all in the smallest quartile.
The volume rule chose T = 300, 750 and 500 voxels on the validation set. On the test set it rescued three or four of the four patients without enhancing tumor, but it also removed the enhancing prediction in 6, 10 and 9 patients who do have enhancing tumor, lowering their ET Dice in 5, 8 and 7 cases (Table 3). Most of the removed predictions were already poor. For the 2.5D U-Net, however, whose threshold was the largest, the rule also deleted two lesions of about 0.3 ml that had been segmented with a Dice of 0.84. The net effect on mean ET Dice was small (+1.0, +0.5 and +0.0 points), while mean ET HD95 grew by 4.9, 11.2 and 10.8 mm, because every deleted lesion now counts as a miss at the maximum distance.
4.4. Cost
The three models differ by less than 0.1 million parameters, and their training times by less than 20 minutes (Table 3). Inference took 0.51 s per patient for the 2D U-Net and about 0.85 s for both 2.5D models. Peak allocated GPU memory stayed below 8 GB for every model. We do not compare the models on this number: with cuDNN autotuning enabled it also contains algorithm-search workspace that depends on the order of training, and the first model trained, the 2D U-Net, showed the highest value (7.7 GB, against 4.1 and 6.3 GB) despite having the smallest input.
Table 3.
Cost and enhancing tumor post-processing (PP) per model on one NVIDIA T4. Rescued: patients without enhancing tumor whose false prediction was removed. Harmed: patients whose ET Dice decreased
| Model | Params, M | Training, h | Inference, s/patient | T, voxels | Rescued / harmed | ET Dice, %: raw → PP | ET HD95, mm: raw → PP |
|---|---|---|---|---|---|---|---|
| 2D U-Net | 7.76 | 2.61 | 0.51 ± 0.16 | 300 | 3 / 5 | 82.7 → 83.7 | 12.1 → 17.0 |
| 2.5D U-Net | 7.77 | 2.84 | 0.86 ± 0.20 | 750 | 4 / 8 | 82.5 → 83.1 | 11.3 → 22.5 |
| 2.5D Attention U-Net | 7.85 | 2.90 | 0.85 ± 0.04 | 500 | 3 / 7 | 82.2 → 82.2 | 13.5 → 24.3 |
5. Discussion
5.1. Context and attention under a fixed budget
Neither inexpensive extension improved the plain 2D U-Net. All three models stayed within 0.7 Dice points of each other in every region, and the only significant Dice differences concern the whole tumor and run in opposite directions: the 2.5D input lowered WT Dice, and attention gates brought it back. The per-patient volumes suggest that these differences reflect where each model sits on the trade-off between missing tumor and adding false voxels, rather than better or worse segmentation. The 2.5D U-Net was conservative for the whole tumor, with lower sensitivity but fewer distant errors, while the attention model was liberal for the tumor core and enhancing tumor, with the highest sensitivity but more large boundary errors. With a single training run per model, we cannot tell how much of this comes from the architecture and how much from training noise.
One possible reason why three slices do not help is the resolution of the data. BraTS volumes are resampled to 1 mm isotropic voxels, so the two neighboring slices add only 2 mm of through-plane context and look very similar to the center slice. In the comparison of Avesta et al., 2.5D and 2D models were also close to each other, while 3D models were more accurate [11].
Differences below one Dice point are also small compared with the variability of the reference itself: in the original benchmark, two expert raters agreed with a Dice of only 74 % to 85 % depending on the region [3]. HD95 complements Dice, since a single false island far from the tumor barely changes the overlap but can dominate the boundary distance.
5.2. Position relative to 3D methods
Our numbers are not directly comparable with the BraTS leaderboard. The official validation and test sets differ from our held-out split, and the top entries average several large 3D networks. For context, the BraTS 2021 winner reported validation Dice of 84.5 %, 87.8 % and 92.8 % for ET, TC and WT with five-fold ensembles [9], and Swin UNETR reported 85.8 %, 88.5 % and 92.6 % with an ensemble of ten models of about 62 million parameters each [21]. Taken only as a rough reference, a single 7.8 million parameter 2D U-Net trained for 2.6 hours on a free GPU stays within about two Dice points of the winner in every region (82.7 %, 87.0 % and 91.2 %). Closing the remaining gap, especially for small enhancing lesions, may require real 3D context, which our budget did not cover.
5.3. Why enhancing tumor is hard
The enhancing region is small, thin and often ring-shaped, and some patients have none. Both properties punish Dice. A few false voxels in a patient without enhancing tumor turn a perfect score into zero, and a one-voxel shift of a thin rim removes a large share of its overlap. Our results show both effects: every model produced false enhancing voxels in all four patients without enhancing tumor, and every ET failure among the other patients involved a lesion from the smallest volume quartile. The volume rule borrowed from nnU-Net [8] addresses only the first problem, and in our setting the trade was poor. Its gain comes mostly from the scoring convention for empty cases, and it can remove real small lesions, which is hard to justify for clinical use. A rule applied to each connected component, or a separate classifier for the presence of enhancing tumor, could be safer alternatives; we leave them for future work.
5.4. Limitations
The study has several limitations. Each model was trained once on one random split, so the paired tests capture variation between patients but not between training runs; repeating the runs with several seeds or folds would show how stable the small differences are. Training was short: the best checkpoints came from the last three epochs and the learning rate was never reduced, so all three models were probably still improving, and a longer schedule could change the absolute numbers and possibly the ranking. The test patients come from the same BraTS 2021 collection as the training data, and we did not evaluate on the official test set, on post-operative scans or on data from other scanners. We compared slice-based models only, so the gap to a 3D network trained under the same budget remains open. The post-processing threshold was tuned for Dice alone. Finally, overlap and boundary metrics do not measure clinical usefulness, and no radiologist reviewed the outputs.
6. Conclusion
We compared a 2D U-Net, a 2.5D U-Net and a 2.5D U-Net with attention gates for glioma sub-region segmentation on 1,251 BraTS 2021 patients, holding data, preprocessing, loss, augmentation and schedule fixed. With less than three hours of training per model on one free T4 GPU, neither through-plane context nor attention gates improved the plain 2D U-Net: all three reached a mean Dice of about 91 % for the whole tumor, 87 % for the tumor core and 82 % to 83 % for the enhancing tumor on 188 held-out patients, and the only significant Dice differences were below one point. Enhancing tumor errors concentrated in small lesions, and a common volume-based post-processing rule traded a small Dice gain for deleted true lesions and larger boundary errors. Our results suggest that, for groups with limited hardware, a carefully trained 2D U-Net is a strong and cheap baseline, and that small enhancing lesions deserve more attention than these architectural extensions. Next, we will train a patch-based 3D U-Net under the same budget, repeat all runs over several folds and seeds, and adapt the pipeline to brain structure segmentation in neurodegenerative disease using the OASIS-3 and ADNI collections.
Acknowledgment
The authors thank Kaggle for free GPU time. Claude (Anthropic) was used to draft the text of all sections, to write the experiment code and to prepare Figures 1 and 2. The authors ran all experiments, reviewed the manuscript and take full responsibility for its content.
References
- Bakas S., Reyes M., Jakab A. [et al.] Identifying the best machine learning algorithms for brain tumor segmentation, progression assessment, and overall survival prediction in the BRATS challenge [Электронный ресурс]. // arXiv preprint arXiv:1811.02629. – 2026. – URL: https://arxiv.org/
abs/ 1811.02629. - Louis D.N., Perry A., Wesseling P. [et al.] The 2021 WHO classification of tumors of the central nervous system: a summary // Neuro-Oncology. – 2021. – Vol. 23, No. 8. – P. 1231–1251.
- Menze B.H., Jakab A., Bauer S. [et al.] The multimodal brain tumor image segmentation benchmark (BRATS) // IEEE Transactions on Medical Imaging. – 2024. – Vol. 34, No. 10. – P. 1993–2024. – DOI: 10.1109/TMI.2014.2377694.
- Bakas S., Akbari H., Sotiras A. [et al.] Advancing The Cancer Genome Atlas glioma MRI collections with expert segmentation labels and radiomic features // Scientific Data. – 2017. – Vol. 4. – Art. 170117.
- Baid U., Ghodasara S., Mohan S. [et al.] The RSNA-ASNR-MICCAI BraTS 2021 benchmark on brain tumor segmentation and radiogenomic classification [Электронный ресурс]. // arXiv preprint arXiv:2107.02314. – 2026. – URL: https://arxiv.org/
abs/ 2107.02314. - Myronenko A. 3D MRI brain tumor segmentation using autoencoder regularization // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 11384. – Cham: Springer, 2019. – Vol. 11384. – P. 311–320.
- Jiang Z., Ding C., Liu M. [et al.] Two-stage cascaded U-Net: 1st place solution to BraTS challenge 2019 segmentation task // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 11992. – Cham: Springer, 2020. – Vol. 11992. – P. 231–241. – DOI: 10.1007/978-3-030-46640-4_22.
- Isensee F., Jäger P.F., Full P.M. [et al.] nnU-Net for brain tumor segmentation // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 12659. – Cham: Springer, 2021. – Vol. 12659. – P. 118–132. – DOI: 10.1007/978-3-030-72087-2_11.
- Luu H.M., Park S.-H. Extending nn-UNet for brain tumor segmentation // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 12963. – Cham: Springer, 2022. – Vol. 12963. – P. 173–186. – DOI: 10.1007/978-3-031-09002-8_16.
- Isensee F., Jaeger P.F., Kohl S.A.A. [et al.] nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation // Nature Methods. – 2021. – Vol. 18, No. 2. – P. 203–211.
- Avesta A., Hossain S., Lin M. [et al.] Comparing 3D, 2.5D, and 2D approaches to brain image auto-segmentation // Bioengineering. – 2023. – Vol. 10, No. 2. – Art. 181. – DOI: 10.3390/bioengineering10020181.
- Oktay O., Schlemper J., Le Folgoc L. [et al.] Attention U-Net: learning where to look for the pancreas // Medical Imaging with Deep Learning (MIDL). – 2018.
- Pereira S., Pinto A., Alves V. [et al.] Brain tumor segmentation using convolutional neural networks in MRI images // IEEE Transactions on Medical Imaging. – 2016. – Vol. 35, No. 5. – P. 1240–1251.
- Havaei M., Davy A., Warde-Farley D. [et al.] Brain tumor segmentation with deep neural networks // Medical Image Analysis. – 2017. – Vol. 35. – P. 18–31.
- Kamnitsas K., Ledig C., Newcombe V.F.J. [et al.] Efficient multi-scale 3D CNN with fully connected CRF for accurate brain lesion segmentation // Medical Image Analysis. – 2017. – Vol. 36. – P. 61–78.
- Ronneberger O., Fischer P., Brox T. U-Net: convolutional networks for biomedical image segmentation // Medical Image Computing and Computer-Assisted Intervention (MICCAI. – Cham: Springer, 2016. – Vol. 9351. – P. 234–241.
- Milletari F., Navab N., Ahmadi S.-A. V-Net: fully convolutional neural networks for volumetric medical image segmentation // Proceedings of the Fourth International Conference on 3D Vision (3DV). – 2016. – P. 565–571.
- Wang G., Li W., Ourselin S. [et al.] Automatic brain tumor segmentation using cascaded anisotropic convolutional neural networks // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 10670. – Cham: Springer, 2018. – Vol. 10670. – P. 178–190. – DOI: 10.1007/978-3-319-75238-9_16.
- Wang W., Chen C., Ding M. [et al.] TransBTS: multimodal brain tumor segmentation using transformer // Medical Image Computing and Computer-Assisted Intervention (MICCAI. Vol. 12901. – Cham: Springer, 2021. – Vol. 12901. – P. 109–119. – DOI: 10.1007/978-3-030-87193-2_11.
- Hatamizadeh A., Nath V., Tang Y. [et al.] Swin UNETR: Swin transformers for semantic segmentation of brain tumors in MRI images // Brainlesion: Glioma, Multiple Sclerosis, Stroke and Traumatic Brain Injuries (BrainLes. Vol. 12962. – Cham: Springer, 2022. – Vol. 12962. – DOI: 10.1007/978-3-031-08999-2_22.
- Rohlfing T., Zahr N.M., Sullivan E.V. [et al.] The SRI24 multichannel atlas of normal adult human brain structure // Human Brain Mapping. – 2010. – Vol. 31, No. 5. – P. 798–819.
- Ioffe S., Szegedy C. Batch normalization: accelerating deep network training by reducing internal covariate shift // Proceedings of the 32nd International Conference on Machine Learning (ICML). PMLR. – 2015. – Vol. 37. – P. 448–456.
- Kingma D.P., Ba J. Adam: a method for stochastic optimization // International Conference on Learning Representations (ICLR). – 2015.
- Paszke A., Gross S., Massa F. [et al.] PyTorch: an imperative style, high-performance deep learning library // Advances in Neural Information Processing Systems (NeurIPS). – 2019. – Vol. 32. – P. 8024–8035.
- Maier-Hein L., Reinke A., Godau P. [et al.] Metrics reloaded: recommendations for image analysis validation // Nature Methods. – 2024. – Vol. 21, No. 2. – P. 195–212. – DOI: 10.1038/s41592-023-02151-z.
- Wilcoxon F. Individual comparisons by ranking methods // Biometrics Bulletin. – 1945. – Vol. 1, No. 6. – P. 80–83.
- Holm S. A simple sequentially rejective multiple test procedure // Scandinavian Journal of Statistics. – 1979. – Vol. 6, No. 2. – P. 65–70.
дипломов

