Open Access Article
This Open Access Article is licensed under a Creative Commons Attribution-Non Commercial 3.0 Unported Licence

Structure–activity relationship study of anti-wear additives in rapeseed oil based on machine learning and logistic regression

Jianfang Liu*a, Chenglingzi Yia, Yaoyun Zhanga, Sicheng Yanga, Ting Liua, Rongrong Zhanga, Dan Jiab, Shuai Penga and Qing Yanga
aSchool of Life Science and Technology, Wuhan Polytechnic University, Wuhan, 430023, China. E-mail: jianfang66@126.com
bState Key Laboratory of Special Surface Protection Materials and Application Technology, Wuhan Research Institute of Materials Protection, Wuhan, 430030, China

Received 27th December 2023 , Accepted 5th March 2024

First published on 13th March 2024


Abstract

Anti-wear performance is a crucial quality of lubricants, and it is important to conduct research into the structure–activity relationship of anti-wear additives in bio-based lubricants. These lubricants are eco-friendly and energy-efficient. A literature review resulted in the construction of a dataset comprising 779 anti-wear properties of 79 anti-wear additives in rapeseed oil, at various loadings and additive levels. The anti-wear additives were classified into six groups, including phosphoric acid, formate esters, borate esters, thiazoles, triazine derivatives, and thiophene. Logistic regression analysis revealed that the quantity and kind of anti-wear agents had significant effects on the anti-wear properties of rapeseed oil, with phosphoric acid being the most effective and thiophene being the least effective. To identify the specific structural data that affect the anti-wear capabilities of additives in bio-based lubricants of rapeseed oil, a random forest classification model was developed. The results showed a 0.964 accuracy (ACC) and a 0.931 Matthews Correlation Coefficient (MCC) on the test set. The ranking of importance and characterization of MACCS descriptors in the model confirms that anti-wear additives with chemical structures containing P, O, N, S and heterocyclic groups, along with more than two methyl groups, improve the anti-wear performance of rapeseed oil. The application of data analysis and machine learning to investigate the classifications and structural characteristics of anti-wear additives in rapeseed oil provides data references and guiding principles for designing anti-wear additives in bio-based lubricants.


Introduction

Lubricants are some of the largest oil consumers,1 being about 90% base oils and 10% additives. Mineral oil forms the bulk of these base oils. In order to mitigate the negative environmental impact of lubricants,2 bio-based lubricants are becoming increasingly popular as a sustainable alternative. Bio-based lubricants are derived from animal or vegetable oils and have favourable qualities such as being environmentally friendly and biodegradable.3 Plant-based lubricants have a wide range of applications, and they are widely used to lubricate various types of machinery and equipment, such as automobiles, aircraft, ships, and industrial equipment. In the food processing industry, food oil or butter can also be used directly for equipment lubrication, replacing traditional food machinery lubricants. In particular, rapeseed oil has been extensively studied as a potential lubricant due to its high viscosity, excellent lubrication properties, cost-effectiveness and environmental protection. Okechukwu4 conducted friction tests with rapeseed oil and paraffin oil as lubricants. It was observed that the friction decreased more in rapeseed oil compared to paraffin oil at an elevated sliding speed. Ermakov,5 utilizing a four-ball friction machine, discovered that an environmentally friendly lubricant derived from rapeseed oil, when compared to mineral-base lubricants commonly used in railway transport, resulted in reduced wear on interacting solid surfaces and lower temperatures.

Commonly used lubricant additives include dispersants, detergents, anti-foam agents, viscosity index improvers, antioxidants, and anti-wear agents.6,7 The purpose of anti-wear agents is to reduce wear on metallic surfaces, thereby prolonging the life of the engine. Initially, anti-wear agents were mainly composed of inorganic compounds, such as lead chloride and molybdenum disulfide. However, with advancements in science and technology,8 research into organic compound anti-wear agents has become more sophisticated. Examples of such agents include phosphate esters, sulfides, nitrates, and borides. As we all know, the anti-wear effects of different types of anti-wear agents in various lubricating base oils, as well as their synergistic effects with other additives, vary. Scientists have been working on identifying anti-wear additives suitable for bio-based lubricants from the extensive variety available.

In the past, experimental methods have been widely used to identify effective anti-wear agents. By conducting laboratory experiments, the performance of a lubricant in friction, wear, viscosity, and oxidative stability can be assessed. Subsequently,9 various physicochemical methods are employed to characterize the lubricant, such as, infrared spectroscopy, nuclear magnetic resonance, and mass spectrometry, to analyse its chemical composition, molecular structure, and molecular weight distribution. This experimental data is crucial for understanding the behaviour and performance of the lubricant under different conditions.10 The simulation calculation and software can assess the wear resistance of lubricants in a virtual environment. This method can significantly cut down on trial-and-error costs and lessen reliance on physical prototypes and trials, ultimately saving time and resources. However, it remains difficult to identify suitable and efficient lubricating oil additives using computational simulation due to the vast array of additive types available.

In recent years, there has been a focus on designing lubricants with superior anti-wear properties in current tribological research. Many scientists have concentrated on developing effective quantitative structural friction capacity relationship (QSTR) to predict an oil's anti-wear properties and design new lubricants.11 Various mathematical and statistical methods, such as multiple linear regression (MLR), partial least squares (PLS) and random forests (RF), can be used for quantitative structural friction relationship studies. MLR can only solve linear models, and nonlinear models are generally constructed using machine learning methods. Gao et al.12 developed the quantitative structural friction capacity relationship to determine whether there is a relationship between lubricant performance and lubricant molecular structure. A decision tree is a hierarchical feature-based decision model that classifies or regresses samples through a series of decision rules. In a random forest, each decision tree is constructed independently, and their decision rules can be chosen flexibly based on the data distribution and the relationship between the features. Therefore, a random forest can capture nonlinear patterns and relationships. Vladimir Svetnik13 used Random Forest to construct predictive models for six chemistry informatics datasets, and the analysis demonstrated that Random Forest is a powerful tool capable of delivering performance that is one of the most accurate methods to date. Three additional features of Random Forest are also presented: a built-in performance evaluation, a measure of the relative importance of the descriptors, and a measure of compound similarity weighted by the relative importance of the descriptors, making Random Forest particularly suitable for chemo informatics modelling.

