Drug Response Simulator by Generative Geometry

How the Drug Response Simulator Works

A tumour is a system that maintains itself. The formula predicts how to break that maintenance — one equation, 16 cancer types, 138 structural groups, MAE 3.8%. Now validated at the individual patient level (AUC 0.81).
Contents
1 A tumour maintains itself 2 The 16 positions: a tumour's lifecycle 3 Stages: where you intervene changes everything 4 Zoom in: four maintenance operations at every position 5 Five functions, eight actions, four strategies 6 The blockade formula 7 Never attack only one plane 8 Strike order: which agent first? 9 The Observer: why sequencing changes the outcome 10 Patient-level prediction: two measurements, one formula 11 Try it yourself

1. A tumour maintains itself

A tumour is not just growing. It is maintaining itself — spending energy to stay alive, to build its blood supply, to hide from the immune system, to resist treatment. Every living system does this. A flame, a bacterium, a city — anything that persists in a changing environment does so by actively maintaining its own structure.

Generative Geometry proposes that all such systems maintain themselves through the same structural process: a cycle of 16 positions, in a fixed order, at every scale. A tumour runs this cycle. So does the immune system fighting it. So does the clinic treating it.

The Drug Response Simulator tests this claim against published clinical trials. One equation derives predicted response rates from the structure of the tumour's maintenance cycle. 138 structural groups across 16 cancer types. Mean absolute error: 3.8 percentage points across 72 validated trials. No per-trial fitting. No machine learning. One structural formula. And at the patient level, two immune measurements predict individual immunotherapy response with AUC 0.81.

2. The 16 positions: a tumour's lifecycle

Every dissipative system — every system that maintains itself by spending energy — traces the same 16-position path from first disturbance to full conservation. In cancer, these positions map to the complete trajectory from the first mutagenic event to established resistance.

The 16 positions fall into four regimes of four. Each regime has a distinct character — a different kind of work the system is doing.

Potentiality — Positions 1–4
01
Disturbance
A mutagenic event. UV exposure, a carcinogen, a replication error.
Prevention operates here
02
Accumulation
Mutations accumulate. No tumour yet — just gathering potential.
Screening targets this
03
Preview
A precancerous lesion. The tumour previews its form but hasn't committed.
Chemoprevention intercepts here
04
Commitment
Irreversible threshold. The cell lineage commits to malignancy.
Early surgery — most cost-effective point
Construction — Positions 5–8
05
Initiation
The tumour begins building under constraint. Microenvironment forming.
Stromal disruptors target this
06
Architecture
Angiogenesis. Vascular networks and signalling pathways established.
Anti-angiogenic therapy most effective here
07
Testing
Clonal diversification. Some configurations fail — selection within the tumour.
Immunotherapy catches diverse antigens
08
Selection
A dominant clone is selected. The tumour has its form.
Neoadjuvant — disrupt before encounter
Encounter — Positions 9–12
09
Output
First metastasis. The tumour has entered the world.
Most 1L treatment starts here — position 9 of 16
10
Discovery
Tumour-host interaction produces new information.
Adaptive therapy leverages this
11
Integration
The tumour integrates resistance. It has learned from first-line.
Second-line targets a changed tumour
12
Equilibrium
Stable interaction between tumour and treatment.
Maintenance therapy operates here
Conservation — Positions 13–16
13
Differentiation
Resistant and sensitive subclones differentiate.
Evolutionary therapy exploits competition
14
Surveillance
The tumour monitors its own state.
Checkpoint inhibitors disrupt this
15
Compensation
Active resistance: drug efflux, pathway rewiring.
Full combination therapy is the response
16
Continuation
Conservation fully expressed → seeds the next cycle.
Recurrence — the next cycle begins
Where we treat vs. where we could treat. Most oncology starts at position 9 — first metastasis. Eight positions of the cycle have already passed. The formula quantifies exactly how much response is lost by waiting. At position 4 (commitment), the same agents predict dramatically higher response rates, because the tumour is shallower and less entrenched.

3. Stages: where you intervene changes everything

