3500

Continuous T2 Distribution Analysis using Artificial Neural Networks
Tristhal Parasram1, Rebecca Daoud1, and Dan Xiao1
1University of Windsor, Windsor, ON, Canada

Synopsis

Quantitative analysis of T2 relaxation times could reveal molecular scale information, and has significance in the study of brain, spinal cord, articular cartilage, and cancer discrimination. However, it is non-trivial to recover the relaxation times from MR signals, especially as a continuous distribution, since it is an intrinsically ill-posed problem. In this work, ANNs have been trained to generate the T2 distribution spectra. The performance was evaluated across a large parameter range. In addition to superior computation speed, higher accuracy was achieved compared to the traditional method.

Introduction

Analysing T2 relaxation times as a continuous distribution is an intrinsically ill-posed problem. The traditional inverse Laplace transform (ILT) employs a non-negative constraint and a user defined regularization parameter for spectrum smoothness [1]. ANNs have been applied to T2 distribution analysis for myelin fraction evaluation [2], mainly for the advantage of fast computation speed, with ANN trained based on the ILT results. Therefore, the performance should not exceed that of the ILT. In this work, ANNs were trained with signals simulated with continuous T2 spectra, and higher accuracy was achieved, compared to ILT.

Methods

Network Architecture
Keras [3] and NumPy [4] were employed to create the networks, with an array of the decay signal values as input and spectrum amplitude as output. The network hyperparameters were determined by an evolutionary algorithm [5] (activation function: selu [6], optimizer: Adam [7], batch size: 256, epochs: 500, 6 layers resembling an hourglass shape narrower in the centre with the number of nodes ranging from 2500 to 1000). For each SNR, 4 ANNs were trained with the number of nodes varying randomly by approximately 25%. The results were averaged as the final output to ensure no singularities occurred. Loss function was the sum of mean squared errors of the spectrum and the decay curve compared to the noiseless decay and a factor to punish negative values.
Training Dataset
400 000 multiple spin echo decay signals, with equally spaced (ES) data points, were simulated for each SNR (2000 and 80). T2 values were in the unit of ES, in the dynamic range of ES to ES×512 (number of echoes). The spectrum amplitude values were normalized. Rician noise [8] was added to the scaled decay signals, by including zero-mean Gaussian noises in the real and imaginary channels, separately.
Three Gaussian functions were generated with random widths, positions and relative heights on a logarithmic scale. The distribution spectrum amplitude was the sum of the three Gaussian functions. The positions of the three peaks might overlap or partially overlap, so that spectra with one or two peaks were included in the training data set.
Network evaluation
Simulations and experimental data, with one-peak and two-peak T2 distribution spectra of various peak widths, peak positions and peak area ratios were tested with the ANNs. The results were compared with ILT, where applicable.

Results and Discussion

Peak width detection
The peak width information is generally not available in the ILT results, since it is defined by the regularization parameter. Simulations of single peak spectra with various peak widths and corresponding decay signals, shown in Fig. 1a, suggested that the peak width information should be available within the SNR limit. Single peak spectra, with varying mean T2 values (peak position) and peak width, were simulated with SNR 2000 and SNR 80. The error maps of the ANN results are shown in Fig. 1b. ANN was able to accurately determine the peak position, area, and width except for very narrow peaks, where the dynamic range of coefficients was large. This could be mitigated by training a separate ANN with only narrow peaks. Fig. 1c shows phantom measurement results that the spectra widths were accurately determined.
Two-peak spectra evaluations
The accuracy of the T2 distribution analysis depends on many factors, such as the peak positions, peak widths, and relative areas under the peak (quantities of each component). Spectra with fixed T2 positions, at 20 ES and 200 ES, were simulated with varying peak width and area ratio. Error maps in the log mean positions and the peak areas were compared with the ILT results, as shown in Fig. 2. The ANN errors were very low, while large systematic errors were observed in ILT.
Spectra with varying peak positions were simulated, with fixed area ratio (50:50) and peak width (0.3). The error maps are shown in Fig. 3. In the diagonal sections to the left of the distinct boundaries, only one peak was detected. This highlighted the resolution limit, at a factor of approximately 3 for ILT and slightly smaller for ANN, which agreed with the literature [9]. Large errors were observed in ILT especially in the position and area of the first peak with very small short T2 values, as well as when the separation of the two peaks was close to the resolution limit.
CPMG measurements were performed on a phantom consisting of an Agar gel (T2 ≈ 250 ms) in contact with doped CuSO4 solution (T2 ≈ 40 ms), through a duration of 8.5 hours. The dynamic spectra are shown in Figure 4. The quantities and values of both components changed with time, as the CuSO4 migrated into the gel. The two peaks merged into one after 4 hours, and the peak width became narrower after as the relaxation rates within the sample became more homogeneous. ANN generated dynamic T2 spectra with a smoother transition than ILT.

