UniH^3: Unifying Hierarchical Homogeneity and Heterogeneity for All-in-One Medical Image Restoration

Zhiwen Yang, Jiayin Li, Chengyu Liu, Hui Zhang, Bingzheng Wei, Yan Xu

Beihang University · Tsinghua University · Independent Researcher

Published September 10, 2026 · on the feed September 11, 2026 · ▲ 23 · arXiv 2609.11156

Image generation & editingScience & medicine Full code arXiv ↗Hugging Face ↗

The abstract

All-in-One medical image restoration (MedIR) aims to address diverse tasks across modalities and degradation types using a single universal model. Existing methods typically prioritize modeling inter-task heterogeneity (e.g., distinct data distributions and degradation types). However, they largely neglect the inherent homogeneity present in medical images, such as widely shared anatomical structures within and across modalities, which can be leveraged to ease model training and improve generalization. To this end, we propose UniH3, a novel framework that Unifies Hierarchical Homogeneity and Heterogeneity for all-in-one medical image restoration. Specifically, to comprehensively exploit homogeneity, we introduce a Hierarchical Homogeneity Memory (H2M) module that progressively distills intra- and inter-task homogeneity priors from high-quality images during training, and adaptively retrieves the most relevant priors tailored to the input for guided restoration. These retrieved priors are then injected into the restoration pipeline via an efficient Homogeneity-Guided Attention (HGA) mechanism. Furthermore, to comprehensively address heterogeneity, we design a Hierarchical Heterogeneity Balancer (H2B) that mitigates both inter- and intra-task conflicts during optimization, facilitating balanced and effective multi-task learning. Extensive experiments on two large-scale benchmarks, MedIR-2D-500K and MedIR-3D-3K, demonstrate that UniH3 achieves state-of-the-art performance on both all-in-one and single-task medical image restoration. We hope this work establishes a strong benchmark and advances the development of general-purpose medical image restoration models. Code is available at https://github.com/Yaziwel/UniH3.

The Brief

3:02

A short podcast summary of the paper. Written and voiced by AI.

Transcript

UniH^3. Unifying Hierarchical Homogeneity and Heterogeneity for All-in-One Medical Image Restoration. By Zhiwen Yang and five others, from Beihang University, Tsinghua University, and one other institution. Published on the tenth of September. Its code repository is worked out: about forty-five source files, with a readme and a licence.

All-in-one medical image restoration, MedIR, aims to handle many restoration tasks, across imaging modalities and types of degradation, with one universal model. Existing methods mostly focus on the differences between tasks: their distinct data distributions and degradation types. That is heterogeneity. What they largely neglect is the homogeneity that medical images carry, such as anatomical structures that are widely shared, both within one modality and across several. The authors argue that shared structure could make training easier and generalization better. Images from different modalities still share a great deal, and the argument is that a universal model should be able to lean on that.

UniH3 unifies the two views at more than one level, which is what hierarchical means in the title. It exploits homogeneity, by retrieving shared priors to guide restoration, and it manages heterogeneity, by balancing the conflicts between tasks during optimization. The name compresses the idea: unifying hierarchical homogeneity and heterogeneity.

For homogeneity, a Hierarchical Homogeneity Memory module, H2M, progressively distills priors from high-quality images during training. These priors capture what is shared within a task and across tasks. At restoration time, the module adaptively retrieves the priors most relevant to the input. They are then injected into the restoration pipeline through an efficient Homogeneity-Guided Attention mechanism, HGA. The effect is that restoration does not start from nothing. Each degraded input is paired with priors learned from clean images that resemble it, and those priors steer what the output should look like.

For heterogeneity, a Hierarchical Heterogeneity Balancer, H2B, mitigates conflicts during optimization, both between tasks and within a task. That balance is what lets the multi-task learning stay effective, instead of one task pulling training away from the others. Where the memory draws tasks together through what they share, the balancer keeps them from interfering through what they do not.

The experiments use two large-scale benchmarks, MedIR-2D-500K and MedIR-3D-3K. On both, UniH3 achieves state-of-the-art performance, and it does so both in the all-in-one setting and on single-task medical image restoration. The authors hope it will serve as a strong benchmark for future work. Code is available. The two benchmarks cover both two-dimensional and three-dimensional medical images, so the results span both kinds of data.

The argument is that a universal restoration model should use what medical images have in common as well as what separates them. Earlier work mainly handled the differences. UniH3 adds a memory of what is shared, retrieved on demand, and a balancer for what conflicts, and treats both as parts of one design aimed at general-purpose medical image restoration.

Paper Quest · 7 chapters · about 41 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

One model, many scanners, many kinds of damage. The quest opens with what others largely overlooked.

You want one model to restore every kind of medical image: denoise PET and CT scans, sharpen MRI, and more. Training separate models for each task is costly to deploy and maintain.

The road ahead

  1. 1 · The problem ~7 min One model should restore many kinds of medical scans, but current universal models only learn how tasks differ and ignore what scans share.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Use what scans share, through a memory of clean priors that guides restoration, and handle what differs by weighting losses per task and per sample.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Distil clean priors into memory, retrieve the closest ones for each input, inject them through guided attention, and balance losses during training.
  6. 6 · The experiment ~6 min You’ll guess: Besides the all-in-one setting, did UniH3 also reach state-of-the-art results when used for single-task medical image restoration?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.