Diffusion model‐regularized implicit neural representation for computed tomography metal artifact reduction

Jie Wen , Chenhe Du , Xiao Wang , Yuyao Zhang

Quant. Biol. ›› 2026, Vol. 14 ›› Issue (2) : e70031

PDF (3120KB)
Quant. Biol. ›› 2026, Vol. 14 ›› Issue (2) :e70031 DOI: 10.1002/qub2.70031
RESEARCH ARTICLE
Diffusion model‐regularized implicit neural representation for computed tomography metal artifact reduction
Author information +
History +
PDF (3120KB)

Abstract

Computed tomography (CT) images are often severely corrupted by artifacts in the presence of metals. Existing supervised metal artifact reduction (MAR) approaches suffer from performance instability on known data due to their reliance on limited paired metal‐clean data, which limits their clinical applicability. Moreover, existing unsupervised methods face two main challenges: (1) The CT physical geometry is not effectively incorporated into the MAR process to ensure data fidelity; and (2) traditional heuristic regularization terms cannot fully capture the abundant prior knowledge. To overcome these shortcomings, we propose a diffusion model (DM)‐regularized implicit neural representation (INR) framework for CT image MAR. The INR integrates physical constraints and imposes data fidelity, whereas the pretrained DM provides prior knowledge to regularize the solution. Experimental results on both simulated and clinical data demonstrate the effectiveness and generalization ability of our method, highlighting its potential to be applied in clinical settings.

Graphical abstract

Keywords

computed tomography / diffusion models / implicit neural representations / metal artifact reduction

Cite this article

Download citation ▾
Jie Wen, Chenhe Du, Xiao Wang, Yuyao Zhang. Diffusion model‐regularized implicit neural representation for computed tomography metal artifact reduction. Quant. Biol., 2026, 14 (2) : e70031 DOI:10.1002/qub2.70031

登录浏览全文

4963

注册一个新账户 忘记密码

1 INTRODUCTION

Computed tomography (CT) based on X‐ray projections has been extensively applied for noninvasive imaging in medical diagnosis and therapy guidance. Reconstructing CT images from X‐ray projection data is a typical inverse problem. Regrettably, when metallic implants are present within the body, for example, dental fillings and vascular stents, X‐ray beams that directly pass through them are significantly absorbed. This results in corresponding localized regions of the projections (sinogram domain) becoming unreliable due to the beam hardening effect [1] and often being treated as missing data, making metal artifact reduction (MAR) an ill‐posed inverse problem in nature. In this case, directly applying filtered back‐projection (FBP) reconstruction can lead to nonlocal star‐shaped or streak artifacts. Therefore, the development of MAR methods remains a necessity for CT reconstruction.

Existing methods have demonstrated the effectiveness of replacing missing data with estimated values in the sinogram domain, such as by linear interpolation [2]. To enhance the quality of sinogram interpolation, subsequent approaches incorporate the forward projection of an additional prior image to fill in the missing regions [3]. With the advancement of data‐driven deep learning in solving ill‐posed inverse problems, recent methods utilize supervised neural networks to further enhance the quality of prior images [4,5]. However, these sinogram completion methods usually introduce secondary artifacts in reconstructed CT images due to the discontinuity between the estimated filling data and the known sinogram. On the other hand, image‐domain networks concentrate on directly learning the transformation from metal‐corrupted CT images to their corresponding clean images [6,7]. These methods usually lack data consistency in handling global artifacts [8].

Recently, several dual‐domain networks have been developed to better leverage information from both the sinogram and image domains, achieving better performance compared with single‐domain networks [9–13]. However, most of them perform restoration in both domains separately through two enhancement networks, whereas the physical imaging constraints are not effectively incorporated. Moreover, supervised approaches rely on paired metal‐clean data for training, which are usually not available in practice. This also leads to a significant degradation in performance when the metal shapes or the CT scanning protocols differ from those in the training data due to the out‐of‐distribution (OOD) effect.

Implicit neural representation (INR) is an innovative unsupervised deep learning framework for solving ill‐posed inverse problems in image reconstruction. It trains a multilayer perceptron (MLP) to represent a single image as a continuous function by mapping coordinates to corresponding pixel values. Hash encoding is also widely incorporated into designed INR networks due to its ability to significantly reduce training complexity [14]. The inherent tendency of MLPs to favor low‐frequency signal components serves as an implicit regularization in the image domain. The physical forward model can then be applied to the continuously represented image to produce a corresponding sinogram, which makes INR a promising dual‐domain information fusion operator with physical imaging constraints. Therefore, it has achieved significant progress in various CT reconstruction tasks, such as sparse‐view CT [15] and limited‐angle CT [16]. However, for the MAR task, as data missing in the sinogram domain are more concentrated in certain regions, some localized structural information can be entirely disrupted in CT images, in which case the continuous prior of INR might hold less significance [17,18]. Therefore, the reconstructed result of INR often loses significant structures such as bones, especially in areas around the metal.