Conclusion

We demonstrated the effectiveness of ANN for analyzing continuous T2 distribution. Spectra width, usually considered not available, can be obtained when the SNR permitted. The performance was evaluated across a large parameter space, and was superior compared to the traditional ILT method.

Acknowledgements

T.P. thanks NSERC of CANADA for a USRA and the University of Windsor Outstanding Scholars Program. D.X. thanks NSERC of Canada for a Discovery grant. We thank Dr. Martin Hürlimann for providing the ILT algorithm and helpful discussions.

References

[1] L. Venkataramanan, Y. Q. Song, and M. D. Hürlimann, “Solving Fredholm integrals of the first kind with tensor product structure in 2 and 2.5 dimensions,” IEEE Trans. Signal Process., vol. 50, no. 5, pp. 1017–1026, 2002.

[2] H. Liu, R. Tam, J. K. Kramer, and C. Laule, “Analyzing multi-exponential T2 decay data using a neural network.” Proceedings of ISMRM 27th Annual Meeting, p. Abstract #4886, 2019.

[3] F. Chollet, “Keras.” 2015.

[4] S. Van Der Walt, S. C. Colbert, and G. Varoquaux, “The NumPy array: A structure for efficient numerical computation,” Comput. Sci. Eng., vol. 13, no. 2, pp. 22–30, 2011.

[5] D. Orive, G. Sorrosal, C. E. Borges, C. Martin, and A. Alonso-Vicario, “Evolutionary algorithms for hyperparameter tuning on neural networks models,” 26th Eur. Model. Simul. Symp. EMSS 2014, no. c, pp. 402–409, 2014.

[6] G. Klambauer, T. Unterthiner, A. Mayr, and S. Hochreiter, “Self-Normalizing Neural Networks,” 2017.

[7] D. P. Kingma and J. Ba, “Adam: A Method for Stochastic Optimization,” pp. 1–15, 2014.

[8] H. Gudbjartsson and S. Patz, “The rician distribution of noisy MRI data,” Magn. Reson. Med., vol. 34, no. 6, pp. 910–914, Dec. 1995.

[9] A. A. Istratov and O. F. Vyvenko, “Exponential analysis in physical phenomena,” Rev. Sci. Instrum., vol. 70, no. 2, pp. 1233–1257, 1999.

Figures

Figure 1. Single peak T2 distribution. (a) Simulations of T2 spectra with various peak widths (left) and the corresponding decay signals. (b) Error maps of the ANN spectra peak position (in log), peak width (in log), and peak area (in %), as a function of the true peak position and width, with SNR 2000 and 80. The large errors below the black lines were due to broad peaks with small average T2 that more than 15% of the components exceeded the dynamic range. (c) T2 spectra from composite phantoms (SNR 2000). Blue: width factor of 2 (40 to 80 ms); red: 3.3 (30 to 100 ms); Green: 7.5 (20 to 150 ms).

Figure 2. Error maps of simulated two-peak T2 distribution from ANN (1st row) and ILT (2nd row), with SNR 2000. The positions of the two peaks were fixed at 20 ES and 200 ES, with varying peak widths (FWHM in log scale) and area ratios. The columns are errors in the log mean T2 of the 1st and 2nd peaks, and the areas of the 1st and 2nd peaks (in %), respectively. The color bar limits were manually set to highlight meaningful information. In the sections to the right of the distinct boundaries, only one peak was detected. ANN outperformed ILT in all the tests.

Figure 3. Error maps of simulated two-peak T2 distribution from ANN (1st row) and ILT (2nd row), with SNR 2000. The positions of the two peaks varied across the dynamic range, with an area ratio of 50:50 and a peak width of 0.3. The columns are errors in the log mean T2 of the 1st and 2nd peaks, and the areas of the 1st and 2nd peaks, respectively. The color bar limits were manually set to highlight meaningful information. In the diagonal sections to the left of the distinct boundaries, only one peak was detected. ANN outperformed ILT in all the tests.

Figure 4. CPMG measurements on a phantom consisting of an Agar gel (T2 ≈ 250 ms) in contact with doped CuSO4 solution (T2 ≈ 40 ms), through a duration of 8.5 hours. Both the positions (mean T2 values) and areas (quantities) of the two peaks changed with time, as the CuSO4 migrated into the gel. The two peaks merged into one after 4 hours, and the peak width became narrower after as the T2 values within the sample became more homogeneous. Distributions acquired with (a) ANN showed a smoother transition than with (b) ILT. SNR 2000, 512 echoes, ES 2 ms.

Proc. Intl. Soc. Mag. Reson. Med. 28 (2020)
3500