Biotechnology

Your model scored 0.89. Will it rank next quarter’s compounds?

A random-split score answers the wrong question. Split by scaffold, time and assay batch, report uncertainty and baselines, and keep every score traceable to its data and model.

On this page
  1. The model scored 0.89. Then the new series arrived.
  2. Where the optimism comes from
  3. Start from the decision, not the leaderboard
  4. Build a test set that looks like next quarter
  5. Report uncertainty, segments and a baseline
  6. Make every score reproducible
  7. Reuse benchmark tools; build the local harness
  8. Scope one model and one decision
  9. Questions we hear

The short version

  • A random-split score mostly measures how well a model recognizes close relatives of its training data. Decide which question you need answered first.
  • Split by scaffold or sequence cluster, by time and by assay batch, so the test set looks like the data the model will meet next.
  • Report every score with its data and model versions, its uncertainty and a simple baseline, so anyone can rerun it.
  • Keep scientists in the acceptance loop. They define similarity, endpoints and what counts as a useful result.

The model scored 0.89. Then the new series arrived.

An ML lead presents an ADMET liability classifier with an AUC of 0.89 on a random 80/20 split. The chemistry team uses it to triage next quarter’s compounds, most of them from a new series. When the assay results come back, the model ranks that series no better than a simple fingerprint baseline. The numbers here are illustrative; the pattern is common.

Nobody cheated. The test answered a different question. A random split asked how well the model predicts compounds similar to those it has seen. The project needed to know how well it ranks chemistry it has not.

A benchmark score answers the question its split asked, not the one your project asks.

A Nature Methods perspective on data leakage describes the mechanism: information shared between training and test data produces performance estimates far better than the model achieves in its intended application, and biological dependencies make that sharing hard to see.

Where the optimism comes from

Most inflated scores trace back to a handful of causes. Each one is ordinary, and each one is testable:

  • Near-duplicates and shared scaffolds. Close analogs, or proteins from one sequence family, land on both sides of the split.
  • Time leakage. Measurements made after the test compounds help predict them.
  • Assay and batch effects. The model learns a plate, site or protocol signature that the random split shares between train and test.
  • Replicates and label noise. Repeat measurements of one compound appear in both sets, and noisy labels cap what any model can achieve.
  • The wrong distribution. A public benchmark’s chemistry looks little like your next series.
  • The wrong metric. Overall AUC or R² weighs every rank or error equally; chemists act only on the top of the list.
  • No lineage. Nobody can say which data snapshot, split and model version produced the headline score.

The literature has made this point for years. MoleculeNet recommends scaffold splits for several datasets, noting that separating structurally different molecules is a greater challenge than a random split. A time-split study found random selection too optimistic and leave-class-out too pessimistic compared with true prospective prediction. Therapeutics Data Commons ships meaningful splits and reports that strong algorithms still fall short under real distributional shifts.

Start from the decision, not the leaderboard

Write the decision down in one sentence. For example: rank 400 proposed compounds in a new series so chemists can choose 40 to make. That sentence sets the test set (unseen series), the metric (how many genuinely good compounds reach the top 40) and the segment that matters (the new series, not the whole history).

Regulators use the same idea. FDA’s draft guidance on AI for regulatory decision-making assesses credibility for a defined context of use. Its scope is information supporting decisions about safety, effectiveness or quality, so most discovery models sit outside it, but the discipline transfers.

A benchmark score compared with a decision-aligned evaluation
Benchmark score
  • Random split of all historical data
  • One overall AUC or R²
  • Single number, no interval
  • Compared only with the last model
  • Dataset version unknown
Decision-aligned evaluation
  • Split that mirrors the next series or batch
  • Metric tied to the shortlist decision
  • Uncertainty and per-segment results
  • Compared with simple baselines
  • Every score traceable to data and code

Build a test set that looks like next quarter

Group before you split. For small molecules, cluster by scaffold or fingerprint similarity; for proteins, by sequence identity. Keep every replicate of a compound in one group. Then hold out whole groups: the newest series, the most recent quarter or an entire assay batch. Scientists approve the grouping, because similarity is a scientific definition, not a library default.

From historical data to an honest held-out set
  1. Freeze

    Snapshot the data with a version and content hash.

  2. Group

    Cluster by scaffold, sequence family, batch and replicate.

  3. Hold out

    Reserve whole groups that mirror future use.

  4. Check

    Block any run with prohibited overlap.

Keep the held-out set out of tuning. If a team checks it after every hyperparameter change, it slowly becomes training data. Record who opened it and when.

Report uncertainty, segments and a baseline

A held-out series may hold only a few dozen compounds, so a single score can swing widely. Report an interval, for example by bootstrapping whole series or clusters rather than single compounds, and show results by series, assay and time window. An overall gain can hide a loss on the segment you care about.