With the rise of diffusion models (DMs) [19,20], it shows potential to introduce generative prior knowledge into ill‐posed inverse problems to overcome this shortcoming [21,22]. These models typically operate by progressively denoising Gaussian noise to produce vivid samples that resemble the target data distribution in a sequence of iterative refinement steps. Given incomplete projection data, a pretrained DM can sample a prior from estimated posterior probabilities and then help constrain the solution space with different structural constraints over the image at different timesteps. Several approaches have demonstrated the effectiveness of DMs on the MAR task [23–26], and a common focus is how to effectively embed the measurements to control the generation process toward a data‐consistent sample while preserving critical prior knowledge.

Specifically, our contributions can be mainly summarized as follows:

•We propose diffusion model‐regularized implicit neural representation (INR‐DR), an effective unsupervised framework for the MAR task. Our framework is highly flexible, independent of the type and shape of metals, and compatible with any DM pretrained on CT images.

•By taking advantage of the unique capability of INR to continuously represent the target image, we effectively apply the CT forward model to impose physical constraints. Besides, we avoid sinogram stitching, which often leads to secondary artifacts in many other approaches.

•We further utilize the powerful prior provided by unconditionally trained DMs to guide the INR solution space toward the underlying CT image distribution.

•Experiments are conducted on both synthetic metal‐affected CT images and clinical data. The results show the effectiveness of our method across various sizes of metallic implants. Furthermore, it demonstrates strong generalization capability even under a cross‐body‐site clinical setting.

2 RESULTS

2.1 Baseline and metrics

We compare the proposed INR‐DR with several current state‐of‐the‐art (SOTA) MAR approaches from various categories, including traditional methods (LI [2] and NMAR [3]), supervised methods (CNN‐MAR [5] and InDuDoNet+ [11]), and unsupervised diffusion‐based methods (DuDoDp [25]).

To ensure fairness, we evaluate the supervised methods using the checkpoints provided by the authors, and the DM in the proposed INR‐DR is the same as that used in DuDoDp. To quantitatively evaluate the MAR performance, we apply the commonly used peak signal‐to‐noise ratio (PSNR) and structural similarity index measure (SSIM).

2.2 Dataset and preprocessing

We conduct simulation experiments on a well‐known public dataset, DeepLesion [27], with metallic implants from Ref. [5]. A widely used simulation protocol [5,9–11,13] is applied to generate synthesized metal‐affected CT data, considering the effects of polychromatic X‐ray, partial volume effect, beam hardening, and Poisson noise. All CT images are converted to linear attenuation coefficient maps and resized to 416 × 416. Six hundred forty projection views of fan‐beam CT are then uniformly sampled over 360° with 641 detectors for each view, resulting in 640 × 641 sinograms. Before its integration into our pipeline, the DM has been extensively pretrained on a total of 927,802 artifact‐free CT images from the DeepLesion dataset, the majority of which depict the chest and abdominal regions. Because our INR‐DR is an unsupervised learning method in nature, the INR network requires no extra CT images or metal masks for training. For the testing datasets of all methods in our experiments, the data partitioning is consistent with that used in Refs. [11,25] (including 200 clean CT images excluded from the DM training dataset and 10 metal masks for testing). The sizes of the 10 metallic implants for test data are 2061, 890, 881, 451, 254, 124, 118, 112, 53, and 35 pixels, which are then divided into five groups to evaluate the artifact‐reduction performance across varying implant sizes.

A further experiment is conducted on clinical metal‐affected dental CT images from Ref. [28]. We follow the preprocessing procedures in Ref. [10] to segment metal masks with a threshold of 2500 Hounsfield units. The metal‐affected sinograms and metal traces are then generated by applying the CT forward model to the original images and the segmented masks, respectively. Because there are no ground‐truth CT images for the clinical data, we only demonstrate the visual results.

2.3 Results on synthesized DeepLesion

Table 1 shows quantitative results of different MAR methods on the synthesized DeepLesion dataset. To enable a more thorough evaluation of the different methods, we classify the metal implants in the test dataset into five size‐based categories, ranging from smallest to largest, and compute the performance metrics individually for each group. In summary, all machine learning‐based methods, including our proposed INR‐DR, significantly outperform traditional MAR approaches such as LI [2] and NMAR [3] in terms of both PSNR and SSIM across all test cases. However, as an earlier supervised learning approach, CNN‐MAR [5] employs a relatively simple convolutional neural network to perform inpainting solely in the sinogram domain. Although CNN‐MAR achieves some improvement over traditional methods, its performance falls short compared to current SOTA techniques such as InDuDoNet+ and DuDoDp, both of which are recently proposed dual‐domain restoration methods. Compared with these SOTA approaches, our method demonstrates superior performance across metallic implants of various sizes, with the exception of the supervised method InDuDoNet+. In the cases of medium and small metallic implants, our method maintains a relatively small performance gap with InDuDoNet+, and both methods achieve clinically satisfactory reconstruction metrics.

