FROM PATTERN TO PRACTICE · A SCROLL-DRIVEN EXPLAINER

When prediction
learns to discover.

How the same mechanism that predicts the next word can help propose medicines, investigate cancer, and warn that equipment is beginning to fail.

Follow the evidence
01 / 08THE HUMBLE MECHANISM UNDERNEATH
SCROLL-LINKED MODELONE ENGINE
01.01START WITH THE SIMPLE VERSION

A generative model still predicts what comes next.

Given some context, the model assigns a probability to many possible next pieces. In a language model that piece may be a word fragment. The core calculation is conditional probability: what is likely next, given everything already observed?

KEEP THISPrediction is the engine. It is not yet the whole machine.
01.02CHANGE THE ALPHABET

“Next” does not have to mean the next word.

It can mean the next atom in a molecule, amino acid in a protein, patch in a pathology image, action in a plan, or time window in a vibration trace. The mathematics is similar; the representation and the training evidence change.

KEEP THISA model can generate any domain that can be represented as learnable pieces.
01.03KEEP THE UNCERTAINTY

The output is a landscape of possibilities—not one destiny.

The model does not discover a single inevitable answer. It estimates a distribution. Sampling from different high-probability regions produces alternative molecules, proteins, explanations, or failure scenarios worth evaluating.

KEEP THISUncertainty becomes useful when it is explored deliberately.
01.04REPEAT WITH MEMORY

One prediction becomes a design, trace, or plan.

After each selection, the new piece joins the context and every probability is recalculated. Thousands of small choices can assemble a coherent candidate—then the surrounding system decides whether that candidate deserves trust.

KEEP THISGeneration is prediction repeated inside a controlled search.
02 / 08TURN THE WORLD INTO A LEARNABLE LANGUAGE
SCROLL-LINKED MODELREPRESENTATION
02.01FIRST, MAKE PIECES

Every domain needs its own useful tokens.

Chemistry can be encoded as atoms, bonds, graphs, or 3D coordinates. Proteins become amino-acid sequences and residue frames. Images become patches. Equipment histories become windows of synchronized sensor readings.

KEEP THISTokenization is a design choice about what the model is allowed to notice.
02.02THEN, MAKE VECTORS

Embeddings turn each piece into coordinates of meaning.

A learned vector does not label a concept with one human-readable number. Its many dimensions jointly capture patterns: chemical similarity, structural role, tissue morphology, operating regime, and much more.

KEEP THISSimilar contexts tend to occupy nearby regions of the learned space.
02.03CONNECT DISTANT CLUES

Attention asks which relationships matter right now.

A residue can attend to another far away in a sequence but close in a folded protein. A pressure change can attend to an earlier valve command. A pathology patch can attend to text or genomic evidence from the same patient.

KEEP THISAttention builds context by weighting relationships, not by following one fixed rule.
02.04PRETRAIN ON THE REGULARITIES

The model learns a compressed map of what tends to fit.

Self-supervised practice exposes the model to valid structures and histories, hides or corrupts pieces, and asks it to recover them. The parameters gradually absorb statistical regularities—grammar, geometry, chemistry, biology, or machine behavior.

KEEP THISThis is a useful model of patterns in the world, not a perfect simulation of the world.
03 / 08TURN A PREDICTOR AROUND
SCROLL-LINKED MODELINVERSE DESIGN
03.01THE FORWARD QUESTION

Prediction asks: what will this candidate do?

Give a conventional model a molecule and it may estimate binding, solubility, toxicity, or manufacturability. Give it a sensor history and it may estimate the next temperature or vibration value.

KEEP THISForward models score a proposed input.
03.02THE INVERSE QUESTION

Generation asks: what candidate could produce the outcome we want?

Now the goal is part of the context. Instead of evaluating one molecule, the system proposes molecules that may bind a target. Instead of forecasting one trace, it can generate plausible failure trajectories consistent with known constraints.

KEEP THISInverse design searches from desired behavior back toward possible structures.
03.03TWO COMMON ROUTES

Build piece by piece—or denoise a whole candidate.

Autoregressive models add tokens sequentially. Diffusion models begin with noise and repeatedly remove improbable structure. In 3D design, equivariant architectures also respect the fact that rotating a molecule should not change its identity.

KEEP THISThe architecture should match the geometry and symmetries of the problem.
03.04REAL GOALS COMPETE

Useful candidates must satisfy several constraints at once.

A potent drug that is toxic is not useful. A sensitive failure alert that fires constantly is not useful. Generation is therefore guided by multiple objectives, hard constraints, diversity checks, and uncertainty penalties.

KEEP THISOptimization needs guardrails or it will exploit the score instead of solving the problem.
04 / 08THE MODEL BECOMES PART OF A SYSTEM
SCROLL-LINKED MODELCLOSED LOOP
04.01GENERATE

