Keywords
Antimicrobial polymers, RAFT, Machine learning, Random Forest, Gradient boosting
Abstract
The widespread antimicrobial resistance urged the need for novel antimicrobial agents. Synthetic
antimicrobial polymers (SAMPs) were proposed as promising antibiotics to overcome the
drawbacks of host-defence peptides. A machine learning forecast can be beneficial to evaluate the
influence of SAMPs features on their potency and toxicity. In this study, we utilised a library of
20 polyacrylamides varied in: 1) type of amine side chain, 2) chain length, 3) cationic amine ratio,
and 4) polymer architecture. Their structure-activity relationship was evaluated by comparing
experimental observations and machine learning models. While classification models showed
good fit in the training set, regression models demonstrated better fit in the testing set. Regression
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
2
random forest and gradient boosting methods demonstrated reliable reproducibility of feature
importance and maintained the tree structure throughout multiple runs. Beeswarm and waterfall
plots provided an overview of the joint SHapley Additive exPlanations (SHAP) values of features
on a specific data point. Based on validation tests and the consistency of f eature importance and
SHAP values, we conclude that boosting-ensemble methods can be utilized in forecasting future
SAMPs.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
3
Introduction
Antimicrobial resistance has become a significant global concern, and the development of new
generations of antibiotic is crucial for the coming future. 1 This pressing issue has piqued the
interest of many researchers during the last decade.2 Since the discovery of host-defence peptides
(HDPs) in the 1980s, the y have been considered a promising broad-spectrum antibiotics.3 HDPs
are short peptides, consisting of a combination of less than 50 amino acids in secondary structure
conformation. Their amino acid combination is crucial to their antimicrobial and immune
response, as well as their selectivity towards microbial cells. 4 HDPs comprise of a mixture of
hydrophobic and cationic amino acid distributed to yield a net positive charge at physiological
pH.5 This unique amphiphilic structure enables them to be soluble in the physiological aqueous
environment, while maintaining the ir ability to partition within phospholipid microbial
membrane.6 Moreover, the dominant cationic charge of HDPs prompts electrostatic interactions
with the microbial cell membrane dominated by negatively charged lipids. These interactions lead
to disruption of the membrane structure, formation of pores and eventually apoptosis.7,8 However,
mammalian cell membrane consists of zwitterionic phospholipids (i.e., phosphatidylglycerol,
cardiolipin) oriented outward, which minimises interactions with HDPs , thus promoting the
peptides’ selectivity towards microbial cells.9–11
This has prompted an extensive search for synthetic antimicrobial peptides mimics (SAMPs)
that replicate the activity of HDPs , while offering enhanced stability and tuneable chemical
structure. Among the most versatile SAMPs reported to date are p olymers functionalized with
amino acid -mimicking groups,12,13 built on diverse backbone s including (but not limited to )
polynorbornene14, polyethyleneimines 15, polynylon -316–18, polyvinylpyrrolidones 19, Poly(2 -
oxazoline)s20,21 polyurea22, methacrylates23–27and acrylamides27–29.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
4
Many structural parameters were found to affect SAMPs potency, in particular molecular
weight, polymer backbone structure, type of cationic moieties and its ratio to the hydrophobic
monomer of choice, as described by Hartlieb et al.30, Pham et al.31 and Locock et al.24,32 who
focused mainly on copolymers of methacrylate and acrylamides derivatives. Well -defined
antimicrobial polymethacrylates or polyacrylamides can be obtained via controlled radical
polymerization techniques such as copper(0) -mediated radical polymerisation 33 and reversible
addition-fragmentation chain transfer polymerization (RAFT).34–36 RAFT polymerisation not only
provides a good control over the polymers molecular weight but also allow s for telescoping
synthesis of multiblock with narrow dispersity.37
In previous work by Perrier group38,39,40,41,42 polyacrylamides selected to resemble the amino
acids functional groups found in innate HDPs (e.g. lysin, arginine and isoleucine ) showed great
potential for future topical antimicrobials mimicking HDPs with improved resilience. These
monomers’ high propagation rate s (kp) facilitate their rapid and controlled polymerization via
RAFT polymerisation, allowing for the control of the cationic moieties distribution along the
polymeric chain, to achieve the desired amphiphilic balance of HDPs with higher stability against
degradation.43
In our recent study 44, we concluded the main factors influencing the therapeutic profile of
acrylamide-derived SAMPs include the type of cationic moieties and its ratio, the polymer chain
length and sequence . However, elucidating structure-activity relationship (SAR) and optimising
the design of antimicrobial polymers is a time-consuming process, which calls for a the utilisation
of automated methods.24,30–32
The r ecent advance s in artificial intelligence tools provide a remarkable path towards more
efficient and robust SAR analysis and materials design . Particularly, machine learning (ML), a
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
5
subset of AI which involves algorithms designed to generate predicted outcomes from historic
data, appears to be a powerful tool to guide the design of the next generation of antimicrobials.45,46
In this approach, in silico screening minimizes the load of experimental work required , as it can
narrow down the number of potential candidates by predicting activity patterns. 47 It can also
foresee hidden patterns when screening drug candidates database, e.g. antibiotics, that otherwise
might be missed as prospective candidates. 48 The application of ML in the high -throughput
screening of antibiotics candidates libraries has been reported recently 49–53, but a number of
challenges are still to be addressed. 54 The typical workflow for ML includes data collection,
features engineering, model selection and validation, and finally model application.55 Data can be
sourced from direct experimental work, published literature, or existing databases. Experimental
data have the advantage of controlled parameters, particularly for polymers, ensuring consistency
and reliability. However, it is time -consuming and typically yields smaller datasets. In contrast,
utilizing published research provides access to extensive datasets within a shorter timeframe, but
the diversity of experimental methods and data reporting standards may impact the quality and
accuracy of ML predictions.55,56 Moreover, the accuracy of predictions rely on identifying relevant
input variables (that is, design features) that influence output performance. Hence, it is critical to
consider the relevant features or descriptors to be utilised in the ML pipeline in an early stage,
based on experimental knowledge but preferably prior to extensive data collection. This raised a
challenge for HDPs, when screening through their wide range of structures and sequences,54,57 and
similarly, it could be limiting for the use of ML models for SAMPs as well.
Another challenge is selecting an appropriate ML model, as identifying the optimum model for
the dataset is critical for successful predictions. There are many ML techniques to choose from for
medicinal chemistry, i.e. decision tree, random forest, gradient boosting, and artificial neural
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
6
networks, including algorithms for both regression and classification methods .48 Model selection
considers the nature of the dataset itself, computational time restrictions, and additional insights
that may be available for each specific model. One insight which can be obtained from ML models
is feature importance , which gives the contribution of each feature to the model output and can
facilitate the identification of SAR. Permutation feature importance can be performed after model
selection and fitting and can be applied to any ML model. However, this requires additional
calculations and consumes more computational time . Tree -based models , on the other hand,
calculate feature importance innately as part of their fitting algorithm, reducing the computational
effort needed.58
Herein, we have utilised decision tree model s and two tree-ensemble methods: random forests
(RF) and gradient -boosting (GB). Tree-based models were selected as there is no additional
computational expense in calculating feature importance for these models. Decision trees are
branching structures that can be used for prediction based on splitting point (node) rules. In its
simplest form, a single decision tree is the predictor. The structure of the tree (node feature
selection and threshold value) is tuned b y using known data, and either minimizing the GINI
impurity (for classification) or the “within -sample” variance (for regression method) at each
node.59,60 Equations describing how this structure tuning occurs are shown in the methods section.
RF are an ensemble ML technique that combines the prediction of different decision trees, thus
minimizing overfitting and data bias. 61 This combination is also referred to as bagging, and
considers the predictions of all trees in the forest, either by averaging the final value (for
regression) or by majority counting of the selected class (for classification).
GB is another type of tree ensemble method. Unlike bagging, boosting considers trees in
sequence, with each new tree building upon the previous one to improve the fit. During tree
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
7
structure creation and tuning, GB uses the error between expected and calculated output values,
instead of the output value itself. The new predicted output value can then be determined from the
previous prediction and the new predicted error, until the pr ediction does not change. The
mathematical development is explained in the work published by Friedman.62
After applying the appropriate ML model to the dataset, analysing the contributions of each input
feature can be done via feature importance (FI) calculations in tree models and SHapley Additive
exPlanations (SHAP) analysis. 63 FI gives the overall contribution of each feature to the output.
However, FI does not provide any information on whether the contribution is negative or positive,
or on what each features’ contribution is for specific datapoints. Additional information can be
gained by using S HAP values, which give the marginal contribution of each feature for each
datapoint in the dataset, allowing for the identification of features and feature values that lead to
higher-performing SAMPs designs, as well as clustering of SAMPs designs that have similar
feature contribution distributions.63
Herein, we ran a pilot study, where a ML pipeline was applied to a small set of controlled
experimental data with 4 variables. The work includes the use of 3 algorithms: decision tree and
its ensemble methods, random forest and gradient boosting, applied a s both regression and
classification methods. We explored their potentials for the prediction of antimicrobial properties
of a library of polyacrylamides.
All the polymers in the experimental dataset are polyacrylamides with the same chain transfer
agent (CTA), and N-Isopropyl acrylamide (NIPAM) as the apolar monomer of choice, to facilitate
comparison. The studied SAMPs were designed to vary in degree of polymerization, architecture,
type of cationic moiety, and cationic ratio, to enable a broad range of experimental data to be used
with the chosen algorithms.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
8
The output variables of the pipeline were 1) the minimum inhibitory concentration (MIC) and
2) hemagglutination, used to predict antimicrobial activity and identify the most significant feature
for the optimal selectivity, respectively. As structure -activity relationship was also related to the
type of bacteria tested, the minimum inhibitory concentration (MIC) of each tested strain was used
as an output.
In this work we trained the algorithms and identified the model with the best performance, which
provides reproducible feature importance results after multiple runs. The aim is to advance our
understanding of structure-activity relationships of antimicrobial polyacrylamide without the need
for further experimental work. To the best of our knowledge, such study has only been done
recently by Kundi et al.64 Their work used a previously published dataset and utilised a decision
tree classification model using multiple descriptors, and in conclusion provided recommendations
for future design of SAMPs.64
Experimental
Polymers synthesis and bioassays:
The polymers used in this work were made via RAFT polymerisation. Their synthesis process
and characterisation as well as t he minimum inhibitory concentration (MICs) against Gram -
negative P. aeruginosa (PA14 and LESB58) and Gram-positive S .aureus (USA300 and Newman)
strains, and hemocompatibility (CH) were all detailed in a previously published study.44
Machine learning techniques:
Mapping input-output relationships with random forest feature importance and SHAP values
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
9
Machine learning tools were applied to the data to relate the contribution of each input variable
(feature) to each output variable. Separate models were generated for each output (MIC PA14,
MIC LESB58, MIC USA300, MIC Newman and agglutination) based on 4 inputs (type and
percentage of cationic monomer, degree of polymerization, and polymer conformation). Three
Methods
were used to create these models: single decision trees, random forests (RF) and gradient-
boosting (GB). The complete dataset for model fitt ing and validation is presented in Table 1 and
Table 2. It should be noted that categorical inputs (type of cationic monomer and polymer
conformation) were assigned a numerical value, and that, while experimental data is available for
hemolysis, it was not possible to create models for this output variable beca use all output values
were the same (>512 µg/ml).
All three methods were tested as classification and regression methods, that is, treating the output
variables as categorical or numerical, respectively. Previous works that modelled polymer
property-performance with ML have used classification models.64–66 However, for the dataset in
the present work, it was found that classification methods were not reproducible within different
runs with distinct training-validation dataset splits, due to uneven class distribution in the dataset
(see Results section and Supplementary information for further discussion). Therefore, regression
Methods
were tested as well. For classification methods, continuous output values were assigned
either to class 1 (good performance) or class 0 (undesirable performance), with a continuous output
value of 64 µg/ml used as the threshold value. Depending on the output variable, good performance
is attributed to values ≤ 64 µg/ml, or > 64 µg/ml. For example, for potency, lower concentrations
are desired, hence for all MIC outputs, values ≤ 64 µg/ml were assigned to class 1. Conversely, it
is undesirable to induce hemagglutination at lower concentrations, so values > 64 µg/ml were
assigned to class 1 in this case.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
10
Table 1. Dataset for all four MIC output variables (µg/mL)
Data point #
DP
CatMonPerc
PolyConf*
CatMonType**
MIC PA14
MIC LESB58
MIC USA300
MIC Newman
1 25 70 2 1 513 128 128 128
2 25 30 2 1 513 512 513 513
3 25 30 2 2 513 513 513 513
4 25 30 2 3 513 513 513 513
5 50 100 1 2 513 513 64 64
6 50 100 1 3 513 513 128 256
7 50 100 2 3 513 513 128 256
8 50 70 2 1 128 64 64 64
9 50 70 2 2 513 513 513 513
10 50 70 2 3 513 513 513 513
11 50 50 2 1 512 512 256 256
12 50 50 4 1 513 513 513 513
13 50 50 2 2 513 513 513 513
14 50 50 2 3 513 513 513 513
15 50 30 3 1 64 256 513 513
16 50 30 2 1 513 512 513 513
17 50 30 4 1 513 513 513 513
18 50 30 3 2 513 513 513 513
19 50 30 2 2 513 513 513 513
20 50 30 3 3 513 513 513 513
21 50 30 2 3 513 513 513 513
22 100 30 2 1 256 128 128 128
23 100 30 4 1 256 128 513 513
*Polymer conformation: 1 = Homopolymer, 2 = Diblock copolymer, 3 = Triblock copolymer,
4 = statistical copolymer. **Type of cationic monomer: 1 = AEAM, 2 = DMAEAM, 3 =
TMAEAM
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
11
Table 2. Dataset for agglutination (µg/mL)
Data point # DP CatMonPerc PolyConf* CatMonType** Agglut
1’ 25 70 2 1 4
2’ 25 30 2 1 32
3’ 25 30 2 2 256
4’ 25 30 2 3 16
5’ 50 100 2 3 64
6’ 50 70 2 1 4
7’ 50 70 2 2 513
8’ 50 50 2 1 513
9’ 50 50 4 1 128
10’ 50 50 2 2 513
11’ 50 30 3 1 513
12’ 50 30 2 1 32
13’ 50 30 4 1 128
14’ 50 30 3 2 513
15’ 50 30 2 2 256
16’ 50 30 3 3 256
17’ 50 30 2 3 128
*Polymer conformation: 1 = Homopolymer, 2 = Diblock copolymer, 3 = Triblock copolymer,
4 = statistical copolymer. **Type of cationic monomer: 1 = AEAM, 2 = DMAEAM, 3 =
TMAEAM
Machine learning models
For regression decision tree fitting, 20% of the dataset was used for testing/validation. For
classification tree fitting, the training/testing split was 50% to ensure both classes was present in
the training dataset. This was performed in Python with the scikit-learn package.58
The scikit-learn package for Python was used to create RF ensembles, with out -of-bag cross-
validation and hyperparameter optimisation.58 20% of the datapoints were randomly selected with
replacement and used to validate each tree structure in the forest for the regression method. As the
dataset is small, cross-validation was chosen instead of splitting between training-test datasets for
regression. The split was 50% for classification. Fitting was repeated 5 times to ensure
reproducibility.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
12
Similarly to the other two methods, GB was implemented in Python with scikit-learn, using 20%
of the dataset for cross -validation with the regression method, and a 50% train -test split for
classification.
Feature importance and SHAP values
SHAP values calculations were implemented in Python with the SHAP package. 67 SHAP was
used to explain how each feature contributed to the predicted output values of the best previously
generated models. More information on how feature importance is calculated for tree models is
given below.
Tree models and feature importance
Figure 1 shows a split across a node t in a decision tree T, for continuous output data. When
fitting the tree structure, the goal is to minimise the impurity across the node. This is accomplished
by selecting which feature the node is splitting on (X n) and what threshold value is used for the
split condition (s).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
13
Figure 1. Sample node t within a tree T. Coming into node t is matrix Xi, containing information
about the features (input variables). If node t is the first node in the tree, then this matrix contains
all N datapoints in the dataset. Otherwise, matrix Xi contains a subset that comes from a previous
node split. Xn is the feature over which the dataset splits, and s is the threshold value for this split.
A subset of matrix Xi (with NL datapoints) splits to the left at node t split tL, for the datapoints in
which feature Xn has a value equal to or smaller than the threshold s. Another subset of X i (with
NR datapoints) splits at tR, for values of Xn greater than the threshold. Within a tree T, the selection
of Xn and s for each node split is achieved by minimising the impurity of the node with respect to
the output variable, Yi.
The concept of impurity comes from classification trees, where impurity represents the degree
to which datapoints have been incorrectly classified at any node. For regression trees, impurity is
treated as the variance, or “within-sample” variance68, as shown in the equations below.
The impurity (∆") coming into node t is given by:
Impurity into node t, 𝛥$(𝑡) =
!
" ∑ (Y# − Y$- )%&!'$
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
14
Where N is the number of samples (datapoints) in node t; Yi is each output value present in the
dataset coming into node t; and 𝑌(- is the sample mean for the output variable for datapoints coming
into node t.
The impurity coming out of node t is:
The variables are similar to the ones coming into the node, except now NL and NR are the number
of datapoints present in the left and right splits of the node, respectively; Y i is each output value
in the part of the incoming dataset that was split into either the left or right split; and 𝑌(- and 𝑌(- are
the mean output values for datapoints in the left and right splits, respectively.
The decrease in impurity across node t, is given by the difference in impurity coming in and out,
with the impurity coming out weighted by the fraction of samples that go into each split.
Where:
To minimise impurity, the algorithm maximises ∆"(𝑠, 𝑡), which is the decrease in impurity.
𝛥$(𝑡)) = 1
𝑁)
3 (Y# − Y*444)%
&!'("
𝛥$(𝑡+) = 1
𝑁+
3 (Y# − Y,444)%
&!'(#
Left:
Right:
Δ6(s, t) = Δ6(t) − 9p;(t*)Δ6(t*) + p;(t, )Δ6(t, )=
p;(t*) = N *
N
p;(t, ) = N ,
N
Fraction of
samples that go
into each split
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
15
For classification trees, “within-sample” variance is replaced by GINI impurity (given below) in
the equations above.
GINI impurity = F1 − 3 P#
%
-
#
H
.
Where K is the total number of classes present (usually two for a binary classification problem),
i is each class, and Pi is the probability of observing class i in split j.
Feature importance for each node t (Inode,t) can be calculated directly from each splits’ impurity.
This is shown below for a classification tree.69
I/012,$ = w$ F1 − 3 P#
%
-
#
H
$
− 3 w.
"
.
F1 − 3 P#
%
-
#
H
.
Where t is the node; wt is the weight of the sub-dataset coming into node t (that is, the fraction
of the total datapoints in the dataset that belong to this sub-dataset); subscript t represents the sub-
dataset coming into the node; wj is the weight of the splits coming out of node t (for the usual case
where each node is a bifurcation, N=2, and j = 1 or 2, left or right); and subscript j represents each
split out of node t.
The importance of each feature n can then be calculated by summing the importance of all nodes
which split based on feature n, and then dividing by the sum of the importance of all nodes.
I425$672,/ =
∑ I/012,$$ $95$ :;<#$: 0/ 425$672 / 0/<=
∑ I/012,$5<< $
Feature importance is then normalised between 0 and 1.
normI425$672,/ = I425$672,/
∑ I425$672,//
For bagging ensemble methods, such as random forests, the combined feature importance over
all trees is given by 58:
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
16
RFI425$672,/ =
∑ NnormI425$672,/O>>
N >
Where T is each tree in the forest, and NT is the total number of trees.
Model fit and consistency testing
To select the best performing model(s), all three methods (decision tree, RF and GB) as both
regression and classification, were fit in 5 different runs (i.e., with different random selections for
training and testing datasets) while optimizing some of eac h method’s hyperparameters.
Hyperparameters that affect the size of the trees and forests were chosen for optimization (such as
maximum tree depth and number of estimators) . Hyperparameters related to the mathematica l
formulation of the algorithm were left at their default values and those related to the selections
made in regard to testing and validation splits, cross -validation, and bagging were set to their
specific values as mentioned previously in this section. It should be noted that tuning different
hyperparameters can lead to similar model results, and this case, the hyperparameter tuning that
gives the smaller training error was chosen.58
The fits of each method (expressed as the R 2 value for regression, and precision, recall and F1
score metrics for classification) were considered when selecting which method would be best for
representing the polymer property -performance space. However, as it was noticed that some
Methods
exhibited different feature importance distributions among different runs, or different tree
structures for single decision tree and the final gradient boosting tree, the ability of each method
to remain consistent across different runs was also factored into the model selection decision.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
17
Results
Polymer library
A total of 20 polymers (Table 3) were utilised with NIPAM as the apolar monomer of choice for
all copolymers and the cationic monomers based on 1) the primary amine ethyl acrylamide
(AEAM), 2) the tertiary amine dimethyl ethyl acrylamide (DMAEAM) and 3) the quaternary
amine trimethyl ethyl acrylamide (TMAEAM). The cationic monomer ratios were 30, 50, 70, and
100%. The polymers characterisation results including 1HNMR and GPC and t he minimum
inhibitory concentrations (MICs) against P. aeruginosa and S. aureus strains , and
hemagglutination (CH) concentrations were all determined in previously published work.44
Briefly, the results highlight the significance of cationic charge in determining the activity and
selectivity of polymers. Using the primary amine in high ratio (70%) in diblock copolymer
enhanced the antimicrobial profile but reduced the selectivity. Pol ymer architecture also
influenced the potency, AEAM -triblock (DP50 -Ta30) induced similar potency towards Gram -
negative bacteria strains at lower cationic ratio (30%) than the diblock (DP50 -Da70). The
methylation of the cationic units of the block copolymer s diminished their potency. Only
homopolymers of DMAEAM and TMAEAM were active against Gram-positive bacteria.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
18
Table 3. The library of polymers used
P CatMon* DPtarget Polymer
Architecture ƒCatMon
P1 AEAM 25 Diblock 0.3
P2 AEAM 25 Diblock 0.7
P3 AEAM 50 Statistical 0.3
P4 AEAM 50 Statistical 0.5
P5 AEAM 50 Diblock 0.3
P6 AEAM 50 Diblock 0.5
P7 AEAM 50 Diblock 0.7
P8 AEAM 50 Triblock 0.3
P9 DMAEAM 25 Diblock 0.3
P10 DMAEAM 50 Diblock 0.3
P11 DMAEAM 50 Diblock 0.5
P12 DMAEAM 50 Diblock 0.7
P13 DMAEAM 50 Triblock 0.3
P14 TMAEAM 25 Diblock 0.3
P15 TMAEAM 50 Diblock 0.3
P16 TMAEAM 50 Diblock 0.5
P17 TMAEAM 50 Diblock 0.7
P18 TMAEAM 50 Triblock 0.3
P19 DMAEAM 50 Homo 1
P20 TMAEAM 50 Homo 1
CatMon: the cationic monomer. NIPAM: N-isopropyl acrylamide. AEAM: N-(2-
aminoethyl) acrylamide. DMAEAM: N-[2-(dimethylamino)ethyl] acrylamide.
TMAEAM: N-[2-(trimethylamino)ethyl] acrylamide. DP: degree of polymerisation.
ƒCatMon: the fraction of cationic monomer to the apolar
Machine learning model selection
Model selection considered both the fit and reproducibility of feature importance.
The fit and predictability of the ML methods
For each method used to create models (decision tree, RF, and GB), the fit was evaluated as the
R2 value for regression methods ( Table 4), and precision, recall and F1 scores for classification
Methods
(Table 5).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
19
Classification models obtained good fits on the training dataset (achieving precision and recall
of 1 for all methods and output variables) but failed to perform well on the testing dataset. Very
few datapoints of MIC output variables (1 or 2) were available for class 1, which limited the fitting
quality of the testing dataset (see Supporting information). Furthermore, values of 1 for precision,
recall and F1 score of the testing dataset ( Table 5) may give an incorrect sense of good fit 1 (see
Supporting information). However, there was an almost even split of classes for hemagglutination
(Hc) output, although the fit of the testing dataset was marginally better than what was observed
for MIC output variables for decision trees and RF models (i.e., a higher F1 score).
For these reasons, it was decided to continue with the modelling approach using regression
models.
Regression models also achieved good fits (Table 4). For decision trees, the fits to both training
and testing (validation) datasets were exactly 1, while for RF and GB, a single R2 value is used to
represent the fit, as cross-validation was performed during fitting, and indicates good fits as well.
Therefore, we plotted the actual value versus predicted value for regression RF and GB models
(Figure 2) and the regression GB model has better predictability (Figure 2A).
In addition to considering the model fit, reproducibility of feature importance and consistency
of generated tree structure were included in the analysis for selection of the best performing
model(s).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
20
Table 4. Fit metrics of the regression models
Method
Output variable R2*
Decision tree
MIC PA14 1.00+
MIC LESB58 1.00+
MIC USA300 1.00+
MIC Newman 1.00+
Agglutination 1.00+
Random forest
MIC PA14 0.82
MIC LESB58 0.90
MIC USA300 0.88
MIC Newman 0.89
Agglutination 0.83
Gradient boosting
MIC PA14 0.98
MIC LESB58 1.00
MIC USA300 0.99
MIC Newman 0.99
Agglutination 1.00
*R2: for decision trees, as a single tree is fit, 20% of the sample datapoints were randomly
selected for validation, so two R 2 values were obtained, one for training and one for validation.
For RF and GB, it was possible to perform cross -validation (out -of-bag sampling with
replacement) for each tree in the ensemble, so a single R2 is reported for the ensemble. +: R2 values
of exactly 1 were obtained for both training and validation datasets.
Figure 2. Predicted versus actual value for all output variables with A) RF regression model (left)
and B) GB regression model (right).
A
B
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
21
Table 5. Fit metrics of the classification models
Method
Output variable Precision* Recall* F1 score*
Decision tree
MIC PA14 1 1 1 1 1 1
MIC LESB58 1 0.5 1 0.46 1 0.48
MIC USA300 1 0.45 1 0.41 1 0.43
MIC Newman 1 0.44 1 0.36 1 0.4
Agglutination 1 0.61 1 0.58 1 0.58
Random forest
MIC PA14 1 1 1 1 1 1
MIC LESB58 1 1 1 1 1 1
MIC USA300 1 0.46 1 0.5 1 0.48
MIC Newman 1 0.46 1 0.5 1 0.48
Agglutination 1 0.75 1 0.86 1 0.75
Gradient
boosting
MIC PA14 1 1 1 1 1 1
MIC LESB58 1 0.5 1 0.38 1 0.43
MIC USA300 1 0.45 1 0.45 1 0.45
MIC Newman 1 0.5 1 0.95 1 0.81
Agglutination 1 0.67 1 0.5 1 0.44
*Precision, recall and F1 score are given as macro -average values (simple mean between the
values for each class); the first value is for the training dataset, and the second, for the validation
dataset. The precision, recall and F1 score for each class are shown in the Supporting information.
Reproducibility and consistency of the ML models
Reproducibility of feature importance between different models was tested by performing 5 runs
in which distinct datapoints were selected for validation/cross -validation, and with separate
hyperparameter optimisation (with 100 random trials). The average f eature importance for each
feature and each output variable is shown in Table 6 for regression models (the data for
classification models is shown in the Supporting information). The optimised hyperparameter
values, fitting metrics and individual feature importance values for each run can be seen in
Supporting information.
For regression models, the decision tree had the highest standard error between all runs,
averaging 20-34% for the different output values. RF and GB had average standard errors ranging
between 4 -9% and 0 -3%, respectively. Classification models ( Table S4 in the Supporting
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
22
information) exhibited larger standard errors: 28 -51% for decision tree, 17 -37% for RF, and 23 -
64% for GB.
Table 6. Average feature importance, standard deviation and error for regression models
Output
variable Feature
Decision tree Random forest Gradient boosting
Avg Stdev Stder
(%)
Avg Stdev Stder
(%)
Avg Stdev Stder
(%)
MIC-
PA14
DP 0.21 0.02 4 0.38 0.07 8 0.16 0.03 7
CatMonPerc 0.16 0.16 46 0.16 0.04 12 0.26 0.01 1
PolyConf 0.41 0.26 28 0.22 0.05 9 0.33 0.02 2
CatMonType 0.22 0.10 21 0.24 0.04 8 0.25 0.00 1
MIC-
LESB58
DP 0.29 0.17 27 0.33 0.05 6 0.36 0.00 0
CatMonPerc 0.25 0.10 19 0.25 0.03 5 0.37 0.00 0
PolyConf 0.07 0.08 52 0.10 0.04 16 0.10 0.00 0
CatMonType 0.39 0.25 29 0.32 0.02 3 0.17 0.00 0
MIC-
USA300
DP 0.09 0.06 29 0.12 0.02 6 0.07 0.00 0
CatMonPerc 0.63 0.10 7 0.60 0.01 1 0.52 0.00 0
PolyConf 0.17 0.11 30 0.13 0.01 5 0.14 0.00 0
CatMonType 0.11 0.07 30 0.15 0.02 6 0.26 0.00 0
MIC-
Newman
DP 0.08 0.09 49 0.12 0.02 9 0.09 0.00 0
CatMonPerc 0.50 0.10 9 0.55 0.03 2 0.57 0.00 0
PolyConf 0.16 0.05 13 0.14 0.01 4 0.17 0.00 0
CatMonType 0.27 0.09 16 0.19 0.02 5 0.18 0.00 0
Hc
DP 0.07 0.10 69 0.14 0.03 8 0.18 0.00 0
CatMonPerc 0.40 0.09 10 0.26 0.04 6 0.22 0.00 0
PolyConf 0.23 0.12 24 0.26 0.03 5 0.20 0.00 0
CatMonType 0.31 0.11 16 0.35 0.02 3 0.40 0.00 0
Avg = average value; Stdev = standard deviation (5 runs); Stder(%) = percent standard error
Regression RF and GB models were the most reproducible, and this can be more easily
visualised by plotting the feature importance of different runs in spider plots (Figure 3). The plots
for all other regression and classification models are in the Supporting information (Figures S2 to
S6).
The consistency of tree structure between different runs was also analysed. For RF models, tree
structures are individually less impactful given that the average of all trees’ predictions is taken
into account during bagging. This analysis is discussed in detail in the supporting information.
Briefly, the decision tree models mostly fit distinct tree structures across different runs, and this
resulted in the high variability of average feature importance. For GB regression models, while the
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
23
initial trees in the sequence have presented slight structural changes between runs, the final trees
were either identical or had node splits at deeper levels (which have a smaller impact on feature
importance).
Figure 3. Reproducibility test of feature importance for regression RF models. For each output
variable (MIC PA14, MIC LESB58, MIC USA300, MIC Newman, and Agglutination) , five
different runs were performed, and the importance of each feature (degree of polymerisation [DP],
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
24
type of cationic monomer [CatMonType], percentage of cationic monomer [CatMonPerc], and
polymer confirmation [PolyConf]) calculated for each run. The average across all runs is also
shown. In tree-based models, feature importance is computed during model fitting and derives
from node impurity calculations.
In general, the classification models had low fitting scores at the testing stage of the dataset and
with inability to reproduce the average feature importance distributions after multiple runs. On the
other hand, RF and GB regression models fit the data well and were reproducible across distinct
runs. This indicates that t hese two models best capture the input-output relationships of the data
and were therefore applied to further ML data analysis.
Feature importance and average SHAP values
Based on both model fit, feature importance reproducibility and consistency of tree structures,
as discussed previously, the regression RF and GB models were selected for representing the
dataset and further SHAP analysis.
Feature importance for RF and GB regression models
From the average feature importance values ( Table 6, Figure 3), both RF and GB models
predicted similar feature importance distributions for MIC USA300 and MIC Newman, with the
percentage of the cationic monomer being the greatest contributing input (feature) with 50 -60%
contribution, followed by the type of cationic monomer and polymer conformation, and finally the
degree of polymerisation, with less than 20% contribution.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
25
MIC for P. aeruginosa strains exhibited variable feature contributions, for both the models and
the strains. Based on the RF regression model, the order of features contributions for MIC PA14
was DP > type of cationic monomer > polymer conformation and cationic monomer ratio. While
for MIC LESB58, the order was similar but the DP and type of cationic monomer were the most
contributing features closely at around 30%, then the cationic ratio and polymer conformation with
about 10% contribution.
With the GB regression model, for MIC PA14, more importance was placed on polymer
conformation (33% versus 22%) and percentage of cationic monomer (26% versus 16%), rather
than on DP (16% versus 38%), relative to the RF model. For MIC LESB58, GB model plac ed
more importance on the percentage of cationic monomer (37% versus 25%) , but the importance
was relatively the same for DP and polymer conformation . The GB model also placed less
importance on the type of cationic monomer (17% versus 32%) than RF.
For agglutination, RF and GB placed similar levels of importance on the same features. The type
of cationic monomer was the most important feature (35-40%), followed by polymer conformation
(22-26%) and cationic monomer ratio (26-20%).
Comparing feature importance and average SHAP values for RF and GB regression models
SHAP values explain how each feature impacts the expected output values in a dataset. While
feature importance only provides the magnitude of the contribution for the whole dataset, SHAP
provides both the magnitude and the type of contribution (positive or negative) for each datapoint
in the dataset. The advantage of feature importance is that it is calculated as part of the tree fitting
procedure (refer to the equations presented earlier in the Experimental section ), and no extra
computational work is needed to obtain those values. SHAP values were averaged over the dataset
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
26
and compared to the feature importance ( Figure 4). The values in the graphs are listed in the
supporting information (Tables S17 and S18).
In the RF model, the average SHAP value places less importance on DP and more importance
on the type of cationic monomer than feature importance, for both MIC PA14 and MIC LESB58.
The importance of polymer conformation and percent of cationic monomer remai ned similar for
MIC PA14, while for MIC LESB58, the importance of polymer conformation was minimal with
the average SHAP value. For the other output variables (MIC USA300, MIC Newman and
agglutination), feature importance and average SHAP values were equiv alent, and there was not
much variation in their distributions.
With the regression GB model, SHAP values were also similar to feature importance
distributions for MIC USA300, MIC Newman and agglutination. For MIC PA14, the average
SHAP value allocated greater importance to the type of cationic monomer and reduced importance
to polymer conformation relative to average feature importance. For MIC LESB58, average SHAP
also placed more importance on the type of cationic monomer, but less importance to the degree
of polymerisation and percentage of cationic monomer.
Comparing the average SHAP values from the RF and GB models, it should be noted that their
distributions are more similar than those of feature importance from the same RF and GB models.
The average SHAP values from different models give more consistent results for the overall
dataset than feature importance.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
27
Figure 4. Comparison of feature importance and average SHAP values for all output variables
(MIC PA14, MIC LESB58, MIC USA300, MIC Newman, and Agglutination). The importance
and SHAP value of each model feature (input variable) - degree of polymerisation (DP), type of
cationic monomer (CatMonType), percentage of cationic monomer (CatMonPerc), and polymer
confirmation (PolyConf) – is shown on a scale of 0 to 1 , and th ese values add up to 1 . This
comparison is illustrated for RF regression (A) and GB regression models (B).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
28
Datapoint-specific SHAP values
SHAP values for each data point represent the marginal contribution of each feature relative to
the average output value for the whole dataset. In other words, SHAP value gives how much each
feature contributes to increase or decrease a data point’s output compared to the average output
value. We visualised the SHAP values via waterfall curves and beeswarm plots.
In the beeswarm plots (Figure 5), each dot on the plots represents one data point. The x -axis is
the SHAP value. A value of zero means the data point does not contribute to changing the output
value. A negative value means that the feature decreases the value of the output while a posit ive
value means it increases it, all in relation to the average value of the variable. The average values
between the two models (Table 7) are slightly different, as each model provides a different estimate
for each datapoint. The colours of the dots are related to the feature value with the colour bar on
the right. For features that are inherently categorical but treated as continuous during modelling,
the high-low grading can be related to the original feature class by referring to Table 1 and Table
2. For example, low CatMonType corresponds to cationic monomer 1 (AEAM), and medium-high
PolyConf to polymer conformation 3 (triblock copolymer).
Therefore, the beeswarm plots can be used to identify feature values which contribute to moving
the output closer to the desired value. For all four MIC outputs, a small output value is desirable,
as th is means a greater potency. On the contrary, higher output value s are desirable for
hemagglutination (CH).
Comparing the beeswarm plots for RF and GB models ( Figure 5), the SHAP value spread is
similar for all outputs. While there are some differences in the magnitude of the SHAP values, the
colour distribution of the dots remains the same for each output variable. For example, focusing
on each of the four features for MIC PA14 and specifically on the negative side of the x -axis
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
29
(Figure 5A), it can be seen that the feature values lead ing to negative SHAP are: low for type of
cationic monomer, high for DP, medium-high for polymer conformation and medium-high to high
for cationic monomer ratio (although some low CatMonPerc values are also slightly negative).
According to this, DP 100 triblock copolymer, with over 50% AEAM will result in the lowest
MIC-PA14, for example. A similar analysis was performed for the other outputs and the results
are summarised in Table 8.
It is worth mentioning that the most visible difference in SHAP value spread occurs for the
polymer conformation feature in MIC USA300 and MIC Newman models (Figure 5C&D). While
for RF models, homopolymer and diblock (polymer conformations 1 and 2 in blue and light purple
dots) are more favourable (i.e., more negative), for GB models, diblock (polymer conformation 2)
has the most negative SHAP value, thus the most favo urable. Conformations 1 (as in RF) and 3
(homopolymer and triblock) also have negative SHAP values and are favourable.
Table 7. Dataset-averaged output values, E[f(x)], in µg/mL for RF and GB regression models
Output variable RF regression GB regression
MIC PA14 451.8 454.3
MIC LESB58 434.0 432.0
MIC USA300 393.3 395.8
MIC Newman 411.5 407.0
Agglutination 217.3 227.6
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
30
Figure 5. Beeswarm plots for RF regression models (left) and GB regression model (right). The
colour bar gives the magnitude of continuous features and indicates the class for categorical
features. A: MIC PA14; B: MIC LESB58; C: MIC USA300; D: MIC Newman; E:
Hemagglutination.
RF regression model
GB regression model
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
31
Table 8. Feature values that contribute to moving the output closer to its desired value
DP CatMonPerc PolyConf CatMonType
MIC-
PA14 High 100 Medium-high to
high**
70-
100% 3 triblock 1 AEAM
MIC-
LESB58 High 100 Medium-high to high 70-
100% 3 triblock 1 AEAM
MIC-
USA300 High 100 Medium-high to high 70-100 2*** diblock 1 AEAM
MIC-
Newman High 100 Medium-high to high 70-
100% 2*** diblock 1 AEAM
CH Medium* 50 Medium 50% 2 diblock 2 DMAEAM
*Comparing values in Tables S1 and S2, the colour bar for agglutination (CH) is on different scale
to MIC, as fewer data points were available. So high DP in the agglutination plot corresponds to a
similar value as medium DP in MIC plots. **Some low CatMonPerc points are also favourable,
though not as much as medium-high to high ones. *** Conformations 1 and 2 are favourable based
on RF models, while conformation 2 is the most favourable based on GB models (with
conformations 1 and 3 also favourable, but not as much as conformation 2).
Caution should be taken when interpreting beeswarm plots, as the features are considered
separately, so any potential correlations between features could have been overlooked. These
potential correlations may be observed when looking into the combined effect of the SHAP values
of all features on specific datapoints. For this purpose, waterfall plots are used.
Waterfall plots ( Figure 6, Figure 7 and Figure 8) are datapoint -specific and show how each
feature contributes (both in magnitude and direction) to taking the output value from the sample -
averaged value (E[f(x)]) to the predicted output value (f(x)) for the selected datapoint. Here, we
will discuss the waterfall plots for the best-performing datapoints in each output variable (MIC ≤
64 µg/mL and agglutination concentration > 256 µg/mL).
The waterfall plots for the best-performing MIC PA14 datapoint obtained from both the RF and
GB models are shown in (Figure 6). For both models, the datapoint-specific SHAP values suggest
that polymer conformation 3 (triblock) and type of cationic monomer 1 (AEAM) are the largest
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
32
contributors to reducing the MIC value. The GB model places more contribution on the other two
features, leading to a predicted value (86.7 µg/ml) closer to the actual MIC (64 µg/ml).
Interestingly, while based on the beeswarm plots ( Figure 5), high DP was predicted to be
beneficial, the best-performing datapoint in waterfall plot was a medium DP value (DP50). This
illustrates how combined with polymer conformation 3 (triblock) and cationic monomer 1
(AEAM), a lower DP can be favourable. Although it should be noted that a datapoint with a higher
DP and these same conformation and cationic monomer values was not included. This highlights
the importance of investigating the relationships between features to further inform, confirm, or
challenge insights gained from a beeswarm plot.
Similarly to MIC PA14, MIC LESB58 only had one best -performing datapoint, datapoint 8
(Figure 6). The type of cationic monomer was also AEAM (1), but differently from MIC PA14,
LESB58 had the most beneficial contribution from the percent of cationic monomer, at a medium-
high value (70%).
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
33
Figure 6. Waterfall plots for best-performing MIC PA14 (data point 15) and MIC LESB58 (data
point 8) SAMP designs for each model: A (RF model) and B (GB model). Waterfall plots depict
datapoint-specific SHAP values . Reading the plot s starts at the dataset -averaged output value
(E[fx)], as listed in Table 7). Then each feature’s SHAP value (identified by red arrows if positive,
or blue arrows if negative) adds to or subtracts from the dataset-averaged output value, giving as
the final answer the datapoint-specific output value (f(x)) for a given set of feature values.
Two datapoints performed well for MIC USA300 (datapoints 5 and 8). For both datapoints and
in both models (Figure 7), cationic monomer percent was the most favourable feature, at a medium
to high value (70-100%). Homopolymers and diblock copolymers were both favourable (classes 1
and 2). AEAM monomer was the second -best contributor. Both models explained the datapoint
performance in similar ways, with only a small difference in the DP SHAP value for data point 8
(a slightly positive value for RF, but slightly negative for GB). MIC Newman followed similar
trends (Figure 7), except that for datapoints 5 and 8. For the GB model datapoint 5, the type of
cationic monomer was the second most contributing feature instead of polymer conformation. For
datapoint 8, the type of cationic monomer was contributing more than the percent of cationic
MIC PA14
MIC LESB58
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
34
monomer. However, both models and datapoints considered the percent age of cationic monomer
at medium -high amounts (70%) and cationic monomer AEAM as the two most contributing
features, similarly to MIC USA300.
On the other hand, hemagglutination had 5 datapoints that performed well (datapoints 7’, 8’,
10’, 11’, and 14’). Different features take on different levels of importance depending on the
datapoint, but some trends can be observed overall (Figure 8). Firstly, cationic monomer percents
of at least 50% are beneficial. Triblock copolymer conformation and DMAEAM monomer, either
combined or alone, contributed in a favourable way. DP of 50 was also favourable. Both models
agree on these observations. It i s important to compare these with the results expected from the
beeswarm plot, which identified DMAEAM as the best monomer but diblock as the best polymer
conformation (Table 8). But from the waterfall plot ( Figure 8), diblock copolymers were slightly
unfavourable (or had no effect) for the best-performing datapoints 7’, 8’ and 10’.
It should be noted that the most contributing features for the best -performing datapoints do not
always match in type and amount of contribution with the most contributing features from the
average SHAP value or feature importance contribution distribution s ( Figure 4). The average
SHAP value and feature importance give dataset-averaged contributions, and so they also take into
account datapoints that did not perform as well. Hence it may be possible that some of the most
effective features to the output, contributed in a negative way.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
35
Figure 7. Waterfall plot for best-performing MIC USA300 (left) and MIC Newman (right) SAMP
designs (datapoints 5 and 8). A: RF model datapoint-specific SHAP values for datapoint 5; B: GB
model datapoint-specific SHAP values for datapoint 5; C: RF model datapoint-specific SHAP
values for datapoint 8; D: GB model datapoint-specific SHAP values for datapoint 8. Waterfall
plots depict datapoint-specific SHAP values. Reading the plots starts at the dataset-averaged output
value (E[fx)], as listed in Table 7). Then each feature’s SHAP value (identified by red arrows if
positive, or blue arrows if negative) adds to or subtracts from the dataset -averaged output value,
giving as the final answer the datapoint-specific output value (f(x)) for a given set of feature values.
MIC USA300
MIC Newman
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
36
Figure 8. Waterfall plot for best-performing Agglutination SAMP designs using the RF model
(left) and GB model (right). A: datapoint 7’; B: datapoint 8’; C: datapoint 10’; D: datapoint 11’;
E: datapoint 14’. Waterfall plots depict datapoint-specific SHAP values. Reading the plots starts
at the dataset-averaged output value (E[fx)], as listed in Table 7). Then each feature’s SHAP value
(identified by red arrows if positive, or blue arrows if negative) adds to or subtracts from the
dataset-averaged output value, giving as the final answer the datapoint-specific output value (f(x))
for a given set of feature values.
RF model
GB model
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
37
Discussion
Amongst the models tested, the tree ensemble regression methods had the best fit and
reproducibility after multiple runs, which was different to a similar study by Kundi et al. that
proposed the use of decision tree classification model with another set of descriptors.64 Here, after
running FI and SHAP analysis for GB and RF regression models, the features importance and their
values that provided the best performance were elucidated for each output as follows (in order of
higher to lower contribution): For MIC-P. aeruginosa (both strains): type of cationic monomer
(AEAM), the cationic ratio (70 -100%), chain length (DP100), and polymer conformation
(triblock). For MIC -S. aureus (both strains): the cationic ratio (70 -100%), type of cationic
monomer (AEAM), chain length (DP100), and polymer conformation (diblock). For
Hemagglutination: type of cationic monomer (DMAEAM), polymer conformation (diblock),
chain length (DP100), and the cationic ratio (50%).
There are similarities between structure-activity relationship patterns detected here to our SAR
analysis in previous work .44 Beeswarm plot model feature suggestions align with some of the
experimental observation of the best performing SAMPs design features, especially for polymer
conformation, type and percentage of cationic monomer. However, complete alignment is
unexpected, f irstly because beeswarm plot analysis does not consider any potential feature
correlations. Secondly, insights based on the models may contain feature combinations which have
not been experimentally collected, thus not allowing for a direct match, but pro viding additional
information. According to beeswarm, the cationic moiety and the cationic ratio are the most
contributing features to the potency against S. aureus strains, which matches our conclusion based
on experimental observation. Interestingly, feature importance and average SHAP value analysis
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
38
suggests that DP is the least important feature for activity against S. aureus strains, which
corroborates the idea that all other features being at their optimal values, the DP value can vary in
the 50-100 range without affecting performance.
This shows the suitability of the descriptors used here as they were all contributing to the activity
and selectivity of the polymers. The SHAP analysis can be used as guideline to design future
SAMPs libraries of similar structures with higher success rate. For example, utilising the cationic
monomer AEAM in high ratio (>50%) contribute to high potency and can be used in segmented
conformation (diblock or triblock) with DP100. I t must be noted that the dataset used here is
limited and can benefit from more datapoints that cover a wider range of values.
On the other hand, a different model can generate completely different patterns. Kundi et al.
work with other descriptors and model recommended alternative design. SHAP values in their
work recommended increasing NIPAM ratio over 0.4, maintaining the clogP between 0.5 and -2,
and even the omission of AEAM to increase the likelihood of potent polymers. 64 Hence, it is
important to evaluate different models in small, controlled library for the most suitable model to
be used with larger dataset, and to identify the relevant input values to be used that suit the purpose.
Conclusion
Screening through the library of 23 potential antimicrobial polyacrylamides, their performance
was impacted by the key features: type of cationic monomer, cationic ratio, DP and polymer
architecture. These features were useful parameters in the machine lea rning models and can be
utilised to predict future candidates. Among the models operated in this pilot study, tree-ensemble
regression models; GB and RF, were good fit of the dataset and produced consistent feature
importance values across multiple runs, h ence, have great potentials forecasting prospective
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
39
SAMPs candidates. SHAP and features importance outcomes highlighted the importance of the
type and number of cationic moieties on the polymers’ activity. Although the machine learning
predictions in this work were consistent within this dataset, it still requires manifold data points to
produce informed predictions. This can be achieved by feeding the model presented in this work
(regression gradient boosting) with the published libraries of SAMPs using the proposed features
as descriptors.
Acknowledgements
LD thanks Cara for the provision of a fellowship.
References
(1) De Oliveira, D. M. P.; Forde, B. M.; Kidd, T. J.; Harris, P. N. A.; Schembri, M. A.; Beatson,
S. A.; Paterson, D. L.; Walker, M. J. Antimicrobial Resistance in ESKAPE Pathogens.
Clinical Microbiology Reviews 2020, 33 (3), e00181 -19.
https://doi.org/10.1128/CMR.00181-19.
(2) El Shazely, B.; Yu, G.; Johnston, P. R.; Rolff, J. Resistance Evolution Against Antimicrobial
Peptides in Staphylococcus Aureus Alters Pharmacodynamics Beyond the MIC. Front.
Microbiol. 2020, 11, 103. https://doi.org/10.3389/fmicb.2020.00103.
(3) Zasloff, M. Antimicrobial Peptides of Multicellular Organisms. Nature 2002, 415 (6870),
389–395. https://doi.org/10.1038/415389a.
(4) Valenti, G. E.; Alfei, S.; Caviglia, D.; Domenicotti, C.; Marengo, B. Antimicrobial Peptides
and Cationic Nanoparticles: A Broad-Spectrum Weapon to Fight Multi-Drug Resistance Not
Only in Bacteria. International Journal of Molecular Sciences 2022, 23 (11), 6108.
https://doi.org/10.3390/ijms23116108.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
40
(5) Sikora, K.; Jaśkiewicz, M.; Neubauer, D.; Bauer, M.; Bartoszewska, S.; Barańska-Rybak, W.;
Kamysz, W. Counter-Ion Effect on Antistaphylococcal Activity and Cytotoxicity of Selected
Antimicrobial Peptides. Amino Acids 2018, 50 (5), 609–619. https://doi.org/10.1007/s00726-
017-2536-9.
(6) Mookherjee, N.; Anderson, M. A.; Haagsman, H. P.; Davidson, D. J. Antimicrobial Host
Defence Peptides: Functions and Clinical Potential. Nat Rev Drug Discov 2020, 19 (5), 311–
332. https://doi.org/10.1038/s41573-019-0058-8.
(7) Brogden, K. A. Antimicrobial Peptides: Pore Formers or Metabolic Inhibitors in Bacteria?
Nat Rev Microbiol 2005, 3 (3), 238–250. https://doi.org/10.1038/nrmicro1098.
(8) Etayash, H.; Hancock, R. E. W. Host Defense Peptide-Mimicking Polymers and Polymeric-
Brush-Tethered Host Defense Peptides: Recent Developments, Limitations, and Potential
Success. Pharmaceutics 2021, 13 (11), 1820.
https://doi.org/10.3390/pharmaceutics13111820.
(9) Dijksteel, G. S.; Ulrich, M. M. W.; Middelkoop, E.; Boekema, B. K. H. L. Review: Lessons
Learned From Clinical Trials Using Antimicrobial Peptides (AMPs). Frontiers in
Microbiology 2021, 12.
(10) Seo, M. D.; Won, H. S.; Kim, J. H.; Mishig -Ochir, T.; Lee, B. J. Antimicrobial Peptides for
Therapeutic Applications: A Review. Molecules 2012, 17 (10), 12276 –12286.
https://doi.org/10.3390/molecules171012276.
(11) Ali, W.; Elsahn, A.; Ting, D. S. J.; Dua, H. S.; Mohammed, I. Host Defence Peptides: A Potent
Alternative to Combat Antimicrobial Resistance in the Era of the COVID -19 Pandemic.
Antibiotics (Basel) 2022, 11 (4), 475. https://doi.org/10.3390/antibiotics11040475.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
41
(12) Budhathoki-Uprety, J.; Peng, L.; Melander, C.; Novak, B. M. Synthesis of Guanidinium
Functionalized Polycarbodiimides and Their Antibacterial Activities. ACS Macro Letters
2012, 1 (3), 370–374. https://doi.org/10.1021/mz200116k.
(13) Bai, S.; Wang, J.; Yang, K.; Zhou, C.; Xu, Y .; Song, J.; Gu, Y .; Chen, Z.; Wang, M.; Shoen,
C.; Andrade, B.; Cynamon, M.; Zhou, K.; Wang, H.; Cai, Q.; Oldfield, E.; Zimmerman, S.
C.; Bai, Y .; Feng, X. A Polymeric Approach toward Resistance-Resistant Antimicrobial Agent
with Dual -Selective Mechanisms of Action. Science Advances 2021, 7 (5), eabc9917.
https://doi.org/10.1126/sciadv.abc9917.
(14) Colak, S.; Nelson, C. F.; Nüsslein, K.; Tew, G. N. Hydrophilic Modifications of an
Amphiphilic Polynorbornene and the Effects on Its Hemolytic and Antibacterial Activity.
Biomacromolecules 2009, 10 (2), 353–359. https://doi.org/10.1021/bm801129y.
(15) Pachla, J.; Kopiasz, R. J.; Marek, G.; Tomaszewski, W.; Głogowska, A.; Drężek, K.;
Kowalczyk, S.; Podgórski, R.; Butruk -Raszeja, B.; Ciach, T.; Mierzejewska, J.; Plichta, A.;
Augustynowicz-Kopeć, E.; Jańczewski, D. Polytrimethylenimines: Highly Potent
Antibacterial Agents with Activity and Toxicity Modulated by the Polymer Molecular
Weight. Biomacromolecules 2023, 24 (5), 2237 –2249.
https://doi.org/10.1021/acs.biomac.3c00139.
(16) Liu, R.; Chen, X.; Falk, S. P.; Mowery, B. P.; Karlsson, A. J.; Weisblum, B.; Palecek, S. P.;
Masters, K. S.; Gellman, S. H. Structure -Activity Relationships among Antifungal Nylon-3
Polymers: Identification of Materials Active against Drug -Resistant Strains of Candida
Albicans. Journal of the American Chemical Society 2014, 136 (11), 4333 –4342.
https://doi.org/10.1021/ja500036r.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
42
(17) Mowery, B. P.; Lindner, A. H.; Weisblum, B.; Stahl, S. S.; Gellman, S. H. Structure−activity
Relationships among Random Nylon-3 Copolymers That Mimic Antibacterial Host-Defense
Peptides. J. Am. Chem. Soc. 2009, 131 (28), 9735–9745. https://doi.org/10.1021/ja901613g.
(18) Sara G. Hovakeemian; Hovakeemian, S. G.; Runhui Liu; Liu, R.; Samuel H. Gellman;
Gellman, S. H.; Heiko Heerklotz; Heerklotz, H. Correlating Antimicrobial Activity and
Model Membrane Leakage Induced by Nylon-3 Polymers and Detergents. Soft Matter 2015,
11 (34), 6840–6851. https://doi.org/10.1039/c5sm01521a.
(19) Xue, Y .; Xiao, H. Antibacterial/Antiviral Property and Mechanism of Dual -Functional
Quaternized Pyridinium -Type Copolymer. Polymers 2015, 7 (11), 2290 –2303.
https://doi.org/10.3390/polym7111514.
(20) Zhou, M.; Jiang, W.; Xie, J.; Zhang, W.; Ji, Z.; Zou, J.; Cong, Z.; Xiao, X.; Gu, J.; Liu, R.
Peptide-Mimicking Poly(2 -Oxazoline)s Displaying Potent Antimicrobial Properties.
ChemMedChem 2021, 16 (2), 309–315. https://doi.org/10.1002/cmdc.202000530.
(21) Concilio, M.; Maset, R. G.; Lemonche, L. P.; Kontrimas, V .; Song, J.-I.; Rajendrakumar, S.
K.; Harrison, F.; Becer, C. R.; Perrier, S. Mechanism of Action of Oxazoline -Based
Antimicrobial Polymers Against S. Aureus: In Vivo Antimicrobial Activity Eval uation.
Advanced Healthcare Materials n/a (n/a), 2301961.
https://doi.org/10.1002/adhm.202301961.
(22) Pinto, S. N.; Mil -Homens, D.; Pires, R. F.; Alves, M. M.; Serafim, G.; Martinho, N.; Melo,
M.; Fialho, A. M.; Bonifácio, V . D. B. Core–Shell Polycationic Polyurea Pharmadendrimers:
New-Generation of Sustainable Broad-Spectrum Antibiotics and Antifungals. Biomater. Sci.
2022, 10 (18), 5197–5207. https://doi.org/10.1039/D2BM00679K.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
43
(23) Kuroda, K.; DeGrado, W. F. Amphiphilic Polymethacrylate Derivatives as Antimicrobial
Agents. J. Am. Chem. Soc. 2005, 127 (12), 4128–4129. https://doi.org/10.1021/ja044205+.
(24) Locock, K. E. S.; Michl, T. D.; Valentin, J. D. P.; Vasilev, K.; Hayball, J. D.; Qu, Y .; Traven,
A.; Griesser, H. J.; Meagher, L.; Haeussler, M. Guanylated Polymethacrylates: A Class of
Potent Antimicrobial Polymers with Low Hemolytic Activity. Biomacromolecules 2013, 14
(11), 4021–4031. https://doi.org/10.1021/bm401128r.
(25) Kuroda, K.; Caputo, G. A.; DeGrado, W. F. The Role of Hydrophobicity in the Antimicrobial
and Hemolytic Activities of Polymethacrylate Derivatives. Chemistry - A European Journal
2009, 15 (5), 1123–1133. https://doi.org/10.1002/chem.200801523.
(26) Rawlinson, L.-A. B.; Ryan, S. M.; Mantovani, G.; Syrett, J. A.; Haddleton, D. M.; Brayden,
D. J. Antibacterial Effects of Poly(2 -(Dimethylamino Ethyl)Methacrylate) against Selected
Gram-Positive and Gram -Negative Bacteria. Biomacromolecules 2010, 11 (2), 443 –453.
https://doi.org/10.1021/bm901166y.
(27) Paslay, L. C.; Abel, B. A.; Brown, T. D.; Koul, V .; Choudhary, V .; McCormick, C. L.; Morgan,
S. E. Antimicrobial Poly(Methacrylamide) Derivatives Prepared via Aqueous RAFT
Polymerization Exhibit Biocidal Efficiency Dependent upon Cation Structure.
Biomacromolecules 2012, 13 (8), 2472–2482. https://doi.org/10.1021/bm3007083.
(28) Elashnikov, R.; Rimpelová, S.; Lyutakov, O.; Pavlíčková, V . S.; Khrystonko, O.; Kolská, Z.;
Švorčík, V . Ciprofloxacin -Loaded Poly(N -Isopropylacrylamide- Co-
Acrylamide)/Polycaprolactone Nanofibers as Dual Thermo - and pH -Responsive
Antibacterial Materia ls. ACS Applied Bio Materials 2022, 5 (4), 1700 –1709.
https://doi.org/10.1021/acsabm.2c00069.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
44
(29) Schaefer, S.; Pham, T. T. P.; Brunke, S.; Hube, B.; Jung, K.; Lenardon, M. D.; Boyer, C.
Rational Design of an Antifungal Polyacrylamide Library with Reduced Host-Cell Toxicity.
ACS Appl. Mater. Interfaces 2021, 13 (23), 27430 –27444.
https://doi.org/10.1021/acsami.1c05020.
(30) Hartlieb, M.; Williams, E. G. L.; Kuroki, A.; Perrier, S.; Locock, K. E. S. Antimicrobial
Polymers: Mimicking Amino Acid Functionali Ty, Sequence Control and Three-Dimensional
Structure of Host -Defen Se Peptides. Current Medicinal Chemistry 2017, 24 (19), 1 –26.
https://doi.org/10.2174/0929867324666170116122322.
(31) Pham, P.; Oliver, S.; Boyer, C. Design of Antimicrobial Polymers. Macromolecular
Chemistry and Physics n/a (n/a), 2200226. https://doi.org/10.1002/macp.202200226.
(32) Locock, K. E. S.; Michl, T. D.; Stevens, N.; Hayball, J. D.; Vasilev, K.; Postma, A.; Griesser,
H. J.; Meagher, L.; Haeussler, M. Antimicrobial Polymethacrylates Synthesized as Mimics
of Tryptophan -Rich Cationic Peptides. ACS Macro Lett. 2014, 3 (4), 319 –323.
https://doi.org/10.1021/mz5001527.
(33) Whitfield, R.; Anastasaki, A.; Nikolaou, V .; Jones, G. R.; Engelis, N. G.; Discekici, E. H.;
Fleischmann, C.; Willenbacher, J.; Hawker, C. J.; Haddleton, D. M. Universal Conditions for
the Controlled Polymerization of Acrylates, Methacrylates, and Styrene via Cu(0)-RDRP. J.
Am. Chem. Soc. 2017, 139 (2), 1003–1010. https://doi.org/10.1021/jacs.6b11783.
(34) Martin, L.; Gody, G.; Perrier, S. Preparation of Complex Multiblock Copolymers via
Aqueous RAFT Polymerization at Room Temperature. Polym. Chem. 2015, 6 (27), 4875–
4886. https://doi.org/10.1039/C5PY00478K.
(35) Quek, J. Y .; Roth, P. J.; Evans, R. A.; Davis, T. P.; Lowe, A. B. Reversible Addition -
Fragmentation Chain Transfer Synthesis of Amidine-Based, CO2-Responsive Homo and AB
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
45
Diblock (Co)Polymers Comprised of Histamine and Their Gas -Triggered Self-Assembly in
Water. Journal of Polymer Science, Part A: Polymer Chemistry 2013, 51 (2), 394 –404.
https://doi.org/10.1002/pola.26397.
(36) Michl, T. D.; Locock, K. E. S.; Stevens, N. E.; Hayball, J. D.; Vasilev, K.; Postma, A.; Qu,
Y .; Traven, A.; Haeussler, M.; Meagher, L.; Griesser, H. J. RAFT -Derived Antimicrobial
Polymethacrylates: Elucidating the Impact of End -Groups on Activity and Cytotoxicity.
Polym. Chem. 2014, 5 (19), 5813–5822. https://doi.org/10.1039/C4PY00652F.
(37) Gody, G.; Maschmeyer, T.; Zetterlund, P. B.; Perrier, S. Pushing the Limit of the RAFT
Process: Multiblock Copolymers by One -Pot Rapid Multiple Chain Extensions at Full
Monomer Conversion. Macromolecules 2014, 47 (10), 3451 –3460.
https://doi.org/10.1021/ma402435n.
(38) Kuroki, A.; Kengmo Tchoupa, A.; Hartlieb, M.; Peltier, R.; Locock, K. E. S.; Unnikrishnan,
M.; Perrier, S. Targeting Intracellular, Multi -Drug Resistant Staphylococcus Aureus with
Guanidinium Polymers by Elucidating the Structure -Activity Relationship . Biomaterials
2019, 217 (May), 119249. https://doi.org/10.1016/j.biomaterials.2019.119249.
(39) Kuroki, A.; Sangwan, P.; Qu, Y .; Peltier, R.; Sanchez -Cano, C.; Moat, J.; Dowson, C. G.;
Williams, E. G. L.; Locock, K. E. S.; Hartlieb, M.; Perrier, S. Sequence Control as a Powerful
Tool for Improving the Selectivity of Antimicrobial Polymers. ACS Applied Materials &
Interfaces 2017, 9 (46), 40117–40126. https://doi.org/10.1021/acsami.7b14996.
(40) Laroque, S.; Reifarth, M.; Sperling, M.; Kersting, S.; Klöpzig, S.; Budach, P.; Storsberg, J.;
Hartlieb, M. Impact of Multivalence and Self -Assembly in the Design of Polymeric
Antimicrobial Peptide Mimics. ACS Appl. Mater. Interfaces 2020, 12 (27), 30052–30065.
https://doi.org/10.1021/acsami.0c05944.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
46
(41) Laroque, S.; Garcia Maset, R.; Hapeshi, A.; Burgevin, F.; Locock, K. E. S.; Perrier, S.
Synthetic Star Nanoengineered Antimicrobial Polymers as Antibiofilm Agents: Bacterial
Membrane Disruption and Cell Aggregation. Biomacromolecules 2023, 24 (7), 3073–3085.
https://doi.org/10.1021/acs.biomac.3c00150.
(42) Garcia Maset, R.; Hapeshi, A.; Hall, S.; Dalgliesh, R. M.; Harrison, F.; Perrier, S. Evaluation
of the Antimicrobial Activity in Host -Mimicking Media and In Vivo Toxicity of
Antimicrobial Polymers as Functional Mimics of AMPs. ACS Appl Mater Interfaces 2022,
14 (29), 32855–32868. https://doi.org/10.1021/acsami.2c05979.
(43) Perrier, S. 50th Anniversary Perspective : RAFT Polymerization —A User Guide.
Macromolecules 2017, 50 (19), 7433–7447. https://doi.org/10.1021/acs.macromol.7b00767.
(44) (a) Laroque, S.; Harris, J.; Rajendrakumar, S. K.; Vasilyev, V .; Grewal, J.; et al. Cationic
Antimicrobial Copolymers Reveal Immunomodulatory Properties in LPS -Stimulated
Macrophages in Vitro. bioRxiv 2025, April 8. https://doi.org/10.1101/2025.04.08.647761 (b)
Dalal, L.; Structure-Activity Optimisation of Acrylamide -Based Synthetic Antimicrobial
Polymers (SAMPs), PhD Thesis, 2025
(45) Mirzaei, M.; Furxhi, I.; Murphy, F.; Mullins, M. A Machine Learning Tool to Predict the
Antibacterial Capacity of Nanoparticles. Nanomaterials 2021, 11 (7), 1774.
https://doi.org/10.3390/nano11071774.
(46) Aguilera-Puga, M. D. C.; Plisson, F. Structure -Aware Machine Learning Strategies for
Antimicrobial Peptide Discovery. Sci Rep 2024, 14 (1), 11995.
https://doi.org/10.1038/s41598-024-62419-y.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
47
(47) Mathai, N.; Kirchmair, J. Similarity-Based Methods and Machine Learning Approaches for
Target Prediction in Early Drug Discovery: Performance and Scope. International Journal of
Molecular Sciences 2020, 21 (10), 3585. https://doi.org/10.3390/ijms21103585.
(48) Serafim, M. S. M.; Kronenberger, T.; Oliveira, P. R.; Poso, A.; Honório, K. M.; Mota, B. E.
F.; Maltarollo, V . G. The Application of Machine Learning Techniques to Innovative
Antibacterial Discovery and Development. Expert Opinion on Drug Discovery 2020, 15 (10),
1165–1180. https://doi.org/10.1080/17460441.2020.1776696.
(49) Schneider, P.; Walters, W. P.; Plowright, A. T.; Sieroka, N.; Listgarten, J.; Goodnow, R. A.;
Fisher, J.; Jansen, J. M.; Duca, J. S.; Rush, T. S.; Zentgraf, M.; Hill, J. E.; Krutoholow, E.;
Kohler, M.; Blaney, J.; Funatsu, K.; Luebkemann, C.; Schneider, G. Rethinking Drug Design
in the Artificial Intelligence Era. Nat Rev Drug Discov 2020, 19 (5), 353 –364.
https://doi.org/10.1038/s41573-019-0050-3.
(50) Stokes, J. M.; Yang, K.; Swanson, K.; Jin, W.; Cubillos-Ruiz, A.; Donghia, N. M.; MacNair,
C. R.; French, S.; Carfrae, L. A.; Bloom -Ackermann, Z.; Tran, V . M.; Chiappino-Pepe, A.;
Badran, A. H.; Andrews, I. W.; Chory, E. J.; Church, G. M.; Brown, E. D .; Jaakkola, T. S.;
Barzilay, R.; Collins, J. J. A Deep Learning Approach to Antibiotic Discovery. Cell 2020, 180
(4), 688-702.e13. https://doi.org/10.1016/j.cell.2020.01.021.
(51) Melo, M. C. R.; Maasch, J. R. M. A.; de la Fuente -Nunez, C. Accelerating Antibiotic
Discovery through Artificial Intelligence. Commun Biol 2021, 4 (1), 1 –13.
https://doi.org/10.1038/s42003-021-02586-0.
(52) Perfecto-Avalos, Y .; Navarro-López, D. E.; Martínez-Beltrán, S.; Rojas-Torres, D. E.; Suárez
Ávila, K. D.; I. Robles, T.; Zavala, A.; de Luna, M. A.; Sanchez -Martinez, A.; Ceballos -
Sanchez, O.; Sepúlveda -Villegas, M.; Sanchez -Ante, G.; Tiwari, N.; Lóp ez-Mena, E. R.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
48
Data-Driven Machine Learning to Predict Antibacterial Activity of Cerium -Doped
Nanoparticles. ACS Appl. Nano Mater. 2023, 6 (22), 20719 –20730.
https://doi.org/10.1021/acsanm.3c03651.
(53) Tiihonen, A.; Cox-Vazquez, S. J.; Liang, Q.; Ragab, M.; Ren, Z.; Hartono, N. T. P.; Liu, Z.;
Sun, S.; Zhou, C.; Incandela, N. C.; Limwongyut, J.; Moreland, A. S.; Jayavelu, S.; Bazan,
G. C.; Buonassisi, T. Predicting Antimicrobial Activity of Conjugat ed Oligoelectrolyte
Molecules via Machine Learning. J. Am. Chem. Soc. 2021, 143 (45), 18917 –18931.
https://doi.org/10.1021/jacs.1c05055.
(54) Wan, F.; Wong, F.; Collins, J. J.; de la Fuente-Nunez, C. Machine Learning for Antimicrobial
Peptide Identification and Design. Nat Rev Bioeng 2024, 2 (5), 392 –407.
https://doi.org/10.1038/s44222-024-00152-x.
(55) Xu, P.; Ji, X.; Li, M.; Lu, W. Small Data Machine Learning in Materials Science. npj Comput
Mater 2023, 9 (1), 1–15. https://doi.org/10.1038/s41524-023-01000-z.
(56) Ge, W.; De Silva, R.; Fan, Y .; Sisson, S. A.; Stenzel, M. H. Machine Learning in Polymer
Research. Advanced Materials 2025, 37 (11), 2413695.
https://doi.org/10.1002/adma.202413695.
(57) Huang, J.; Xu, Y .; Xue, Y .; Huang, Y .; Li, X.; Chen, X.; Xu, Y .; Zhang, D.; Zhang, P.; Zhao,
J.; Ji, J. Identification of Potent Antimicrobial Peptides via a Machine-Learning Pipeline That
Mines the Entire Space of Peptide Sequences. Nat. Biomed. Eng 2023, 7 (6), 797 –810.
https://doi.org/10.1038/s41551-022-00991-2.
(58) Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V .; Thirion, B.; Grisel, O.; Blondel, M.;
Prettenhofer, P.; Weiss, R.; Dubourg, V .; Vanderplas, J.; Passos, A.; Cournapeau, D.; Brucher,
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
49
M.; Perrot, M.; Duchesnay, É. Scikit-Learn: Machine Learning in Python. Journal of Machine
Learning Research 2011, 12 (85), 2825–2830.
(59) Ishwaran, H. The Effect of Splitting on Random Forests. Mach Learn 2015, 99 (1), 75–118.
https://doi.org/10.1007/s10994-014-5451-2.
(60) Classification and Regression Trees | Leo Breiman, Jerome Friedman, R.
https://www.taylorfrancis.com/books/mono/10.1201/9781315139470/classification-
regression-trees-leo-breiman-jerome-friedman-olshen-charles-stone (accessed 2024-08-12).
(61) Breiman, L. Random Forests. Machine Learning 2001, 45 (1), 5 –32.
https://doi.org/10.1023/A:1010933404324.
(62) Friedman, J. H. Greedy Function Approximation: A Gradient Boosting Machine. The Annals
of Statistics 2001, 29 (5), 1189–1232. https://doi.org/10.1214/aos/1013203451.
(63) Lipovetsky, S.; Conklin, M. Analysis of Regression in Game Theory Approach. Applied
Stochastic Models in Business and Industry 2001, 17 (4), 319 –330.
https://doi.org/10.1002/asmb.446.
(64) Kundi, V .; Jin, Y .; Chandrasekaran, A.; Muralidhar, A.; Masood, H.; Boyer, C.; Kumar, P.
Machine Learning Prediction of Antibacterial Activity of Block Copolymers. ACS Appl.
Nano Mater. 2024, 7 (8), 8939–8948. https://doi.org/10.1021/acsanm.4c00430.
(65) Kumar, R.; Le, N.; Oviedo, F.; Brown, M. E.; Reineke, T. M. Combinatorial Polycation
Synthesis and Causal Machine Learning Reveal Divergent Polymer Design Rules for
Effective pDNA and Ribonucleoprotein Delivery. JACS Au 2022, 2 (2), 428 –442.
https://doi.org/10.1021/jacsau.1c00467.
(66) Kumar, R.; Le, N.; Tan, Z.; Brown, M. E.; Jiang, S.; Reineke, T. M. Efficient Polymer -
Mediated Delivery of Gene -Editing Ribonucleoprotein Payloads through Combinatorial
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
50
Design, Parallelized Experimentation, and Machine Learning. ACS Nano 2020, 14 (12),
17626–17639. https://doi.org/10.1021/acsnano.0c08549.
(67) Lundberg, S. M.; Lee, S. -I. A Unified Approach to Interpreting Model Predictions. In
Advances in Neural Information Processing Systems; Curran Associates, Inc., 2017; V ol. 30.
(68) Ishwaran, H. The Effect of Splitting on Random Forests. Mach Learn 2015, 99 (1), 75–118.
https://doi.org/10.1007/s10994-014-5451-2.
(69) Akalin, A. Computational Genomics with R ; Chapman and Hall/CRC: New York, 2020.
https://doi.org/10.1201/9780429084317.
.CC-BY-NC-ND 4.0 International licenseavailable under a
(which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made
The copyright holder for this preprintthis version posted August 24, 2025. ; https://doi.org/10.1101/2025.08.24.671690doi: bioRxiv preprint
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.