On the universality of spectroscopic constants of diatomic molecules
Abstract
We show, through a machine learning approach, that the equilibrium distance, harmonic vibrational frequency, and binding energy of diatomic molecules are universally related. In particular, the relationships between spectroscopic constants are valid independently of the molecular bond. However, they depend strongly on the group and period of the constituent atoms. As a result, we show that by employing the group and period of atoms within a molecule, the spectroscopic constants are predicted with an accuracy of . Finally, the same universal relationships are satisfied when spectroscopic constants from ab initio and density functional theory (DFT) electronic structure methods are employed.
Early in the history of molecular spectroscopy, when it became a discipline within chemical physics in the 1920’s Herzberg (1985), some intriguing empirical relationships between different spectroscopic properties were observed Kratzer (1920); Mecke (1925); Morse (1929). In particular, it was found that the equilibrium distance, , and the harmonic vibration frequency, , were correlated in diatomic molecules. As the field evolved, the relationship between and became more evident, and more empirical relations between spectroscopic constants were identified Clark (1934); Badger (1933); Clark (1935); Clark and Stoves (1934); Gordy (1946); Guggenheimer (1946); Clark (1941); Clark and Webb (1941). However, these empirical relationships were typically only valid for certain atomic numbers or groups of the constituent atoms. This result motivated the development of realistic diatomic molecular potentials Morse (1929); Linnett (1940); Newing (1940); Linnett (1942); Varshni (1957, 1958) and triggered the physical chemistry community to think about the “periodicity” of diatomic molecules Hefferlin (1989).
The development of quantum chemistry assisted in the understanding of the physics behind the empirical relationships between spectroscopic constants. In particular, thanks to the application of the Hellmann-Feynman theorem, it was possible to connect directly with the electronic density at Salem (1963); Kim and Parr (1964); Borkman and Parr (1968); King (1968). As a result, a first principles-based explanation of the observed empirical relations between spectroscopic constants appeared Borkman et al. (1969); Politzer (1970); Anderson et al. (1969); Anderson and Parr (1970, 1971a); Simons and Parr (1971); And (1972); Gazquez and Parr (1979). Nevertheless, the obtained relations based on the electronic density were only valid for subsets of molecules, and to date it has not been possible to find universal relations between atomic identifiers and for spectroscopic constants of diatomic molecules.

In this letter, we show that the relationship between spectroscopic constants of diatomic molecules is independent of the kind of molecules at hand and hence universal. Our findings rely upon the application of state-of-the-art non-linear machine-learning (ML) models to an orthodox dataset of spectroscopic constants for diatomic molecules. In particular, we apply the Gaussian process (GP) regression model Williams and Rasmussen (2006) to predict , , and the binding energy, , as a function of the groups and periods of the constituent atoms. As a result, it is possible to predict those spectroscopic constants with an accuracy of . Finally, we show that the spectroscopic constants coming from high-level electronic structure methods (density functional theory (DFT) and ab initio) display the same relationships as the experimental data employed.
The quest for universal relationships between spectroscopic constants is related to the problem of how atomic and molecular properties describe a spectroscopic property of a molecule, . Here, , consists of different atomic properties of the constituent atoms or molecular properties, as presented in Fig. 1, where denotes the number of input features relevant for the problem at hand. Unlike traditional (non-)linear regression models, which assume a fixed form of function , GP embraces a Bayesian perspective and presumes a prior distribution over the space of functions with a joint multivariate-Gaussian distribution, centered at and characterized by the covariance function , which specifies the correlation (or “similarity”) between data points Williams and Rasmussen (2006).
In this work, the spectroscopic properties are modeled as
(1) |
where the basis functions, , project to a new (higher dimensional) feature space with coefficients , and includes the noise in the observations MATLAB (2019). The training set with observations, constrains the available distribution of functions based on Bayes theorem, and the mean of the posterior distribution is used for prediction. The functional forms of and can be selected according to the cross-validation performance of the models SI .

The employed dataset contains the main spectroscopic constants: , , and for the ground electronic state of heteronuclear diatomic molecules. In particular, it contains the experimental values of , for 256 heteronuclear diatomic molecules taken from Refs. Liu et al. ; Huber and Herzberg (1979); Smirnov (2008), whereas the experimentally determined values of are only available for 197 of them. Fig. 2 shows the distribution of equilibrium distance of the molecules in the dataset and its ratio to the sum of the atomic radii of the constituent atoms, . Most of the molecules show an equilibrium distance between 1.4 Å and 3.8 Å, with a most probable value of 1.7 Å. Looking at the values of , it is clear that the molecules within the dataset have different bonds: covalent, van der Waals and ionic. In particular, the present dataset contains a majority of covalent and ionic molecules and only a handful of van der Waals molecules, as shown in Fig. 2.