Bio-based lubricants have a wide range of potential applications, particularly in industries with strict environmental requirements. The performance and reliability of bio-based lubricants can be enhanced, and their use in various fields can be expanded through thorough investigation of the structural relationships of anti-wear agents. While previous studies have utilized machine learning, such as random forests, to model additive QSPR, there has been a lack of research on anti-wear agent QSPR using a combination of binary logistic regression and machine learning. Additionally, existing studies have been limited to a single group. This study utilized binary logistic regression to assess different experimental loads, as well as the contents and types of additives, as influencing factors in order to determine the degree of influence of each group on anti-wear performance. Furthermore, to the study analysed the degree of influence of each factor on anti-wear performance. The six categories of anti-wear agents were then qualitatively classified using random forests, and specific sub-structural fragments with significant influence on anti-wear performance were identified by evaluating the relative importance of the MACCS descriptors and fingerprint characterization. The information can serve as a reference to aid in the design of bio-based lubricant formulations.

Materials and methods

Database construction

As the primary oil for biobased oil, rapeseed oil offers high sustainability, good lubrication performance, excellent low temperature performance, oxidation resistance, and cost-effectiveness. It is not only widely used with a large amount of reliable data. So, the anti-wear agent in rapeseed oil was chosen as the focus of the research, and14–45 data on additives were obtained from the literature. A total of 79 additives were classified into six categories: borate esters (Group 1), triazine derivatives (Group 2), thiazoles (Group 3), formate esters (Group 4), phosphoric acid (Group 5), and thiophenes (Group 6). During the dataset building process, it was discovered that the original data had redundant conditions of mill spot diameter, which were unsuitable for modelling, and lacked valuable information, such as optimal concentration of additives and molecular weight. To facilitate subsequent modelling, the information on the wear scar diameter of canola oil containing anti-wear agents at a load of 392 N was screened, and the wear scar diameter (WSD) was converted according to eqn (1). The structure, type, and wear scar diameter information of the anti-wear agents are listed in Fig. 1 and Table 5.
 
image file: d3ra08871e-t1.tif(1)
VS(392N) represents the wear metric at a load of 392 N,46 S0 represents the wear scar diameter of the steel balls under conditions without additive, S represents the wear scar diameter of the steel balls under conditions with additive, MW is the molecular weight of the additive, and Conc. is the optimal concentration of the additive.

image file: d3ra08871e-f1.tif
Fig. 1 VS data at 392 N after conversion of six types of antifriction agent WSD.

Binary logistic regression

Binary logistic regression is a widely used and effective classification algorithm in data mining and machine learning.47 Its formula is:
 
image file: d3ra08871e-t2.tif(2)
In the above equation, image file: d3ra08871e-t3.tif follows a binary logistic distribution, representing the probability of occurrence. 1 − P represents the probability of non-occurrence. Xm is the influencing factor, Y is dichotomous data, and Y will only have the numbers 1 and 0, with 1 standing for YES, and 0 standing for NO. The purpose of the model is to predict values that are as close as possible to 1 when the original data is 1, and as close to 0 when the original data is 0.

Binary logistic regression is used to study the effect of X on Y, whose specific flow chart is shown in Fig. 2. Firstly, data processing was carried out to collect the diameters of wear spots of 79 anti-wear agents in the dataset at different loads and at different contents, a total of 779 groups, the middle value −25% will be binary classification. Secondly, a binary logistic regression analysis model was constructed using Jamovi software.48 The model's fitting situation and effect will be judged using the Hosmer–Lemeshow goodness-of-fit test. If the P-value is greater than 0.05 when the Hosmer–Lemeshow test is performed, it means that the factual data situation is consistent with the model's fitting results, i.e., the model is well-fitted. Finally, the influence relationship is analysed. If a variable presents significance (significance value less than 0.05), it means that the variable has an influence relationship on Y. Binary logistic regression analysis also involves a term – logarithmic ratio (Exp(B) value). It is a multiplicative concept indicator whose value is equal to the exponential power of the regression coefficient, and the degree of influence between various influences can be obtained from it.


image file: d3ra08871e-f2.tif
Fig. 2 Flowchart of binary logistic regression for 79 additives under different conditions.

Machine learning algorithms

Random Forest (RF) is a machine learning algorithm that randomly draws training samples and put them back,49 creating a model that is simple in principle, highly accurate, and widely used. It can be applied to classification, regression, and unsupervised learning clustering. The parameter optimization for RF algorithm in this study includes n_estimators, max_depth, min_samples_leaf, max_features of the decision tree. The hyperparameters are tuned using grid optimization with 5 and 10 weights of cross-checking, and the prediction accuracy of the test set is also scored.

In this study,50 scikit-learn in Python was utilized for evaluation and model construction based on the randomized division of the dataset using 166 bit MACCS fingerprint descriptors. The process is shown in Fig. 3.51 The MACCS fingerprint descriptors are based on specific compound properties to determine the presence of contain fragments within the compounds. The number of input descriptor features is limited to construct the predictive model for the final prediction. Therefore, it is necessary to filter the descriptors based on the compound sample data in the training set before building the classification model. Since the fingerprint descriptors consist of discrete values with 0 and 1 distributions, we then filter out the fingerprint descriptors that occur less frequently in the compound samples based on variance. The variance of each descriptor is calculated based on the data in the training set, and fingerprints with variance less than the mean variance of all fingerprints in the training set are eliminated.


image file: d3ra08871e-f3.tif
Fig. 3 Flowchart of 166 bit MACCS descriptor using Random Forest classification.