A clinical stage in the DRS is defined by three numbers that capture where the tumour is in its lifecycle:

ParameterSymbolWhat it measures
DepthnHow many nested layers of maintenance the tumour runs
EntrenchmentτHow long the tumour has been maintaining itself
Prior linespHow many previous treatments the tumour has survived

The same drugs at different stages produce completely different results — not because the drugs changed, but because the tumour did.

Melanoma — Stage IV first-line
Position 9 · First metastasis
depth=2 · τ=2 · prior=0

The tumour has metastasised but hasn't survived treatment yet. Two layers of maintenance. Moderate entrenchment. No acquired resistance.

Nivo + Ipi:
58.0%
Predicted ORR. Published (CheckMate 067): 58.0%.
Melanoma — Stage IV third-line
Position 15 · Compensation
depth=3 · τ=12 · prior=2

The same tumour years later. Survived two lines of therapy. Three layers deep. Heavily entrenched. Actively compensating.

Same agents, same patient:
≈ 15%
The drugs haven't weakened. The structure has deepened.

This is why early intervention is structurally different from late intervention. At depth 1 and τ = 0, even modest agents produce high response. At depth 3 and τ = 12, even the strongest combination faces severe structural penalties. The reduction is exponential, not linear.

4. Zoom in: four maintenance operations at every position

The 16 positions describe where the tumour is in its lifecycle. But at every position, the tumour is also running a maintenance cycle — a cycle within the cycle. And that inner cycle has the same structure: four operations, in the same order.

This is fractal depth. The same four-fold pattern repeats at every scale. The outer cycle has 16 positions. Each position contains an inner cycle of 4 operations. This inner cycle is what the tumour is doing right now to stay alive — regardless of where it is in the larger lifecycle.

The DRS calls these four inner operations the sub-phases:

SUB-PHASE 1 · SIGNAL
What tells the tumour to keep going
Growth factor receptors, oncogene-driven signalling cascades, proliferation signals. The energy input that drives the maintenance cycle. Without this signal, the cycle has no fuel.
SUB-PHASE 2 · STRUCTURE
How the tumour builds itself
DNA synthesis, mitosis, cell cycle progression, structural repair. The machinery that converts the growth signal into actual tumour mass.
SUB-PHASE 3 · ENCOUNTER
How the tumour manages its environment
Immune evasion, angiogenesis, stromal remodelling, checkpoint expression. Where the tumour meets everything outside itself — and shapes that interaction to survive.
SUB-PHASE 4 · CONSERVATION
How the tumour resists destruction
Anti-apoptotic signalling, drug efflux, mTOR/PI3K survival pathways, vascular maintenance. The mechanisms that keep the tumour alive when everything else is trying to kill it.

The tumour needs all four running simultaneously. Block one, and it compensates through the other three. Block two in different sub-phases, and the compensation narrows. Block three, and the maintenance cycle is structurally compromised. This is why combination therapy works — and why the pattern of the combination matters more than the strength of any single drug.

5. Five functions, eight actions, four strategies

Every cancer drug, regardless of its specific molecular target, does two things: it disrupts one of the four sub-phases, and it does so in a particular way. The DRS classifies agents into 138 structural groups across four levels of address resolution.

The address system

Every drug has a four-level address that tells you everything about what it does:

LevelWhat it readsExample
L1 — PositionWhich sub-phase does it target?Encounter (SP3)
L2 — FunctionWhich mechanism class?Checkpoint inhibitor
L3 — TargetWhich specific molecular target?Anti-PD-1
L4 — RoleWhich pharmacodynamic role?Binding / Potency / Selectivity / Duration

Drugs with the same address get the same M value — because the address IS the identity. Nivolumab and pembrolizumab in melanoma both have M = 0.631 because they share the same address at L1–L3. Their L4 addresses differ (pembrolizumab binds 100× stronger), but clinical dosing saturates the target, so L4 differences wash out. The address predicts this.

This is why the v2 model uses 138 structural groups instead of individually calibrated agents. Deeper address resolution replaces calibration. At L2, 34% of M variance is explained. At L3, 61%. At L4, 83%. Each level of address you read eliminates that level of trial dependency.

