Large language models are increasingly asked to say which pairs of drugs will work better together than either alone. That question matters because single cancer drugs often fail when tumors reroute signals through backup pathways, and because the number of possible combinations grows too fast to test in the lab. The models look promising: BAITSAO turns LLM-written descriptions of drugs and cell lines into features and reports gains in synergy classification. But every public synergy dataset, and most of the pharmacology literature behind it, has been on the web for years. A model that "predicts" a well-known combination may simply be recalling a paper. Nobody has measured how much of LLM performance on synergy comes from recall and how much comes from reasoning about the biology it is given.
We propose a test that separates the two. The same signaling network and drug targets are shown to a model in three forms. The first uses real names. The second uses invented names with identical structure, so recall cannot help. The third is a "trap," a real, named pathway with one interaction deliberately changed so that the famous answer becomes wrong. Ground truth comes from simulating the network rather than from the literature, so every instance can be checked and new instances can be generated without limit. The headline measurement is the gap in accuracy between real and invented names, together with how often a model gives the textbook answer to a trap. This gives a direct reading of memorization in a scientific domain. It also tests a sharper claim from the lateral-thinking literature, namely that step-by-step reasoning makes models defend a familiar but wrong first guess.
Core Claim
Our hypothesis is that LLM competence on drug-combination reasoning is mostly retrieval of documented co-occurrences. If so, three things follow. Accuracy will drop sharply when names are replaced by structurally identical invented ones. Chain-of-thought prompting, in which the model writes intermediate reasoning steps before answering, will help on invented-name instances as network depth grows, because it acts as working memory, but it will hurt on trap instances, because the first step anchors on the remembered answer. Prompting that explicitly checks for traps will reduce the trap penalty without closing the invented-name gap. If these predictions fail, for example if invented-name accuracy matches real-name accuracy, then the field's worry about contamination in this domain is unfounded and LLM pathway reasoning deserves more trust than it currently gets. Either result is useful.
How This Builds on Prior Work
Three papers motivate the design. BAITSAO uses LLMs only as static text encoders. It reports alignment with DrugBank (PCC ≥ 0.76) and also reports cold-start failure on compounds without literature, which is exactly the signature recall would produce. We do not build a better predictor. We ask what its LLM component actually knows. Yax et al. show near-zero perplexity on classic puzzles, and Chi et al. show drops on events after the training cutoff. Both establish that recall inflates reasoning scores, but neither touches biology.
Two papers supply methods we reuse. DyVal generates reasoning problems from directed acyclic graphs with controllable depth, width and description order. It found that depth hurts more than width and that reversed ordering costs GPT-4 13.6% on reachability. DyVal's graphs carry no domain meaning, so they cannot test whether domain priors help or mislead. Our generator keeps DyVal's three parts (graph generation, constraints, and turning the graph into text) and adds biological semantics plus simulated drug effects. BRAINTEASER introduced "context reconstruction" (same logic, new surface entities) and group accuracy, which credits a model only if it solves the original and all its rewrites. That metric dropped ChatGPT to 39.71%. Our real, invented and trap triple is a context reconstruction for pathways. The difference is that our ground truth is computed, not annotated, so it does not go stale once published.
Three papers constrain what we expect from reasoning methods. MP shows that plain chain-of-thought rationalizes common-sense distractors and that a plan, reason, reflect prompt fixes much of this on riddles. It also warns that reflection can cause overthinking. TurtleBench finds that reasoning models such as o1-preview (84.40%) underperform GPT-4o (87.92%, 2-shot) on situation puzzles, and that wrong answers carry as many tokens as right ones. Thought Space Explorer argues that single reasoning chains leave blind spots and widens search by combining nodes across chains. That blind-spot argument fits signaling biology, where synergy usually means blocking two parallel routes, and a single chain naturally follows one route. All of this evidence comes from riddles and math. Our traps check whether it carries over to a scientific setting where the "distractor" is real but out-of-date knowledge.
Research Program
The generator works as follows. We take a library of real pathway templates, small networks of tens of proteins with activation and inhibition edges, including parallel bypass routes and negative feedback. We also sample purely synthetic networks with matched statistics. Each network is run as a simple logical or ordinary-differential-equation model, with a cell-survival output node. A drug is defined by the set of nodes it inhibits and by its strength. Single-drug and pairwise effects are computed by simulation. A pair is labeled synergistic when it beats the independence baseline:
$$E(A{+}B) > E(A) + E(B) - E(A)E(B),$$
where $E(\cdot)$ is the simulated fractional loss of survival signal. We also report the margin as a continuous score.
Difficulty is controlled along four dimensions that biology makes meaningful. These are pathway depth, the number of redundant bypass routes, the presence of feedback, and the order in which edges are described, which is forward, reversed or shuffled following DyVal. Each network is rendered as real-name, invented-name and trap variants. In a trap we change one edge, for instance turning a known bypass off or adding a new one, and then recompute the label so that it contradicts the literature-consistent answer.
On the model side we run small and large open models and one closed model under five conditions. These are direct answering, standard chain-of-thought, metacognitive prompting as in MP, branched exploration in the spirit of Thought Space Explorer, and a "graph-first" chain. In the graph-first chain the model must list every route from each drug target to the output before answering. This condition isolates whether making parallel routes explicit is the active ingredient.
A real-data audit runs alongside the synthetic study. On the O'Neil and DrugComb data we query LLMs about drug–cell-line pairs in two forms: real names, and anonymized forms that keep only structured descriptors such as targets and pathway membership. We add a control with the descriptors shuffled. This shows whether the generator's conclusions hold on real screens.
Baselines
The reference point that does nothing is a majority-class predictor together with a rule that calls any pair hitting two different listed targets synergistic. That rule shows how far a surface heuristic gets on each difficulty setting.
The strongest non-LLM competitor on the synthetic task is network diffusion scoring by random walk with restart over the given graph, as in Xu et al.. It is the right comparison because it uses exactly the information in the prompt and cannot recall anything. It runs on the identical graphs with its restart parameter tuned on a held-out generator split of the same size as the LLMs' few-shot pool. No reported result found on Lacuna for diffusion scoring on simulated networks. The simulator itself is an upper bound of 100% by construction. The claim here is not that LLMs should beat it. The claim is that an LLM whose invented-name accuracy falls below diffusion scoring is not using the network it was shown.
On real data, the strongest trained predictor is MultiSyn, which reports AUROC 0.95 and accuracy 0.88 on O'Neil. Leave-out splits are harder, and DTSyn reports ROC AUC of 0.73 to 0.82 across leave-drug, combination, cell and tissue splits. We retrain both on the same splits and use them as reference points, not targets. The LLM question is whether anonymization costs LLM queries more than it costs these models, which never see names. For BAITSAO we use its released setup with real-name versus anonymized descriptions, under the same training budget. The paper's figure of up to 9.57% from multi-task learning is a within-model gain, so it is not a target for us.
Among prompting methods, MP is the strongest competitor on traps. On BRAINTEASER, GPT-4 with MP reports 98.33% on sentence puzzles and 98.96% on word puzzles. On GPT-3.5-turbo, MP reports gains over chain-of-thought of 5.00 points on sentence puzzles and 10.07 on word puzzles. Every prompting condition gets the same token cap, the same three few-shot examples drawn from a disjoint generator seed, and the same number of samples per instance, so that the branched methods do not win only by spending more compute. The graph-first chain is the ablation that isolates our key ingredient. If it matches MP on traps and beats standard chain-of-thought on redundancy-heavy invented-name networks, we conclude that making parallel routes explicit is what matters.
Why not just…?
Why not just run a membership or perplexity test on the synergy datasets? Perplexity detects whether text was seen, as Yax et al. did for puzzles. But synergy datasets are numeric tables, and what leaks is pharmacological knowledge spread across papers, not the table itself. A low perplexity cannot tell "memorized the answer" apart from "learned real biology from the literature." The invented-name and trap contrasts are designed to make that distinction. We will still report perplexity as a covariate and check whether it predicts the size of the real-versus-invented gap for each drug.
Why not just use leave-drug-out splits? Splits like DTSyn's test whether a trained model generalizes to drugs held out of its training data. An LLM has still read about the held-out drug during pretraining, so the split controls for nothing on the LLM side. This alternative is a real threat on the real-data side only. If anonymized LLM accuracy on leave-drug-out matches the real-name result, contamination is not driving the score, and we would report that.
Why not just use DyVal as it stands? DyVal already measures depth and ordering effects without contamination. Its graphs have no domain meaning, though, so it cannot reveal whether domain priors help on familiar biology and mislead on altered biology. That interaction is the main object of this study. Matched synthetic networks without biological names reproduce DyVal-like conditions as one arm, so the comparison is built in.
Why not just skip LLMs and use network diffusion or trained predictors? For screening, that may well be the right engineering choice, and our baselines will show it. The study's purpose is to decide whether LLM reasoning, which is being added to discovery pipelines, adds anything beyond recall. A clean negative result is a contribution.
Proposed Experiments and Decisive Checks
We will generate about 6,000 network instances across the difficulty grid, each in three forms, and score accuracy, group accuracy across the triple, and trap capture. Trap capture is the fraction of traps answered with the literature-consistent label rather than the recomputed one. The decisive check for the recall hypothesis is whether the real-versus-invented accuracy gap is large and appears even at shallow depth. If the gap is only large at high depth, the model may be reasoning but leaning on names under load. The decisive check for chain-of-thought anchoring is a crossover: chain-of-thought should beat direct answering on invented-name instances as depth grows, but lose to it on traps. The graph-first chain should narrow the gap in both directions, and MP should reduce trap capture.
Two more checks test the design itself. On real data, we test whether the anonymization drop seen with O'Neil and DrugComb queries predicts the synthetic gap for the same models. Agreement would show that the generator measures something real. We also check whether invented-name accuracy ever beats diffusion scoring on redundancy-heavy networks, which is the only outcome that would show LLM reasoning adding value over a recall-free algorithm.
References
- Building a unified model for drug synergy analysis powered by large language models
- Studying and improving reasoning in humans and machines
- Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks
- BRAINTEASER: Lateral Thinking Puzzles for Large Language Models
- MP: Endowing Large Language Models with Lateral Thinking
- TurtleBench: Evaluating Top Language Models via Real-World Yes/No Puzzles
- Blind Spot Navigation in Large Language Model Reasoning with Thought Space Explorer
- Diffusion mapping of drug targets on disease signaling network elements reveals drug combination strategies
- Accurate prediction of synergistic drug combination using a multi-source information fusion framework
- DTSyn: a dual-transformer-based neural network to predict synergistic drug combinations