The random forest model's quality was assessed by accuracy (ACC), Matthews Correlation Coefficient (MCC), sensitivity (SE), specificity (SP), fivefold cross-validation accuracy (5-CV), tenfold cross-validation accuracy (10-CV) and Leave-One-Out (LOO). The formulas and significance of these metrics are provided below:

 
image file: d3ra08871e-t4.tif(3)
 
image file: d3ra08871e-t5.tif(4)
 
image file: d3ra08871e-t6.tif(5)
 
image file: d3ra08871e-t7.tif(6)

The term “TP” represents true positives, indicating the count of samples with high resistance to abrasion. Conversely, “TN” denotes true negatives, representing the count of samples with low resistance to abrasion. On the other hand, “FP” refers to false positives, signifying the count of predicted high resistance cases that are actually low in resistance. Lastly, “FN” stands for false negatives and represents the count of predicted low resistance cases that are actually high in resistance.

MCC is a metric used to evaluate the accuracy of binary classification models, with values ranging from −1 to 1. Higher MCC scores indicate better model performance. SE and SP refer to the sensitivity and specificity of the computer model in identifying high and low anti-wear compounds, respectively. k-CV involves dividing the dataset into K subsets for training and validation purposes, while LOO is a variant where only one data point is left out for validation at a time.52 The scikit-learn GridSearchCV function can be utilized to implement this methodology.

Results and discussion

Descriptive statistics and data reliability analysis

The data samples for the six types of anti-wear agents are illustrated in Fig. 4. There is no bias in the overall data. Logistic regression was performed to analyse the factors influencing the independent variables on the dependent variables. It is well known that the load, content, rotational speed, time, temperature, and anti-wear agent all impact the magnitude of WSD. Different loads (196 N, 264 N, and 392 N), different contents (0.5–5%), and the six types were entered as independent variables, while the rotational speed was fixed at 1450 (rpm), and the time was 30 min all at room temperature conditions.
image file: d3ra08871e-f4.tif
Fig. 4 Distribution of data for the six anti-wear agents.

The impact of additives on wear in different base oils varies. To eliminate base oils' influence on the experimental results and maintain the study's scientific validity, all WSD data were processed in the following way. The formula is as follows:

 
image file: d3ra08871e-t8.tif(7)

RWSD represents the rate of change of anti-wear agent WSD, excluding the impact of base oil. S0 denotes the wear scar diameter of steel balls without any additive, while S denotes the wear scar diameter of steel balls with the additive.

The middle value of −25% is used to divide them into two categories. A total of 353 data points fall under the category of 0, which represents better anti-wear performance, while 426 data points fall under the category of 1, which represents poorer anti-wear performance. Fig. 5 displays the obtained data. The normal distribution's symmetry, continuity, and consistency make it an ideal model for describing many random variables. The data in Fig. 5 are mostly normally distributed, indicating that the experimental data is scientifically reliable and consistent with the facts.


image file: d3ra08871e-f5.tif
Fig. 5 Distribution of rate of change of vegetable oils as base oil anti-wear agents excluding the effect of base oil.

Logistic regression analysis

The results of the analysis are shown in Table 1. The Hosmer–Lemeshow (HL) fit value is 0.3070, which is greater than 0.05. This indicates that the model fits well with the real data, and the analysed results can accurately reflect a real relationship between the original variables. In the figure, B represents the regression coefficient and intercept, Wald is the chi-square value of B divided by its standard error, and Exp(B) is the ratio definition, with the most important parameter being Exp(B). The logistic regression model captures the effects of the base reference level, with the coefficients of the other variables indicating changes relative to this base level. As a result, the base reference level is typically not explicitly shown in the table. Group 6 serves as the base reference level, and the remaining 5 groups are compared to this reference level. As observed in the figure, the significance values of content, load and group are less than 0.05, indicating a significant impact on the anti-wear performance. Among these, species is a categorical variable that can be compared in parallel, and the significance value of each group is also less than 0.05. When comparing their Exp(B) values, a higher value indicates a stronger influence. Phosphoric acid exhibited the highest influence, followed by formate esters, thiazole, borate esters, triazine derivatives, and finally thiophene.
Table 1 Variables and HL tests in the equation in binary logistic regression
  B Standard error Wald P Exp(B) HL fit
Content 34.3550 7.5350 20.7890 <0.01 8.3240 × 1014 0.3070
Load 0.1200 0.0100 101.6430 <0.01 0.9880
Group       <0.01  
Group 1 4.0740 0.6760 36.3120 <0.01 58.7960
Group 2 3.2960 0.6720 24.0680 <0.01 27.0050
Group 3 3.8020 0.7020 29.3330 <0.01 44.7740
Group 4 4.4250 0.6990 40.0520 <0.01 83.4880
Group 5 4.8460 0.7210 45.2030 <0.01 127.2650


Random forest classification analysis

Established model. Having demonstrated the significant effect of additive on anti-wear performance, the specific structural effect of the additive is analysed next. MACCS refers to pattern matching based on the structure of a given compound with structural fragments predefined by experts in the field. Each bit of the MACCS fingerprint corresponds to a SMART code that occupies a fixed position in the description space. A unique MACCS fingerprint can be generated for each chemical compound. SMART is an abstract definition that matches the corresponding structure by specific rules, and a structure can match more than one SMART. The MACCS fingerprint descriptors are all discrete 166 bit values of 0 and 1 distributions, so then the fingerprint descriptors are sieved out that have a low frequency of occurrence in a sample of compounds by variance. The variance of each descriptor is calculated based on the data from the training set, and fingerprints with variance less than the mean variance of all fingerprints in the training set are removed. At the same time, the same fingerprints are removed from the test set. After selection by variance, 61 MACCS fingerprints are left, and these fingerprints are selected for model building. With 61 MACCS as inputs, the classification model of random forest was constructed. The 166 bit key MACCS is publicly available and can be computed using the open-source cheminformatics package RDKit.