How an agent operates: four functions

The four functions are derived from two operations (hold or cross) at two levels (same level or one level deeper):

SENTINEL · HOLD × SAME LEVEL
Continuous barrier
A fixed, sustained blockade that doesn’t adapt. The agent stands guard at its sub-phase and prevents the tumour from passing through.

Examples: PD-1/PD-L1 checkpoint inhibitors (nivolumab, pembrolizumab), anti-angiogenics (bevacizumab, lenvatinib), endocrine therapy (letrozole, fulvestrant, enzalutamide, abiraterone), anti-EGFR antibodies (cetuximab)
MINER · HOLD × DEEPER
Precise block at inner resolution
Operates one fractal level below the tumour’s maintenance cycle — at the DNA, molecular repair, or metabolic level. Blocks from within.

Examples: Platinum agents (cisplatin, carboplatin, oxaliplatin), taxanes (docetaxel, paclitaxel), antimetabolites (5-FU, gemcitabine, TAS-102), PARP inhibitors (olaparib), mTOR/PI3K inhibitors (everolimus, alpelisib)
ARCHITECT · CROSS × SAME LEVEL
Transforms, redirects, builds alternative
Does not simply block — it redirects the signalling pathway, making the current path obsolete. Changes the architecture rather than holding position.

Examples: BRAF/MEK inhibitors (dabrafenib, trametinib, encorafenib, cobimetinib), CDK4/6 inhibitors (palbociclib, ribociclib), KRAS inhibitors (sotorasib, adagrasib), ALK inhibitors (lorlatinib, alectinib), HIF-2α (belzutifan)
CATALYST · CROSS × DEEPER
Forces transitions at inner resolution
The most structurally intelligent intervention: it crosses into the tumour’s inner cycle and forces a transition the system is avoiding. Highest adaptive pressure.

Examples: Oncolytic viruses (T-VEC), bispecific antibodies (tebentafusp), antibody-drug conjugates (T-DXd, sacituzumab govitecan), radioligands (Lu-PSMA-617)

A fifth function, Observer, belongs to the intervener’s surveillance loop — the physician, not the drug. Imaging, biomarkers, and monitoring are Observer functions. They do not appear as agents in the formula but they determine when to act and what to change.

What an agent does: eight actions

Each sub-phase admits two actions — one that resists the tumour’s maintenance (hold) and one that enables a structural change (cross):

Sub-phaseResist (hold)Enable (cross)
SignalPrevent — block before the step beginsProvoke — surface a signal the system ignores
StructureTransform — build alternative, make the current path obsoleteAccelerate — remove obstacles, speed construction
EncounterRegain control — restore coupling between cycle and governorCatalyse — force the encounter the system is avoiding
ConservationSlow — extend time, let the containing system respondConsolidate — lock in the change before the system reverts

Four intervention strategies

The combination of agents produces one of four strategies, determined by the structural depth of the intervention:

StrategyDepthWhat it does
Dissolution0Prevent the cycle from starting
Disruption1Break one layer of maintenance
Rejection2Break two layers — the encounter fails
Occupation3+Replace the system’s conservation with your own

Each agent has a potency value M — a number between 0 and 1 representing the structural overlap between the drug's address and the tumour's address. In v2, M is determined by the agent's structural group rather than individual calibration. Drugs in the same group share the same M.

M changes per cancer type. The same drug has different overlap depending on the tumour biology. Nivolumab is M=0.631 in melanoma (highly immunogenic) but M=0.576 in NSCLC. This reflects the different system addresses, not different drug properties.

The Drug Reference shows every agent’s M value, confidence score, calibration source, and structural classification across all 16 cancer types.

6. The conservation drain formula

Meff = M × (1 − D) / (1 + D)
M = structural overlap (0–1) · D = conservation drain (0–1)
Meff = effective potency after drain

Read it as: how much of the drug's potency actually gets through.

M — the structural overlap between the drug's address and the tumour's address. A higher M means a better match.