Firstly, in the case of large metal artifacts, INR‐DR achieves the highest PSNR and SSIM values of 38.28 dB and 0.9789, respectively, outperforming all other methods, including the well‐designed supervised approach InDuDoNet+ and the diffusion‐based unsupervised method DuDoDp. The metrics represent a notable improvement of approximately 0.54 dB in PSNR over InDuDoNet+ and about 2.89 dB over DuDoDp. In terms of SSIM, our method also achieves a notable improvement, outperforming DuDoDp by 0.0134. This demonstrates the competitiveness of our method in more challenging scenarios, effectively eliminating more severe metal artifacts.

For medium‐sized metal artifacts, INR‐DR demonstrates an even more substantial advantage over DuDoDp, achieving a PSNR improvement of 5.04 dB. However, in this case, InDuDoNet+, as a supervised learning method, demonstrates strong performance on in‐domain data, with only a slight gap compared to our approach.

Finally, in the scenario of small metal artifacts, INR‐DR achieves a satisfactory PSNR of 42.98 dB and an SSIM of 0.9892, closely matching InDuDoNet+ with a minor difference of 0.90 dB in PSNR, while substantially outperforming DuDoDp by approximately 5.04 dB in PSNR.

Figure 1 shows the visual comparison for large/medium/small metals. We will provide a more detailed discussion of the visual results in the Discussion section.

2.4 Results on clinical dental CT

To compare generalization ability, we conduct more experiments on clinical dental CT images. Because there is no ground truth for the clinical dataset, we provide only visual comparisons instead of metrics. As the metal‐included image is from a patient’s preoperative diagnosis, we also include postoperative images from the same patient without metal implants as a reference.

As shown in Figure 2, in real‐world clinical scenarios, the morphology of metal artifacts often differs significantly from that observed in simulated data. Specifically, the regions affected by beam hardening and photon starvation appear more irregularly distributed, particularly in cases involving multiple metallic implants. This results in the unnatural dark voids observed in the middle of the teeth, as illustrated in the figure. In this case, a significant performance degradation is observed in the results of InDuDoNet+ and DuDoDp, as both over‐suppress nonartifact regions that should clearly retain the original dental structures and introduce more secondary artifacts between the separated metallic implants. INR‐DR, however, effectively avoids the generation of secondary artifacts and preserves the structural integrity completely.

2.5 Ablation study

Given that our method proposes the integration of INR and DMs to leverage their respective strengths, we design experiments in this section to selectively ablate the contributions of each component. This approach allows us to elucidate the individual roles of the INR and DMs within our framework and to demonstrate the efficacy of their combination. Furthermore, our ablation experiments confirm that the hash coordinate encoding layer is indispensable for enabling the INR to capture high‐frequency image details with markedly fewer parameters.

2.5.1 Effectiveness of diffusion prior

To ablate the contribution of the diffusion prior, we train an INR network without diffusion regularization and compare the result with our INR‐DR, as shown in Figure 3. Here, both INR networks have completely the same network settings to ensure fairness. In this testing case, using INR without prior fails to recover critical structures, including thoracic vertebrae, in these areas, whereas the full‐version INR‐DR reconstructs these areas properly. In terms of quantitative metrics, the use of DMs for regularization results in a PSNR improvement of 2.12 dB and an SSIM increase of 0.0057 compared to the INR‐only scenario.

Although INR governs data consistency in the generated results, the prior provided by diffusion is also significant. This is strongly evidenced by our ablation experiments. In the nonconvex metal case shown in Figure 3, most of the X‐ray beams passing through regions between the two metal parts are strongly absorbed. In our settings, any beam that intersects regions occupied by the metallic implant is classified as corrupted and excluded from the observed sinogram data. As a result, severe data missing is not only limited to the areas surrounding the metallic implants but also includes the enclosed regions, which contain important anatomical structures such as thoracic vertebrae. In this scenario, the information within the affected region is highly underdetermined, resulting in a large solution space for INR that includes anatomically implausible solutions. Generalizing the INR network with the DM effectively excludes these unreasonable solutions, ensuring that the final artifact‐reduced result not only maintains data consistency but also preserves anatomically correct structures.

2.5.2 Effectiveness of INR

