arXiv:2609.03981cs.CVSep 2026

Manuscript Offprint

arXiv:2609.03981

Sharpening the Ensemble: An SSIM-Aligned Residual Refiner for Brain-MRI Inpainting Post-Processing

Kubilay Kağan Kömürcü, İlkay Öksüz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Kubilay Kağan Kömürcü and İlkay Ökstüz

Department of Computer Engineering, Istanbul Technical University, Istanbul, Türkiye

komurcu17@itu.edu.tr, oksuzilkay@itu.edu.tr

Abstract. Brain-MRI inpainting replaces a masked region of a scan with synthesized, anatomically plausible healthy tissue, so that analysis tools built for healthy brains can be applied to images they would otherwise reject. On the BraTS local-synthesis benchmark, which ranks submissions on the structural similarity index (SSIM), the peak signal-to-noise ratio, and the mean squared error (MSE) jointly, the strongest recent models are accurate, but several report blurry synthesized regions and attribute this to the mean-seeking behavior of the ℓ1\ell_1 and MSE terms in their training losses. We address this in post-processing, forming a deep ensemble of the two co-first-place 2025 models and training a lightweight residual refiner on the ensemble's own outputs under an ℓ1\ell_1 loss augmented with a structural-similarity term whose weight λ\lambda we vary. At a moderate λ\lambda the refiner improves SSIM over the ensemble, from 0.8767 to 0.8780 on a held-out reproduction of the official scorer and from 0.8555 to 0.8572 on the official validation leaderboard, with essentially no change in MSE. The gain is small but consistent, improving 62.6% of the held-out cases with a signed-rank p=2.2×10−7p = 2.2 \times 10^{-7}, whereas over-weighting the structural term reverses it. Two ablations bound the effect. Adding any third model to the two-model ensemble degrades it, and classical unsharp masking fails to improve SSIM at any strength (best 0.8765 against 0.8767), so the gain reflects learned rather than indiscriminate sharpening. The result is a cheap, reproducible post-processing stage that improves an already strong ensemble without any large-scale retraining.

Keywords: Brain MRI · Inpainting · Image synthesis · BraTS · Deep ensembles · Post-processing · Residual learning · SSIM.

1 Introduction

Magnetic resonance imaging (MRI) is central to the diagnosis, treatment planning, and monitoring of brain tumors, and multi-parametric MRI in particular underpins much of modern neuro-oncology [4, 19]. Increasingly, these scans are not read only by clinicians but are also processed by automated analysis

K. K. Kömürcü and İ. Öksüöz

pipelines (registration to anatomical atlases, tissue segmentation, cortical parcellation, and brain extraction) that were designed and validated on healthy anatomy. When a tumor is present, such tools become less reliable, because the lesion violates the healthy-anatomy assumptions on which they depend.

This limitation is difficult to avoid in practice, since a patient is seldom imaged before disease onset and a healthy anatomical baseline for the same subject is therefore rarely available [1]. One way to recover the missing information is to synthesize it. Given a scan in which the pathological region has been masked out, a generative model can inpaint the void with plausible healthy tissue while preserving the surrounding anatomy, producing an image to which healthy-brain pipelines can again be applied. The BraTS local-synthesis (inpainting) task formalizes this problem and provides a standard benchmark for it [13].

The leading 2025 solutions differ from one another by small margins [14], which motivates examining whether an existing solution can be improved after synthesis rather than replaced by a further model. Reports from the strongest recent methods note that their synthesized tissue is blurry [7,25]. The first-place method attributes this to its mean absolute error (MAE) term, which drives the model toward predicting the mean of the plausible solutions and so smooths away texture [25], and another entry reports the same effect for a mean squared error (MSE) objective [7]. This blurring bears directly on the ranking. Submissions are ranked by aggregating their ranks on three metrics, namely the structural similarity index (SSIM), the peak signal-to-noise ratio (PSNR), and MSE [15]. Of these, SSIM is the one that responds most directly to blur, since it measures the structural agreement between a prediction and the reference and blur removes the fine structure it rewards. Reducing residual blur is therefore a way to improve the ranking, provided that the pixel-wise metrics are not degraded in exchange, and applying a sharpening step after synthesis is a natural means to that end.

To the best of our knowledge, the work most similar to ours is that of Kulkarni et al. [14], from the previous year's challenge, who form an ensemble of pretrained challenge winners and then apply a broad set of post-processing operations (classical filtering, histogram matching, and a learned enhancement network) to the ensemble output. In their evaluation the ensemble is essentially the strongest configuration on its own, and the additional post-processing, including the learned stage, does not improve upon it. Our study shares that overall setting, post-processing a deep ensemble of pretrained winners, but differs in motivation and in scope. Rather than surveying post-processing operations broadly, we focus on the single effect that the reports above identify, namely blurriness, and we address it with one learned component, a residual refiner whose training loss up-weights a structural-similarity term, so that the amount of sharpening applied to the ensemble can be varied and studied systematically. We assess this choice through controlled ablations, comprising a sweep of the structural weight, a comparison against classical unsharp masking, and a variation of the ensemble composition. In contrast to the broad post-processing of the prior work, we find that an appropriately weighted refiner produces a small but consistent improvement over the ensemble on the scored metrics.

References (25)