What LiPridic is
Two halves over one shared store. A web client where group members enter formulation parameters and assay results, authenticated and audited; and a model service that reads that data and fits on demand. Nothing is cached — every fit recomputes from the current data, so a number on screen is never older than the measurement behind it.
Lipid nanoparticles carry RNA into cells, and the component that decides whether they work is the ionizable lipid — a molecule with a charged head and oily tails. Change the head or the tails and the particle behaves differently. There are far more possible lipids than anyone can make, and the usual answer is to make a lot of them and test each one.
LiPridic takes the other path: measure a designed library carefully, build a rule connecting what a lipid is to how well it delivers, and then ask that rule about the rest of the library. The current library is a factorial grid of head units crossed with acyl components — 112 designed compounds — with structural descriptors generated by computer at seed time rather than typed in by anyone.
What it predicts — and what you tell it
LiPridic predicts efficacy, not particle characterisation. Apparent pKa, Z-average size, PDI and encapsulation efficiency are measured on the bench and entered by hand. They are inputs. What the model is asked for is the thing no instrument reports: whether the lipid will actually get RNA into a cell, and into an animal.
| Predicted | Expressed as | Expected tractability |
|---|---|---|
| Potency in cells in vitro |
log₁₀ ratio to a reference lipid measured in the same run | Limited. Bounded by activity cliffs, not by sample size. |
| Expression in animals in vivo |
log₁₀ area under the flux–time curve, one model per organ | Limited and conditional. Admissible only when the whole library was dosed. |
What goes in
| Input | Where it comes from |
|---|---|
| Structural descriptors — cLogP, MW, TPSA, titratable nitrogens, charge density, tail carbons, unsaturation, branching, spacer length, linkage, head motif | Computed from the structure by RDKit at seed time. Never typed in. |
| Formulation parameters — N/P ratio, mole fractions, phospholipid and PEG-lipid identity, cargo | Recorded for every formulation event, not assumed constant. |
| Measured particle properties — apparent pKa, Z-average, PDI, encapsulation efficiency, serum size shift | Measured on the bench and entered by the group. The platform does not predict these. |
Which inputs are available decides what question can be asked. Calculated descriptors exist before synthesis, so a model fitted on those alone can speak about compounds nobody has made — that is what ranks the library and says what to make next. Once a compound has been made and characterised, its measured properties join the inputs and sharpen the prediction for it considerably. The two are different models answering different questions, and LiPridic keeps the distinction explicit rather than quietly mixing them.
Two kinds of number go in. The first you get free from a drawing of the molecule, before anything is made. The second you only get after making the particle and putting it on an instrument — how acidic its charge switch is, how big it is, how much RNA it holds. Both are inputs. What comes out is the hard part, the part biology decides: how well it delivers.
The one term worth knowing: apparent pKa
A lipid’s head group picks up a positive charge when its surroundings turn acidic, and the pKa is the acidity at which half the molecules have picked it up. “Apparent” means measured on the assembled particle rather than the molecule alone. It matters because the particle needs to be neutral in the bloodstream and charged inside the cell, and a pKa near 6.5 achieves both — which is why it is one of the most informative things you can hand the model, and why it is measured rather than guessed.
A property is never used to predict itself, and the pipeline enforces that exclusion rather than trusting anyone to remember it.
How a prediction is made
1. Every lipid becomes a row of numbers
A model cannot read a chemical structure, so each compound is converted into a fixed-length vector of descriptors: cLogP, molecular weight, TPSA, rotatable bonds, titratable nitrogen count, charge density, total tail carbons, unsaturation, branching, spacer length, linkage type and head motif. All are computed from the connection table with RDKit at seed time, which is what makes prospective prediction possible at all. Formulation parameters — N/P ratio, mole fractions, phospholipid and PEG-lipid identity, cargo — are recorded for every formulation event rather than assumed constant. The measured particle properties entered by the group join the same row once they exist.
2. Descriptors are thrown away on purpose
More inputs is not better. Columns with no variance are dropped, and clusters of descriptors correlating above |r| = 0.9 are collapsed to a single representative chosen by a fixed priority list written in advance on physicochemical grounds — cLogP over molecular weight, measured pKa over calculated pKa, charge density over raw nitrogen count. Never by whichever one happens to match the answer best.
If two numbers always rise and fall together they are telling you the same thing twice. Keeping both makes the model unstable without making it smarter. Which one survives is a chemistry decision, fixed ahead of time, so the answer does not drift between runs — and because this step never looks at the answer, it can be run on a library the day it is designed, while there is still time to change the design.
3. Three estimators, each doing a different job
| Model | Role | What it gives |
|---|---|---|
| Ordinary least squares | The reportable model | A coefficient per descriptor with a 95% confidence interval — an effect size a chemist can check against what they already know. |
| Gaussian process Matérn 5/2 + ARD |
Uncertainty | A prediction and a per-compound error bar that widens wherever there is nothing nearby to learn from. |
| Gradient boosting | A ruler, never reported | How much signal the straight line is leaving on the table. If it scores far higher, something non-linear is being missed. |
Deep learning is deliberately excluded. At this sample size a neural or graph model is not estimable without pretraining on an external corpus, and the marginal gain would not justify the loss of interpretability or the added risk of silent overfitting. The models here are classical statistics, chosen because their output is a sentence rather than a black box.
4. The error bar is the most useful output
The Gaussian process’s posterior variance turns the model into an experimental planner. A wide band on an unmade compound means measuring it would teach the model a great deal; a tight band with a high prediction means it is probably worth making for its own sake. Every new measurement redraws the picture, so the list of what to make next updates itself.
How the model is kept honest
Any model can memorise what it was shown. Three independent checks run on every target, and all three must pass before a coefficient is reported.
Whole head groups are withheld, not random compounds
In a factorial library each head unit recurs across many compounds differing only in the tail.
A random split places near-identical analogues on both sides, so the model is asked to recognise
something it has already met — interpolation inside a sampled grid dressed up as
generalisation. Partitioning is therefore GroupKFold on the head unit, nested, with
tuning in an inner loop and scoring in an outer one.
Compounds sharing a head group are near-twins; hiding one while training on its siblings is not a real test. Whole families are withheld instead. The score comes out lower and means considerably more — a grouped score of 0.6 is a stronger result than a random-split 0.95, and the two are not comparable. Every score states which procedure produced it.
The answers are scrambled and the model must fail
The response vector is permuted and the complete pipeline — variance filtering, collinearity reduction, feature selection, scaling and hyperparameter optimisation included — is re-executed fifty times. A correctly specified pipeline yields a null distribution centred near zero. A null displaced from zero means leakage, and nothing else on the page can be trusted. Permuting only at the final estimator stage would miss exactly the problem the check exists to catch.
A holdout locked before anything starts
A subset of compounds is flagged at seed time and permanently excluded from all fitting, stratified across predicted pKa bins rather than drawn at random, so it spans the extremes instead of concentrating in the crowded middle. The reason is selection bias: once model predictions start influencing what gets synthesised next, the dataset is no longer an unbiased sample and every internal estimate flatters itself. The locked holdout is the one measurement untouched by that — and only if it was designated first.
Every prediction says whether it is in known territory
The model will answer any question put to it, including about chemistry nothing like what it was trained on, and it will sound just as confident. Each prediction therefore carries an applicability-domain flag. Out-of-domain predictions are returned, but marked.
What gets reported
| Quantity | Reporting rule |
|---|---|
| R² | Never alone. It depends on how spread out the sample was, so it is not comparable across datasets. |
| RMSE and MAE | Always. In the units of the target, which is what makes a result actionable. |
| Pearson r | Always. |
| Per-bin metrics | Always, within pKa strata. An aggregate can hide systematic failure at the edges. |
| β ± 95% CI | Intervals always; point estimates never on their own. An interval straddling zero is not an established effect. |
| Posterior SD | Accompanies every single prediction. |
| Null distribution | Reported with every model, from the fifty permutations. |
| Effective n | Per descriptor, with a warning when one is resting on too few distinct units. |
Coefficients are also refitted at increasing sample size and tracked. Weights that swing with every new batch are noise; when they settle, the relationship is worth reporting. That convergence, not the size of R², is the criterion for treating a structure–property relationship as established.
Three limits that do not go away
These are properties of the problem and of combinatorial library design, not flaws in the software. Stating them up front is cheaper than having them found later.
- Compound count is not sample size. In a library of H head units × T acyl components there are H×T compounds, but for any head-level descriptor the number of independent observations is H. Compounds sharing a head unit are replicates with respect to it. This caps how many effects can be estimated, and expanding the library from the same building blocks does not raise the cap — only more distinct building blocks do.
- Activity cliffs. Published analysis of large LNP transfection datasets found structurally near-identical pairs diverging by three to four orders of magnitude in delivery, and such pairs made up the majority of comparisons. No estimator reasoning from structural similarity can resolve them, which bounds potency prediction independently of sample size or model class.
- Confidence exactly where it is least deserved. Lipid data clusters between apparent pKa 6 and 7, because that is the useful window and therefore what gets made and published. A model fitted on that pile interpolates well inside it and extrapolates badly outside, without warning — and since pKa is one of its inputs, a lipid measuring outside that window is being asked about from thin air. LiPridic answers this twice: a domain flag on every prediction, and a design that deliberately includes compounds expected to fall outside the efficacious window, because they are what anchor the ends of the curve.
The pipeline, in one table
| # | Stage | Target consulted? |
|---|---|---|
| 1 | Descriptors generated from the designed structures | No |
| 2 | Zero and near-zero variance columns removed | No |
| 3 | Collinear clusters collapsed by fixed priority | No |
| 4 | Holdout designated, stratified by pKa bin, immutable | No |
| 5 | Measurement: one row per event, reference lipid in every run, replicates retained | — |
| 6 | Targets built as log ratios to the reference; AUC for in vivo; per-organ strata | — |
| 7 | Nested GroupKFold partitioning on head unit | — |
| 8 | Scaling and feature selection, inside training folds only | In-fold |
| 9 | Estimation: OLS, Gaussian process, gradient boosting | In-fold |
| 10 | Validation: grouped CV, 50 permutations, per-bin metrics | Yes |
| 11 | Prediction: posterior mean and SD, domain flag per compound | — |
| 12 | Prospective test: synthesise what the model picked | — |
Everything above stage 12 is a model explaining data it has already seen. Only a prospective round — predicting compounds that do not yet exist, making them, and checking — distinguishes a predictive model from a curve drawn through points. It is also far cheaper than doubling the library.
Design decisions worth stating
Measurements are stored one row per event
Never one field per compound. Replicates are aggregated at fit time to a mean with the standard deviation and n retained, and that within-compound scatter is passed to the Gaussian process as its noise term. It is also the yardstick: an effect smaller than your own measurement scatter is not an effect. Edits append to a revision history; nothing is overwritten or hard-deleted.
Everything is measured against a reference lipid
A reference lipid, formulated identically to the test compounds, is included in every run, and potency targets are expressed as the log ratio to it in the same run, so run-to-run drift cancels. The same lipid is also run separately in its own canonical formulation as a benchmark — a different question, kept in a different field, never merged with the first.
The software refuses rather than letting a distinction blur
In vivo expression is admissible as a training target only when the whole library has been dosed; where only a model-selected subset was dosed, that data is a validation set and the service rejects the target rather than quietly fitting it.
LiPridic is a personal project by Blisx, an independent Singapore software studio. This page describes methodology only and reports no experimental data. Benchmark figures quoted here are attributed to published work on ionizable lipid modelling and are included so that expectations can be calibrated. It is not a medical device, not clinical or regulatory advice, and not available to the public.