To rigorously examine the indispensability of the INR component in our framework, we conduct a controlled ablation experiment in which sinogram inpainting is performed solely by the pretrained DM, completely bypassing the INR. The result is compared with the full‐version INR‐DR, as shown in Figure 4. Specifically, we adopt the identical diffusion network that underpins INR‐DR but remove all learnable INR parameters. Starting from a pure noise map, we execute unconditional generation at each diffusion step, produce a synthesized CT image in the image domain, and subsequently apply the discrete CT forward operator to obtain the corresponding synthetic sinogram. The metal trace regions of this synthetic sinogram are then excised and directly pasted into the corrupted regions of the original measured sinogram, following the same blending rule used in INR‐DR. After inpainting, the completed sinogram is reconstructed via FBP to yield a CT slice. This slice is subsequently recorrupted with the appropriate diffusion schedule noise and fed back into the diffusion network as the initial state for the next denoising step.

Although the DM accurately captures the prior distribution of CT images, its generated samples are not constrained to coincide with the specific observation corresponding to the underlying latent CT slice. Consequently, the inpainted sinogram lacks any mechanism to enforce consistency between the synthesized data within the metal trace and the surrounding measured projections. This discontinuous, “seamed” splice introduces pronounced spectral discrepancies that manifest as severe secondary artifacts after reconstruction, as illustrated in Figure 4, mainly by the dark streaking artifacts along the two bridging metal implants. In addition, the regions adjacent to the metallic insert and those located within the right‐sided metallic “gap” suffer from a markedly reduced number of X‐ray trajectories that can completely bypass the metals. Consequently, the corresponding projection data in the sinogram domain are largely discarded as corrupted during standard preprocessing steps. As a result, the attenuation values obtained by direct reconstruction in these regions exhibit pronounced discrepancies relative to their surroundings. When a DM is employed for sinogram inpainting within the iterative framework, the absence of a data‐consistency correction permits stochastic deformation of these compromised regions during the sequential re‐noising and denoising stages. This leads to the appearance of spurious outliers that propagate into the vicinity of the metallic implant in the final reconstructed image. In contrast, the incorporation of the INR endows the entire CT image with a unified, continuous representation encoded by a single network, thereby obviating any explicit sinogram‐level stitching. Consequently, the reconstructed volume remains free of discernible additional artifacts. In terms of quantitative metrics, the integration of INR yields a substantial improvement over DM‐only sinogram inpainting, registering a PSNR gain of 6.2 dB and an SSIM increase of 0.0206.

2.5.3 Effectiveness of hash coordinate encoding

To validate the necessity of hash‐based coordinate encoding, we conduct a controlled ablation in which the INR network is evaluated under three conditions: (1) with no positional encoding at all, (2) with Fourier (sinusoidal) positional encoding, and (3) with hash encoding (the full‐version INR‐DR). The result is demonstrated in Figure 5.

In the absence of any positional encoding, the implicit mapping implemented by a coordinate‐based MLP collapses into an inherently low‐pass operator. The resulting reconstruction exhibits pronounced spectral roll‐off and, perceptually, a conspicuous loss of high‐frequency texture that manifests as an overly smooth, blurred image. Fourier (sinusoidal) encoding mitigates this limitation by explicitly projecting the input coordinates into a higher‐dimensional feature space spanned by sinusoids of logarithmically increasing frequency, thereby furnishing the network with direct access to high‐frequency basis functions. Although this strategy successfully restores sharp edges and fine detail, it does so at the cost of uniform spectral allocation: Each spatial location is assigned the same dense set of frequency components regardless of local signal complexity. Therefore, the network expends a substantial fraction of its capacity on smooth regions where high‐frequency coefficients are effectively zero, leading to parameter redundancy, slower convergence, and lower data fidelity in details. Consequently, to merely approach the fidelity depicted in Figure 5 with Fourier encoding, we are compelled to adopt a substantially larger architecture (six hidden layers of 256 neurons each). Unfortunately, the substantial increase in parameter count and the attendant multifold slowdown in training speed do not translate into a sufficient gain in fidelity; instead, the reconstructed slice still exhibits excessive blurring of fine anatomical details and a pronounced attenuation of contrast between adjacent tissue types.

In contrast, hash encoding transcends this inefficiency by replacing the fixed sinusoidal basis with a learnable, multiresolution hash table. The coordinate space is recursively subdivided into voxel grids of exponentially decreasing granularity; a sparse set of latent codes is then retrieved via a deterministic hash function and subsequently decoded by a shallow MLP. This design enables the representation to allocate high‐dimensional latent codes only where the local image content exhibits genuine high‐frequency energy, thereby achieving a data‐adaptive spectral allocation. Consequently, preprocessing the input coordinates with hash encoding enables us to employ an extremely compact network (only two hidden layers of 64 neurons each), which reproduces high‐frequency image content with superior reconstruction fidelity, as evidenced by the magnified insets in Figure 5. Employing identical network hyperparameters, Fourier coordinate encoding yields markedly degraded reconstructions in which only gross anatomical contours are retained; the obliteration of fine structural details renders the images unsuitable for reliable clinical diagnosis.

2.6 Influence of regularization timestep

