Manuscript Offprint

arXiv:2609.07718

Spatial Feature-wise Linear Modulation (SpFiLM) for Contrast Agent-Aware Brain Parcellation

Pushpendra Singh, Joshua R. Astley, Roman Rodionov, John Duncan, Tom Vercauteren, Rachel Sparks

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

Pushpendra Singh¹[0009–0004–8956–1732], Joshua R. Astley¹[0000–0002–6552–5436], Roman Rodionov², John Duncan², Tom Vercauteren¹[0000–0003–1794–0456], and Rachel Sparks¹[0000–0003–1553–7903]

¹ School of Biomedical Engineering and Imaging Sciences, King's College London, London, UK

² Department of Epilepsy, Queen Square Institute of Neurology, University College London, London, UK

Abstract. Most automated brain parcellation tools are developed and validated on T1-weighted (T1w) MRI. Yet, some clinical workflows for which parcellation is relevant only use contrast-enhanced T1w (T1ce) MRI, on which T1w-trained models are less accurate. We present a unified network that parcellates both pre- and post-contrast agent T1w MRI reliably, trained on a combination of the two with conditioning that spatially modulates its response differently for each. Feature-wise Linear Modulation (FiLM) is a known approach for input-based modulation in networks. It applies a per-channel scale and shift uniformly across the input. However, the appearance change between pre- and post-contrast varies locally across the brain, making FiLM suboptimal for our use case. In this work, we introduce Spatial FiLM (SpFiLM), a conditioning layer whose modulation varies spatially, assembling a voxel-wise scale and shift from image-derived spatial patterns. Using a cohort of 134 patients with paired T1w and T1ce MRI parcellated into 106 classes, the addition of SpFiLM layers in a UNet increased the mean Dice on the test set of 25 patients from 80.2% to 84.1%, a 4.9% relative improvement. Adding Sp-FiLM layers led to the best performance on both pre- and post-contrast MRI, even when controlling for network parameter counts.

Keywords: Brain parcellation · Contrast conditioning · Feature-wise modulation · MRI segmentation · Spatial FiLM

1 Introduction

Brain parcellation assigns every voxel in the brain a label corresponding to a specific anatomic structure. It supports downstream clinical measurements such as region volumes and cortical thickness, both established biomarkers for neurodegenerative disease [16], and helps define targets for radiotherapy planning [2] and stereotactic intracerebral procedures [26]. FreeSurfer [6], FMRIB Software Library (FSL) [12], Advanced Normalization Tools (ANTs) [24], and

P. Singh et al.

deep learning-based FastSurfer [9] are widely used brain parcellation tools designed and validated on T1-weighted (T1w) MRI.

Contrast-enhanced T1w (T1ce) MRI is acquired after administration of the contrast-agent gadolinium. As gadolinium does not cross the blood-brain barrier, structures where this barrier is lacking or disrupted show increased uptake (the intravascular compartment, choroid plexus, pituitary gland, and tumours), making T1ce useful for delineating blood vessels, tumour margins, and active lesions [23]. Brain parcellation tools trained on T1w MRI have systematically different morphometric estimates between paired T1w and T1ce MRI scans [15].

Several methods adapt neural networks to images of different appearance. Domain adaptation retrains a network to a new target domain [21]. Pre- to post-contrast domain adaptation have been proposed using distribution matching [1] or adversarial and paired-consistency training [19]. However, domain adaptation techniques require a dedicated post-training adaptation stage to adjust network weights using target-domain data. A single network that is reliable for both pre- and post-contrast images would remove the need to adjust network weights, or acquire and register an additional scan. This would simplify the training process, since one neural network could be applied to images regardless of contrast agent usage. A unified contrast agent-aware model could reuse common features of shared anatomy while learning contrast agent-specific differences, making more efficient use of limited training data.

Domain-randomisation methods can increase network generalisation, potentially eliminating performance differences between images of different domains, by training on synthetic images of randomised appearance so the network becomes agnostic to acquisition [3]. Such invariance suits arbitrary or unknown acquisitions, but discards usable information, since it cannot exploit systematic, anatomically localised differences between pre- and post-contrast agent MRI scans. Knowledge distillation can transfer shared anatomical knowledge across modalities of the same anatomy [27], typically assuming paired datasets. Network conditioning can work on unpaired data by modulating a network response using information about the input images. Feature-wise Linear Modulation (FiLM) [20] is one established conditioning method that has proven effective for MRI segmentation [14]. FiLM applies one scale and shift parameter to each feature channel, treating image differences as a global adjustment. However, the appearance differences between T1w and T1ce MRI are not uniform.

We introduce SpFiLM, a conditioning layer illustrated in Fig. 1, with spatially varying modulation to account for local appearance differences between T1w and T1ce MRI. In place of the channel-wise scale and shift of FiLM, it learns spatially varying scale and shift parameters but can recover channel-wise FiLM as a special case. We show that this spatial variation consistently improves brain parcellation on T1w and T1ce MRI.

Figure

Fig. 1. Overview of Spatial FiLM feature modulation block. Spatial bases φ(X)\varphi(X) and ψ(X)\psi(X) are learned from the image. Contrast agent indicator ss generates only the recombination coefficients (γˉ,A,βˉ,B)(\bar{\gamma}, \mathbf{A}, \bar{\beta}, \mathbf{B}). Anatomy thus determines where modulation can occur, while the contrast agent indicator determines how strongly it is applied.

References (27)