A Multi-Task EfficientNetV2S Approach with Hierarchical Hybrid Attention for MRI Enhancing Brain Tumor Segmentation and Classification

Nawal Benzorgat, Kewen Xia, Mustapha Noure Eddine Benzorgat, Malek Nasser Ali AlgabriBrain 2025

TL;DR

This paper introduces a novel deep learning model that simultaneously segments and classifies brain tumors from MRI scans. By integrating a powerful EfficientNetV2S backbone with a unique Hierarchical Hybrid Attention (HHA) mechanism, the model achieves state-of-the-art performance, offering improved accuracy and robustness for both tasks.

What Problem Does This Paper Address?

Brain tumors are a serious health concern, and accurate MRI analysis is crucial for diagnosis and treatment. However, analyzing brain tumors with MRI is challenging due to their diverse appearances, sizes, and locations. Current automated methods often struggle with:

  • Noise Propagation: Standard deep learning architectures can inadvertently pass noise from earlier layers to later ones, blurring important details.
  • Limited Feature Integration: Attention mechanisms, while helpful, often process spatial and channel information separately, failing to capture their complex interactions.
  • Shallow Encoders: Some models use encoders that don't extract sufficiently rich features, especially for subtle or complex tumor patterns.
  • Task Isolation: Many existing systems focus on either segmentation or classification, missing out on the benefits of learning shared representations that could improve both.

This paper aims to overcome these limitations by proposing a unified framework that excels at both segmenting tumor boundaries and classifying tumor types.

Methods

The core of the proposed solution is a Multi-Task EfficientNetV2S Approach with Hierarchical Hybrid Attention (HHA). Here's a breakdown of the key components:

  • EfficientNetV2S Backbone: This serves as the primary feature extractor, known for its efficiency and strong representational capacity. It's loaded with pre-trained ImageNet weights for a head start.
  • Hierarchical Hybrid Attention (HHA) Mechanism: This is the paper's main innovation. Instead of simple skip connections that just pass features, HHA acts as a selective filter. It has two branches:
  • Global-Context Path: Captures broader contextual information.
  • Local-Spatial Path: Focuses on fine-grained spatial details. These paths are fused using a correlation-driven, per-pixel gate that learns how to best combine their insights. This mechanism is applied hierarchically at different stages of the encoder.

  • Enhanced Hybrid Attention (EHA) Variant: An extension of HHA that incorporates multi-head self-attention to capture long-range dependencies, further improving contextual understanding.

  • Multi-Scale Feature Fusion: Features from different levels of the EfficientNetV2S encoder are progressively fused to create a comprehensive representation.
  • Dual-Task Architecture: The model has two distinct heads:
  • Segmentation Head: Generates a precise tumor mask.
  • Classification Head: Predicts the tumor type (no tumor, glioma, meningioma, pituitary tumor). Both heads share the encoder, allowing for joint learning and leveraging complementary information.

  • Multi-Contrast Preprocessing: A strategy using CLAHE (Contrast Limited Adaptive Histogram Equalization) is applied to enhance image contrast across different settings, providing richer input data.

Datasets

The study utilizes a publicly available brain tumor MRI dataset from Kaggle. This dataset comprises 4237 T1-weighted contrast-enhanced MRI images with ground truth masks for four classes:

  • No tumor (1595 images)
  • Glioma (650 images)
  • Meningioma (999 images)
  • Pituitary tumor (994 images)

The dataset was split into training (70%), validation (10%), and testing (20%) sets, maintaining class distribution.