To effectively inject the distribution prior captured by the DM into the INR, balance the trade‐off between data consistency and regularization, and keep the overall training time within a practical limit, the choice of the DM‐based regularization timestep t in the one‐step denoising process (Equation 6) is critical. Consequently, we conduct systematic experiments to compare quantitative de‐artifacting metrics and total computational cost when t starts from 1000 and is sampled at varying intervals (every 10, 25, 50, 100, 200) across the diffusion trajectory. The results are reported in Figure 6.

Overall, the performance of the proposed framework exhibits a monotonic ascent as the sampling interval decreases, as the extra INR training iterations strengthen data fidelity. This improvement, however, is offset by a corresponding increase in both INR updates and one‐step denoising operations, which significantly prolong total runtime. Empirically, reducing the interval to 50 yields a substantial PSNR improvement and a clear reduction in visual artifacts; beyond this point, further refinement produces only marginal quantitative benefits, whereas runtime grows exponentially, severely undermining clinical feasibility. Therefore, in this paper, we set the one‐step denoising timestep t to be 50 steps lower than its previous value each time the INR is regularized by the DM.

2.7 Inference time and parameter count

Table 2 reports parameter counts and single NVIDIA RTX 4090 runtimes for the evaluated MAR techniques. As end‐to‐end supervised approaches, both CNN‐MAR and InDuDoNet+ complete artifact removal in just a few seconds. Although INR‐DR is an iterative algorithm and therefore inherently slower than end‐to‐end CNN‐based methods, its inference time remains within 3 minutes. This clinical‐level efficiency is achieved through two critical accelerations: one‐step denoising that expedites diffusion inference and hash‐based coordinate encoding that markedly accelerates INR convergence, yielding an inference time comparable to that of DuDoDp, thus satisfying the practical constraints of clinical deployment.

In terms of parameter budget, CNN‐based approaches exhibit a substantially smaller footprint than the generative DM. Our framework retains the identical diffusion backbone employed by DuDoDp and appends a lightweight INR network equipped with learnable hash encoding, incurring an additional 11.19 million parameters. This parameter count is acceptable for practical use.

3 DISCUSSION

3.1 Visual comparison on synthesized DeepLesion

In this study, we propose the INR‐DR framework for CT MAR by combining the unique advantages of INR and DMs. Owing to INR’s unique advantage of representing an image as a continuous function, we can overcome the resolution limit of the original image and apply the CT forward model more accurately. This approach not only provides a continuity prior for the CT image but also, through precise physical constraints, establishes a strong link between the image and sinogram domains, thereby enhancing the fidelity of the reconstructed results. On the other hand, the pretrained DM is able to accurately capture the distribution of real CT images. Injecting this distributional prior into the training of the INR network can be regarded as a powerful regularization mechanism, compelling the INR to produce results that are more consistent with the true image distribution.

As an iterative optimization method, INR‐DR requires retraining the INR network multiple times during the test phase, resulting in a long runtime. In contrast, end‐to‐end approaches such as InDuDoNet+ achieve impressively short runtimes. However, a key advantage of our method is that it avoids any sinogram‐domain stitching operations, which remain common even in recent SOTA approaches such as InDuDoNet+ [11] and DuDoDp [25]. Most existing approaches in this field treat sinogram regions corrupted by metal artifacts as missing data and subsequently replace them using various interpolation or inpainting techniques. However, such operations often fail to ensure consistency between the filled data and the original uncorrupted measurements, leading to discontinuities in the sinogram domain. These discontinuities can introduce secondary artifacts in the reconstructed images during the back‐projection process. Although the dual‐domain methods compared in our experiments attempt to mitigate this issue through additional image‐domain restoration and achieve excellent results on smaller metals, the problem remains particularly pronounced in cases involving large metal implants, where residual streaking artifacts are still visibly apparent. In contrast, our method employs INR to predict the entire CT image, after which the forward model directly reconstructs a complete and consistent sinogram. Here, data consistency is entirely governed by the INR network, whereas the prior provided by the DM is injected solely in the form of initial parameters to constrain the INR solution space, thereby preventing the highly uncertain diffusion process from regenerating unreliable artifacts or hallucinations. As a result, even in the presence of large metal implants, our approach achieves superior performance, particularly in eliminating streaking artifacts in the regions connecting metallic objects, as illustrated in Figure 1.

3.2 Visual comparison on clinical dental CT

Moreover, as INR‐DR is not a supervised method, it exhibits strong generalization capabilities, independent of the shape, size, or type of the testing metals, as well as the geometric parameters and protocols of the CT scan. Although the DM has never been pretrained on head‐specific data and therefore cannot supply accurate structural priors for this out‐of‐domain scenario, it serves only as a regularizer in our framework. Under such conditions, its powerful pretrained denoising capability can still provide domain‐agnostic regularization, implicitly suppressing implausible structures while preserving coherent image features without relying on generative sampling. Moreover, because the INR itself is trained in a fully unsupervised manner without requiring any pretraining data, its representational capacity remains entirely unaffected by the OOD scenario. As a result, the proposed method yields consistent performance on both clinical and synthetic datasets, surpassing purely supervised approaches and iterative schemes that rely more heavily on the DM prior.