D — the conservation drain. Everything the tumour does to resist, suppress, repair, and maintain itself against the drug. High D means most of the drug's potency is absorbed by the tumour's conservation layer.

(1−D)/(1+D) — the drain relationship. This is not linear subtraction. When D = 0.5, you lose 67% of potency. When D = 0.8, you lose 89%. A small reduction in drain can be more powerful than a large increase in potency.

For drug combinations, the formula extends to include sub-phase coverage (k), structural depth (n), temporal resistance (τ), and prior-line fatigue (p). The full formula in the DRS computes these from the system state and agent profiles automatically.

Conservation drain is the single most important variable. Supportive care — agents that reduce drain without directly attacking the tumour — is a potency multiplier. Reducing D from 0.6 to 0.4 produces a larger gain than increasing M from 0.5 to 0.7. This is why the most commonly missed position (Conservation) matters so much.

7. Never attack only one plane

k is the number of different sub-phases covered. Two Signal agents (both targeting the growth signal): k = 1. One Signal agent + one Encounter agent: k = 2. One agent in each sub-phase: k = 4.

σ is the cascade bonus:

Coverageσ valueEffect
1/4 — one type1.000Baseline
2/4 — two types1.050+5% exponent boost
3/4 — three types1.070+7% exponent boost
4/4 — all four types1.080+8% exponent boost

These look small. They are not. Because σ is in the exponent, even 5% compounds dramatically. A residual of 0.4 raised to 2.0 gives 0.16. Raised to 2.1 gives 0.14. That difference is real percentage points in response rate.

The central prediction. Two agents covering two sub-phases will almost always outperform two agents — even stronger ones — stacking in the same sub-phase. The σ cascade is exponential. Within-sub-phase stacking is diminishing. Coverage beats potency.

Across 16 cancer types, the formula identifies cases where novel combinations outperform standard of care. In 91% of cases, the gain comes from covering a previously uncovered sub-phase — not from using a stronger drug. The most commonly missed: Conservation. Survival pathway agents are absent from first-line standard of care in 9 of 16 cancers.

8. Strike order: which agent first?

If the combination matters, does the order matter? Two strategies:

Potency-first: start with the highest-M agent. Maximise immediate response.
Coverage-first: start with the agent that opens the most new coverage. Maximise structural leverage.

Across all 16 cancer types at first-line, the two strategies produce the same ordering. The strongest drugs naturally sit in different sub-phases — potency and coverage don't conflict.

This convergence breaks at second line and beyond, where potency-first can miss the optimal combination by 5 to 42 percentage points.

At first-line: start with the strongest agent. It will naturally open a new sub-phase.
At second-line and beyond: start with the agent that covers the most important gap — even if weaker — because the σ cascade produces larger gains than raw potency.

9. The Observer: why sequencing changes the outcome

The four drug functions — Sentinel, Miner, Architect, Catalyst — operate at the molecular level. But there is a fifth function that operates at the clinical decision level: the Observer.

The Observer is the physician. Not a drug. The Observer monitors the tumour’s response, reads where the maintenance load has shifted, and decides what to do next. The Observer adds no chemistry — only timing intelligence.

When you select two or more agents in the DRS, the prediction panel shows the Observer panel: the optimal strike order with intermediate ORRs at each step. This is the sequence a physician would follow if monitoring between each strike.

What the Observer panel shows

The formula computes the same final ORR whether agents are given simultaneously or sequentially — the equilibrium blockade is the same either way. But the path matters. The Observer panel shows:

Optimal strike order: which agent to give first, second, third. The ordering that produces the highest intermediate response at each step.
Intermediate ORRs: the predicted response after each strike lands. This is what the physician would measure before deciding to continue.
Coverage at each step: how many sub-phases are blocked after each addition.

The value of this information is clinical: if the first strike produces a strong response, the Observer can pause and monitor before adding toxicity. If the first strike produces a weak response, the Observer knows to escalate immediately to the next sub-phase.

Why does ordering matter?