Create a diverse set of plausible candidates.

The generator explores more than one answer. Temperature, sampling, diffusion guidance, and diversity objectives control how far it ranges from familiar territory.

KEEP THISA useful search covers alternatives without wandering beyond what can be tested.
04.02EVALUATE

Call tools that know things the generator does not.

Databases ground known facts. Structure predictors, docking, quantum chemistry, process simulators, historians, and executable code return evidence. Independent models can estimate properties and flag invalid candidates.

KEEP THISTool results turn a plausible proposal into a testable one.
04.03RANK

Keep the strongest, safest, and most different options.

The system combines objective scores, uncertainty, novelty, cost, and constraint violations. A Pareto frontier often matters more than a single winner because no candidate dominates on every dimension.

KEEP THISRanking makes trade-offs visible instead of hiding them inside one score.
04.04TEST

Reality gets the deciding vote.

Synthesize the compound. Run the assay. Compare against an experimental structure. Inspect the bearing. Hold out future operations. Physical and prospective tests expose shortcuts the model learned from historical data.

KEEP THISSimulation narrows the search; experiments establish evidence.
04.05LEARN

Returned evidence improves the next round.

Active learning chooses the next experiment for information value, not just expected success. The new measurement is added to the evidence, uncertainty is updated, and the generator searches again in a better-informed region.

KEEP THISThe practical breakthrough is the loop: propose, test, learn, repeat.
05 / 08A WORKFLOW FOR PHARMACEUTICAL DISCOVERY
SCROLL-LINKED MODELMEDICINES
05.01DEFINE THE BIOLOGY

A drug project begins with a target—not a magic prompt.

Researchers connect disease evidence to a biological mechanism: perhaps a protein whose activity should be blocked or restored. Literature, omics, patient samples, and experiments establish whether changing that target could matter.

KEEP THISA beautifully generated molecule is irrelevant if the biological target is wrong.
05.02MODEL THE INTERACTION

Structure models turn sequences into a 3D search surface.

Models such as AlphaFold learn geometric and evolutionary constraints to estimate biomolecular structure and interactions. A predicted pocket or interface can help define where a candidate should bind, with confidence estimates marking uncertain regions.

KEEP THISPredicted structure is a hypothesis-generating tool, not an experimental structure.
05.03GENERATE CANDIDATES

Search chemical or protein space toward a specification.

A generative chemistry model can propose molecular graphs or 3D conformations. A protein diffusion model can denoise random residue frames into a backbone shaped around a target. Each output is a candidate design—not yet a medicine.

KEEP THISGeneration expands the shortlist; it does not skip development.
05.04PASS THE GATES

Potency is only one requirement.

Candidates are filtered for selectivity, solubility, stability, permeability, toxicity risk, synthetic accessibility, and many program-specific constraints. Docking and property models are fast screens, followed by increasingly expensive experiments.

KEEP THISA viable medicine is a negotiated solution across many constraints.
05.05TEST THROUGH THE PIPELINE

Wet-lab and clinical evidence remain the hard boundary.

Compounds are synthesized, assayed, optimized, tested in preclinical models, manufactured, and evaluated in phased human trials. Failures are common because biology is more complex than any training dataset.

KEEP THISAI can shorten search cycles; only evidence can establish safety and efficacy.
05.06A REAL MILESTONE

Generative design has reached randomized clinical testing.

Rentosertib, a generative-AI-discovered TNIK inhibitor for idiopathic pulmonary fibrosis, was reported in a 2025 randomized phase 2a trial. That is meaningful translational progress—not proof that generative AI can routinely deliver approved drugs.

KEEP THISThe credible claim is acceleration with validation, not automated discovery.
06 / 08FROM A BROAD DISEASE LABEL TO SPECIFIC HYPOTHESES
SCROLL-LINKED MODELCANCER
06.01BEGIN WITH HETEROGENEITY

“Cancer” is not one pattern and one cure.

Tumors differ by tissue, mutations, gene expression, microenvironment, prior treatment, and evolution over time. Even cells inside the same tumor can respond differently. The useful question is specific: what mechanism matters for this tumor, in this patient, now?

KEEP THISPrecision begins by representing variation instead of averaging it away.
06.02BUILD A PATIENT REPRESENTATION

Align pathology, genomics, labs, imaging, and clinical history.

Foundation models can embed gigapixel pathology slides; sequence models can encode molecular profiles; language models can structure clinical text. Cross-attention can link complementary clues into one multimodal representation.

KEEP THISEach modality is incomplete. Their agreement—and disagreement—matters.
06.03ASK SEVERAL QUESTIONS

Predict risk, retrieve analogues, and generate hypotheses.