For the supervised method InDuDoNet+, however, the training dataset DeepLesion primarily comprises CT images of the chest and abdomen. Besides, the shape and distribution of metallic implants are more irregular, and the resulting artifacts exhibit more complex and unpredictable patterns in real clinical scenarios. Consequently, the substantial domain gap between the synthetic training data and clinical dental CT images leads to a significant degradation in performance.

4 CONCLUSIONS

This paper presents INR‐DR, a novel unsupervised approach for CT MAR. Our framework utilizes the INR to model the target CT image as a continuous function and then effectively applies the CT forward model to enforce data fidelity with the metal‐excluded measurement data. The pretrained unconditional DM provides prior knowledge to regularize the solution. Experiments on the synthetic DeepLesion dataset and clinical metal‐involved dental CT images validate the superior performance and robust generalization ability of our INR‐DR, indicating the effectiveness of this unsupervised deep learning approach in the field of MAR.

5 METHODS

In this section, we present the mathematical modeling of the MAR problem and detail our approach to leverage the strengths of INR and DMs. Specifically, the INR module is dedicated to ensuring data fidelity, and we embed diffusion prior into the training of INR to constrain the solution space. Figure 7 shows a general overview of our approach. Note that the DM used in this paper takes the form of “denoising diffusion probabilistic models” (DDPM) [19] and is pretrained unconditionally on only clean CT images, and we train only the INR network in the proposed pipeline. We always use ·ˆ to denote the updated version of the same variable for clarity.

5.1 Problem formulation

Given the measurement data y (e.g., a metal‐affected sinogram), the typical approach is to treat the metal‐affected areas as missing data [5,25]. The MAR problem is then formulated as minimizing an objective function composed of two parts:

where xˆ is the desired artifact‐free CT image, A is the CT forward operator that projects an image to the sinogram domain, and Tr denotes the binary metal trace indicating the metal‐corrupted areas in the sinogram domain.

Here, the data fidelity term encourages the reconstruction result to be consistent with the metal‐excluded measurement data (1−Tr)⊙y. This term is converted to Equation (4) and imposed directly by the INR. The regularization R injects prior knowledge of the CT image distribution to constrain the solution space, which is converted to Equation (8) and imposed by the DM.

5.2 INR‐based data fidelity

The data fidelity term in Equation (1) is imposed by the INR, which is implemented as an MLP preceded by a hash encoding layer and trained to represent a single image. Specifically, the INR maps spatial coordinates to the intensities of the underlying CT image, thereby representing the image as a continuous function. To enable efficient modeling of both low‐ and high‐frequency structures while avoiding the need for extremely deep networks, we adopt a multiresolution hash encoding layer Hφ that provides a compact yet expressive representation of spatial locations. Therefore, in our implementation, the spatial coordinate p∈R2 is first transformed via a multiresolution hash encoding:

(2)Hφ:R2→RL·C,Hφ(p)=h1(p),…,hL(p),

where L is the number of resolution levels, and C is the feature dimension per level. The encoded coordinate Hφ(p) is then passed to the MLP Mψ to predict the INR‐represented image:

(3)Mψ:Hφ(p)∈RL·C→x(p)∈R,

where p can be any spatial coordinate in a continuous space, and x(p) is the intensity of the represented image at coordinate p. The detailed architecture of the INR is depicted in Figure 8, and we denote the entire INR as FΦ, which integrates both the hash encoding layer Hφ and the MLP Mψ that follows it.

In this way, we can represent the underlying CT image as a continuous function using an INR network and subsequently employ line integrals to simulate the CT forward projection process. Compared with directly summing over discretely sampled pixel intensities in the image domain, this formulation more faithfully reflects the underlying physical process of X‐ray attenuation. As a result, it allows for a more accurate application of the forward model, thereby ensuring stronger data fidelity in the reconstruction process.

For the MAR problem, the INR‐based data fidelity involves updating the network weights Φ based on the measurement data y:

(4)Φˆfide=argminΦ1|RS|∑r∈RS|(1−Tr(r))⊙y˜(r)−y(r)|,

where RS denotes the set of X‐rays, y(r) is the observed projection for ray r, and Tr(r) is the binary metal trace for ray r. The predicted projections y˜(r) are obtained by applying the differentiable CT forward operator to the MLP‐parametrized image:

(5)y˜(r)=∑p∈rFΦ(p)·Δp.