The model is based on the random division method with optimal parameters. The split criterion is entropy, the maximum depth is 8; the leaf nodes contain a minimum of 1 sample, and the number of random forest spanning trees is 100. The effect of the model constructed above is shown in Table 2.

Table 2 Results and indicators of random forest classification
Training set ACC 0.964
5-CV 0.662
10-CV 0.660
LOO 0.679
MCC 0.931
Test set ACC 0.720
SE 0.948
SP 0.976


The ACC and MCC of the training set of the model are 0.964 and 0.931 respectively, indicating that the model is extremely powerful in classifying the test data, with a classification rate of over 96%. The ACC of the prediction set is 0.720, suggesting that the model has better generalization ability in the prediction set. The accuracy of the prediction set is smaller than that of the test set, mainly because the model is trained on the training set and learns the patterns and features of the samples in the training set. When applied to the new prediction set data, the classification correctness will be decreased due to the difference between the data features and patterns of the prediction set and the training set. Various validation methods show an accuracy greater than 0.6, indicating the reliability of the model. This model can be used for subsequent comprehensive analysis.

Descriptors for screening. Information gain (IG) is utilized for both ranking features and measuring the contribution of fingerprint descriptors to the model. The IG value ranges from 0 to 1, with higher values indicating greater importance of a fingerprint descriptor to the model. The model employs 61 MACCS descriptors, computed using Python based on the data from the training set, with the top 30 selected for analysis. The proportion of these 30 fingerprints features present in the 79 anti-wear agents categorized as high anti-wear and average, to determine whether specific structural fragments are advantageous in designing anti-wear agents.

From Table 3, it can be observed that the MACCS_102 fingerprint falls in the group of strong anti-wear ability with a high ratio of 1.9829 and the largest IG of 0.1290. MACCS_102 consists of an oxygen atom connected to a heteroatom, typically forming an oxide or an oxide analogue. The introduction of heteroatoms can alter the crystal structure or surface properties of the material, indirectly impacting its anti-wear properties. This indicates that the MACCS_102 fingerprint descriptor positively influences the enhancement of anti-wear capability. MACCS_141 has a ratio of 1.5954 and an IG value of 0.0755, representing the presence of methyl groups. Generally, the introduction of methyl groups may modify the surface lubricity of the material and reduce friction and wear during friction. MACCS_141 also has a positive effect on anti-wear properties. Similarly, fingerprints such as MACCS_146 and MACCS_48 are also oxygenated structures with ratios of 1.4575 and 1.6239, respectively, placing them in the higher anti-wear group and contributing positively to the improvement of anti-wear capability.

Table 3 Fingerprint of the top 30 MACCS with high information gain
Number MACCS fingerprints MACCS description IGa P_RBb (%) P_NRBc (%) Δd (%) Ratee
a The value of information gain.b The proportion of compounds with strong wear resistance in which this MACCS descriptor appears.c The proportion of descriptors that appear in the general class of compounds with wear resistance.d The difference between p_RB (%) minus p_NRB (%), the frequency at which sub-structural fragments occur in the two classes of compounds.e The ratio of p_RB (%) to p_NRB (%); A can be any valid chemical element, Q is a hetero-atom (an atom other than carbon and hydrogen), and X is a halogen atom (F, Cl, Br, I); % denotes an aromatic bond, ! denotes the main chain or non-ring key, and $ denotes the ring key.
1 MACCS_102 QO 0.1290 74.36 37.50 36.86 1.9829
2 MACCS_165 Ring 0.1037 58.97 82.50 −23.53 0.7148
3 MACCS_120 Heterocycle atom >1 (&…) 0.1020 56.41 65.00 −8.59 0.8679
4 MACCS_121 N heterocycle 0.1020 56.41 65.00 −8.59 0.8679
5 MACCS_105 A$A($A)$A 0.1005 5.13 20.00 −14.87 0.2564
6 MACCS_137 Heterocycle 0.0983 56.41 80.00 −23.59 0.7051
7 MACCS_163 6M ring 0.0952 43.59 65.00 −21.41 0.6706
8 MACCS_86 CH2QCH2 0.0809 74.36 57.50 16.86 1.2932
9 MACCS_83 QAAAA@1 0.0783 17.95 35.00 −17.05 0.5128
10 MACCS_141 CH3 >2 (&…) 0.0755 71.79 45.00 26.79 1.5954
11 MACCS_118 ACH2CH2A >1 0.0750 100.00 85.00 15.00 1.1765
12 MACCS_111 NACH2A 0.0703 74.36 57.50 16.86 1.2932
13 MACCS_48 OQ(O)O 0.0661 48.72 30.00 18.72 1.6239
14 MACCS_112 AA(A)(A)A 0.0644 23.08 30.00 −6.92 0.7692
15 MACCS_115 CH3ACH2A 0.0607 100.00 82.50 17.50 1.2121
16 MACCS_129 ACH2AACH2A 0.0492 92.31 75.00 17.31 1.2308
17 MACCS_146 O >2 0.0490 69.23 47.50 21.73 1.4575
18 MACCS_148 AQ(A)A 0.0479 87.18 82.50 4.68 1.0567
19 MACCS_108 CH3AAACH2A 0.0455 74.36 47.50 26.86 1.5655
20 MACCS_97 NAAAO 0.0439 15.38 40.00 −24.62 0.3846
21 MACCS_142 N >1 0.0371 58.97 45.00 13.97 1.3105
22 MACCS_98 QAAAAA@1 0.0336 35.90 42.50 −6.60 0.8446
23 MACCS_161 N 0.0317 89.74 80.00 9.74 1.1218
24 MACCS_159 O >1 0.0263 74.36 67.50 6.86 1.1016
25 MACCS_65 CN 0.0211 35.90 45.00 −9.10 0.7977
26 MACCS_139 OH 0.0210 7.69 15.00 −7.31 0.5128
27 MACCS_158 C–N 0.0201 74.36 72.50 1.86 1.0256
28 MACCS_80 NAAAN 0.0181 28.21 27.50 0.71 1.0256
29 MACCS_47 SAN 0.0137 74.36 70.00 4.36 1.0623
30 MACCS_138 QCH2A >1 (&…) 0.0125 100.00 95.00 5.00 1.0526