The system may estimate prognosis or treatment response, find biologically similar cases, propose a vulnerable pathway, design a binder, or rank trial options. These are different tasks with different evidence requirements.

KEEP THISOne foundation model can support many tasks, but each task needs its own validation.
06.04SEARCH FOR AN INTERVENTION

The generative step proposes ways to change the system.

A proposed intervention might be a small molecule, antibody, protein binder, combination hypothesis, or trial design. Conditioning can target a mutation or molecular interface while filters penalize toxicity, off-target binding, and impractical synthesis.

KEEP THISThe output is a portfolio of experiments, not a treatment order.
06.05PROVE CLINICAL VALUE

A cancer hypothesis must survive biology, bias, and time.

Researchers test in cells, organoids, models, and trials; compare against standard care; monitor subgroup performance; and watch for data leakage and distribution shift. Clinicians and patients remain the accountable decision-makers.

KEEP THISGenerative AI can help search for cures. It cannot certify one.
07 / 08FROM SENSOR HISTORY TO AN ACTIONABLE WARNING
SCROLL-LINKED MODELEQUIPMENT
07.01TOKENIZE TIME

A machine speaks through synchronized traces.

Vibration, temperature, pressure, current, acoustics, control commands, alarms, and maintenance events are split into time windows. Position encodings preserve order; equipment state and operating regime become context.

KEEP THISA reading is only meaningful beside load, mode, and recent history.
07.02LEARN NORMAL RELATIONSHIPS

Attention connects signals across sensors and time.

The model learns that a current spike during startup can be normal, while the same spike beside rising bearing temperature and a new vibration frequency may be unusual. Long context helps separate transient events from degrading behavior.

KEEP THISMultivariate context is often more diagnostic than any single threshold.
07.03FORECAST OR RECONSTRUCT

Expected behavior becomes a moving reference.

The model forecasts the next window or reconstructs what a healthy window should look like. The residual—the gap between expected and observed behavior—becomes an anomaly signal with uncertainty bounds.

KEEP THISAnomaly means the learned pattern changed; it does not automatically name the cause.
07.04GENERATE RARE SCENARIOS

Synthetic traces can explore failures history barely contains.

Conditioned generation can produce plausible degradation trajectories for stress-testing detectors, estimating remaining useful life, or simulating interventions. Physics and operating constraints are essential so synthetic data do not teach impossible behavior.

KEEP THISSynthetic failures supplement scarce evidence; they do not replace real failures.
07.05TURN A SCORE INTO A DECISION

Evidence must connect the alert to an economic action.

A useful system retrieves similar events, names influential signals, estimates a time horizon, checks sensor health, and weighs downtime risk against inspection cost. A planner can draft a work order; an accountable person authorizes it.

KEEP THISPredictive maintenance succeeds when the warning changes a decision safely.
08 / 08THE DIFFERENCE BETWEEN A DEMO AND A DEPLOYED SYSTEM
SCROLL-LINKED MODELPROOF
08.01SEPARATE THREE THINGS

Plausibility, model confidence, and evidence are not the same.

A proposal can look chemically elegant or operationally convincing. A model can also assign it high probability. Neither establishes that the proposal works outside the training distribution.

KEEP THISConfidence becomes meaningful only after calibration against outcomes.
08.02TEST THE SYSTEM, NOT JUST THE MODEL

Validation must follow the complete decision path.

Measure retrieval quality, simulator error, experimental reproducibility, subgroup performance, false-alarm cost, and human response. Red-team the interfaces between components, where silent assumptions accumulate.

KEEP THISA strong component can still live inside a weak workflow.
08.03WATCH THE WORLD CHANGE

Drift turns yesterday’s accuracy into today’s uncertainty.

New patient populations, changing assays, replacement sensors, revised maintenance practices, and altered operating envelopes all move the data. Monitoring, recalibration, and fallback rules keep the system honest.

KEEP THISDeployment is a continuing measurement program.
08.04THE COMPLETE ANSWER

Prediction becomes problem-solving when it closes a disciplined loop.

Represent the problem. Condition on a goal. Generate alternatives. Call specialist tools. Rank trade-offs. Test in reality. Learn from the result. Preserve uncertainty, permissions, and human accountability at every pass.

KEEP THISThe model proposes the next possibility. The system earns the answer.

THE COMPLETE MENTAL MODEL

The prediction never disappeared.
It gained a disciplined loop.

Generative AI becomes useful on real problems when its proposals are constrained by domain representations, checked by specialist tools, tested against physical or clinical reality, and improved with returned evidence. The more consequential the decision, the stronger that validation loop must be.

Replay the journey

PRIMARY SOURCES

Follow the evidence

The visual story simplifies active research. These papers ground the mechanisms and examples; none eliminates the need for domain-specific validation.