Block one sub-phase and the tumour shifts its maintenance load to the remaining three. The maintenance must continue — it just reroutes. The Observer reads this shift and directs the next strike at the sub-phase that now carries the highest load. Each strike exploits the gap the previous strike created.

The formula predicts where the gap will appear before the tumour adapts — because the maintenance cycle’s structure is fixed. The Observer’s job is to act on that prediction.

When agents span different sub-phases, the best ordering produces measurably higher intermediate ORRs than the worst — even though the final endpoint is the same. The Observer panel quantifies this advantage.

Example
Melanoma: three agents, optimal strike order

Strike 1: Encorafenib (Architect, Structure · Transform, M=0.679). ORR: 52.0%. Coverage 1/4. Load shifts to Signal, Encounter, Conservation.

Strike 2: Nivolumab (Sentinel, Encounter · Regain control, M=0.641). ORR: 82.1%. Coverage 2/4. The σ cascade kicks in.

Strike 3: Lenvatinib (Sentinel, Conservation · Slow, M=0.580). ORR: 91.5%. Coverage 3/4. Three sub-phases blocked.

The Observer’s value: at step 1, the physician already sees 52% response. Enough to confirm the approach is working before adding the next agent. Without sequencing, all three go in simultaneously — same endpoint, but no intermediate information.

The Observer is most valuable when agents span different sub-phases. If all agents target the same sub-phase, there is no load shift to exploit — the Observer has nothing to sequence. The wider the coverage, the more information each intermediate step provides.

Going deeper: the adaptive simulator

The Observer panel in the main DRS shows the optimal strike order. For a detailed step-by-step view — watching the maintenance load redistribute after each strike, seeing the per-sub-phase blockade, and following the recommended next strike — use the dedicated simulator:

Open the Adaptive Simulator →

10. Patient-level prediction: two measurements, one formula

The DRS predicts population response rates. But the same formula predicts individual patient outcomes when you resolve the system address deeper — from cancer type down to the patient's immune microenvironment.

At the patient level, the formula becomes:

Meff = M × (1 − D) / (1 + D) × (1 + S)
D = conservation drain (from the patient's immune profile)
S = signal quality (from the patient's immune profile)
M = drug overlap (from population data, same for all patients in that cancer)

D — Conservation drain. The immune mechanism holding back the treatment. Measured from the patient's pre-treatment tumour biopsy. In NSCLC: CCR8+ Treg fraction. In melanoma: HAVCR2+LAG3 exhaustion markers.

S — Signal quality. Whether the immune system can perceive the tumour. In NSCLC: FGFBP2+ NK cell fraction. In BCC: NK cell fraction.

Validated across three independent scRNA-seq datasets:

CancerPatientsD reads fromAUC
NSCLC159CCR8+ Tregs0.808
Melanoma19HAVCR2+LAG3 exhaustion0.889
BCC11CD8 exhausted T-cells0.767

For context: PD-L1 achieves AUC 0.64. Senior oncologists achieve 0.72. The SCORPIO ML system (trained on 9,745 patients) achieves 0.76. This formula uses two pre-treatment measurements and no machine learning.

The structural positions are universal. The biomarkers are cancer-specific. The formula tells you what to measure — because the structural positions tell you where the drain and the signal live. The address system is the map. D and S are the coordinates you read from it.

Full write-up: A Different Way to Look at Cancer

11. Try it yourself

Open the DRS →

Select a cancer type. Choose a stage. Pick agents one at a time and watch the predicted ORR change. Notice three things:

Coverage vs potency: does adding a new sub-phase produce a bigger jump than adding a stronger agent in the same one?
Observer value: when you select two or more agents, scroll down in the prediction panel to see the static vs adaptive comparison. How much does sequencing add?
Gaps: which sub-phase is missing from the current combination? The coverage bar and the “How to improve” advice tell you where the structural opportunity is.

Research papers:
The Geometry of Intervention — full derivation of the blockade formula
First Principles of Change — the axiomatic foundation
There Is Only One Way to Grow — 24 dissipative systems, 384/384 positional matches

The book: Riding Change: How Change Moves, and How to Move With It (2026)
Contact: raimo@generativegeometry.science