Abstract
This work focuses on predicting and characterizing the electronic conductivity of spinel oxides, which are promising materials for energy storage devices and for the oxygen evolution and oxygen reduction reactions due to their attractive properties and abundance of transition metals that can act as active sites for catalysis. To this end, a new database was developed from first principles, including band structure and conductivity properties of spinel oxides, and machine learning algorithms were trained on this database to predict electronic conductivity and band gaps based solely on the compositions. The models developed in this study are scaled from the quantum level up to a continuum conductivity model. The relatively small database used in this study allowed for accurate predictions of band gap and conductivity. By altering the composition of spinel oxides, the model was able to predict high conductivity for spinels with high nickel content and to match experimental trends for manganese cobalt spinels. The ability to predict material properties is especially important in energy conversion devices such as batteries and supercapacitors where redox reactions take place.
Similar content being viewed by others
Introduction
The increasing demand for renewable energy has led to a significant focus on energy storage devices, such as batteries and supercapacitors. Improving the electrochemical efficiency of these devices is crucial to their development, and spinel materials are commonly used as both the anode and cathode of Li-ion-based storage devices1,2,3. The structural and compositional versatility of spinels allows for various engineering paths to improve device performance by altering the stoichiometry or elements of the spinel oxide to achieve higher or lower electrical conductivity4. Predicting these properties before experimentation is of great interest and can be achieved through simulations and machine learning algorithms.
Ternary metal oxides are particularly attractive due to their low cost, high theoretical specific capacitance, multiple oxidation states, and environmental friendliness5. Among them, ternary metal oxides of spinel structure are represented by the general formula AB2O4, where A and B are transition metals. The normal spinel has a cubic unit cell consisting of eight FCC cells made up of oxygen atoms, creating an array of octahedral and tetrahedral sites for cations. The divalent A metals occupy 1/8th of the tetrahedral sites, while trivalent B metals occupy 1/2 of the octahedral sites, resulting in eight tetrahedral and sixteen octahedral sites in a unit cell. Inverse spinels have the same structure, except for ions from the tetrahedral sites and half of the ions from the octahedral sites swapping places. The chemical formula can be expanded to (AyB1−y)[AxB2−x]O4, where A and B metals can occupy tetrahedral (Td) or octahedral sites [Oh], and 0 < y < 1 and 0 < x < 2. The complexity of this material type's composition and its impact on electrical properties has traditionally made it difficult to discover and optimize materials. However, data-driven approaches in material science offer new avenues for identifying promising compositions and accelerating the search for novel materials with desired electrical properties.
Data-driven methods are now widely employed in various technological fields, including computational materials science. Machine learning (ML) is a mathematical model that improves with data amount, and its uses include regression, classification, clustering, anomaly detection, and dimensionality reduction. Integrating ML with ab-initio approaches can significantly accelerate materials discovery and property calculations by predicting various materials’ properties based on their geometry and elements. For example, ML methods have been applied to predict various material properties from their geometries. For instance, the dielectric breakdown strength of perovskites was predicted with a ML model based on a phenomenological theory6. The calculations of Green functions for the electronic transport of 1D nanostructures were accelerated with ML approaches7. A ML algorithm reduced the computational cost of charge transport prediction in DNA molecules by an orders of magnitude8. A combination of different ML algorithms helped find a correlation between the structure and the electron transfer property of a nanoparticle9. Another recent example is the usage of ML algorithms to parameterize the tight-binding models of defect structures in novel materials10. These examples illustrate how ML can predict material properties from basic knowledge of the material, such as its geometry and elements, which can accelerate the discovery of new materials and heuristic models.
To address the challenge of exploring the vast array of spinel oxide compositions and their resulting conductivities, it is not feasible to synthesize or simulate all possible combinations. Instead, we suggest to generate a dataset of simulated materials to cover a representative portion of the total combinations. This dataset can then be used to train ML models that find the function linking composition to conductivity or band gap. Once trained, these models can predict the conductivity or band gap of all other compositions that were not calculated or synthesized. This approach can accelerate the discovery of new spinel materials for electrochemical electrodes.
Gathering data to provide input for machine learning projects is a crucial and often arduous initial stage. In recent years, substantial databases for materials science and chemistry have emerged, featuring a combination of experimental and computational results11,12,13,14. These comprehensive datasets are now available for users to explore and apply for data science purposes. Despite the availability of numerous databases, we were unable to locate a suitable option that met our requirements—namely, samples of various spinel oxides, not limited to their typical structures, and their corresponding conductivity values. As a result, we opted to construct our own database by conducting DFT calculations to determine electronic structures, and electronic current simulations utilizing non-equilibrium Green’s function (NEGF) and Landauer methodologies.
In this paper, we present a novel scheme for making conductivity predictions in spinel oxide materials and demonstrate its effectiveness through its application to a range of spinel oxide systems. To this end, we are unaware of any work with electrical conductivity calculations which covers a diverse range of spinel oxides in a systematic way as achieved in this study. The scheme takes advantage of various methods, we first used density functional theory (DFT) to build a dataset of these materials and calculated their band structures. We fitted the band structures to tight-binding Hamiltonians and used these Hamiltonians as an input to current calculations following Landauer–Büttiker formalism. By this, we achieved a dataset of 190 different ternary spinel oxides and their associated current flow under 1 V bias. The various calculated spinel oxides in this dataset contain Fe, Mn, Co, and Ni as their A, and B transition metals at different stoichiometries. This dataset is then used to train ML models to predict the current of out-of-set samples based on the composition of the sample. In addition, more ML models were trained to predict the current based on the bandwidths of the bands of the material and by this saving the time of doing current calculations. Furthermore, a model to predict the band gap of the material based on its composition was trained as well.
Results and discussion
In the first section of the results, we analyze the database of spinel oxides that was used to train the prediction models. The database is based on the DFT, tight-binding band fitting, and NEGF calculations. After that, we present the results of three different types of predictors: composition → current, bandwidth → current, and composition → band-gap.
Building the dataset and database properties
The project of prediction models began by creating a database of spinel oxides. This was achieved by performing DFT calculations on different compositions of spinel oxides. Once the relaxed geometries of these compositions were determined, then their band structures along high-symmetry k-points were computed. The band structures were then fitted to tight-binding Hamiltonians with the procedure described in the methods section. The current at 1 V bias for each composition was then calculated using NEGF and Landauer formalism.
The database contains calculations for 190 different ternary spinel oxides. Each with different x, y, A, B of the formula AyBy−8A16−xBxO32. All six combinations of Fe, Ni, Mn, and Co as the A, B elements were considered. The magnetic moments of each ion were evaluated to find anomalies or inconsistencies. When such anomalies were detected we re-run the DFT optimization with a new initial magnetic moment in order to get a reasonable value of the converged magnetic moment (magnetic moments results can be found in the supplementary information, Figure S10-S15).
After geometric relaxation was done, the band structure of each composition was calculated with DFT. From these bands, we first explore the band gap property. Figure 1 shows the number of zero and non-zero band gaps. We constructed a histogram to analyze the dataset, as shown in Fig. 1 (left). The histogram displays the number of non-metal/semiconductor compounds and half-metallic compounds. A half-metal is a solid that has a band gap for one spin direction and no band gap for the other spin. Our analysis revealed that 73 compositions exhibited half-metallic behavior, while 117 behaved as semiconductors with a band gap for both spin directions. Additionally, the band gap of the semiconductor materials was defined as the lowest energy gap among the gaps produced by spin up and down. Figure 1 (right) illustrates the distribution of different band gap values, with a minimum of 0.083 eV and a maximum of 1.59 eV. These results were utilized to train a model that predicts the band gap of a spinel based on its stoichiometry, as detailed later in the results.
In the following step, we applied the method outlined in the methods section to fit all band structures to a tight-binding Hamiltonians in order to perform efficient NEGF calculations. To assess the accuracy of the tight-binding Hamiltonians, we compared the band structure generated by the Hamiltonians to the DFT band structure. We calculated the absolute difference between the eigenvalues of the TB and DFT and took the mean value as the error (mean absolute error, MAE). Figure S1 displays histograms of the MAE for spin-up and spin-down band structures. We found that the majority of TB Hamiltonians produced MAE of 0.02 eV or less, with spin-down band structures being slightly more accurate. This is likely because the minority spins in spinels produce narrow bands on average, which are easier fitted to a tight-binding Hamiltonian compared to wider bands. The variance of the MAE for each sample was approximately 0.02 eV or less, except for only two cases where it reached 0.06 eV that had wide bands and were difficult to fit so they are excluded from the figure. These results demonstrate that the TB Hamiltonians provide an excellent fit to the DFT band structures, enabling the accurate calculation of conductivity properties.
We calculated the current under a bias of 1 V using NEGF with the TB Hamiltonians of each sample. The obtained current values were utilized for training machine learning (ML) models for current prediction. The distribution of these current values is depicted in Figure S2. The mean value of all current results is 149.7 μA, and the standard deviation is 108.5 μA, with a maximum value of 755.4 μA and a minimum value of 28.9 μA.
The results for all CozMn3−zO4 compositions in the database are illustrated in Fig. 2 In the top left plot, we can see an outlier that produces a current of 755.4 μA, which corresponds to the CoMn2O4 (Co8Mn0Co0Mn16O32) composition. Analysis of the band structure of this composition reveals very wide bands for the spin-up part. The MAE of TB fitting for these bands was 0.035eV, the largest in this dataset, as shown by the single bar on the left histogram in Figure S1.
Examining the bottom left plot in Fig. 2, we see the current of the lowest energy structure at each z value. These samples are the most stable compositions and are more likely to be found in the lab. The plot has a triangular shape with a peak at z = 1.25–1.5, which is consistent with the experimental results on CozMn3−zO4 nanoparticles from the work of Bhargava et al.15 However, these calculations provide a higher limit to the experimental measurements due to additional conditions that may hamper conductivity, such as synthesis process (for example, temperature) and grain boundaries The main difference is that the experiment measurements were done on polycrystalline material and not a single crystal. However, the authors were able to separate the contributions of grain boundaries and intra-particle conductivities and measure the conductivity of a single grain. Therefore, the high concentration of grain boundaries in the experiment is not the reason for different conductivity magnitudes in the simulations and likely the varying synthesis pathways have a contribution.
An examination of the compositions containing nickel cations in the database reveals that a high concentration of Ni induces elevated levels of current. This phenomenon can be observed in Figs. S3–S5. In order to better understand this behavior, we analyzed the band structures, density of states, and transport functions of all datasets containing Ni. It was determined that, in compositions with high concentrations of Ni, the oxygen states are prevalent, as opposed to compositions without nickel where the states in proximity to the Fermi energy are dominated by other cation states. The prevalence of oxygen states is particularly notable in the occupation of p orbitals, which are less localized than the d orbitals of metal oxides and facilitate easier electron transfer between orbitals16. Additionally, it was observed that the bands in materials with high concentrations of Ni are wider, which is consistent with high transfer integrals and thus high conductivity (example results in Figs. S6-S8).
This aligns with some experimental data where materials with higher nickel content generally exhibit higher conductivity. It has been demonstrated that nickel doping increases the conductivity of α-Fe2O3, thus contributing to improved electron transfer ability and reduced charge carrier recombination17. There is also evidence that Fe–NiOOH are more conductive than FeOOH18. Although these materials have distinct structure from spinel oxide, the effect of Ni addition may be general where a similar behavior may be observed also for spinels. Indeed, a study on NixCo3−xO4, indicates a rise in electrical conductivity as the nickel content increases from x = 0 to x = 1, followed by a decline for x > 1 due to the creation of more phases19. Furthermore, another work on Nickel doped Cobalt spinel oxide thin films shows decrease in the band gap with increasing nickel content, implying higher electronic conductivity20.
Predicting current from composition
This section presents the performance of the models that were trained to predict the electrical current in spinel oxides based on their compositions, where all models were trained and tested on the dataset that was interduce above. We compare five machine learning algorithms: kernel ridge regression (KRR), support vector regression (SVR), random forests (RF), neural networks (NN), and ensemble of all algorithms. These algorithms are commonly used for supervised learning tasks as we are dealing here. 80% of data is training, 20% is testing. Five-fold cross-validation was used to determine the hyperparameters of the models. Performance is evaluated using MAE and R2 on the test set.
The input vectors for these models were defined as a vector of size eight, with the first four cells indicating the specie and composition of A atoms and the last four cells indicating the specie and composition of B atoms. The value in each of the first four cells represents the number of A atoms divided by eight (as there are eight tetrahedral sites), with each cell representing a different species in this order: Mn, Fe, Co, and Ni. This means that only one of the first four cells will have a non-zero value, indicating the specie of A atoms and their relative amount in the tetrahedral sites. The last four cells follow the same logic, but for B atoms, with their value being the number of B atoms divided by 16 (as there are 16 octahedral sites).
All four initial algorithms (KRR, SVR, RF, and NN) predicted the current of the test set samples with a mean absolute error of 35–37 μA and R-squared values between 0.69 and 0.79 (as shown in Fig. 3 and Fig. 4). Generally, all four models performed well and with similar accuracy, with the ensemble performing the best. The ensemble model, which takes the average output result of the other four algorithms, improves the mean absolute error to 30.98 μA and R-squared to 0.81 (as shown in Fig. 4). This can be explained by the fact that some of the models predict certain samples more accurately than others, and taking the average of the results compensates for errors in individual models. As a benchmark to evaluate the performance of our ML predictors, we used the scenario where the models predict the mean value of the dataset for all compositions, resulting in a predicted current of 149.7 μA for every input. In this case, the mean absolute error is 72.56 μA. As we will see in the next section, the predictions of the ML models are significantly more accurate than this baseline. Overall, A small dataset (190 samples) does not necessarily hinder the creation of an accurate predictive model, as long as the training set covers a majority of the relevant domain.
The high accuracy of the model is noteworthy, however, there is room for improvement. The similarity in accuracy between different models suggests that they are well-suited to the data and additional fine-tuning of the algorithms’ hyperparameters will not result in significant changes. The source of error may be attributed to inconsistencies in the target values (currents) in the dataset, which the models are unable to capture. As the NEGF and Landauer methods were applied consistently across all samples, it is unlikely that this is the cause. Instead, the inconsistencies may originate from the DFT calculations used to produce the band structures for current calculations. The DFT + U calculation scheme used in this study selected U values for transition metals based on previous works, however, there are multiple U values for each transition metal found in literature and these values are optimized for specific environments that can affect the value of U. As a result of choosing consistent U values for each transition metal across all compositions in the dataset, it is possible that the U value causes inconsistencies in the resultant band structures of some compositions. This assumption can be verified by performing band structure calculations using a hybrid functional that does not rely on empirical parameters, but due to the time-consuming nature of this task and the already high accuracy of the ML model, such calculations were not performed in this study.
Bandwidth model
Upon examination of the band structures, it is evident that samples with wider bands produce higher currents after the NEGF calculation (as shown in Fig. 5 top). Conversely, samples with narrower bands result in lower currents (as shown in Fig. 5 bottom). This is because wider bands imply a higher coupling between states, allowing electrons to flow with less resistance. Coupling between states is related to the transfer integral in tight-binding Hamiltonians, and as the transfer integral term is larger, the bandwidth is wider21,23,23. To leverage this physical property, we trained a neural network and XGboost (XG) algorithms that use the widths and minimum energy of the eight bands in the band structure to predict the current under 1 V bias for a given sample.
The dataset for this model consists of two band structures (one for each spin) from each of the 190 compositions that were calculated, resulting in a total of 380 samples of band structures. 20% of the dataset was held out for evaluating the model, while the remaining 80% was used for training the two models. The input vector was defined as [bw1, Emin1, bw2, Emin2, …, bw8, Emin8], where bwi is the bandwidth of band i and Emini is the minimum energy of band i. The bandwidth is the difference between the maximum energy and minimum energy in the band. The output to be predicted is the calculated current under 1 V bias. The hyperparameters for the XGboost and neural network models are listed in the SI.
The XGboost algorithm predicted the current generated by each electronic structure with an MAE of 19.74 µA, which is 56% more accurate than the results of the ensemble model in the previous predictor (as shown in Fig. 6 top). The R-squared value of 0.87 indicates a strong linear correlation between the predicted and actual values of the current. The performance of the neural network was slightly lower (as shown Fig. 6 bottom), but both models performed well overall. This model demonstrates the ability to predict the physical property of conductivity based on electronic structure inputs such as bandwidths. As a result, it would be possible to use this trained model to analyze large sets of band structures and determine their conductivities, thus saving time by avoiding the full Green's function procedure.
Band gap predictor
Predicting the band gap of materials has attracted significant interest due to the potential of selecting the appropriate materials for semiconductor device engineering24. In this part, we train a two-step model; first, it classifies whether the composition is a half-metal or a semiconductor (as shown in Fig. 7a). Then, if it is predicted to be a semiconductor, a regressor predicts the value of the band gap. If it predicted to be a metal, the process is done. The classifier is an XGboost algorithm that was trained and cross-validated on the training set and then tested on the test set. The regression model is also based on XGboost and was trained on a set of 93 out of the 117 semiconductors in the dataset, with the other 24 samples being used for testing. The optimized hyperparameters of the two models are summarized in SI.
The input vector for these models was defined as [A, B, y, x], representing the composition of each sample. Where A and B are the atomic numbers of the A and B atoms in the sample, and x and y are the stoichiometric numbers according to the spinel formula. The inputs were standardized by subtracting the mean value and scaling to unit variance. This is a common pre-processing step for many machine learning algorithms, as it helps in training the models and prevents one feature in the input vector from dominating others (i.e. atomic numbers are larger than the x, y values).
The performance of the classifier can be viewed in Fig. 7a and Table S1, where '0' represents a semiconductor and ‘1’ represents a half-metal material. The key metric here is the accuracy, which is 82% (correct predictions out of the total samples), indicating very good results for such a small dataset. The performance of the regressor is presented in Fig. 7c, where a good linear fit is observed between the true values and predicted values of the band gap, as well as a low mean absolute error (MAE). Therefore, this model can provide a reliable estimate of the band gap for spinel oxides in a matter of seconds, without the need for full DFT calculations.
Conclusions
The aim of this research was to investigate the conductivity properties of spinel oxide materials used in electrochemical applications. Models were developed aiming to predict electronic conductivity based only on their compositions, as electronic properties can be adjusted by changing stoichiometry and chemical composition. To achieve this, three methods were used: (1) DFT calculations to obtain the geometric and electronic structure of 190 different spinel oxides, (2) Quantum transport calculations including fitting of a tight-binding Hamiltonian to band structures, and (3) ML algorithms to predict conductivity and band gap.
According to the results spinel oxide compounds with Ni cations showed higher current values due to the domination of delocalized oxygen p states over transition metal d states. This behavior suggests the potential for more effective charge transport by adding nickel atoms. In terms of practical applications, these high conductivity materials could be highly beneficial for energy conversion devices. High conductivity implies lower resistive losses, which can improve the efficiency of energy conversion and transmission processes. Specifically, in devices such as fuel cells and batteries, materials with high electronic conductivity can enhance the device performance by facilitating faster electron transport, leading to higher power densities. However, it’s important to note that while our models predict high conductivity for these materials, further experimental validation would be necessary to confirm these predictions and to assess their feasibility for use in practical applications. Additionally, machine learning models were able to predict band gap and conductivity based solely on spinel composition with a relatively small database. A model leveraging bandwidth as a fingerprint was developed to predict current and can save time in NEGF calculations. Moreover, we believe that the findings concerning the utilization of bandwidths as a distinctive material fingerprint have paved the way for the creation of robust predictive models, enhancing material research.
Methods
In the following section, we will give details about the methodologies that make up our proposed workflow for predicting the conductivity and band gap of spinel oxide materials: DFT for band structure calculation, principal layer, Green’s functions, Landauer formalism for electric conductivity, and machine learning and band structure fitting to tight binding Hamiltonian.
DFT for band structure calculation
All DFT calculations were done using the Vienna ab-initio simulation package (VASP)25 with the Perdew–Burke–Ernzerhof (PBE) functional26. We align the spins in a ferrimagnetic arrangement with Néel collinear configuration, where the magnetic moment of tetrahedral cations is opposing that of octahedral cations. Following convergence tests, the calculations for the cubic cells utilized a 600 eV plane wave energy cut-off and a 3 × 3 × 3 k-point mesh, centered at the Г-point. The self-consistent electronic minimization employed a 0.1meV threshold and ionic relaxation had a force threshold of 0.01 eV/Å. The band structure was calculated using k-points along high symmetry lines, selected based on the implementation in the pymatgen27 library as described in ref28. The k-point file is available in the SI. The Hubbard U values applied to Mn, Co, Fe, Ni, and O atoms were 3.9, 3.5, 4.5, 5.5, and 0 eV, respectively, where all U values were used based on previous literature works29,30,31,32,33,34,35. The unit cell of all the spinels in the dataset consists of 56 atoms, 32 of which are oxygen, 16 of which are transition metal ions in tetrahedral sites and 8 transition metal ions in octahedral sites (Fig. 8). The dataset contains 190 different combinations of this cell as explained later in the results.
Principal layer, Green’s functions, and Landauer formalism for electric conductivity
For calculating the current, we followed the well-established approach of Landauer–Büttiker for quantum transport36,37. In this formalism, we postulate that there is a potential between two electron reservoirs that possess an equilibrium distribution and has dissimilar chemical potentials. These reservoirs act as sources and drains of electrons for the left and right electrodes, respectively. The device, which we intend to evaluate its current, constitutes the scattering region located between the electrodes. The variance in the electrochemical potentials of the reservoirs represents the applied bias on the scattering region. The Landauer–Büttiker is
where \(f\left(E-{\upmu }_{L}\right)\) and \(f\left(E-{\upmu }_{R}\right)\) are the Fermi–Dirac electron distributions with \({\upmu }_{L}\) and \({\upmu }_{R}\) the chemical potentials of the left and right electrodes, respectively. \(T\left(E\right)\) is the transmission function of an electron from left to right electrodes through the scattering region. In this setup the system is divided into principal layers that interact only with the nearest neighbors’ layer and each layer is described by a tight-binding Hamiltonian, \({H}_{i}\), where i is the layer number. Since each electrode is semi-infinite, this approach introduces an infinite problem. Fortunately, this problem is solved by using Green’s function. The scattering region which must interest us is a finite region that can be obtained by
where E is the energy of the system and \(\eta\) is a small number. \({{\varvec{S}}}_{{\varvec{S}}}\) is the overlap matrix of the scattering region The overlap matrix terms are defined as the overlap integral between associate vectors of the Hamiltonian basis. \({{\varvec{H}}}_{{\varvec{S}}}\) is a block matrix representing the scattering region, and the effect of the semi-infinite electrodes is contained through the finite self-energy matrices \({{\varvec{\Sigma}}}_{{\varvec{L}}\backslash {\varvec{R}}}\) of electrode left (L) and right (R) electrodes.
The transmission formula can be obtained from the Landauer–Büttiker formalism and quantum scattering theory36,37,38,39, and it is given by
where \({\Gamma }_{L\backslash R}\) is called the broadening matrix and it is given by the expression
A technique for deriving finite self-energy matrices is available in the literature40,41. This procedure results in the following terms for the left electrode’s self-energy.
where \({{\varvec{H}}}_{{{\varvec{L}}}^{\boldsymbol{^{\prime}}},{\varvec{L}}}\) is the coupling Hamiltonian between the scattering region and the left electrode. And \({{\varvec{g}}}_{{\varvec{L}}}\) is given by a recursive formula,
The initial guess is \({{\varvec{g}}}_{{\varvec{L}}}^{\left({\varvec{n}}\right)}={{\varvec{H}}}_{{{\varvec{L}}}^{\boldsymbol{^{\prime}}},{\varvec{L}}}\) and the iterative procedure continues until \({\left({{\varvec{g}}}_{{\varvec{L}}}^{\left({\varvec{n}}-1\right)}-{{\varvec{g}}}_{{\varvec{L}}}^{\left({\varvec{n}}\right)}\right)}_{ij}^{2}\le {\updelta }^{2}\), where \(\updelta\) is a small number in the order of 1 × 10−15, this convergence criterion is achieved within few iterations. A similar procedure is done for the right self-energy (for symmetric electrodes and bias \({{\varvec{g}}}_{{\varvec{L}}}={{\varvec{g}}}_{{\varvec{R}}})\). \({\boldsymbol{\Sigma }}_{{\varvec{L}}}\) takes the size of the scattering Hamiltonian and has a block element only in the top left of the left self-energy matrix and in the bottom right of the right self-energy,
Our system is divided into the so-called principal layers42,43,44 where each layer consists of four unit cells of spinel oxide as illustrated in Fig. 9. Using only four unit cells is sufficient to capture all the necessary information from the TB Hamiltonians that were adjusted to fit the DFT band structure. The layers are interconnected by a coupling Hamiltonian, effectively forming an endless wire. The Hamiltonian of a single layer of our system was defined as follows
where the elements in the Hamiltonian matrix are blocks of matrices. The blocks along the diagonal correspond to a tight-binding Hamiltonian (the tight-binding Hamiltonians defined in the next section) of each of the four unit cells within a single layer of spinel oxide. The block matrices along the off-diagonal represent the tight-binding Hamiltonian matrix elements that connect each unit cell with its neighboring cells within the same layer. The subscripts used for H indicate the spatial directions between a unit cell and its adjacent neighbors. The block matrix below defines the coupling between each layer and its neighboring layers,
To maintain a manageable size for the Hamiltonians and take advantage of the electrodes being made of the same material, we opted to use only two layers to represent our material in the scattering region. This approach essentially yields an infinite material through which the current can flow. The Hamiltonian for the scattering region is expressed as follows:
The size of the scattering Hamiltonian is composed of 2 × 2 blocks representing two layers and their connection, and each block is composed of 4 × 4 block matrices that include \({{\varvec{H}}}_{00},{{\varvec{H}}}_{100},{{\varvec{H}}}_{010},{{\varvec{H}}}_{001}\) , where these matrices have the size of 8 × 8 (since in this work we fitted to eight bands). Thus, in total the size of \({H}_{s}\) is 64 × 64.
Machine learning
The project emphasizes material property prediction and follows a workflow suited for such a task. The workflow includes the following steps: building a dataset by collecting and cleaning data and dividing it into a train and test set, selecting features, training the model by selecting an appropriate model, tuning hyperparameters, and optimizing it. The model's performance is evaluated on the test set and compared to other models, and finally, the model is used for making predictions.
To prepare for model training and testing, the dataset is first divided into two sets: a training set and a test set. The latter is used to evaluate the model's ability to predict properties on new data that it has not seen during training. It's a mistake to train and test on the same data since the model can overfit the training data and perform poorly on new data. A standard approach is to partition 80% of the dataset for training and reserve the remaining 20% for testing.
To set up a dataset for machine learning (ML) models, it should be divided into features and target variables. Features are independent variables grouped into a vector that serves as input for the ML model. Choosing informative and independent features is crucial for model performance. A single input vector represents a sample, and the order of features must remain consistent. The target variables are the properties to be predicted. For the materials in this project, A and B elements and stoichiometric numbers x and y from the formula AyBy−8A16−xBxO32 are the most representative features. Oxygen has a constant value and doesn't add information to the feature vector. The A and B atoms are represented by their atomic number values: Mn = 25, Fe = 26, Co = 27, and Ni = 28. Features normalization and scaling are important to ensure a proper functioning of some ML algorithms and to speed up gradient descent. In this project, we applied standardization using Scikit-learn module45, which involves removing the mean value and scaling to unit variance.
For the regression problems, which are predicting current from compositions, predicting current from bandwidth and prediction of bandgaps, we have chosen to utilize five different machine learning algorithms for comparison of their performance. For predicting current from composition these algorithms include kernel ridge regression (KRR), support vector regression (SVR), random forests (RF), neural networks (NN), and an ensemble model which takes the average result of all other four algorithms. For the prediction of current from bandwidth and for the bandgap prediction we used the XGboost algorithm46. These algorithms were chosen as they each have unique strengths in handling different types of data and relationships. Specifically, NN were chosen due to their ability to model complex, non-linear relationships, which is often the case in predicting material properties like electronic conductivity and band gaps; SVR was selected for its effectiveness in high-dimensional spaces, which is common in material science data. It also has strong theoretical foundations in statistical learning theory; KRR was chosen for its ability to handle non-linear relationships through the use of kernel functions. It also has the advantage of being less sensitive to outliers; RF was selected for its robustness and ease of use. It performs well with both linear and non-linear data.
ML models are functions defined by parameters. During training, the model optimizes the parameters to fit the data. Hyperparameters, like regularization values or architecture of a neural network, are tuned by the user. To avoid overfitting and ensure models perform well with new predictions, cross-validation procedures are used. The training set is split into k-folds, and the model is trained on k-1 folds and evaluated on the remaining fold (validation set) k times. The average performance is reported, and once hyperparameters are tuned, the model is trained on the whole training set and tested. In evaluating the model, selecting an appropriate metric is crucial. For this work, we have chosen the mean absolute error (MAE) as it provides a natural measurement of the accuracy of a model that predicts physical values such as current. Additionally, we have used R2 to measure the linearity between the predicted values of the models and the true values that were calculated.
Band structure fitting to tight binding Hamiltonian
Traditional tight-binding fitting schemes entail tuning numerous parameters that represent the atomic structure and do not always yield precise results47. A more common approach is utilizing “Wannier functions”, obtained by transforming extended Bloch functions from DFT calculations, which derive tight-binding parameters from ab-inito results without the need for fitting48,49. However, this method demands extensive system knowledge and a trial-and-error process due to the numerous parameters involved. Our objective is to rapidly and precisely compute the tight-binding Hamiltonian for approximately two hundred material samples.
Our approach follows the method proposed by Wang et al., where a parametrized tight-binding Hamiltonian is obtained by employing the back-propagation technique to fit the real-space tight-binding matrices to the DFT band structure50. Here we implemented the same approach but with pyTorch51 library instead of TensorFlow52 as done by the original authors. In TB theory the reciprocal space Hamiltonian for a desired K vector is,
where R is a lattice vector of selected real-space Hamiltonian matrices and \({H}^{R}\) is the corresponding TB Hamiltonian. H0 (R = (000)) is the real-space TB Hamiltonian matrix of the unit cell, \({H}^{R}\ne 0\) (R = (100), (010), (001), etc.) are the Hamiltonian matrices that couple the unit cell Hamiltonian to the adjacent unit cells in the direction of R vectors. The TB band structure is obtained from the eigenvalues \({{\varepsilon }^{TB}}_{n,k}\) for every desired k vector via,
where \({{\varepsilon }^{TB}}_{n,k}\) is the energy of the n-th band at reciprocal vector k. To fit the TB bands to the DFT bands, the mean squared error loss L between the TB and DFT eigenvalues is minimized,
The loss is computed for all bands and k-points, where N represents the total number of bands and Nk represents the number of sampled k-points. The TB Hamiltonian’s parameters (HR) are updated iteratively using the Adam gradient descent algorithm53. The back-propagation procedure is used to calculate the derivative of the loss with respect to HRs. The gradient descent algorithm seeks to minimize the loss by moving in the direction of the steepest descent, which is opposite to the direction of the gradient, according to the general formula,
The variable "l" represents either an epoch number (epoch defines the number of times the entire data set, in this case all the k points, has worked through the learning algorithm) or a single iteration over all k points. In this context, an epoch is considered complete after the loss function has accumulated all the eigenvalues in the band structure, which occurs after calculating all \({H}^{TB}(k)\) values. The derivative of the loss with respect to HR is given with matrix derivative algorithmic differentiation rules54.
The fitting process has a predefined numerical threshold (means squared error < \(3\cdot {10}^{-5} {\text{eV}}^{2}\), as defined in Eq. 13) for the loss function, which serves as a criterion to terminate the fitting. Additionally, we introduced another criterion that halts the fitting if the loss increases for more than ten epochs due to spikes or jumps in the loss function during training. If the loss was already low, we consider the results of the fitting process. However, if the loss was high, we re-run the process with slightly different initial random weights in the Hamiltonians.
To determine the R vectors for the fitting process, we conducted tests with various vectors, up to 24 in total. After experimentation, we concluded that the three main directions and their opposite directions were sufficient for achieving a highly accurate fitting of the bands. The size of the matrices used in the fitting process is defined by the number of bands being fitted. For instance, for eight bands, the matrix size is 8 × 8.
Data availability
The data generated or analyzed during this study are included in this published article (and its Supplementary Information files).
References
Ferg, E., Gummow, R. J., de Kock, A. & Thackeray, M. M. Spinel anodes for lithium-ion batteries. J. Electrochem. Soc. 141, L147–L150 (1994).
Liu, D. et al. Spinel materials for high-voltage cathodes in Li-ion batteries. RSC Adv. https://doi.org/10.1039/c3ra45706k (2014).
Patoux, S. et al. High voltage spinel oxides for Li-ion batteries: From the material research to the application. J. Power Sources 189, 344–352 (2009).
Rousset, A. et al. Electrical properties of Mn3−x CoxO4 (0 ≤ x ≤ 3) ceramics: An interesting system for negative temperature coefficient thermistors. Int. J. Appl. Ceram. Technol. 10, 175–185 (2013).
Wang, R. & Wu, J. 5 - Structure and basic properties of ternary metal oxides and their prospects for application in supercapacitors. In Metal Oxides, Metal Oxides in Supercapacitors 99-132, ISBN 9780128111697. https://doi.org/10.1016/B978-0-12-810464-4.00005-X (Elsevier, 2017)
Kim, C., Pilania, G. & Ramprasad, R. Machine learning assisted predictions of intrinsic dielectric breakdown strength of ABX3 perovskites. J. Phys. Chem. C https://doi.org/10.1021/acs.jpcc.6b05068 (2016).
Lopez-bezanilla, A. & Von Lilienfeld, O. A. Modeling electronic quantum transport with machine learning. Phys. Rev. 89, 235411 (2014).
Korol, R. & Segal, D. Machine learning prediction of DNA charge transport. J. Phys. Chem. B 123, 1–13 (2019).
Sun, B., Fernandez, M. & Barnard, A. S. Machine learning for silver nanoparticle electron transfer property prediction. J. Chem. Inf. Model. 57, 2413–2423 (2017).
Schattauer, C., Todorović, M., Ghosh, K., Rinke, P. & Libisch, F. Machine learning sparse tight-binding parameters for defects. NPJ Comput. Mater. 2022(8), 1–11 (2022).
Draxl, C. & Scheffler, M. NOMAD: The FAIR Concept for big-data-driven materials science. MRS Bull. 43, 676–682. https://doi.org/10.1557/mrs.2018.208 (2018).
Curtarolo, S. et al. AFLOW: An automatic framework for high-throughput materials discovery. Comput. Mater. Sci. 58, 218–226 (2012).
Jain, A. et al. Commentary: The materials project: A materials genome approach to accelerating materials innovation. APL Mater. 1, 011002 (2013).
Saal, J. E., Kirklin, S., Aykol, M., Meredig, B. & Wolverton, C. Materials design and discovery with high-throughput density functional theory: The open quantum materials database (OQMD). JOM 65, 1501–1509 (2013).
Bhargava, A. et al. Mn cations control electronic transport in spinel CoxMn3−xO4 nanoparticles. Chem. Mater. 31, 4228–4233 (2019).
Elbaz, Y., Rosenfeld, A., Anati, N. & Toroker, M. C. Electronic structure study of various transition metal oxide spinels reveals a possible design strategy for charge transport pathways. J. Electrochem. Soc. 169, 040542 (2022).
Guo, Y. et al. Ni-doped α-Fe2O3 as electron transporting material for planar heterojunction perovskite solar cells with improved efficiency, reduced hysteresis and ultraviolet stability. Nano Energy 38, 193–200 (2017).
Friebel, D. et al. Identification of highly active Fe sites in (Ni, Fe)OOH for electrocatalytic water splitting. J. Am. Chem. Soc. https://doi.org/10.1021/ja511559d (2015).
Guene, M., Diagne, A. A., Fall, M., Dieng, M. M. & Poillerat, G. Preparation of nickel–cobalt spinel oxides NixCO3-xO4.comparison of two physical properties stemming from four different preparation methods and using carbon paste electrode. Bull. Chem. Soc. Ethiop. 21, 255–262 (2007).
Lakehal, A. et al. Structural, optical and electrical properties of Ni-doped Co3O4 prepared via sol–gel technique. Mater. Res. 21, e20170545 (2018).
Ashcroft, N. W. & Mermin, N. D. Solid State Physics. ISBN : 0-03-049346-3 (Saunders College, Philadelphia (Pa.), 1976)
Kittel, C. Introduction to solid state physics. In Solid-State Physics (Fourth Extensively Updated and Enlarged Edition): An Introduction to Principles of Materials Science. https://doi.org/10.1007/978-3-540-93804-0 (2010).
Ali, O. M. Elementary Solid State Physics: Principles and Applications (Addison-Wesley, 1975).
Smith, A. M., Mohs, A. M. & Nie, S. Tuning the optical and electronic properties of colloidal nanocrystals by lattice strain. Nat. Nanotechnol. 4(1), 56–63 (2009).
Kresse, G. & Furthmüller, J. Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set. Phys. Rev. B 54, 11169–11186 (1996).
Anisimov, V. I., Zaanen, J. & Andersen, O. K. Band theory and Mott insulators: Hubbard U instead of Stoner I. Phys. Rev. B https://doi.org/10.1103/PhysRevB.44.943 (1991).
Ong, S. P. et al. Python materials genomics (pymatgen): A robust, open-source python library for materials analysis. Comput. Mater. Sci. https://doi.org/10.1016/j.commatsci.2012.10.028 (2013).
Setyawan, W. & Curtarolo, S. High-throughput electronic band structure calculations: Challenges and tools. Comput. Mater. Sci. 49, 299–312 (2010).
Kanan, D. K. & Carter, E. A. Band gap engineering of MnO via ZnO alloying: A potential new visible-light photocatalyst. J. Phys. Chem. C https://doi.org/10.1021/jp300590d (2012).
Lin, C. et al. Accelerated active phase transformation of NiO powered by Pt single atoms for enhanced oxygen evolution reaction. Chem. Sci. 9, 6803–6812 (2018).
Liu, H. & Di Valentin, C. Band gap in magnetite above Verwey temperature induced by symmetry breaking. J. Phys. Chem. C https://doi.org/10.1021/acs.jpcc.7b09387 (2017).
Huang, J. R. & Cheng, C. Cation and magnetic orders in MnFe2O4 from density functional calculations. J. Appl. Phys. https://doi.org/10.1063/1.4776771 (2013).
Santos-Carballal, D., Roldan, A., Grau-Crespo, R. & de Leeuw, N. H. A DFT study of the structures, stabilities and redox behaviour of the major surfaces of magnetite Fe3O4. Phys. Chem. Chem. Phys. https://doi.org/10.1039/c4cp00529e (2014).
Elfalaky, A. & Soliman, S. Theoretical investigation of MnFe2O4. J. Alloys Compd. https://doi.org/10.1016/j.jallcom.2013.05.197 (2013).
Zaki, N. H. M. et al. Understanding the electronic transition of normal spinel structure of Co3O4 using GGA+U calculations. Int. J. Eng. Technol. 7, 121–125 (2018).
Landauer, R. Spatial variation of currents and fields due to localized scatterers in metallic conduction. IBM J. Res. Dev. 1, 223–231 (2010).
Datta, S. Quantum Transport: Atom to Transistor. (Cambridge University Press, Cambridge, 2005).
Caroli, C., Combescot, R., Nozieres, P. & Saint-James, D. Direct calculation of the tunneling current. J. Phys. C Solid State Phys. 4, 916 (1971).
Peskin, U. An introduction to the formulation of steady-state transport through molecular junctions. J. Phys. B At. Mol. Opt. Phys. 43, 153001 (2010).
Velev, J. & Butler, W. On the equivalence of different techniques for evaluating the Green function for asemi-infinite system using a localized basis. J. Phys. Condens. Matter 16, R637 (2004).
Lopez Sancho, M. P., Lopez Sancho, J. M. & Rubio, J. Highly convergent schemes for the calculation of bulk and surface Green functions. J. Phys. F Met. Phys. 15, 851 (1985).
Lee, D. H. & Joannopoulos, J. D. Simple scheme for surface-band calculations. I. Phys. Rev. B 23, 4988 (1981).
Lee, D. H. & Joannopoulos, J. D. Simple scheme for surface-band calculations. II. The Green’s function. Phys. Rev. B 23, 4997 (1981).
Sørensen, H. H. B., Hansen, P. C., Petersen, D. E., Skelboe, S. & Stokbro, K. Krylov subspace method for evaluating the self-energy matrices in electron transport calculations. Phys. Rev. B - Condens. Matter Mater. Phys. 77, 155301 (2008).
Pedregosa, F. et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Chen, T. & Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the ACM SIGKDD International Conference Knowledge Discovery Data Mining. 13–17-August-2016, 785–794 (2016).
Stiles, M. Generalized Slater–Koster method for fitting band structures. Phys. Rev. B 55, 4168 (1997).
Marzari, N. & Vanderbilt, D. Maximally localized generalized Wannier functions for composite energy bands. Phys. Rev. B 56, 12847 (1997).
Souza, I., Marzari, N. & Vanderbilt, D. Maximally localized Wannier functions for entangled energy bands. Phys. Rev. B 65, 035109 (2001).
Wang, Z. et al. Machine learning method for tight-binding Hamiltonian parameterization from ab-initio band structure. NPJ Comput. Mater. 7(1), 1–10 (2021).
Paszke, A. et al. Automatic differentiation in PyTorch. (2017).
Abadi, M. et al. TensorFlow: A system for large-scale machine learning. In Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2016 (2016).
Kingma, D. P. & Ba, J. L. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations ICLR 2015—Conference Track Proceednings. https://doi.org/10.48550/arxiv.1412.6980 (2014).
Giles, M. B. Collected Matrix derivative results for forward and reverse mode algorithmic differentiation. Lecture Notes in Computational Science and Engineering LNCSE 64, 35–44 (2008).
Acknowledgements
This research was supported by the generous financial help of the Nancy and Stephen Grand Technion Energy Program (GTEP). As well, we highly appreciate the financial help by a grant from the United States-Israel Binational Science Foundation (BSF), Jerusalem, Israel, and the United States National Science Foundation (NSF under Award No. DMR-1809429). Also, this research was based upon work from COST Action 18234, supported by COST (European Cooperation in Science and Technology). Y. E. gratefully acknowledges the excellence scholarships, including the Fine scholarship, the planning and budgeting committee prize for multidisciplinary data science research, and the KLA scholarship for academic excellence.
Author information
Authors and Affiliations
Contributions
Y.E. and M.C.T. wrote the main manuscript text and YE prepared figures. All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Elbaz, Y., Caspary Toroker, M. From density functional theory to machine learning predictive models for electrical properties of spinel oxides. Sci Rep 14, 12150 (2024). https://doi.org/10.1038/s41598-024-62788-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-024-62788-4
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.