Benefiting from the inherent continuity prior of INR, we can train the MLP to obtain reconstructed results that reduce some artifacts by optimizing the objective function described in Equation (4). However, due to the ill‐posedness caused by missing sinogram data in metal‐affected regions, INR may still produce suboptimal results. To address this, we use a DM to learn the prior distribution of CT images and inject it as a regularization term into the optimization process of the INR. The specific implementation of diffusion‐based regularization is discussed in detail in the next section.

5.3 Diffusion‐based regularization

Inspired by previous studies [21,29], we employ a pretrained unconditional DM as the regularizer in Equation (1) and plug it into the INR optimization process. To ensure that the distribution prior learned by the DM regularizes the INR optimization, our approach is to input the content represented by the INR into the DM for enhancement, aligning it with the ideal CT image manifold. We then minimize the distance between the two to update the network parameters of the INR.

Specifically, we first discretize the continuous function implicitly represented by the INR network FΦ into an image x0=FΦ(p). Gaussian noise is then injected into x0 to map it onto the noise manifold at diffusion step t as follows:

(6)qxt∣x0=Nxt;α‾txˆ0,1−α‾tI.

Subsequently, by leveraging the Tweedie’s formula, we can obtain xˆ0 by performing one‐step denoising as follows:

(7)xˆ0≈xt−1−α‾tϵθxt,tα‾t,

where α‾t=∏i=1t1−βi, {β1,…,βT} is a fixed variance schedule, and ϵθxt,t is the predicted noise from the DDPM. In summary, by diffusing and denoising the image x0 represented by the INR, the CT distribution prior learned by the DM is injected into xˆ0.

Finally, we minimize the pointwise loss between the image represented by the INR and the image enhanced by the DM to update the MLP network parameters Φ, thereby injecting the prior information obtained from the DM into the INR:

(8)Φˆregu=argminΦ∥FΦ(p)−xˆ0(p)∥2.

5.4 Implementation details

We use the pretrained DM from Ref. [25] for all diffusion‐based methods. For the INR, we implement the MLP network with one hash encoding layer [14] and two hidden layers of width 64 through the tiny‐CUDA‐NN library [30]. The hidden layers use the ReLU activation function, whereas the output layer employs a linear activation function. The hash encoding is set with 16 feature levels, 8 features per level, and a hash map size is 219. The network is trained for 1000 epochs during one iteration. The total diffusion process of the DM is discretized into 1000 timesteps. The diffusion timestep t in the one‐step denoising process (Equation 6) is empirically sampled in descending order from 1000 at intervals of 50 so that multilevel structural regularization can be progressively imposed during the INR training process. Owing to the high noise magnitudes injected during the early phase of the diffusion process, the demand for pixel‐level accuracy in the corresponding clean image is relaxed. Therefore, in our practical implementation, the INR is empirically trained with far fewer epochs than 1000 when t < 200, which can significantly accelerate training without harming fidelity.

References

[1]

Gjesteby L, De Man B, Jin Y, Paganetti H, Verburg J, Giantsoudi D, et al. Metal artifact reduction in CT: where are we after four decades? IEEE Access. 2016;4:5826–5849.

[2]

Kalender WA, Hebel R, Ebersberger J. Reduction of CT artifacts caused by metallic implants. Radiology. 1987;164(2):576–577.

[3]

Meyer E, Raupach R, Lell M, Schmidt B, Kachelrieß M. Normalized metal artifact reduction (NMAR) in computed tomography. Med Phys. 2010;37(10):5482–5493.

[4]

Gjesteby L, Yang Q, Xi Y, Shan H, Claus B, Jin Y, et al. Deep learning methods for CT image‐domain metal artifact reduction. In: Developments in X‐ray tomography, XI; 2017. p. 147–152.10391

[5]

Zhang Y, Yu H. Convolutional neural network based metal artifact reduction in X‐ray computed tomography. IEEE Trans Med Imag. 2018;37(6):1370–1381.

[6]

Huang X, Wang J, Tang F, Zhong T, Zhang Y. Metal artifact reduction on cervical CT images by deep residual learning. Biomed Eng Online. 2018;17:1–15.

[7]

Wang H, Li Y, He N, Ma K, Meng D, Zheng Y. DICDNet: deep interpretable convolutional dictionary network for metal artifact reduction in CT images. IEEE Trans Med Imag. 2021;41(4):869–880.

[8]

Zhang, X, Cai, A, Wang, S, Wang, L, Zheng, Z, Li, L, et al. Dual‐domain CLIP‐assisted residual optimization perception model for metal artifact Reduction. 2024. Preprint at arXiv:2408.14342.

[9]

Lin W‐A, Liao H, Peng C, Sun X, Zhang J, Luo J, et al. Dudonet: dual domain network for CT metal artifact reduction. In: IEEE/CVF conference on computer vision and pattern recognition; 2019. p. 10512–10521.

[10]

