- Open Access
Macro-Dipole-Constrained Learning of Atomic Charges for Accurate Electrostatic Potentials at Electrochemical Interfaces
Phys. Rev. Lett. 136, 118001 – Published 16 March, 2026
DOI: https://doi.org/10.1103/5hh2-wypm
Abstract
Large thermal fluctuations of the liquid phase obscure the weak macroscopic electric field that drives electrochemical reactions, rendering the extraction of reliable interfacial charge distributions from ab initio molecular dynamics extremely challenging. We introduce SMILE (Scalar Macro-dipole Integrated LEarning) charge partition, a macro-dipole-constrained scheme that infers atomic charges using only the instantaneous atomic coordinates and the total dipole moment of the simulation cell—quantities routinely available from standard density functional theory calculations. SMILE preserves both the global electrostatic field and the local potential without invoking any explicit charge-partitioning scheme. Benchmarks on three representative electrochemical interfaces—nanoconfined water, dissolution in water, and a kinked Mg vicinal surface under anodic bias—show that SMILE eliminates the qualitative errors observed for unconstrained charge decompositions. The method is computationally inexpensive and data-efficient, opening the door to charge-aware machine-learning potentials capable of bias-controlled, nanosecond-scale simulations of realistic electrochemical systems.
Physics Subject Headings (PhySH)
Article Text
Supplemental Material
References (59)
- O. M. Magnussen and A. Groß, Toward an atomic-scale understanding of electrochemical interface structure and dynamics, J. Am. Chem. Soc. 141, 4777 (2019).
- G. Gonella, E. H. Backus, Y. Nagata, D. J. Bonthuis, P. Loche, A. Schlaich, R. R. Netz, A. Kühnle, I. T. McCrum, M. T. Koper et al., Water at charged interfaces, Nat. Rev. Chem. 5, 466 (2021).
- S. Ringe, N. G. Hörmann, H. Oberhofer, and K. Reuter, Implicit solvation methods for catalysis at electrified interfaces, Chem. Rev. 122, 10777 (2021).
- M. Todorova, S. Wippermann, and J. Neugebauer, First-principles approaches and concepts to simulate electrochemical interfaces, Nat. Rev. Chem. 10, 133 (2026).
- V. L. Deringer, M. A. Caro, and G. Csányi, Machine learning interatomic potentials as emerging tools for materials science, Adv. Mater. 31, 1902765 (2019).
- Y. Zuo, C. Chen, X. Li, Z. Deng, Y. Chen, J. Behler, G. Csányi, A. V. Shapeev, A. P. Thompson, M. A. Wood et al., Performance and cost assessment of machine learning interatomic potentials, J. Phys. Chem. A 124, 731 (2020).
- O. T. Unke, S. Chmiela, H. E. Sauceda, M. Gastegger, I. Poltavsky, K. T. Schutt, A. Tkatchenko, and K.-R. Muller, Machine learning force fields, Chem. Rev. 121, 10142 (2021).
- A. P. Bartók, M. C. Payne, R. Kondor, and G. Csányi, Gaussian approximation potentials: The accuracy of quantum mechanics, without the electrons, Phys. Rev. Lett. 104, 136403 (2010).
- J. Behler, Four generations of high-dimensional neural network potentials, Chem. Rev. 121, 10037 (2021).
- V. L. Deringer and G. Csányi, Machine learning based interatomic potential for amorphous carbon, Phys. Rev. B 95, 094203 (2017).
- I. S. Novikov, K. Gubaev, E. V. Podryabinkin, and A. V. Shapeev, The MLIP package: Moment tensor potentials with MPI and active learning, Mach. Learn. 2, 025002 (2020).
- R. Drautz, Atomic cluster expansion for accurate and transferable interatomic potentials, Phys. Rev. B 99, 014104 (2019).
- A. Bochkarev, Y. Lysogorskiy, S. Menon, M. Qamar, M. Mrovec, and R. Drautz, Efficient parametrization of the atomic cluster expansion, Phys. Rev. Mater. 6, 013804 (2022).
- S. Yue, M. C. Muniz, M. F. Calegari Andrade, L. Zhang, R. Car, and A. Z. Panagiotopoulos, When do short-range atomistic machine-learning models fall short?, J. Chem. Phys. 154, 034111 (2021).
- A. Grisafi and M. Ceriotti, Incorporating long-range physics in atomic-scale machine learning, J. Chem. Phys. 151, 204105 (2019).
- O. T. Unke and M. Meuwly, Physnet: A neural network for predicting energies, forces, dipole moments, and partial charges, J. Chem. Theory Comput. 15, 3678 (2019).
- T. W. Ko, J. A. Finkler, S. Goedecker, and J. Behler, A fourth-generation high-dimensional neural network potential with accurate electrostatics including non-local charge transfer, Nat. Commun. 12, 398 (2021).
- L. Zhang, H. Wang, M. C. Muniz, A. Z. Panagiotopoulos, R. Car et al., A deep potential model with long-range electrostatic interactions, J. Chem. Phys. 156, 124107 (2022).
- M. Rinaldi, A. Bochkarev, Y. Lysogorskiy, and R. Drautz, Charge-constrained atomic cluster expansion, Phys. Rev. Mater. 9, 033802 (2025).
- S. Falletta, A. Cepellotti, A. Johansson, C. W. Tan, M. L. Descoteaux, A. Musaelian, C. J. Owen, and B. Kozinsky, Unified differentiable learning of electric response, Nat. Commun. 16, 4031 (2025).
- K. Joll, P. Schienbein, K. M. Rosso, and J. Blumberger, Machine learning the electric field response of condensed phase systems using perturbed neural network potentials, Nat. Commun. 15, 8192 (2024).
- F. L. Hirshfeld, Bonded-atom fragments for describing molecular charge densities, Theor. Chim. Acta 44, 129 (1977).
- Y. Shaidu, F. Pellegrini, E. Küçükbenli, R. Lot, and S. de Gironcoli, Incorporating long-range electrostatics in neural network potentials via variational charge equilibration from shortsighted ingredients, npj Comput. Mater. 10, 47 (2024).
- E. Kocer, A. Singraber, J. A. Finkler, P. Misof, T. W. Ko, C. Dellago, and J. Behler, Iterative charge equilibration for fourth-generation high-dimensional neural network potentials, J. Chem. Phys. 162, 124106 (2025).
- N. Marzari and D. Vanderbilt, Maximally localized generalized Wannier functions for composite energy bands, Phys. Rev. B 56, 12847 (1997).
- N. Marzari, A. A. Mostofi, J. R. Yates, I. Souza, and D. Vanderbilt, Maximally localized Wannier functions: Theory and applications, Rev. Mod. Phys. 84, 1419 (2012).
- A. Gao and R. C. Remsing, Self-consistent determination of long-range electrostatics in neural network potentials, Nat. Commun. 13, 1572 (2022).
- C. Zhang, M. F. Calegari Andrade, Z. K. Goldsmith, A. S. Raman, Y. Li, P. M. Piaggi, X. Wu, R. Car, and A. Selloni, Molecular-scale insights into the electrical double layer at oxide-electrolyte interfaces, Nat. Commun. 15, 10270 (2024).
- J.-X. Zhu and J. Cheng, Machine learning potential for electrochemical interfaces with hybrid representation of dielectric response, Phys. Rev. Lett. 135, 018003 (2025).
- L. Zhang, M. Chen, X. Wu, H. Wang, W. E, and R. Car, Deep neural network for the dielectric response of insulators, Phys. Rev. B 102, 041121 (2020).
- A. Krishnamoorthy, K.-i. Nomura, N. Baradwaj, K. Shimamura, P. Rajak, A. Mishra, S. Fukushima, F. Shimojo, R. Kalia, A. Nakano, and P. Vashishta, Dielectric constant of liquid water determined with neural network quantum molecular dynamics, Phys. Rev. Lett. 126, 216403 (2021).
- B. Han, C. M. Isborn, and L. Shi, Incorporating polarization and charge transfer into a point-charge model for water using machine learning, J. Phys. Chem. Lett. 14, 3869 (2023).
- Q. Liang and J. Yang, Polarizable water model with ab initio neural network dynamic charges and spontaneous charge transfer, J. Chem. Theory Comput. 21, 3360 (2025).
- S. Surendralal, M. Todorova, M. W. Finnis, and J. Neugebauer, First-principles approach to model electrochemical reactions: Understanding the fundamental mechanisms behind Mg corrosion, Phys. Rev. Lett. 120, 246801 (2018).
- F. Deißenbeck, C. Freysoldt, M. Todorova, J. Neugebauer, and S. Wippermann, Dielectric properties of nanoconfined water: A canonical thermopotentiostat approach, Phys. Rev. Lett. 126, 136803 (2021).
- J. Neugebauer and M. Scheffler, Adsorbate-substrate and adsorbate-adsorbate interactions of Na and K adlayers on Al(111), Phys. Rev. B 46, 16067 (1992).
- G. Kresse and J. Hafner, Ab initio molecular dynamics for liquid metals, Phys. Rev. B 47, 558 (1993).
- G. Kresse and J. Furthmüller, Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set, Phys. Rev. B 54, 11169 (1996).
- A. A. Mostofi, J. R. Yates, Y.-S. Lee, I. Souza, D. Vanderbilt, and N. Marzari, wannier90: A tool for obtaining maximally-localised wannier functions, Comput. Phys. Commun. 178, 685 (2008).
- R. F. Bader and C. F. Matta, Properties of atoms in crystals: Dielectric polarization, Int. J. Quantum Chem. 85, 592 (2001).
- G. Henkelman, A. Arnaldsson, and H. Jónsson, A fast and robust algorithm for Bader decomposition of charge density, Comput. Mater. Sci. 36, 354 (2006).
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/5hh2-wypm, for computational details, which includes Refs. [43–49].
- B. Hammer, L. B. Hansen, and J. K. Nørskov, Improved adsorption energetics within density-functional theory using revised Perdew-Burke-Ernzerhof functionals, Phys. Rev. B 59, 7413 (1999).
- L. Li, T. Eggert, K. Reuter, and N. G. Hörmann, Electron spillover into water layers: A quantum leap in understanding capacitance behavior, J. Am. Chem. Soc. 145, 22778–22784 (2025).
- Z. Wang, M. Chen, J. Wu, X. Ji, L. Zeng, J. Peng, J. Yan, A. A. Kornyshev, B. Mao, and G. Feng, Constant-potential modeling of electrical double layers accounting for electron spillover, Phys. Rev. Lett. 134, 046201 (2025).
- L. Himanen, M. O. J. Jäger, E. V. Morooka, F. Federici Canova, Y. S. Ranawat, D. Z. Gao, P. Rinke, and A. S. Foster, DScribe: Library of descriptors for machine learning in materials science, Comput. Phys. Commun. 247, 106949 (2020).
- J. Laakso, L. Himanen, H. Homm, E. V. Morooka, M. O. Jäger, M. Todorović, and P. Rinke, Updates to the Dscribe library: New descriptors and derivatives, J. Chem. Phys. 158, 234802 (2023).
- X. Gonze and C. Lee, Dynamical matrices, Born effective charges, dielectric permittivity tensors, and interatomic force constants from density-functional perturbation theory, Phys. Rev. B 55, 10355 (1997).
- A. Serva, L. Scalfi, B. Rotenberg, and M. Salanne, Effect of the metallicity on the capacitance of gold–aqueous sodium chloride interfaces, J. Chem. Phys. 155 (2021).
- R. Drautz, Atomic cluster expansion for accurate and transferable interatomic potentials, Phys. Rev. B 99, 014104 (2019).
- Y. Lysogorskiy, C. v. d. Oord, A. Bochkarev, S. Menon, M. Rinaldi, T. Hammerschmidt, M. Mrovec, A. Thompson, G. Csányi, C. Ortner, and R. Drautz, Performant implementation of the atomic cluster expansion (pace) and application to copper and silicon, npj Comput. Mater. 7, 97 (2021).
- Y. Lysogorskiy, A. Bochkarev, M. Mrovec, and R. Drautz, Active learning strategies for atomic cluster expansion models, Phys. Rev. Mater. 7, 043801 (2023).
- S. Surendralal, Development of an it ab initio computational potentiostat and its application to the study of Mg corrosion, Ph.D thesis, Ruhr-Universität Bochum, 2020, p. 71.
- W. Beetz, XXXIV. On the development of hydrogen from the anode, London, Edinburgh, Dublin Philos. Mag. J. Sci. 32, 269 (1866).
- G. L. Song and A. Atrens, Corrosion mechanisms of magnesium alloys, Adv. Eng. Mater. 1, 11 (1999).
- J. A. Yuwono, C. D. Taylor, G. S. Frankel, N. Birbilis, and S. Fajardo, Understanding the enhanced rates of hydrogen evolution on dissolving magnesium, Electrochem. Comm. 104, 106482 (2019).
- F. Deißenbeck, S. Surendralal, M. Todorova, S. Wippermann, and J. Neugebauer, Revealing the reaction pathway of anodic hydrogen evolution at magnesium surfaces in aqueous electrolytes, J. Am. Chem. Soc. 146, 30314 (2024).
- B. Li, N. M. Harrison, and A. P. Horsfield, Uncovering the electrochemical stability and corrosion reaction pathway of Mg (0001) surface: Insight from first-principles calculation, Corros. Sci. 241, 112524 (2024).
- J. Yang, AIMD simulations data, available on Edmond, 2026, 10.17617/3.FSA883.