Fueled by the idea of the periodicity of the molecules (see, e.g., Ref. Hefferlin (1989) and references in it), we use groups, , and periods, , of the atoms within a molecule, i.e., , as input features for a GP regression model to predict different combinations of spectroscopic constants, in particular, , and , where stands for the atomic number of the -th atom of the molecule. The last combination of spectroscopic constants was first proposed by Anderson, Parr, and coworkers, by means of the Born-Oppenheimer approximation and assuming that the electron density of an atom within a molecule decays exponentially at the equilibrium distance Anderson and Parr (1971a); Anderson and Parr (1971b); And (1972); Gazquez and Parr (1979). In the GP regression model, as customary in ML, the dataset is divided into training and test sets. However, the present dataset is rather small from a ML perspective. When the dataset is split into training and test sets, the training set may not be representative. This may lead to a bias in the performance of the test set. To solve this problem, we have employed a Monte Carlo (MC) approach, in which the dataset is stratified into strata based on the level of the true values of the labels (, , and in the present work). In each MC step, the training and test data are randomly selected in each stratum. The stratification helps to minimize the change of the proportions of the dataset compositions upon splitting Raschka (2018). Additionally, in training the GP regression models, the training sets are further split to perform stratified 5-fold cross-validation for hyperparameter optimization to avoid overly optimistic estimates of the model performance.
The performance of a GP regression model may be quantified by the root mean square error (RMSE) as , where are the true labels (experimental values) and are the predictions, and the normalized error defined as the ratio of the RMSE to the range of the data .
The GP regression model predictions of as a function of input features in comparison with its true values are displayed in panel (a) of Fig. 3, which shows little dispersion of the predicted values with respect to the true values. To further quantify the GP regression model performance we calculate the average RMSE of the predicted on 1000 randomly selected test sets leading to Å(Table 1), and = . The model performance increases as the number of molecules in the training set grows. It is not yet converged for , suggesting that the GP regression model can be further improved by learning from more data in the training set SI .
.
Property | Feature | Test RMSE | Test () |
---|---|---|---|
(Å) | (, , , ) | ||
(cm-1) | (, , , , ) | ||
(, , , , ) | |||
(, , , , ) | |||
(, , , , ) | |||
(, , ) | |||
(, , ) |
-
a
is the predicted value from (, , , ).
Panel (b) of Fig. 3 shows the comparison between the predicted and its true value. are used as input features where is the predicted equilibrium distance from . The accuracy of GP regression model for is characterized by RMSE = cm-1 and . Thus, the GP regression model accurately predicts , nevertheless for some molecules the prediction is not as good as expected. The overall performance of the GP regression model (Table 1), is improved by utilizing as input features, where encodes the information about the hydrogen isotopes of the -th atom in the molecule. Thus, the different isotopologues in the dataset are adequately addressed by input features as explained in the Supplemental Material SI . Further improvement is possible by using the true value of the equilibrium distance, leading to a more precise prediction of , as displayed in Table 1. Despite the improvement on the description of the outliers shown in panel (b) of Fig. 3 remain, as the ones in panel (c). Indeed, we have identified the majority of these outliers as bi-alkali molecules, for a detailed description see Supplemental Material SI .
The GP regression model prediction of vs. its true value is shown in panel (c) of Fig. 3, which shows an outstanding performance. The performance is further supported by an RMSE = and an equal to , as shown in Table 1. In this case, the GP is fed with as input features, where and . It is worth mentioning that the accuracy of the GP regression model regression is a factor of 2 better than using standard regression techniques, as shown in the Supplemental Material SI . The learning curve is converged for , which suggests that accurate predictions can be made by the models learned from a minimal training set. As a result, with only two atomic properties as input features it is possible to predict the value of with an accuracy better than . The use of the true value for the equilibrium distance reduced the RMSE, as expected, by , as shown in Table 1.
From the GP regression models for the three combinations of spectroscopic constants shown in Fig. 3, shows the largest error bars regarding the MC sampling technique. This behavior is due to the large variation of the values of in every iteration. Indeed, by looking at the distribution of shown in the inset of panel (b) and the distribution of in Fig. 2, it is clear that shows a broad distribution with a multi-modal character. Surprisingly enough, seems to be a trend for most of the diatomic molecules, and extensible to any excited state Mecke (1925); Borkman and Parr (1968). However, we do not observe this, as the box plot underneath the inset in panel (b) emphasizes. Indeed, the variation of may be related to different underlying 2-body potentials for the diatomic molecules considered. Hence, it is another way to show the different bond mechanisms of the molecules within the dataset.
As shown above, the GP regression model for the spectroscopic constants shows a clear universal trend between them. However, the dataset only contains experimentally determined values for spectroscopic constants. Thus, the question arises: do the computationally derived spectroscopic constants lead to the same universal relationships? To answer this question, we have conducted high-level electronic structure calculations using the Molpro package Werner et al. (2019); W. et al. (2012) with the aug-cc-pV5Z basis set Pritchard et al. (2019) to calculate the ground state electronic potential energy curve of molecules in the dataset. The calculations are performed via coupled-cluster with single, double, and perturbative triple excitations CCSD(T) Raghavachari et al. (1989); Bartlett et al. (1990) and with the B3LYP Stephens et al. (1994) functional as DFT method. From the potential energy curves, we estimate , and whose distributions in comparison with the experimental values in the data set are shown in Fig. 4. As a result, the distributions of and from B3LYP and CCSD(T) show the same features as the experimental one. Therefore, the universal relations for the present dataset are equally fulfilled for high-level electronic structure methods, as it is further elaborated in Supplemental Material SI .

