Improved Variational Mode Decomposition for Magnetotelluric Data Denoising Combined with Transformer Neural Network
Abstract
1. Introduction
2. Theory and Method
2.1. Variational Mode Decomposition
2.2. PSO-Based Optimization of VMD Parameters
2.2.1. Basic Principle of PSO
2.2.2. PSO-VMD Parameter Optimization
| Algorithm 1: PSO of VMD Parameters |
| Input: MT time series f(t), search ranges of K and α, population size N, maximum number of iterations G, learning factors and , and step-size factor β. |
| Output: Optimal VMD parameters . |
| 1. Initialize particle positions and velocities , ; |
| 2. For each particle, perform VMD using ; |
| 3. Calculate the fitness value: 4. Set the personal best position , and set the global best position as the position of the particle with the minimum fitness value; |
| 5. while g and the stopping criterion is not satisfied do |
| 6. g = g + 1 |
| 7. for do |
| 8. Update particle velocities: 9. Apply velocity constraints; 10. Update particle position: 11. Apply boundary constraints to and ; |
| 12. Perform VMD decomposition using the updated ; |
| 13. Calculate the current fitness value ; |
| 14. end for |
| 15. for do |
| 16. if then |
| 17. |
| 18. end if |
| 19. if then |
| 20. |
| 21. end if |
| 22. end for |
| 23. end while |
| 24. Return . |
2.3. Intelligent Filtering
2.4. Transformer-Based Noise Identification
2.5. Workflow of the Proposed Method
3. Implementation
3.1. Synthetic Experiment
3.2. Field Data Experiment
4. Conclusions
- The Transformer effectively identifies strong-interference noise segments in MT time series, including step-like anomalies, impulsive peaks, and complex non-stationary disturbances. Removal of the identified segments followed by linear interpolation restores signal continuity and provides a reliable basis for subsequent signal denoising.
- PSO adaptively optimizes the key VMD parameters, improving the decomposition performance and stability of VMD for complex non-stationary signals. Compared with empirical parameter selection, PSO-VMD more effectively separates low-frequency, interference-dominated components from useful higher-frequency components.
- After removal of the interference-dominated mode, the remaining high-frequency components are further filtered to suppress random residual noise. The final reconstruction combines the filtered components with the linearly interpolated signal within the identified interference intervals, enabling coordinated suppression of strong interference and random noise while minimizing modifications to uncontaminated signal segments.
- Synthetic data experiments show that the proposed method can effectively recover the temporal characteristics of contaminated MT time series, improves the signal-to-noise ratio, and enhances the accuracy and stability of apparent resistivity and impedance phase estimates. Field data experiments further demonstrate its effectiveness under complex real-world noise conditions, resulting in more reliable MT response estimation.
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Berdichevsky, M.N.; Dmitriev, V.I. Models and Methods of Magnetotellurics; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
- Chave, A.D.; Thomson, D.J. Some Comments on Magnetotelluric Response Function Estimation. J. Geophys. Res. 1989, 94, 14215–14225. [Google Scholar] [CrossRef] [Scilit]
- Egbert, G.D. Robust Multiple-Station Magnetotelluric Data Processing. Geophys. J. Int. 1997, 130, 475–496. [Google Scholar] [CrossRef] [Scilit]
- Egbert, G.D.; Booker, J.R. Robust Estimation of Geomagnetic Transfer Functions. Geophys. J. Int. 1986, 87, 173–194. [Google Scholar] [CrossRef] [Scilit]
- Gamble, T.D.; Goubau, W.M.; Clarke, J. Magnetotellurics with a remote magnetic reference. Geophysics 1979, 44, 53–68. [Google Scholar] [CrossRef] [Scilit]
- Goubau, W.M.; Gamble, T.D.; Clarke, J. Magnetotelluric data analysis; removal of bias. Geophysics 1978, 43, 1157–1166. [Google Scholar] [CrossRef] [Scilit]
- Jones, A.G.; Chave, A.D.; Egbert, G.; Auld, D.; Bahr, K. A comparison of techniques for magnetotelluric response function estimation. J. Geophys. Res. 1989, 94, 14201–14213. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Zhou, X.; Chen, C.; Xu, L.; Zhou, F.; Shi, F.; Tang, J. Multitype Geomagnetic Noise Removal via an Improved U-Net Deep Learning Network. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5916512. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Liu, Y.; Tang, J.; Ma, F. Magnetotelluric noise suppression via convolutional neural network. Geophysics 2023, 88, WA361–WA375. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Liu, Y.; Tang, J.; Peng, Y.; Zhang, X.; Li, Y. Magnetotelluric data denoising method combining two deep-learning-based models. Geophysics 2023, 88, E13–E28. [Google Scholar] [CrossRef] [Scilit]
- Manoj, C.; Nagarajan, N. The Application of Artificial Neural Networks to Magnetotelluric Time-Series Analysis. Geophys. J. Int. 2003, 153, 409–423. [Google Scholar] [CrossRef] [Scilit]
- Smirnov, M.Y. Magnetotelluric Data Processing with a Robust Statistical Procedure Having a High Breakdown Point. Geophys. J. Int. 2003, 152, 1–7. [Google Scholar] [CrossRef] [Scilit]
- Chave, A.D.; Thomson, D.J. Bounded Influence Magnetotelluric Response Function Estimation. Geophys. J. Int. 2004, 157, 988–1006. [Google Scholar] [CrossRef] [Scilit]
- Larsen, J.C. Transfer functions: Smooth robust estimates by least-squares and remote reference methods. Geophys. J. Int. 1989, 99, 645–663. [Google Scholar] [CrossRef] [Scilit]
- Oettinger, G.; Haak, V.; Larsen, J.C. Noise reduction in magnetotelluric time-series with a new signal-noise separation method and its application to a field experiment in the Saxonian Granulite Massif. Geophys. J. Int. 2001, 146, 659–669. [Google Scholar] [CrossRef] [Scilit]
- Usui, Y.; Uyeshima, M.; Sakanaka, S.; Hashimoto, T.; Ichiki, M.; Kaida, T.; Yamaya, Y.; Ogawa, Y.; Masuda, M.; Akiyama, T. New robust remote reference estimator using robust multivariate linear regression. Geophys. J. Int. 2024, 238, 943–959. [Google Scholar] [CrossRef] [Scilit]
- Ogawa, H.; Asamori, K.; Negi, T.; Ueda, T. A Novel Method for Processing Noisy Magnetotelluric Data Based on Independence of Signal Sources and Continuity of Response Functions. J. Appl. Geophys. 2023, 213, 105012. [Google Scholar] [CrossRef] [Scilit]
- Sato, S.; Goto, T.-N.; Kasaya, T.; Ichihara, H. Method for Obtaining Response Functions from Noisy Magnetotelluric Data Using Frequency-Domain Independent Component Analysis. Geophysics 2021, 86, E21–E35. [Google Scholar] [CrossRef] [Scilit]
- Egbert, G.D. Processing and interpretation of electromagnetic induction array data. Surv. Geophys. 2002, 23, 207–249. [Google Scholar] [CrossRef] [Scilit]
- Smirnov, M.Y.; Egbert, G.D. Robust principal component analysis of electromagnetic arrays with missing Data. Geophys. J. Int. 2012, 190, 1423–1438. [Google Scholar] [CrossRef] [Scilit]
- Spagnolini, U. Time-domain estimation of MT impedance tensor. Geophysics 1994, 59, 712–721. [Google Scholar] [CrossRef] [Scilit]
- Santarato, G.; Spagnolini, U. Cancelling directional EM noise in magnetoteilurics1. Geophys. Prospect. 1995, 43, 605–621. [Google Scholar] [CrossRef] [Scilit]
- Cai, J.-H.; Tang, J.-T.; Hua, X.-R.; Gong, Y.-R. An analysis method for magnetotelluric data based on the Hilbert–Huang transform. Explor. Geophys. 2009, 40, 197–205. [Google Scholar] [CrossRef] [Scilit]
- Garcia, X.; Jones, A.G. Robust processing of magnetotelluric data in the AMT dead band using the continuous wavelet transform. Geophysics 2008, 73, F223–F234. [Google Scholar] [CrossRef] [Scilit]
- Elouaham, S.; Nassiri, B.; El Abbadi, R.; El Melhaoui, O.; Said, S.; El Khadiri, K.; Dliou, A.; Latif, R.; Dlimi, S.; Zougagh, H. Hybridization Denoising Method for EMG Signals Using EWT and EMD Techniques. IREA 2025, 13, 574. [Google Scholar] [CrossRef] [Scilit]
- Carbonari, R.; D’Auria, L.; Di Maio, R.; Petrillo, Z. Denoising of magnetotelluric signals by polarization analysis in the discrete wavelet domain. Comput. Geosci. 2017, 100, 135–141. [Google Scholar] [CrossRef] [Scilit]
- Kappler, K.N. A data variance technique for automated despiking of magnetotelluric data with a remote reference. Geophys. Prospect. 2012, 60, 179–191. [Google Scholar] [CrossRef] [Scilit]
- Tang, J.; Li, G.; Xiao, X.; Li, J.; Zhou, C.; Zhu, H.-J. Strong noise separation for magnetotelluric data based on a signal reconstruction algorithm of compressive sensing. Chin. J. Geophys. 2017, 60, 3642–3654. (In Chinese) [Google Scholar] [CrossRef]
- Chen, J.; Heincke, B.; Jegen, M.; Moorkamp, M. Using empirical mode decomposition to process marine magnetotelluric data. Geophys. J. Int. 2012, 190, 293–309. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Zhang, X.; Tang, J. Noise suppression for magnetotelluric using variational mode decomposition and detrended fluctuation analysis. J. Appl. Geophys. 2020, 180, 104127. [Google Scholar] [CrossRef] [Scilit]
- Guo, Z.; Han, J.; Liu, L.; Wu, Y.; Hou, J.; Gong, X. Reducing reliance on observation duration of magnetotelluric impedance estimation with an improved instantaneous spectrum-based method. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5912715. [Google Scholar] [CrossRef] [Scilit]
- Dragomiretskiy, K.; Zosso, D. Variational Mode Decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef] [Scilit]
- Shang, Z.; Zhang, X.; Yan, S.; Zhang, K. Suppression of strong cultural noise in magnetotelluric signals using particle swarm optimization-optimized variational mode decomposition. Appl. Sci. 2024, 14, 11719. [Google Scholar] [CrossRef] [Scilit]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef] [Scilit]
- Zhong, C.; Li, G.; Meng, Z. Beluga whale optimization: A novel nature-inspired metaheuristic algorithm. Knowl. Based Syst. 2022, 251, 109215. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Liu, Y.; Du, J.; Wang, Z.; Shao, Q. De-noising magnetotelluric data using variational mode decomposition combined with mathematical morphology filtering and wavelet thresholding. J. Appl. Geophys. 2022, 204, 104751. [Google Scholar] [CrossRef] [Scilit]
- Dramsch, J.S. 70 years of machine learning in geoscience in review. Adv. Geophys. 2020, 61, 1–55. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Gu, X.; Chen, C.; Zhou, C.; Xiao, D.; Wan, W.; Cai, H. Low-frequency magnetotelluric data denoising using improved denoising convolutional neural network and gated recurrent unit. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5909216. [Google Scholar] [CrossRef] [Scilit]
- Tian, Y.; Xie, C.; Wang, Y. Long short-term memory recurrent network architectures for electromagnetic field reconstruction based on underground observations. Atmosphere 2024, 15, 734. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Li, G.; Chen, H.; Tang, J.; Yang, G.; Yu, M.; Hu, Y.; Xu, J.; Sun, J. Identification and suppression of multicomponent noise in audio magnetotelluric data based on convolutional block attention module. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5905515. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; pp. 5998–6008. [Google Scholar]
- Feng, C.; Li, Y.; Wu, Y. A noise suppression method of marine magnetotelluric data using K-SVD dictionary learning. Chin. J. Geophys. 2022, 65, 1853–1865. (In Chinese) [Google Scholar] [CrossRef]
- Li, G.; Gu, X.; Ren, Z.; Wu, Q.; Liu, X.; Zhang, L.; Xiao, D.; Zhou, C. Deep learning optimized dictionary learning and its application in eliminating strong magnetotelluric noise. Minerals 2022, 12, 1012. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Peng, Y.; Tang, J.; Li, Y. Denoising of magnetotelluric data using K-SVD dictionary training. Geophys. Prospect. 2021, 69, 448–473. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Liu, X.; Tang, J.; Deng, J.; Hu, S.; Zhou, C.; Chen, C.; Tang, W. Improved Shift-Invariant Sparse Coding for Noise Attenuation of Magnetotelluric Data. Earth Planets Space 2020, 72, 45. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Wu, S.; Cai, H.; He, Z.; Liu, X.; Zhou, C.; Tang, J. IncepTCN: A new deep temporal convolutional network combined with dictionary learning for strong cultural noise elimination of controlled-source electromagnetic data. Geophysics 2023, 88, E107–E122. [Google Scholar] [CrossRef] [Scilit]
- Li, G.; Liu, X.; Tang, J.; Li, J.; Ren, Z.; Chen, C. De-noising low-frequency magnetotelluric data using mathematical morphology filtering and sparse representation. J. Appl. Geophys. 2020, 172, 103919. [Google Scholar] [CrossRef] [Scilit]
- Hahn, S.L. Hilbert Transforms in Signal Processing; Artech House: Norwood, MA, USA, 1996. [Google Scholar]
- Hestenes, M.R. Multiplier and gradient methods. J. Optim. Theory Appl. 1969, 4, 303–320. [Google Scholar] [CrossRef] [Scilit]
- Rockafellar, R.T. A dual approach to solving nonlinear programming problems by unconstrained optimization. Math. Program. 1973, 5, 354–373. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Zhang, X.; Cai, J. Suppression of strong interference for AMT using VMD and MP. Chin. J. Geophys. 2019, 62, 3866–3884. (In Chinese) [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the IEEE International Conference on Neural Networks (ICNN’95), Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef] [Scilit]
- Marler, R.T.; Arora, J.S. The weighted sum method for multi-objective optimization: New insights. Struct. Multidiscip. Optim. 2010, 41, 853–862. [Google Scholar] [CrossRef] [Scilit]
- Yi, C.; Lv, Y.; Dang, Z. A Fault Diagnosis Scheme for Rolling Bearing Based on Particle Swarm Optimization in Variational Mode Decomposition. Shock Vib. 2016, 2016, 9372691. [Google Scholar] [CrossRef] [Scilit]
- Ataman, E.; Aatre, V.; Wong, K. Some statistical properties of median filters. IEEE Trans. Acoust. Speech Signal Process. 1981, 29, 1073–1075. [Google Scholar] [CrossRef] [Scilit]
- Brockwell, P.J. Autoregressive processes. WIREs Comput. Stat. 2011, 3, 316–331. [Google Scholar] [CrossRef] [Scilit]
- Luo, J.; Ying, K.; Bai, J. Savitzky–Golay smoothing and differentiation filter for even number data. Signal Process. 2005, 85, 1429–1434. [Google Scholar] [CrossRef] [Scilit]
- Savitzky, A.; Golay, M.J.E. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.; Wu, H.; Wang, J.; Long, M. Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy. In Proceedings of the International Conference on Learning Representations (ICLR 2022), Online, 25–29 April 2022. [Google Scholar]
- Kullback, S.; Leibler, R.A. On information and sufficiency. Ann. Math. Stat. 1951, 22, 79––86. [Google Scholar] [CrossRef] [Scilit]
- Egbert, G.D.; Kelbert, A.; Meqbel, N.M. Mod3DMT and EMTF: Free Software for MT Data Processing and Inversion. In Proceedings of the AGU Fall Meeting, New Orleans, LA, USA, 11–15 December 2017. Abstract NS44A-04. [Google Scholar]
- Sokolova, E.Y.; Varentsov, I.M.; EMTESZ Working Group. The RRMC Technique Fights Highly Coherent EM Noise. In Proceedings of the 21. Kolloquium “Elektromagnetische Tiefenforschung”, Holle, Germany, 3–7 October 2005; pp. 124–136. [Google Scholar]
- Piña-Varas, P.; Dentith, M. Magnetotelluric Data from the Southeastern Capricorn Orogen, Western Australia: An Example of Widespread out-of-Quadrant Phase Responses Associated with Strong 3-D Resistivity Contrasts. Geophys. J. Int. 2018, 212, 1022–1032. [Google Scholar] [CrossRef] [Scilit]