MACCS_165, MACCS_137, and MACCS_163 represent cyclic or heterocyclic, and they occur in over 60% of general wear resistance instances. Previous studies have shown that they also enhance anti-wear performance to some extent compared to base oils without additives. This indicates that these fingerprints also positively impact the anti-wear capacity.

In summary, among the top 30 descriptors, MACCS_102, MACCS_141, MACCS_146, MACCS_48, MACCS_165, MACCS_137, MACCS_163, MACCS_47, MACCS_80 have a significant influence on the anti-wear performance of additives.

Structure–activity relationships of anti-wear additives. The larger the VS, the better the wear resistance. The previous analysis has already established the relationship between the factors affecting each group. Table 4 presents a detailed analysis of different groups of anti-wear agents combined with MACCS descriptor, organized by anti-wear capacity. Group 5 demonstrates the highest level of anti-wear performance, with MACCS_102, MACCS_48, MACCS_146 corresponding to fragments containing oxygen atoms, appearing in a higher percentage of compounds with high anti-wear capacity, at 74.36%, 48.72% and 69.23% respectively. This suggests that most compounds with their substructures possess high anti-wear properties, possibly due to the formation of a protective film containing oxygen compounds on the metal surface during the lubrication process when compounds prepared as additives in rapeseed oil are used. Organic compounds containing oxygen provide better lubricant behaviour compared to base oils alone. Group 5 also includes the MACCS_141 fingerprint, representing more than two methyl groups, contributing to its high anti-wear capability. Group 1 includes MACCS_102, MACCS_146, and MACCS_141, which are responsible for its high anti-wear ability. The absence of the MACCS_48 fingerprint distinguished Group 1 from Group 5, potentially leading to its slightly lower anti-abrasion capability.
Table 4 Analysis of MACCS fingerprint keys and substructure
Group MACCS fingerprint keya High/low wear resistanceb Example of MACCS fingerprint keyc Representative skeletond Representative compounde
a (1) Indicates the presence of a molecule's structure, while (0) indicates its absence.b The ratio of high and low wear-resistance molecules in the subclass.c The SMARTS of the structure in the listed MACCS example.d The substructure of the MACCS bond in the molecule. The colour red, blue, and yellow represent the matching structures.e The representative molecules in this class, and red, blue, and yellow represent the matching substructures.
Group 5 MACCS_102 (1) 7/3 image file: d3ra08871e-u1.tif image file: d3ra08871e-u2.tif image file: d3ra08871e-u3.tif
MACCS102
QO
MACCS_141 (1) CH3 >2 image file: d3ra08871e-u4.tif
MACCS141
MACCS_48 (1) image file: d3ra08871e-u5.tif image file: d3ra08871e-u6.tif
MACCS48
OQ(O)O
MACCS_146 (1) O >2 image file: d3ra08871e-u7.tif
MACCS146 VS = 4.0355
Group 4 MACCS_102 (1) 7/5 N image file: d3ra08871e-u8.tif image file: d3ra08871e-u9.tif
MACCS_141 (1) MACCS161
MACCS_161 (1) image file: d3ra08871e-u10.tif image file: d3ra08871e-u11.tif
MACCS_47 (1) MACCS47
SAN VS = 3.8555
Group 1 MACCS_102 (1) 14/7 image file: d3ra08871e-u12.tif image file: d3ra08871e-u13.tif image file: d3ra08871e-u14.tif
MACCS102
QO
MACCS_141 (1) CH3 >2 image file: d3ra08871e-u15.tif
MACCS141
MACCS_146 (1) O >2 image file: d3ra08871e-u16.tif
MACCS146 VS = 3.7171
Group 3 MACCS_102 (1) 2/8 O >2 image file: d3ra08871e-u17.tif image file: d3ra08871e-u18.tif
MACCS_146 (1) MACCS146
MACCS_161 (1) image file: d3ra08871e-u19.tif image file: d3ra08871e-u20.tif
MACCS_47 (1) MACCS47
SAN VS = 3.6672
Group 2 MACCS_102 (0) 9/13 CH3 >2 image file: d3ra08871e-u21.tif image file: d3ra08871e-u22.tif
MACCS141
MACCS_141 (1) image file: d3ra08871e-u23.tif image file: d3ra08871e-u24.tif
MACCS80
MACCS_80 (1) NAAAN
image file: d3ra08871e-u25.tif image file: d3ra08871e-u26.tif
MACCS_65 (1) MACCS65
C%N VS = 2.8447
Group 6 MACCS_102 (0) 0/5 image file: d3ra08871e-u27.tif image file: d3ra08871e-u28.tif image file: d3ra08871e-u29.tif
MACCS83
MACCS_141 (0) QAAAA@1
MACCS_83 (1) image file: d3ra08871e-u30.tif
MACCS_137 (1) MACCS137
Heterocycle VS = 2.4506


Group 4 and Group 3 contain MACCS_161 and MACCS_47, which correspond to the presence of N and S atoms, while some heteroatom incorporation also leads to an increase in anti-wear properties. Mechanistic studies indicate that S and N active elements play a role in the formation of boundary films, potentially resulting in a composite film on the metal surface.

Group 2 and Group 6 also demonstrated improved anti-wear properties compared to canola oil without additives. They contain MACCS_80, MACCS_83, and MACCS_137, which represent rings or heterocycles formed by atoms other than those containing C and H and N. This finding proves that lubricating oils containing hetero-cyclic rings are also positively affected. The absence of MACCS_102 structure in Group 6 may explain its inferior anti-wear ability. Overall, the presence of O, N, S, heterocyclic rings, and more than two methyl groups can enhance the anti-wear performance of lubricants to some extent. These substructure fragments can offer guidance for the design of compounds.

Conclusion