In summary, we have shown, using the GP regression model, that the main spectroscopic constants of diatomic molecules are universally related. This result confirms the scenario that Kratzer and Mecke envisioned a century ago Mecke (1925); Kratzer (1920). The relationships are independent of the nature of the chemical bond of the diatomic molecule. In particular, we have demonstrated that merely using the group and period of the atoms within a molecule as input features it is possible to predict particular combinations of spectroscopic constants with an error . In other words, the spectroscopic constants of diatomic molecules can be efficiently learned from an appropriate dataset by a GP regression model, and their values accurately predicted without carrying out quantum chemistry calculations. Besides, the high-level electronic structure calculations (ab initio and DFT) for the spectroscopic constants show the same distribution as the experimental ones. We conclude that the computationally-derived spectroscopic constants follow the same universal trends as the experimental ones, which are employed in our GP regression model. From our perspective, having reasonable estimates of the main spectroscopic constants will help to optimize the experimental efforts in performing spectroscopy of diatomic molecules. In the same vein, the present work may motivate data science-driven studies on the field of spectroscopy of diatomic molecules. In particular, it will help to evolve the field of spectroscopy towards the current information era.
Finally, we would like to emphasize that there are around heteronuclear molecules, and we only utilize of these for our GP regression model. The limited availability of spectroscopic data (only around of possible heteronuclear diatomic molecules) shows the vast amount of spectroscopy that can be done within the realm of diatomic molecules. The more data we have, the more accurate will be the GP regression model predictions before reaching convergence of the learning curve, and more knowledgeable the community will be about the fundamental properties of diatomic molecules.
We thank Dr. Matthias Rupp for his comments and suggestions and Drs. Daniel Thomas and Uwe Hergenhahn for carefully reading the manuscript.
References
- Herzberg (1985) G. Herzberg, Annu. Rev. Phys. Chem. 36, 1 (1985).
- Kratzer (1920) A. Kratzer, Z. Phys. 3, 289 (1920).
- Mecke (1925) R. Mecke, Z. Phys. 32, 823 (1925).
- Morse (1929) P. M. Morse, Phys. Rev. 34, 57 (1929).
- Clark (1934) C. D. Clark, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science 18, 459 (1934).
- Badger (1933) R. M. Badger, Journal of Chemical Physics 2, 128 (1933).
- Clark (1935) C. D. Clark, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science 19, 476 (1935).
- Clark and Stoves (1934) C. D. Clark and J. L. Stoves, Nature 133, 873 (1934).
- Gordy (1946) W. Gordy, The Journal of Chemical Physics 14, 305 (1946).
- Guggenheimer (1946) K. M. Guggenheimer, Proceedings of the Physical Society 58, 456 (1946).
- Clark (1941) C. H. D. Clark, Trans. Faraday Soc. 37, 299 (1941).
- Clark and Webb (1941) C. H. D. Clark and K. R. Webb, Trans. Faraday Soc. 37, 293 (1941).
- Linnett (1940) J. W. Linnett, Trans. Faraday Soc. 36, 1123 (1940).
- Newing (1940) R. Newing, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science 29, 298 (1940).
- Linnett (1942) J. W. Linnett, Trans. Faraday Soc. 38, 1 (1942).
- Varshni (1957) Y. P. Varshni, Rev. Mod. Phys. 29, 664 (1957).
- Varshni (1958) Y. P. Varshni, J. Chem. Phys. 28, 1081 (1958).
- Hefferlin (1989) R. Hefferlin, Periodic systems and their relation to the systematic analysis of molecular data (The Edwin Mellen Press, Queenston, Canada, 1989).
- Salem (1963) L. Salem, The Journal of Chemical Physics 38, 1227 (1963).
- Kim and Parr (1964) H. J. Kim and R. G. Parr, The Journal of Chemical Physics 41, 2892 (1964).
- Borkman and Parr (1968) R. F. Borkman and R. G. Parr, The Journal of Chemical Physics 48, 1116 (1968).
- King (1968) W. T. King, The Journal of Chemical Physics 49, 2866 (1968).
- Borkman et al. (1969) R. F. Borkman, G. Simons, and R. G. Parr, The Journal of Chemical Physics 50, 58 (1969).
- Politzer (1970) P. Politzer, The Journal of Chemical Physics 52, 2157 (1970).
- Anderson et al. (1969) A. B. Anderson, N. C. Handy, and R. G. Parr, The Journal of Chemical Physics 50, 3634 (1969).
- Anderson and Parr (1970) A. B. Anderson and R. G. Parr, The Journal of Chemical Physics 53, 3375 (1970).
- Anderson and Parr (1971a) A. B. Anderson and R. G. Parr, The Journal of Chemical Physics 55, 5490 (1971a).
- Simons and Parr (1971) G. Simons and R. G. Parr, The Journal of Chemical Physics 55, 4197 (1971).
- And (1972) Journal of Molecular Spectroscopy 44, 411 (1972).
- Gazquez and Parr (1979) J. Gazquez and R. G. Parr, Chemical Physics Letters 66, 419 (1979).
- Williams and Rasmussen (2006) C. K. Williams and C. E. Rasmussen, Gaussian processes for machine learning, vol. 2 (MIT press Cambridge, MA, 2006).
- MATLAB (2019) MATLAB, 9.7.0 (R2019b) (The MathWorks Inc., Natick, Massachusetts, 2019).
- (33) See supplemental material at [url will be inserted by publisher].
- Slater (1964) J. C. Slater, The Journal of Chemical Physics 41, 3199 (1964).
- (35) X. Liu, S. Truppe, G. Meijer, and J. Pérez-Ríos, The Diatomic Molecular Spectroscopy Database, https://rios.mp.fhi.mpg.de/index.php, accessed February 1, 2020.
- Huber and Herzberg (1979) K. P. Huber and G. Herzberg, Molecular Spectra and Molecular Structure (Springer-Verlag, Berlin, Germany, 1979).
- Smirnov (2008) B. M. Smirnov, Reference Data on Atomic Physics and Atomic Processes (Springer-Verlag, Berlin, Germany, 2008).
- Anderson and Parr (1971b) A. Anderson and R. Parr, Chemical Physics Letters 10, 293 (1971b).
- Raschka (2018) S. Raschka, arXiv preprint arXiv:1811.12808 (2018).
- Werner et al. (2019) H.-J. Werner, P. J. Knowles, G. Knizia, F. R. Manby, M. Schütz, et al., Molpro, version 2019.2, a package of ab initio programs (2019), see https://www.molpro.net.
- W. et al. (2012) H.-J. W., P. J. Knowles, G. Knizia, F. R. Manby, and M. Schütz, Wiley Interdisciplinary Reviews: Computational Molecular Science 2, 242 (2012).
- Pritchard et al. (2019) B. P. Pritchard, D. Altarawy, B. Didier, T. D. Gibson, and T. L. Windus, Journal of chemical information and modeling 59, 4814 (2019).
- Raghavachari et al. (1989) K. Raghavachari, G. W. Trucks, J. A. Pople, and M. Head-Gordon, Chemical Physics Letters 157, 479 (1989).
- Bartlett et al. (1990) R. J. Bartlett, J. Watts, S. Kucharski, and J. Noga, Chemical physics letters 165, 513 (1990).
- Stephens et al. (1994) P. J. Stephens, F. Devlin, C. Chabalowski, and M. J. Frisch, The Journal of physical chemistry 98, 11623 (1994).