EU-Nets: Enhanced, Explainable and Parsimonious U-Nets

Bohang Sun, Pietro LiòarXiv 2025 · DOI

Abstract

EU-Nets introduce a lightweight framework called MHEX+ that transforms standard U-Net architectures into "explainable" and "parsimonious" models. By mathematically unifying convolutional layers and measuring gradient consistency across the decoder, EU-Nets improve segmentation accuracy and provide reliable uncertainty estimates with negligible computational overhead (<0.1M parameters).

Introduction

In medical imaging, deep learning models are often treated as "black boxes." While a U-Net might segment a tumor accurately, clinicians require transparency regarding why a model made a specific choice and how certain it is. Existing solutions often suffer from an explainability gap, high computational costs for uncertainty estimation (e.g., Deep Ensembles), or performance degradation when adding interpretability logic. EU-Nets address these challenges by providing transparency and uncertainty without sacrificing speed or accuracy.

Methods

The core of the framework is the MHEX+ (Multi-Head Explainer Plus) module, which can be integrated into almost any U-Net-style architecture as a "plug-and-play" component.

The overall architecture of EU-Nets showing the integration of MHEX+ modules, cross-attention, and self-attention mechanisms.

1. The Equivalent Convolutional Kernel

To improve interpretability, the authors introduce a mathematical shortcut by merging consecutive convolutional layers into a single "Equivalent Kernel." This reduces the complexity of generating Class Activation Maps (CAMs) from $O(n^2 \cdot C)$ to $O(C)$, allowing the model to visualize "decision traces"—the multi-scale features the network attends to—in real-time.

2. Collaboration Gradient for Uncertainty

Instead of computationally expensive multi-pass inference, EU-Nets estimate uncertainty via the "Collaboration Gradient." This method measures the internal consistency (cosine similarity) between gradients of adjacent MHEX+ blocks. High similarity indicates model certainty, while disagreement identifies uncertain pixels in a single forward/backward pass.

Results and Discussion

The framework was evaluated across four diverse medical imaging modalities: MSD-Heart (MRI), MSD-Spleen (CT), Breast Ultrasound, and ISIC 2016 (Dermoscopic images).

Qualitative comparison of segmentation predictions, confidence maps, explanation maps (saliency), and uncertainty estimates across various EU-Net variants.

Key Findings:

  • Accuracy and Stability: EU-Nets achieved an average Dice coefficient improvement of 1.389% and reduced training variance by 0.83%, suggesting that MHEX+ modules act as effective regularizers.
  • Parsimony: The "EU" variants add fewer than 100,000 parameters, providing explainability with negligible overhead.
  • Uncertainty Alignment: The Collaboration Gradient showed a strong Pearson correlation (~0.56–0.61) with traditional Deep Ensemble methods, proving it is a valid proxy for model disagreement.
  • Contextual Explanations: Unlike standard Grad-CAM, MHEX+ saliency maps highlight relevant surrounding anatomy, revealing the context used for decision-making.

Conclusion

EU-Nets offer a parsimonious approach to explainable medical AI. While the internal gradient consistency provides a robust uncertainty proxy, future work is needed to reconcile the statistical differences between internal alignment and external ensemble disagreement. Additionally, clinical user studies will be essential to determine the practical utility of these explanation maps for radiologists in diagnostic workflows.

Summary updated

BibTeX
@misc{sun2025eu,
  author = {Bohang Sun and Pietro Liò},
  title = {{EU-Nets: Enhanced, Explainable and Parsimonious U-Nets}},
  year = {2025},
  eprint = {2502.18122},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.18122},
}
Figure