With the advancement of technology, bio-based lubricants are expected to have wider application prospects and market opportunities in the future. It is important to continuously narrow the gap with petroleum-based products in terms of key performance and cost. To reduce the experimental cost and time, the use of machine learning in lubricant design has become a trend, and its application in bio-based lubricants can also significantly improve the experimental efficiency. This study initially analysed the influence of different loads, contents, and types of additives on the anti-wear performance of 79 additives using logistic regression. The results demonstrated that both content and type have significant effects. The types were classified into six groups based on name and structure, and the ranking of the influence of each structure on anti-wear additives was determined. Phosphoric acid had the highest degree of influence, followed by formate esters, then thiazoles, borate esters, triazine derivatives, and finally thiophenes.

The 79 additives in the established dataset were used to construct a random forest classification model and MACCS fingerprint descriptors. The ACC and MCC of the model on the test set were 0.964 and 0.931, respectively. Subsequently, the importance ranking and fingerprint analysis of all fingerprints based on the random forest model yielded the following conclusions: among the top 30 ranked by IG, MACCS_102, MACCS_141 and MACCS_146 accounted for a significant proportion in the first four groups with greater influence. MACCS_80, MACCS_83 and MACCS_137 also played an important role in Group 2 and Group 6; the structures represented by the descriptors proved consistent with traditional mineral oils, showing the presence of hetero-atoms and hetero-cycles such as O, N, and S, as well as more than two methyl groups or more in the anti-wear agents in the bio-based lubricants is beneficial to the anti-wear performance.

This study utilizes a random forest classification model in combination with logistic regression to provide a clear understanding of how each additive impacts anti-wear performance, as well as the influence of structural fragments on anti-wear performance. This approach can significantly decrease the cost of experimental trial and error in bio-based lubricant research and offer guidance for future machine learning lubricant model development. With the increasing number of anti-wear molecules, research on bio-based lubricants is ongoing, and the extensive database will establish a resource with comprehensive coverage, clear structure, and suitable conditions. Furthermore, as traditional machine learning algorithms continue to evolve, future efforts can explore the use newer algorithms to build more stable models applicable to a wider range of applications.

Author contributions

Conceptualization: Jianfang Liu; data curation: Chenglingzi Yi, Sicheng Yang, Ting Liu, Qing Yang and Shuai Peng; formal analysis: Sicheng Yang, Ting Liu, Qing Yang and Shuai Peng; investigation: Chenglingzi Yi, Rongrong Zhang and Dan Jia; methodology: Jianfang Liu; resources: Yaoyun Zhang, Rongrong Zhang and Dan Jia; validation: Yaoyun Zhang, Rongrong Zhang and Dan Jia; visualization: Yaoyun Zhang; writing – original draft: Chenglingzi Yi; writing – review & editing: Jianfang Liu.

Conflicts of interest

The authors have no relevant financial or non-financial interests to disclose.

Appendix

