research papers\(\def\hfill{\hskip 5em}\def\hfil{\hskip 3em}\def\eqno#1{\hfil {#1}}\)

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775

Removal of bremsstrahlung background in SAXS data using equivariant neural networks

crossmark logo

aHelmholtz-Zentrum Dresden-Rossendorf, 01328 Dresden, Germany, bHelmholtz AI, Germany, cEuropean XFEL, 22869 Schenefeld, Germany, dUniversität Siegen, 57072 Siegen, Germany, eCenter for X-ray and Nano Science CXNS, Deutsches Elektronen-Synchrotron DESY, Hamburg, Germany, fELI Beamlines Facility, 25241 Dolni Brezany, Czech Republic, and gTechnical University Dresden, 01062 Dresden, Germany
*Correspondence e-mail: [email protected]

Edited by M. Retegan, ESRF – The European Synchrotron, France (Received 16 July 2026; accepted 26 October 2026)

Small-angle X-ray scattering (SAXS) measurements in high-intensity laser–plasma experiments at X-ray free-electron lasers (XFELs) are often severely limited by bremsstrahlung background generated during the laser–matter interaction. This background reduces the effective signal-to-noise ratio, particularly at large scattering angles, and thereby restricts the accessible spatial scales that can be probed. We present a data-driven method for separating bremsstrahlung background from SAXS signal using deep neural networks trained directly on experimental data. Clean signal and clean noise training data are obtained through a tiling-based data preparation strategy that exploits spatial separation and scale differences between signal and background, without relying on simulations. Several convolutional and transformer-based architectures are evaluated, including rotationally equivariant UNets. We find that equivariant networks provide the best performance, improving the signal-to-noise ratio by up to two orders of magnitude in low-signal regimes and extending the usable dynamic range of the measurements by a factor of approximately 75. The method enables substantially enhanced information extraction from single-shot data, reducing the need for costly data accumulation at XFEL facilities. The implementation is publicly available and readily applicable to other similar experimental datasets.

1. Introduction

Experimental data from cameras in ultra-high-intensity laser interaction experiments often contain not only the desired signal but also a large number of high-energy photons created via the bremsstrahlung process. For example, the Jungfrau camera used to detect small-angle X-ray scattering (SAXS) signal in a combined X-ray free-electron laser (XFEL) + optical laser (OL) experiment (Laso Garcia et al., 2026View full citation) at the European XFEL laboratory still detects substantial bremsstrahlung background, even though strong mitigation measures (adding a mirror to reflect the signal and a massive lead wall to block direct view) were implemented (Šmíd et al., 2020View full citation). Especially in SAXS, the signal gradually becomes weaker with increasing scattering angle. Therefore, the attainable signal-to-noise ratio determines the limit of scattering angles for which the signal can be extracted, and thus limits the size of spatial structures whose properties can be measured.

The data acquisition rate in high-intensity laser experiments such as those reported here can be as low as one shot per five minutes. Considering the running costs of the European XFEL facility, there is a strong demand to extract as much information as possible from each single measurement instead of accumulating more data.

Because the noise is produced by high-energy photons with a different origin than the scattered X-ray (signal) photons, the measured image can be modeled as an additive combination of signal and noise. This motivates a direct signal-and-noise separation strategy on experimentally measured data.

Unlike traditional filtering methods, deep neural networks can learn complex, non-linear signal-to-noise relationships directly from experimental data without assuming a pre­defined noise distribution. In this work, we study multiple deep-learning-based approaches for separating both components and focus in particular on rotationally equivariant models, which are expected to generalize better when signal orientations vary across experimental shots.

2. Methods

The measurement process has several distinct characteristics that had to be taken into account, motivating us to develop a custom denoising approach. The experiment typically follows a scenario where so-called `preshot' data are taken first using only the XFEL beam. These contain the X-ray scattering signal, but no bremsstrahlung background. Immediately afterwards, the `main shot' is taken where both the XFEL and the high-intensity OL are combined, providing an image that contains bremsstrahlung and signal. This alternating sequence of shots is repeated a few hundred times during a typical measurement campaign.

Obtaining bremsstrahlung-only data would be possible, but at the cost of measuring less real data, therefore it is typically not performed. For this reason, we developed a method for extracting bremsstrahlung noise patterns from main shot images. While the data are recorded on cameras with 512 × 1024 pixels (px), the bremsstrahlung noise has a spatial structure of less than 10 px. The signal is typically smoother, spanning hundreds of pixels, but is occupying only a small portion of the detector. Note that, since the signal is made of photons with approximately 8 keV energy and each such photon produces a significant amount of electrons in the detector, the thermal or electronic noise can be neglected.

The proposed workflow of this manuscript consists of three fundamental steps, which are described in more detail in the following subsections. First, the collected image data are processed and smaller tiles are created by cutting the experimental source data from both preshots and main shots. Second, four neural network architectures were created and trained on tile data. Their performance was validated on existing data and, based on that, the best-performing model architecture was chosen.

After successful model training and evaluation, new main shot data can be denoised in the third step by splitting it into tiles and applying the neural network in a sliding-window fashion before merging the tile-wise predictions back together to produce the final full-sized signal and noise predictions.

2.1. Training data preparation

The algorithm is being trained and was first used in the experimental campaign under proposal #3129 at the European XFEL (Huang et al., 2026View full citation). There, a total of 181 preshot and 177 main shot images were collected between 25 and 28 August 2022. Main shot data are obtained with a single XFEL and single OL pulse arriving synchronized on the target, while preshot consists of 600 XFEL pulses attenuated to 0.12% of the full XFEL power. Out of those, three images from both series were excluded from the training set and used for testing only (runs 435, 436, 534, 535, 603 and 604). The data were collected with a Jungfrau camera with a resolution of 512 × 1024 px, pixel size of 75 µm, and the read values were calibrated to deposited keV per pixel.

In order to extract noise patterns without erroneously including signal information, we split the original images (both preshot and main shot) into square tiles of 128 px size. The choice for a patch size of 128 px came naturally: first, to be compatible with downsampling neural network architectures and, second, to well divide the original image files while maintaining signal structure. Moreover, the tiling approach allowed us to enhance the number of training examples for the neural networks and reduced demands of required GPU memory.

Noise patterns were extracted from the main shot images from regions where no signal was expected, as indicated by the signal structure obtained from the preshot image (signal in preshot below 0.05 keV px−1). From the preshot, noiseless signal patterns were extracted.

The tile creation process is illustrated in Fig. 1[link]. The signal tiles are created from preshot images, Fig. 1[link](a), by applying random rotation and selecting random area. Consequently, only tiles with integrated intensity exceeding a given threshold (500 keV) were selected, see Fig. 1[link](b). The randomness in rotation is important, as the given training X-ray data do have significant dominant directions, which are expected to change in the real experimental settings the network is designed for.

[Figure 1]
Figure 1
Preparation of the data for training. From the preshot with X-ray-only data (a), random tiles are selected from regions where the integrated intensity of the signal is sufficient. Random rotations were also applied (b). The high-intensity areas from the preshot were then masked out of the main shot (c), and areas containing no signal were used for production of the noise tiles.

The noise tiles were created from the main shot data, see Fig. 1[link](c). The regions which might contain X-ray signal are masked out, based on the signal in the corresponding preshot. Tiles were then randomly selected from the remaining data. Note that neither rotation nor changes of amplitude were applied, as both contain signatures of the structure of bremsstrahlung. The number of extracted tiles from each data image varied, based on the signal extent.

The tile generation process is fully automated, avoiding any human-induced bias. Users just have to provide the signal and noise figures. From the noise image, the signal region is masked out, which is done in a separate script via setting a threshold of signal intensity in preshot, followed by an extension of this region for safety. The provided patchwork script then extracts the tiles as described above. Its only setting is the number of attempts of tile extraction from each image, which has to be carefully set for a given dataset in order to balance getting enough tiles and avoid strong oversampling at the same time. Also, a threshold of total signal intensity in a tile is given to eliminate tiles void of signal.

In the case presented in this paper, a total of 4711 noise and 1754 signal tiles were produced. The model trained on these data is publicly available (see Data availability section). It was trained on those specific data, making it well suited for similar experiments. However, different detector parameters, experimental geometry, laser setup or target material might change the noise characteristics, and therefore the model might need to be retrained for different experimental setups.

2.2. Neural network training

In the modeling approach we followed, noise was assumed to be additive, i.e. a noisy input signal Mathematical equation could be decomposed into noise and clean signal components Mathematical equation and Mathematical equation, respectively, via the relationship

Mathematical equation

The input to the neural networks consisted of image tiles of shape 128 × 128. The removal of the bremsstrahlung background Mathematical equation was achieved with the help of neural networks, trained to estimate both the noise Mathematical equation to be subtracted from the input and the denoised image Mathematical equation itself.

Four different network architectures were considered. First, two variants of the UNet architecture (Ronneberger et al., 2015View full citation) were adopted with four encoder blocks. The first variant used 32, 64, 128 and 256 feature maps (unet32) while the second variant had half of the feature maps in each layer (unet16). Each encoder block consisted of two separate convolutional layers and Leaky-ReLU(0.1) nonlinearities. Instance normalization was employed. The corresponding decoder network matched the number of feature maps. The decoder output produced latent feature maps Mathematical equation with 16 channels for both model variants. The unet16 and unet32 models comprised a total of approximately 0.5 and 2 million trainable parameters, respectively.

Recent studies have reported favorable performance of equivariant versions of conventional convolutional neural network (CNN) models for classification and segmentation tasks (Cohen & Welling, 2016View full citation; Bekkers et al., 2018View full citation; Weiler et al., 2018View full citation; Weiler & Cesa, 2019View full citation; Cesa et al., 2022View full citation). Due to their built-in inductive bias of equivariance and hence more efficient use of learnable parameters, such models were observed to converge more quickly during training and to generalize better, making them especially attractive in small-sample scenarios. Based on these reports and the potential presence of spatially rotated signal patterns in real-world SAXS data, we included equivariant versions of the UNet (named equnet16 and equnet32, respectively) into our analysis, implemented using the `escnn' library (https://github.com/QUVA-Lab/escnn) (Cesa et al., 2022View full citation). They consisted of 1.47 and 5.88 million trainable parameters, respectively, and implemented operations to make the network equivariant to input transformations under discrete rotations with angles corresponding to multiples of 90°.

Another convolutional model architecture, named DnCNN, suggested by Zhang et al. (2017View full citation) and further modified by, for example, Levesque et al. (2024View full citation), was considered for the denoising task. Their proposed architecture heavily relies on residual connections first introduced by He et al. (2016View full citation) and the utilization of batch normalization layers (Ioffe & Szegedy, 2015View full citation). We used 10 residual layers, each with 64 feature maps, and LeakyReLU(0.2) activation function in our implementation, totalling in a small model size of about 0.37 million parameters.

Recently, transformer-based network architectures (Vaswani et al., 2017View full citation) have found their way into the field of computer vision and image processing (Dosovitskiy et al., 2020View full citation), which was up to then predominated by CNNs. For this reason, we chose to investigate the capabilities of the UNETR model architecture (Hatamizadeh et al., 2022View full citation) that combines both self-attention and convolutional layers. Again, we evaluated two configurations of this architecture, which differed in their hyperparameters and model size. For unetr128, the latent dimensionality of image patches was set to 128 and we used four attention heads, resulting in 5.3 million trainable parameters. In turn, unetr384 employed a latent dimensionality of 384 together with 12 attention heads for a total of 31.13 million parameters.

From the latent representation provided by the neural network outputs, pixelwise noise was estimated by further applying a convolutional layer on the latent feature map, using a kernel size of 3, with stride and padding of 1 to retain the spatial dimensionality. A ReLU activation was applied, as the noise contribution was known to be non-negative. The estimated noise Mathematical equation was then subtracted from the input. To enforce non-negativity also of the estimated signal, again, a ReLU nonlinearity was applied. In total, the procedure worked as follows,

Mathematical equation

With the exception of the equivariant UNets, model architectures relied on the implementations from the MONAI Python package. Neural network training was implemented using the `PyTorch' library (version 1.12.1) for the Python programming language (version 3.10.4). The architectural tables of unet32 and equnet32 networks are presented in Tables 2 and 3 in Appendix A[link].

During network training, we randomly sampled a new noise tile each time a clean signal tile was accessed, as a means of data augmentation and to avoid overfitting. The pixelwise addition of both tiles resulted in a synthetic noisy tile which was used as model input. Both summands were treated as labels during model training. Image intensity normalization on the raw pixel values was performed as follows: lower and upper bounds for normalization were computed as the 1 and 99.95 percentiles of the noisy tile. The lower bound was subtracted from the noisy tile and the result was divided by the difference between upper and lower bound. Subsequently, the result was clipped to the unit range, i.e. values below zero were set to zero and values above one were reduced to one. The same normalization and clipping strategy using the bounds obtained from the noisy tile were subsequently applied on the signal and the noise tile, respectively.

Networks were trained for 400 epochs with a batch size of 16 on a single NVIDIA A100 GPU using the AdamW optimizer with a learning rate of 10−4 and no weight decay. For both estimated components Mathematical equation and Mathematical equation, the mean absolute error loss was applied. Both loss components were added to obtain the loss function that the models were trained on.

The list of used networks with their training time and time to process one data image (95 tiles) is provided in Table 1[link]. The inference was carried out on a single node of the HPC system Hemera local to our center. We used 12 cores (Intel Xeon Gold 6136 CPU @ 3.00 GHz) and a single NVIDIA P100 GPU (16 GB RAM). Reported processing times include preprocessing, normalization, patchwise model inference and the recombination.

Table 1
Timing statistics of used neural networks

Network Training time (h:m) Processing time (s)
unet16 0:32 11
unet32 0:28 13
unetr128 1:00 14
unetr384 1:19 18
DnCNN 1:19 19
equnet16 2:04 32
equnet32 5:08 91

The training error, Fig. 6 in Appendix B[link], shows a smooth decline for all investigated models and appears to have saturated as it remains rather flat for most of the update steps. Moreover, the equivariant model architectures converged to the smallest training and validation loss which are also on a very similar scale, indicating no signs of overfitting. The validation losses behave similarly but more noisy, which is expected. Those plots indicate that the data processing steps have enabled successful model training.

2.3. Model inference

Once a neural network was trained, the removal of the bremsstrahlung background of full-sized experimental imaging data was performed by applying the model on image tiles, followed by a recombination of the tile predictions to obtain full-sized model predictions. A simple sliding-window approach, i.e. a regular splitting of image data into non-overlapping tiles and subsequent recombination, would produce discontinuities on the borders between tiles, and therefore a more complex method was developed.

To reduce the artifacts at tile boundaries, each image was processed on four independent tiling grids, offset from one another by (0, 0), (96, 32), (32, 96), and (64, 64) pixels. These offsets are chosen so that no boundary location is shared by all four grids—any given seam falls in the interior of a tile in at least two of the four grids. Each tile was normalized as in the training procedure, passed through the network, and the output rescaled to the original data range by multiplying by the normalization range and adding the lower bound.

In the last step, the four predictions produced for the four offsets were combined together. Each pixel of the final image was calculated as a weighted mean of the four predictions. The weights wi of the ith prediction for each pixel are calculated as

Mathematical equation

where pi is the ith prediction and m is the mean of all of them for a given pixel. This approach effectively eliminates the outliers, which are sometimes produced close to the edges of the tiles.

The normalization used during the inference can have a negative impact on the strongest peaks of the signal. That is partially eliminated by offsetting the tiles, but partially might remain. Further it is shown that, in regions where the signal is strongest, the algorithm does not improve data quality much, therefore it might be advisable to revert regions with very strong signal to their original values. This postprocessing shall be set up with care based on particular data properties.

An example of the data before and after the denoising is depicted in Fig. 2[link].

[Figure 2]
Figure 2
An example of applying the neural network equnet32 on noisy experimental data (top) to obtain a denoised prediction where the estimated bremsstrahlung background got removed (center). Lineouts for the original and denoised image are given in the bottom panel.

3. Validation

3.1. Validation methodology

To validate the approach, three preshot and three main shot data files not utilized for network training were used. The three full-scale preshot images served as base signal, and noise was added to those by combining several layers of available noise tiles. An example of the test data is shown in Figs. 3[link](a)–3(c). By using various combinations of noise tiles and signal intensities, 60 test images were created and processed by the above-mentioned algorithms with various neural networks. An exemplary prediction using equnet32 is shown in Fig. 3[link](d). The relative error er of the prediction was calculated for each pixel of each test data image as

Mathematical equation

where s is the pixel value in the original signal file, and p is the value of the same pixel in the denoised prediction. This error, shown in Fig. 3[link](e), is plotted as a function of local signal-to-noise ratio s/n, calculated as s divided by the corresponding pixel in the original noise image smoothed over a 15 px radius in Fig. 3[link](f). The errors for all 60 validation images are shown in Fig. 4[link](a).

[Figure 3]
Figure 3
The validation process. Experimental data with pure signal (a) and noise (b) are combined (c), which is processed via the denoising algorithm into prediction (d). The relative error of the prediction for each pixel in (e) is plotted as a function of signal-to-noise ratio in (f) for both denoised (d) and noisy (c) data. A central cut of size 110 × 110 px is shown in each panel.
[Figure 4]
Figure 4
Validation results of the neural networks. The relative error of each pixel as a function of signal-to-noise for the equnet32 (a) and all networks (b).

3.2. Pixelwise validation results

The results of validation are summarized in Fig. 4[link]. Each line in Fig. 4[link](a) corresponds to one validation image processed via equnet32. It is clearly seen that er = 1/(s/n) = n/s for the noisy input data. The denoised data show that the relative error is approximately 100× lower for data where s/n < 0.01, and the improvement is getting weaker until about s/n = 10. For data with better signal-to-noise ratio, the algorithm obviously brings no advantage.

Averages for all validation images for every used network are shown in Fig. 4[link](b). Both equnet networks showed about 100× improvement in s/n, while all other networks were close to 30× improvement. Another way to interpret the performance is to define experimental data as useful at pixels where the relative error is smaller than 50%. This criterion is achieved in pixels with s/n values above about 3, 0.2, and 0.04 for noisy data, predictions from most networks, and predictions from equnet32, respectively. In other words, equnet32 increases the usable data range by a factor of 75×.

The performance advantage of the equnets in comparison with other non-equivariant networks is in line with results reported previously (Cohen & Welling, 2016View full citation; Linmans et al., 2018View full citation; Bekkers et al., 2018View full citation; Gerken et al., 2022View full citation; Bengtsson Bernander et al., 2024View full citation). These benefits were also observed in comparison with conventional CNNs trained with data augmentation, which our results also demonstrate. Performance enhancements of equivariant architectures are largely attributed to them making more efficient use of the available learnable network parameters due to their inductive bias, leading to faster training convergence, better generalization and an overall increased sample efficiency. This is backed by the behavior of the training and validation loss curves (see Fig. 6 in Appendix B[link]), which clearly indicates that loss decline is faster for the equivariant networks and leads to lower validation errors as well.

Nevertheless, at this point, we cannot rule out that enhanced performance for equnet32 compared with its non-equivariant counterpart is also due to the former having more than twice the number of parameters as the latter (5.88 million versus 2 million) which we consider a limitation of our analysis design. A more balanced investigation of performance differences between both architectures is deferred to future work.

We also observe that performance is not strictly associated with model size, as neither the model with the most parameters (unetr384) performed best nor the model with the fewest parameters (DnCNN) performed worst across all signal-to-noise ratios. Moreover, for the model architectures with two variants, performance among variants was rather similar and performance differences were only pronounced between different architectures, indicating the importance of network design.

3.3. Validation on full images

The validation method shown above indicated great pixelwise performance of the trained models. This section then demonstrates the validity of the predictions in a broader sense. We use the same validation data as mentioned above: SAXS scattering signal on wire in preshot, combined with one or more layers of experimental noise. From the artificial validation data, as well as from the predictions of the equnet32 network, we extract the scattering profile along the streak as is done during experimental analysis, similar to the bottom panel of Fig. 2[link]. Consequently, the error of each prediction relative to the clean signal is calculated, and an effective q-range is estimated as maximal q value where the error is below 20%. Those ranges are plotted in Fig. 5[link](b) as present in the data before and after denoising, showing a typical increase of the effective q-range of a factor of 2.02×. This could be translated to effectively doubling the resolution of the diagnostics in given conditions.

[Figure 5]
Figure 5
Validation on full images. (a) Scattering profiles extracted along the SAXS streak from the noisy images (light-blue lines), compared with the clean signal (thick grey line). (b) Effective q-range (maximum q with less than 20% error relative to the clean signal) in the denoised versus the noisy image for each validation image; colour encodes S/N value of given image. Grey lines indicate a ratio of 1 (no improvement) and 2 (mean improvement). Points at q ≃ 0.45 nm−1 reach the available range and are therefore lower bounds.

4. Conclusions

We designed an algorithm to remove bremsstrahlung background from noisy SAXS data measured at XFEL experiments. The method exploits experimental measurement characteristics and does not require additional simulated training data. Across the tested architectures, the rotationally equivariant model equnet32 provided the best overall performance, improving the signal-to-noise ratio by up to two orders of magnitude in low-signal regions.

The practical impact is substantial: achieving even one order of magnitude improvement by pure data accumulation would require approximately 100× more shots, which could correspond to about one month of beam time in the current mode of operation. In this context, model-based denoising can significantly increase the information extracted per shot and extend the experimentally usable dynamic range.

The approach has already been used by Ordyna et al. (2024View full citation) and Huang et al. (2026View full citation) to improve data dynamic range. At the same time, the observed benefit is strongest in low-s/n regions and naturally decreases for already clean data. Future work should include broader validation across additional campaigns and detector settings, and systematic investigation of how equivariance and training data composition influence generalization. We expect this strategy to be useful also in other measurements where data are limited but separate signal-rich and noise-rich data can be obtained. Considering that the processing time of single data is about a minute, the approach can be used as a part of near-real-time data analysis during further experiments. The inference time could be made even faster by parallelizing the process.

APPENDIX A

Network details

Table 2[link] shows the model architecture for unet32, while Table 3[link] shows that for equnet32.

Table 2
Model architecture overview for the unet32

Kernel size (K), strides (S) and padding (P) are given for convolutional and pooling layers and are equal across both dimensions.

Layer name Input shape Output shape Parameters
Encoder 1 (two convolutions, K = 3, S = 1, P = 1) [1, 1, 128, 128] [1, 32, 128, 128] 9696
MaxPool 1 (K = 2, S = 2) [1, 32, 128, 128] [1, 32, 64, 64] –
Encoder 2 (two convolutions, K = 3, S = 1, P = 1) [1, 32, 64, 64] [1, 32, 64, 64] 18624
MaxPool 2 (K = 2, S = 2) [1, 32, 64, 64] [1, 32, 32, 32] –
Encoder 3 (two convolutions, K = 3, S = 1, P = 1) [1, 32, 32, 32] [1, 64, 32, 32] 55680
MaxPool 3 (K = 2, S = 2) [1, 64, 32, 32] [1, 64, 16, 16] –
Encoder 4 (two convolutions, K = 3, S = 1, P = 1) [1, 64, 16, 16] [1, 128, 16, 16] 221952
MaxPool 4 (K = 2, S = 2) [1, 128, 16, 16] [1, 128, 8, 8] –
Encoder 5 (two convolutions, K = 3, S = 1, P = 1) [1, 128, 8, 8] [1, 256, 8, 8] 886272
Decoder 1 (transposed convolution, K = 2, S = 2, P = 0 + two convolutions) [1, 256, 8, 8] [1, 128, 16, 16] 574336
Decoder 2 (transposed convolution, K = 2, S = 2, P = 0 + two convolutions) [1, 128, 16, 16] [1, 64, 32, 32] 143808
Decoder 3 (transposed convolution, K = 2, S = 2, P = 0 + two convolutions) [1, 64, 32, 32] [1, 32, 64, 64] 36064
Decoder 4 (transposed convolution, K = 2, S = 2, P = 0 + two convolutions) [1, 32, 64, 64] [1, 32, 128, 128] 31968
Final Conv2d (K = 1, S = 1, P = 0) [1, 32, 128, 128] [1, 16, 128, 128] 528
Conv2d (K = 3, S = 1, P = 1) + ReLU [1, 16, 128, 128] [1, 1, 128, 128] 145
Total parameters     1979073

Table 3
Model architecture overview for the equnet32

Layer name Input shape Output shape Parameters
Encoder 1 (R2Convs, K = 3, S = 1, P = 1) [1, 1, 128, 128] [1, 128, 128, 128] 24832
Encoder 2 (R2Convs, K = 3, S = 1, P = 1) [1, 128, 128, 128] [1, 128, 128, 128] 49216
Pooling 1 (R2Conv, K = 3, S = 2, P = 1) [1, 128, 128, 128] [1, 128, 65, 65] 20480
Encoder 3 (R2Convs, K = 3, S = 1, P = 1) [1, 128, 65, 65] [1, 256, 65, 65] 147584
Pooling 2 (R2Conv, K = 3, S = 2, P = 1) [1, 256, 65, 65] [1, 256, 33, 33] 98304
Encoder 4 (R2Convs, K = 3, S = 1, P = 1) [1, 256, 33, 33] [1, 512, 33, 33] 590080
Pooling 3 (R2Conv, K = 3, S = 2, P = 1) [1, 512, 33, 33] [1, 512, 17, 17] 393216
Encoder 5 (R2Convs, K = 3, S = 1, P = 1) [1, 512, 17, 17] [1, 1024, 17, 17] 2359808
Decoder 1 (UpSample + R2Convs) [1, 1024, 17, 17] [1, 512, 33, 33] 1573120
Decoder 2 (UpSample + R2Convs) [1, 512, 33, 33] [1, 256, 65, 65] 393344
Decoder 3 (UpSample + R2Convs) [1, 256, 65, 65] [1, 128, 128, 128] 98368
Decoder 4 (UpSample + R2Convs) [1, 128, 128, 128] [1, 128, 128, 128] 73792
Decoder Tail (R2Convs) [1, 128, 128, 128] [1, 128, 128, 128] 49216
GroupPooling (K = 1, S = 1, P = 0) [1, 128, 128, 128] [1, 32, 128, 128] 0
Final Conv2d (K = 3, S = 1, P = 1) [1, 32, 128, 128] [1, 16, 128, 128] 4624
Conv2d (K = 3, S = 1, P = 1) + ReLU [1, 16, 128, 128] [1, 1, 128, 128] 145
Total parameters     5876129

APPENDIX B

Loss curves

Fig. 6[link] shows the mean-absolute-error loss plotted over parameter update steps during network training for the training and validation data.

[Figure 6]
Figure 6
The mean-absolute-error loss plotted over parameter update steps during network training for the training (left) and validation (right) data. Colors indicate the different network architectures investigated.

Acknowledgements

We acknowledge European XFEL in Schenefeld, Germany, for provision of X-ray free-electron laser beam time at HED HIBEF (Helmholtz International Beamline for Extreme Fields) SASE2 under proposal numbers 3129 and 2854, and would like to thank the staff for their assistance. During the preparation of this manuscript, the authors used AI-based large language models to assist with language editing and improving the clarity of the text. These tools were not used for the generation of scientific content, data analysis, or figures. The authors reviewed and edited the output as needed and take full responsibility for the content of this publication. Open access funding enabled and organized by Projekt DEAL.

Conflict of interest

The authors declare no conflicts of interest.

Data availability

The experimental data were recorded at the European XFEL and are available in the literature (Kluge, 2022View full citation; Schlenvoigt, 2022View full citation). The developed code is released at https://github.com/Helmholtz-AI-Matter/bremsstrahlung_denoising/tree/v0.1.0 as well as in the Rodare repository (Starke et al., 2026aView full citation). The trained `equnet32' model has been also published in the Rodare repository (Starke et al., 2026bView full citation).

References

Return to citationBekkers, E. J., Lafarge, M. W., Veta, M., Eppenhof, K. A. J., Pluim, J. P. W. & Duits, R. (2018). Medical Image Computing and Computer Assisted Intervention (MICCAI 2018) pp. 440–448. Cham: Springer  Google Scholar
Return to citationBengtsson Bernander, K., Sintorn, I.-M., Strand, R. & Nyström, I. (2024). Sci. Rep. 14, 14995.  CrossRef PubMed Google Scholar
Return to citationCesa, G., Lang, L. & Weiler, M. (2022). A Program to Build E(N)-Equivariant Steerable CNNs, https://openreview.net/forum?id=WE4qe9xlnQw.  Google Scholar
Return to citationCohen, T. & Welling, M. (2016). Proceedings of the 33rd International Conference on Machine Learning, Vol. 48 of Proceedings of Machine Learning Research pp. 2990–2999.  Google Scholar
Return to citationDosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J. & Houlsby, N. (2020). arXiv:2010.11929.  Google Scholar
Return to citationGerken, J., Carlsson, O., Linander, H., Ohlsson, F., Petersson, C. & Persson, D. (2022). Proceedings of the 39th International Conference on Machine Learning, Vol 162 of Proceedings of Machine Learning Research, pp. 7404–7421.  Google Scholar
Return to citationHatamizadeh, A., Tang, Y., Nath, V., Yang, D., Myronenko, A., Landman, B., Roth, H. R. & Xu, D. (2022). 2022 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV2022), pp. 1748–1758.  Google Scholar
Return to citationHe, K., Zhang, X., Ren, S. & Sun, J. (2016). 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR2016), pp. 770–778.  Google Scholar
Return to citationHuang, L., Šmíd, M., Yang, L., Humphries, O., Hagemann, J., Engler, T., Pan, X., Cui, Y., Kluge, T., Aguilar, R., Baehtz, C., Brambrink, E., Eren, E., Falk, K., Laso Garcia, A., Göde, S., Gutt, C., Hassan, M., Heuser, P., Höppner, H., Kozlova, M., Lu, W., Metzkes-Ng, J., Masruri, M., Mishchenko, M., Nakatsutsumi, M., Ota, M., Öztürk, O., Pelka, A., Prencipe, I., Preston, T. R., Randolph, L., Rehwald, M., Schlenvoigt, H.-P., Schramm, U., Schwinkendorf, J.-P., Starke, S., Štefaníková, R., Thiessenhusen, E., Toncian, M., Toncian, T., Vorberger, J., Zastrau, U., Zeil, K. & Cowan, T. E. (2026). Matter Radiat. at Extremes 11, 017201.  CrossRef Google Scholar
Return to citationIoffe, S. & Szegedy, C. (2015). arXiv:1502.03167.  Google Scholar
Return to citationKluge, T. et al. (2022). Probing the lateral transport of hot electrons in relativistic laser solid wire target interactions, Experimental data: Proposal no. 003129, https://dx.doi.org/10.22003/XFEL.EU-DATA-003129-00.  Google Scholar
Return to citationLaso Garcia, A., Mishchenko, M., Bouffetier, V., Pérez-Callejo, G., Appel, K., Arefiev, A., Baehtz, C., Brambrink, E., Cernaianu, M. O., Doria, D., Dornheim, T., Dyer, G. M., Fefeu, N., Galtier, E., Gawne, T., Ghenuche, P., Goede, S., Hagemann, J., Herbert, M.-L., Höppner, H., Huang, L., Humphries, O. S., Jones, M., Khaghani, D., Kluge, T., Koliyadu, J., Kraus, D., Ja Lee, H., Lütgert, J., Makita, M., Naedler, J.-P., Nagler, B., Nakatsutsumi, M., Nguyen, Q. L., Pelka, A., Preston, T. R., Bing Qu, C., Rahul, S. V., Randolph, L., Redmer, R., Rehwald, M., Rinderknecht, H. G., Rodriguez-Fernandez, A., Santos, J. J., Schramm, U., Smid, M., Strohm, C., Strucka, J., Tang, M., Vagovic, P., Vescovi, M., Yang, L., Zeil, K., Zastrau, U., Cowan, T. E. & Toncian, T. (2026). Plasma Phys. Control. Fusion 68, 035027.  CrossRef Google Scholar
Return to citationLevesque, J. M., Merritt, E. C., Flippo, K. A., Rasmus, A. M. & Doss, F. W. (2024). Rev. Sci. Instrum. 95, 063508.  CrossRef PubMed Google Scholar
Return to citationLinmans, J., Winkens, J., Veeling, B. S., Cohen, T. S. & Welling, M. (2018). arXiv:1807.00583.  Google Scholar
Return to citationOrdyna, P., Bähtz, C., Brambrink, E., Bussmann, M., Laso Garcia, A., Garten, M., Gaus, L., Göde, S., Grenzer, J., Gutt, C., Höppner, H., Huang, L., Hübner, U., Humphries, O., Marré, B. E., Metzkes-Ng, J., Miethlinger, T., Nakatsutsumi, M., Öztürk, O., Pan, X., Paschke-Brühl, F., Pelka, A., Prencipe, I., Preston, T. R., Randolph, L., Schlenvoigt, H.-P., Schwinkendorf, J.-P., Šmíd, M., Starke, S., Štefaníková, R., Thiessenhusen, E., Toncian, T., Zeil, K., Schramm, U., Cowan, T. E. & Kluge, T. (2024). Commun. Phys. 7, 296.  CrossRef Google Scholar
Return to citationRonneberger, O., Fischer, P. & Brox, T. (2015). Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) Vol. 9351, pp. 234–241. Cham: Springer.  Google Scholar
Return to citationSchlenvoigt, H. et al. (2022). Kinetic instabilities in the interaction of ultra-intense ultra-short laser pulses with Solids, Experimental data, Proposal no. 002854, https://dx.doi.org/10.22003/XFEL.EU-DATA-002854-00.  Google Scholar
Return to citationŠmíd, M., Baehtz, C., Pelka, A., Laso García, A., Göde, S., Grenzer, J., Kluge, T., Konopkova, Z., Makita, M., Prencipe, I., Preston, T. R., Rödel, M. & Cowan, T. E. (2020). Rev. Sci. Instrum. 91, 123501.  PubMed Google Scholar
Return to citationStarke, S. & Šmíd, M. (2026a). Removal of bremsstrahlung background from SAXS signals with deep neural networks: sourcecode (Version 0.1.0). Rodare, http://doi.org/10.14278/rodare.4976  Google Scholar
Return to citationStarke, S. & Šmíd, M. (2026b). Removal of bremsstrahlung background from SAXS signals with deep neural networks: trained denoising equnet32 (Version 1) [Data set]. Rodare, http://doi.org/10.14278/rodare.4956.  Google Scholar
Return to citationVaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L. & Polosukhin, I. (2017). arXiv:1706.03762.  Google Scholar
Return to citationWeiler, M. & Cesa, G. (2019). Advances in Neural Information Processing Systems: 33rd Conference on Neural Information Processing Systems (NeurIPS2019), Vancouver, Canada.  Google Scholar
Return to citationWeiler, M., Geiger, M., Welling, M., Boomsma, W. & Cohen, T. (2018). Advances in Neural Information Processing Systems 31: 32nd Conference on Neural Information Processing Systems 2018 (NeurIPS2018), Montréal, Canada, pp. 10402–10413.  Google Scholar
Return to citationZhang, K., Zuo, W., Chen, Y., Meng, D. & Zhang, L. (2017). IEEE Trans. Image Process. 26, 3142–3155.  Web of Science CrossRef PubMed Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775