| Method | SNR (dB) | RMSE (mV/km) | PRD (%) |
|---|---|---|---|
| EMD | −22.89 | 289.61 | 1395.60 |
| EWT | −21.33 | 279.47 | 1382.76 |
| Transformer | −9.74 | 35.92 | 295.57 |
| PSO-VMD | −13.94 | 39.83 | 395.55 |
| PSO-VMD-filter | −10.28 | 34.51 | 323.56 |
| Transformer–PSO-VMD-filter | −5.68 | 31.92 | 192.37 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Li, S.; Tian, Y.; Xie, C. Improved Variational Mode Decomposition for Magnetotelluric Data Denoising Combined with Transformer Neural Network. Appl. Sci. 2026, 16, 8931. https://doi.org/10.3390/app16188931
Li S, Tian Y, Xie C. Improved Variational Mode Decomposition for Magnetotelluric Data Denoising Combined with Transformer Neural Network. Applied Sciences. 2026; 16(18):8931. https://doi.org/10.3390/app16188931
Chicago/Turabian StyleLi, Sijing, Yixing Tian, and Chengliang Xie. 2026. "Improved Variational Mode Decomposition for Magnetotelluric Data Denoising Combined with Transformer Neural Network" Applied Sciences 16, no. 18: 8931. https://doi.org/10.3390/app16188931
APA StyleLi, S., Tian, Y., & Xie, C. (2026). Improved Variational Mode Decomposition for Magnetotelluric Data Denoising Combined with Transformer Neural Network. Applied Sciences, 16(18), 8931. https://doi.org/10.3390/app16188931