Key Insights and Ideas

  • Attention as a Selective Regulator: The HHA mechanism transforms skip connections from passive conduits into active filters, intelligently suppressing noise and enhancing relevant tumor features. This is a significant departure from traditional U-Net skip connections.
  • Synergy of Global and Local: Explicitly modeling the interaction between global context and local spatial details through a correlation-driven fusion gate is key to HHA's success. This allows the model to understand both the overall tumor landscape and its precise boundaries.
  • Multi-Task Learning Pays Off: Jointly training for segmentation and classification leads to superior performance in both tasks compared to single-task models. The segmentation task benefits from class-level context, while classification gains from spatially aware features.
  • EfficientNetV2S as a Powerful Encoder: Leveraging the advanced EfficientNetV2S backbone provides a strong foundation for feature extraction, outperforming simpler encoders.

Key Results

The proposed EfficientNetV2S HHA model achieved impressive results:

  • Segmentation:
    • Dice Score: 92.25%
    • Jaccard Index: 85.77%
  • Classification:
    • Overall Accuracy: 99.53%
    • Precision, Recall, and F1 Score: All close to 99%

These metrics represent state-of-the-art performance on the benchmark dataset. The model demonstrated robust performance across all tumor classes, with near-perfect scores for "no tumor" and high scores for the other types. Visualizations showed accurate tumor boundary delineation and effective handling of challenging cases.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Dataset Specificity: The model was trained on a specific Kaggle dataset. Generalization to images from different hospitals, scanner vendors, field strengths, or MRI sequences (e.g., T2-weighted, FLAIR) remains uncertain. Performance might degrade with variations in contrast, noise, or artifacts not present in the training data.
  • Computational Cost: The HHA mechanism and multi-scale fusion add computational overhead, potentially limiting real-time applications or deployment on resource-constrained hardware.
  • Interpretability: While quantitative results are strong, the decision-making process within the attention modules is not fully transparent. Further work is needed to explain why certain regions are emphasized for classification or segmentation, which is crucial for clinical trust.
  • Future Directions:
    • Validate the model on diverse datasets from multiple centers and vendors.
  • Explore parameter-efficient attention variants or pruning/quantization for reduced cost.
  • Integrate attribution tools and uncertainty estimation for improved transparency and trust.
  • Investigate different MRI sequences and contrast types.

Summary updated

Abstract

<b>Background:</b> Brain tumors present a significant clinical problem due to high mortality and strong heterogeneity in size, shape, location, and tissue characteristics, complicating reliable MRI analysis. Existing automated methods are limited by non-selective skip connections that propagate noise, axis-separable attention modules that poorly integrate channel and spatial cues, shallow encoders with insufficiently discriminative features, and isolated optimization of segmentation or classification tasks. <b>Methods:</b> We propose a model using an EfficientNetV2S backbone with a Hierarchical Hybrid Attention (HHA) mechanism. The HHA couples a global-context pathway with a local-spatial pathway, employing a correlation-driven, per-pixel fusion gate to explicitly model interactions between them. Multi-scale dilated blocks are incorporated to enlarge the effective receptive field. The model is applied to a multiclass brain tumor MRI dataset, leveraging shared representation learning for joint segmentation and classification. <b>Results:</b> The design attains a Dice score of 92.25% and a Jaccard index of 86% for segmentation. For classification, it achieves an accuracy of 99.53%, with precision, recall, and F1 scores all close to 99%. These results indicate sharper tumor boundaries, stronger noise suppression in segmentation, and more robust discrimination in classification. <b>Conclusions:</b> The proposed framework effectively overcomes key limitations in brain tumor MRI analysis. The integrated HHA mechanism and shared representation learning yield superior segmentation quality with enhanced boundary delineation and noise suppression, alongside highly accurate tumor classification, demonstrating strong clinical utility.
BibTeX
@inproceedings{benzorgat2025multi,
  author = {Nawal Benzorgat and Kewen Xia and Mustapha Noure Eddine Benzorgat and Malek Nasser Ali Algabri},
  title = {{A Multi-Task EfficientNetV2S Approach with Hierarchical Hybrid Attention for MRI Enhancing Brain Tumor Segmentation and Classification}},
  booktitle = {Brain},
  year = {2025},
  doi = {10.3390/brainsci16010037},
}
Figure