Wang H, Li Y, Zhang H, Chen J, Ma K, Meng D, et al. InDuDoNet: an interpretable dual domain network for CT metal artifact reduction. In: Medical image computing and computer assisted intervention society, 24; 2021. p. 107–118.2021

[11]

Wang H, Li Y, Zhang H, Meng D, Zheng Y. InDuDoNet+: a deep unfolding dual domain network for metal artifact reduction in CT images. Med Image Anal. 2023;85:102729.

[12]

Zhou B, Chen X, Zhou SK, Duncan JS, Liu C. DuDoDR‐Net: dual‐domain data consistent recurrent network for simultaneous sparse view and metal artifact reduction in computed tomography. Med Image Anal. 2022;75:102289.

[13]

Yu L, Zhang Z, Li X, Xing L. Deep sinogram completion with image prior for metal artifact reduction in CT images. IEEE Trans Med Imag. 2020;40(1):228–238.

[14]

Müller T, Evans A, Schied C, Keller A. Instant neural graphics primitives with a multiresolution hash encoding. ACM Trans Graph. 2022;41(4):1–15.

[15]

Wu Q, Feng R, Wei H, Yu J, Zhang Y. Self‐supervised coordinate projection network for sparse‐view computed tomography. IEEE Trans. Comput. Imaging. 2023;9:517–529.

[16]

Zang G, Idoughi R, Li R, Wonka P, Heidrich W. Intratomo: self‐supervised learning‐based tomography via sinogram synthesis and prediction. In: Proceedings of the IEEE international conference on computer vision; 2021. p. 1960–1970.

[17]

Wu Q, Chen L, Wang C, Feng R, Wei H, Yu J, et al. Unsupervised polychromatic neural representation for CT metal artifact reduction. Adv Neural Inf Process Syst. 2023;36:69605–69624.

[18]

Lee J, Ahn J, Baek J. Neural attenuation fields for metal artifact reduction in dental CT. In: Medical imaging 2024: physics of medical imaging, 12925; 2024. p. 173–179.

[19]

Ho J, Jain A, Abbeel P. Denoising diffusion probabilistic models. Adv Neural Inf Process Syst. 2020;33:6840–6851.

[20]

Song Y, Sohl‐Dickstein J, Kingma DP, Kumar A, Ermon S, Poole B. Score‐based generative modeling through stochastic differential equations. In: Proceedings of the international conference on learning representations (ICLR); 2021.

[21]

Mardani M, Song J, Kautz J, Vahdat A. A variational perspective on solving inverse problems with diffusion models. In: Proceedings of the international conference on learning representations (ICLR); 2023.

[22]

Du, C, Lin, X, Wu, Q, Tian, X, Su, Y, Luo, Z, et al. DPER: diffusion prior driven neural representation for limited angle and sparse view CT reconstruction. 2024. Preprint at arXiv:2404.17890.

[23]

Cai T, Li X, Zhong C, Tang W, Guo J. DiffMAR: a generalized diffusion model for metal artifact reduction in CT images. IEEE J Biomed Health Inform. 2024;28(11):6712–6724.

[24]

Karageorgos GM, Zhang J, Peters N, Xia W, Niu C, Paganetti H, et al. A denoising diffusion probabilistic model for metal artifact reduction in CT. IEEE Trans Med Imag. 2024;43(10):3521–3532.

[25]

Liu X, Xie Y, Diao S, Tan S, Liang X. Unsupervised CT metal artifact reduction by plugging diffusion priors in dual domains. IEEE Trans Med Imag. 2024;43(10):3533–3545.

[26]

Shen R, Li X, Li Y‐F, Sui C, Peng Y, Ke Q. DCDiff: Dual‐domain conditional diffusion for CT metal artifact reduction. In: 28th international conference on medical image computing and computer assisted intervention; 2024. p. 223–232.

[27]

Yan K, Wang X, Lu L, Zhang L, Harrison AP, Bagheri M, Summers R. Deep lesion graphs in the wild: relationship learning and organization of significant radiology image findings in a diverse large‐scale lesion database. In: IEEE/CVF conference on computer vision and pattern recognition; 2018. p. 9261–9270.

[28]

Qiu Z, Li Y, He D, Zhang Q, Zhang L, Zhang Y, et al. SCULPTOR: skeleton‐consistent face creation using a learned parametric generator. ACM Trans Graph. 2022;41(6):1–17.

[29]

Poole B, Jain A, Barron JT, Midenhall B. DreamFusion: text‐to‐3D using 2D diffusion. In: Proceedings of the international conference on learning representations (ICLR); 2023.

[30]

Müller T. Tiny‐cuda‐nn: lightning fast C++/CUDA neural network framework. GitHub. 2021. Accessed 10 July 2025.

Rights & permissions

2026 The Author(s). Quantitative Biology published by John Wiley & Sons Australia, Ltd on behalf of Higher Education Press.

PDF (3120KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