Table 5 Molecular structure and WSD of the anti-wear agent and the calculated VS and group
Number Structure WSD (mm) VS Group
1 image file: d3ra08871e-u31.tif 0.4750 4.3724 1
2 image file: d3ra08871e-u32.tif 0.4800 4.3668 1
3 image file: d3ra08871e-u33.tif 0.5500 4.2309 1
4 image file: d3ra08871e-u34.tif 0.5600 4.1102 1
5 image file: d3ra08871e-u35.tif 0.4100 3.9860 1
6 image file: d3ra08871e-u36.tif 0.5800 3.9375 1
7 image file: d3ra08871e-u37.tif 0.4300 3.8793 1
8 image file: d3ra08871e-u38.tif 0.4600 3.8211 1
9 image file: d3ra08871e-u39.tif 0.4400 3.8035 1
10 image file: d3ra08871e-u40.tif 0.5750 3.7767 1
11 image file: d3ra08871e-u41.tif 0.4150 3.7564 1
12 image file: d3ra08871e-u42.tif 0.4350 3.7522 1
13 image file: d3ra08871e-u43.tif 0.5600 3.7387 1
14 image file: d3ra08871e-u44.tif 0.5500 3.7171 1
15 image file: d3ra08871e-u45.tif 0.5650 3.6943 1
16 image file: d3ra08871e-u46.tif 0.5500 3.6726 1
17 image file: d3ra08871e-u47.tif 0.5200 3.6424 1
18 image file: d3ra08871e-u48.tif 0.5550 3.4849 1
19 image file: d3ra08871e-u49.tif 0.5300 3.4569 1
20 image file: d3ra08871e-u50.tif 0.5250 3.2570 1
21 image file: d3ra08871e-u51.tif 0.5600 3.1613 1
22 image file: d3ra08871e-u52.tif 0.3900 4.2172 2
23 image file: d3ra08871e-u53.tif 0.4900 4.3000 2
24 image file: d3ra08871e-u54.tif 0.4250 3.9761 2
25 image file: d3ra08871e-u55.tif 0.3300 3.9353 2
26 image file: d3ra08871e-u56.tif 0.4900 3.9680 2
27 image file: d3ra08871e-u57.tif 0.4400 3.8843 2
28 image file: d3ra08871e-u58.tif 0.6000 3.8359 2
29 image file: d3ra08871e-u59.tif 0.4000 3.7379 2
30 image file: d3ra08871e-u60.tif 0.6250 3.6189 2
31 image file: d3ra08871e-u61.tif 0.6000 3.7133 2
32 image file: d3ra08871e-u62.tif 0.4850 3.6003 2
33 image file: d3ra08871e-u63.tif 0.5150 3.5672 2
34 image file: d3ra08871e-u64.tif 0.4200 3.5508 2
35 image file: d3ra08871e-u65.tif 0.4060 3.4958 2
36 image file: d3ra08871e-u66.tif 0.5100 3.4529 2
37 image file: d3ra08871e-u67.tif 0.4220 3.4146 2
38 image file: d3ra08871e-u68.tif 0.3700 3.3886 2
39 image file: d3ra08871e-u69.tif 0.4500 3.3578 2
40 image file: d3ra08871e-u70.tif 0.4600 3.2905 2
41 image file: d3ra08871e-u71.tif 0.4600 3.2409 2
42 image file: d3ra08871e-u72.tif 0.5250 2.8447 2
43 image file: d3ra08871e-u73.tif 0.4200 3.9445 3
44 image file: d3ra08871e-u74.tif 0.4300 3.7998 3
45 image file: d3ra08871e-u75.tif 0.3850 3.6776 3
46 image file: d3ra08871e-u76.tif 0.4100 3.6775 3
47 image file: d3ra08871e-u77.tif 0.4250 3.6774 3
48 image file: d3ra08871e-u78.tif 0.3800 3.6672 3
49 image file: d3ra08871e-u79.tif 0.4400 3.5485 3
50 image file: d3ra08871e-u80.tif 0.3600 3.5052 3
51 image file: d3ra08871e-u81.tif 0.5500 3.2158 3
52 image file: d3ra08871e-u82.tif 0.4800 3.0739 3
53 image file: d3ra08871e-u83.tif 0.4800 4.4410 4
54 image file: d3ra08871e-u84.tif 0.5500 4.3003 4
55 image file: d3ra08871e-u85.tif 0.3300 4.0623 4
56 image file: d3ra08871e-u86.tif 0.3450 3.9870 4
57 image file: d3ra08871e-u87.tif 0.4100 3.8797 4
58 image file: d3ra08871e-u88.tif 0.4100 3.8555 4
59 image file: d3ra08871e-u89.tif 0.3800 3.7895 4
60 image file: d3ra08871e-u90.tif 0.5510 3.5304 4
61 image file: d3ra08871e-u91.tif 0.5500 3.4573 4
62 image file: d3ra08871e-u92.tif 0.4800 3.4040 4
63 image file: d3ra08871e-u93.tif 0.4500 3.3847 4
64 image file: d3ra08871e-u94.tif 0.5100 3.2426 4
65 image file: d3ra08871e-u95.tif 0.4100 4.2584 5
66 image file: d3ra08871e-u96.tif 0.4500 4.1783 5
67 image file: d3ra08871e-u97.tif 0.4000 4.0355 5
68 image file: d3ra08871e-u98.tif 0.3250 3.8868 5
69 image file: d3ra08871e-u99.tif 0.3400 3.8673 5
70 image file: d3ra08871e-u100.tif 0.4250 3.7632 5
71 image file: d3ra08871e-u101.tif 0.3500 3.7602 5
72 image file: d3ra08871e-u102.tif 0.4600 3.3813 5
73 image file: d3ra08871e-u103.tif 0.5100 3.3361 5
74 image file: d3ra08871e-u104.tif 0.3900 3.2838 5
75 image file: d3ra08871e-u105.tif 0.4600 3.0996 6
76 image file: d3ra08871e-u106.tif 0.5100 2.8134 6
77 image file: d3ra08871e-u107.tif 0.5250 2.6344 6
78 image file: d3ra08871e-u108.tif 0.5500 2.6342 6
79 image file: d3ra08871e-u109.tif 0.5350 2.4506 6


Acknowledgements

The authors are grateful for the financial supports from the National Natural Science Foundation of China (Grant No. 52075405).

