Scientists use machine learning to speed up long-acting drug formulation
University of Toronto researchers just proved that machine learning can drastically cut the trial-and-error out of formulating long-acting injectables. By extracting design criteria from a LightGBM model, the team hit their target slow-release rate for an ovarian cancer drug on the very first try. The entire dataset and codebase have been open-sourced on Zenodo.

This is an open-source machine learning pipeline built by University of Toronto researchers to take the guesswork out of formulating polymeric long-acting injectables.
Instead of spending months on manual bench work to see how slowly a drug releases from a polymer matrix, this project lets formulation scientists predict release profiles and extract concrete recipe rules before ever touching a pipette.
What it does
Long-acting injectables are a massive win for chronic disease management because they release medication over extended periods to boost patient adherence.
The headache has always been the formulation. Hitting the exact release window usually requires synthesizing dozens of polymer microparticle variants across multiple trial-and-error cycles.
This toolkit flips that process on its head. In their validation run on an existing ovarian cancer drug, the researchers used design criteria pulled directly from their trained model to hit their exact slow-release target on the very first try, completely skipping the usual rounds of iterative lab tweaks.
How it works
The team built a dedicated training dataset by mining experimental data from previously published polymeric microparticle studies.
They evaluated eleven different algorithms across the board, including multiple linear regression, random forest, neural networks, and LightGBM.
Tree-based architectures came out on top, with LightGBM delivering the highest prediction accuracy.
From there, the researchers used advanced analytical techniques to interpret what LightGBM learned. They turned those machine insights into actionable design parameters, formulated the ovarian cancer drug candidate, and experimentally confirmed the predicted release profile.
The complete codebase and curated dataset have been published openly on Zenodo for anyone to download and reproduce.
Why it matters
If you work in drug delivery or formulation science, this is an immediate grab. You get a ready-to-use baseline without having to build a cheminformatics pipeline from scratch.
We think the smartest decision here was sticking to LightGBM instead of overengineering a massive neural net. In specialized domains where data points are numbered in the hundreds rather than millions, interpretable tree models routinely outperform black boxes.
The only real bottleneck is the data itself. The authors noted that the pharmaceutical space is notoriously stingy with open-access datasets. Until the broader industry starts sharing standardized raw formulation data, machine learning in drug delivery will remain handcuffed by small-sample constraints.
Sources (1)
- phys.org(opens in a new tab)Originalphys.org