Abstract
Automated model construction is essential for extending coarse-grained molecular dynamics to chemically diverse libraries. Here, we present MolGrind, a hybrid framework that converts molecular structures into Martini 3 models by learning from manually prepared small-molecule topologies. A graph isomorphism network predicts the probability that neighboring atoms belong to the same bead. Explicit rules then assemble these probabilities into connected partitions, after which descriptor-based classifiers assign bead classes and subtypes. This combination transfers expert mapping decisions to new structures while retaining a rapid and chemically interpretable preparation workflow. We evaluate the resulting models using solvent-accessible surface area and octanol–water partitioning for 40 compounds selected from a curated experimental dataset (MW 50–250 g mol−1) that spans hydrophilic and lipophilic chemistry. Coarse-grained and atomistic surface areas correlate at r = 0.975. Calculated and experimental logP values correlate at r = 0.953, with an RMSE of 1.00 log units. We then examine two applications of the generated models. For 20 JAK2 ligands, ten active and ten inactive, a single 500 ns trajectory per ligand yields a simulation-derived ranking with an AUROC of 0.89 (95% bootstrap interval of 0.70–1.00), compared with 0.75 for smina (0.49–0.95). For a single stratum-corneum model, skin-permeability predictions based on a membrane-partition descriptor and molecular weight achieve a leave-one-out RMSE of 0.73 log units for the 69 compounds at or below 350 g mol−1 versus 0.90 for all 87 tested compounds (no independent permeability test set was used). Together, these findings establish MolGrind as a practical and efficient route from a molecular structure to a Martini 3 topology for the applications examined here.