References

  1. M. A. H. Shaah, M. S. Hossain, F. A. S. Allafi, A. Alsaedi, N. Ismail, M. O. Ab Kadir and M. I. Ahmad, RSC Adv., 2021, 11, 25018–25037 RSC.
  2. S. Shankar, M. Manikandan, D. K. Karupannasamy, C. Jagadeesh, A. Pramanik and A. K. Basak, Biomass Convers. Biorefin., 2021, 13, 3669–3681 CrossRef.
  3. A. Z. Syahir, N. W. M. Zulkifli, H. H. Masjuki, M. A. Kalam and A. Alabdulkarem, J. Cleaner Prod., 2017, 168, 997–1016 CrossRef CAS.
  4. N. N. Okechukwu, B. J. Young and J. Kim, Tribol. Lubr., 2020, 36, 11–17 Search PubMed.
  5. C. F. Ermakov, T. G. Chmykhova, A. V. Timoshenko and E. B. Shershnev, J. Frict. Wear, 2019, 40, 194–199 CrossRef.
  6. N. A. Zainal, N. W. M. Zulkifli, M. Gulzar and H. H. Masjuki, Renewable Sustainable Energy Rev., 2018, 82, 80–102 CrossRef CAS.
  7. C. Ren, X. Zhang, M. Jia, C. Ma, J. Li, M. Shi and Y. Niu, Molecules, 2023, 28, 3152 CrossRef CAS PubMed.
  8. O. P. Parenago, E. Y. Oganesova, A. S. Lyadov and A. A. Sharaeva, Russ. J. Appl. Chem., 2020, 93, 1629–1637 CrossRef CAS.
  9. J. Ilowska, J. Chrobak, R. Grabowski, M. Szmatola, J. Woch, I. Szwach, J. Drabik, M. Trzos, R. Kozdrach and M. Wrona, Molecules, 2018, 23, 2025 CrossRef PubMed.
  10. X. L. Gao, K. Dai, Z. Wang, T. T. Wang and J. B. He, Friction, 2016, 4, 105–115 CrossRef.
  11. X.-J. Liu, Q. Jia, C.-Y. Wang and N.-L. Wang, J. Chin. Med. Mater., 2009, 32, 1252–1255 CAS.
  12. X. L. Gao, Z. Wang, H. Zhang and K. Dai, J. Tribol., 2015, 137, 021802 CrossRef.
  13. V. Svetnik, A. Liaw, C. Tong, J. C. Culberson, R. P. Sheridan and B. P. Feuston, J. Chem. Inf. Comput. Sci., 2003, 43, 1947–1958 CrossRef CAS PubMed.
  14. L. P. Xiong, Z. Y. He, S. Han, J. Tang, Y. L. Wu and X. Q. Zeng, Tribol. Int., 2016, 104, 98–108 CrossRef CAS.
  15. X. Q. Zeng, F. LI and M. Zhou, Lubr. Eng., 2007, 61–63 CAS.
  16. X. Sun and H. Shang, J. North China Univ. Sci. Technol., 2018, 40, 45–50 Search PubMed.
  17. Q. G. Ong and Y. Laigui, Tribology, 2001, 270–273 Search PubMed.
  18. C. Yueping and Y. Laigui, Tribology, 2000, 20, 119–122 Search PubMed.
  19. Z. he and L. Xiong, Mater. Mech. Eng., 2011, 35, 36–39 CAS.
  20. W. Huang, Tribology, 2003, 33–37 CAS.
  21. Y. Wang and J. Li, Sci. Bull., 2007, 2607–2612 Search PubMed.
  22. C. K. Fan, F. F. Li and L. P. Sheng, China Pet. Process. Petrochem. Technol., 2008, 58–62 CAS.
  23. L. Shui, Y. Zhou, G. Zhang, H. Chen and Y. Zhao, J. Tribol., 2012, 134, 031802 CrossRef.
  24. Q. Gong, W. He and W. Liu, Tribol. Int., 2003, 36, 733–738 CrossRef CAS.
  25. X. J. Zeng, F. Huang, J. M. Li and Y. Y. Jiang, China Pet. Process. Petrochem. Technol., 2012, 14, 56–60 CAS.
  26. L. Xiong, Z. He, H. Xu, J. Lu, T. Ren and X. Fu, Lubr. Sci., 2010, 23, 33–40 CrossRef.
  27. J. Yan, J. Bu, X. Bai, J. Li, T. Ren and Y. Zhao, Proc. Inst. Mech. Eng., Part J, 2012, 226, 377–388 CrossRef CAS.
  28. X. Ji, Y. Chen, X. Wang and W. Liu, Ind. Lubr. Tribol., 2012, 64, 315–320 CrossRef.
  29. X. Zeng, H. Wu, H. Yi and T. Ren, Wear, 2007, 262, 718–726 CrossRef CAS.
  30. X. Zeng, J. Li, X. Wu, T. Ren and W. Liu, Tribol. Int., 2007, 40, 560–566 CrossRef CAS.
  31. Y. Sun, L. Hu and Q. Xue, Wear, 2009, 266, 917–924 CrossRef CAS.
  32. W. Huang, B. Hou, P. Zhang and J. Dong, Wear, 2004, 256, 1106–1113 CrossRef CAS.
  33. K. Fan, J. Li, H. Ma, H. Wu, T. Ren, M. Kasrai and G. M. Bancroft, Tribol. Int., 2008, 41, 1226–1231 CrossRef CAS.
  34. Z. He, J. Lu, X. Zeng, H. Shao, T. Ren and W. Liu, Wear, 2004, 257, 389–394 CrossRef CAS.
  35. Z. He, L. Xiong, F. Xie, M. Shen, S. Han, J. Hu and W. Xu, PLoS One, 2018, 13, e0207267 CrossRef PubMed.
  36. X. Xu, J. Li, L. Sun and Q. Xue, Ind. Lubr. Tribol., 2013, 65, 19–26 CrossRef.
  37. Y. Wang, J. Li, Z. He and T. Ren, Proc. Inst. Mech. Eng., Part J, 2008, 222, 133–140 CrossRef CAS.
  38. P. Ning, L. Wang, W. Wang, S. Li and Z. Ye, J. Dispersion Sci. Technol., 2015, 37, 699–705 CrossRef.
  39. W. Hua, L. Jing, M. Haibing, R. Tianhui, M. Kasrai and G. M. Bancroft, Tribol. Trans., 2009, 52, 277–283 CrossRef CAS.
  40. C. L. Li, L. P. Xiong, L. T. Xiong and W. Wang, Adv. Mater. Res., 2012, 496, 493–497 CAS.
  41. R. K. Singh, A. Kukrety and A. K. Singh, ACS Sustain. Chem. Eng., 2014, 2, 1959–1967 CrossRef CAS.
  42. Z. Tang, L. Sun, J. Wang and F. Fan, Proc. Inst. Mech. Eng., Part J, 2017, 231, 1464–1473 CrossRef CAS.
  43. H. Wu, X. Zeng, L. Lu and T. Ren, Chin. Sci. Bull., 2007, 52, 194–199 CrossRef CAS.
  44. J. C. Yan, X. Q. Zeng, E. van der Heide, T. H. Ren and Y. D. Zhao, RSC Adv., 2014, 4, 20940–20947 RSC.
  45. W. Zhan, Y. Song, T. Ren and W. Liu, Wear, 2004, 256, 268–274 CrossRef CAS.
  46. Z. Song, T. Chen, T. T. Wang, Z. Wang and X. L. Gao, J. Tribol., 2019, 141, 091801 CrossRef CAS.
  47. C. Otunga, J. Odindi, O. Mutanga, C. Adjorlolo and J. Botha, Geocarto Int., 2018, 33, 489–504 CrossRef.
  48. M. W. Fagerland and D. W. Hosmer, Stata J., 2012, 12, 447–453 CrossRef.
  49. Z. Wang, Teh. Vjesn.-Tech. Gaz., 2023, 30, 623–633 Search PubMed.
  50. W. de Vazelhes, C. J. Carey, Y. Tang, N. Vauquier and A. Bellet, J. Mach. Learn. Res., 2020, 21, 1–6 Search PubMed.
  51. E. O. Cannon, F. Nigsch and J. B. O. Mitchell, Chem. Cent. J., 2008, 2 DOI:10.1186/1752-153X-2-3.
  52. J. G. Hao and T. K. Ho, J. Educ. Behav. Stat., 2019, 44, 348–361 CrossRef.

This journal is © The Royal Society of Chemistry 2024