Always include simple baselines: a nearest-neighbor model, a tuned tree ensemble, a model that predicts the series mean. In the DrEval study of drug response models, deep learning models barely outperformed a naive mean-effects model, and no complex model beat properly tuned tree-based ensembles in the relevant settings. Your result may differ, but you only learn that by running the comparison.

A drop on the honest split is a finding, not a failed project. It tells you where the model can be trusted and where chemists should rely on judgment.

Make every score reproducible

Every reported score should carry its dataset version, split definition, code commit, model artifact and metric configuration. MLflow, DVC or your platform’s own tracking can hold these; the requirement is that someone can rerun last quarter’s number and get it back.

Re-evaluate when new data arrives
  1. Ingest

    Register new results as a new dataset version.

  2. Rerun

    Score current model and baselines on the agreed splits.

  3. Compare

    Show changes by segment with intervals.

  4. Decide

    A scientist accepts, holds or retires the model.

Then test the harness with the failures it exists to catch:

  • Rerun a published score from its record. It matches within the agreed tolerance.
  • Copy a test compound into training. The overlap check stops the run.
  • Split a compound’s replicates across sets. Grouping keeps them together.
  • Add a new assay batch. Its results appear as a separate segment.
  • Submit a model that loses to the baseline on the target series. It is flagged, not promoted.

Reuse benchmark tools; build the local harness

Benchmark suites, split utilities and experiment trackers already exist. Use them. The gap is usually local: your intended-use split, overlap checks against your own chemistry, the lineage glue between data platform and tracker, a per-segment report scientists can read and a recorded acceptance decision.

If your question is whether LLM-written summaries match their source documents, that is a different problem; see the AI evidence review guide.

Scope one model and one decision

Scientific ML evaluation checklist
  • Write the decision the model supports and who acts on it.
  • Have scientists approve similarity, grouping and endpoints.
  • Hold out whole series, time windows or assay batches.
  • Keep replicates together and block prohibited overlap.
  • Choose a metric that matches the shortlist decision.
  • Report intervals, per-segment results and simple baselines.
  • Record data, split, code and model versions for every score.
  • Re-evaluate on new data before anyone relies on the next prediction.
Download this checklist (PDF)

Request a call from this article and tell us, in a few lines, which model you trust least and the decision it informs. The first conversation needs no data; confidential files can wait for an NDA or your approved access process. See how we work with biotech teams.

Questions we hear

Is a scaffold split always the right choice?

No. It suits a model meant to generalize to new chemotypes. For optimization within one series, a time split is often closer to real use, and very strict splits can be too pessimistic. Pick the split that matches the decision, and report more than one when the use is mixed.

Our model got worse on the new split. Did the work fail?

No. You now have a more realistic estimate before chemists act on it. The next step is a scientific one: more relevant data, a narrower use or a simpler model that holds up as well.

Can you tell us whether our model is scientifically valid?

No. We build and operate the evaluation harness. Your scientists decide what the results mean and whether the model is fit for its use.

Sources

  1. Guiding questions to avoid data leakage in biological machine learning applicationsBernett et al., Nature Methods, 2024
  2. MoleculeNet: a benchmark for molecular machine learningWu et al., Chemical Science, 2018
  3. Time-split cross-validation as a method for estimating the goodness of prospective predictionSheridan, Journal of Chemical Information and Modeling, 2013
  4. Therapeutics Data Commons: Machine Learning Datasets and Tasks for Drug Discovery and DevelopmentHuang et al., NeurIPS 2021 Datasets and Benchmarks
  5. Critical evaluation of drug response prediction models with DrEvalBernett et al., Nature Communications, 2026
  6. Considerations for the Use of Artificial Intelligence To Support Regulatory Decision-Making for Drug and Biological ProductsU.S. Food and Drug Administration, draft guidance, January 2025
Written by the SeriusTech engineering team

We build data integrations, research apps, pipeline operations and evidence-linked AI for biotech R&D teams. Implementation notes describe work our engineers contributed to; researched guides cite sources and distinguish recommendations and illustrative examples from observed results. Products and clients stay unnamed.

Biotech softwareFollow for new field notes
Free 30-minute discovery call

Want this solved in your business?

  1. Send a short request. We reply within 1 business day with times that suit your time zone.
  2. Talk it through for 30 minutes, free and with no obligation.
  3. Leave with a suggested first step, such as a fixed-price discovery sprint.
Free, 30 minutes, no obligation

Request your discovery call

Choose a time that works for you, or send us a short email request.

Book a time

Prefer email? Tell us about your project below. We reply within 1 business day.

Open email draft

This opens your email app with a draft to contact@seriustech.com. Nothing is sent until you send it.