A Precedent-Guided Co-Scientist for Side-Effect-Aware Drug Redesign
Summary
PRECEDE is a precedent-guided co-scientist for side-effect-aware drug redesign that frames drug modification as evidence-grounded reasoning over drug–side-effect associations and biomedical knowledge graphs, coordinated by an LLM orchestrator with human oversight.
View Cached Full Text
Cached at: 07/07/26, 04:40 AM
# A Precedent-Guided Co-Scientist for Side-Effect-Aware Drug Redesign
Source: [https://arxiv.org/html/2607.02944](https://arxiv.org/html/2607.02944)
###### Abstract
We propose PRECEDE, a precedent\-guided co\-scientist for side\-effect\-aware drug redesign that revises a parent compound to mitigate a specified side effect while preserving therapeutic function\. Rather than isolated molecular generation, PRECEDE frames redesign as evidence\-grounded reasoning over drug–side\-effect associations, biomedical knowledge graphs, and precedents of safety\-driven optimization, coordinated by an LLM orchestrator with explicit policies and human\-review checkpoints\. We position PRECEDE as a human\-supervised AI\-for\-science workflow in which hypotheses remain auditable, falsifiable, and bounded by prior pharmacology\.
Machine Learning, ICML
## 1Motivation and Task Definition
Many drug candidates exhibit therapeutic activity yet carry side effects that require mitigation or restrict clinical use\. Existing molecular optimization methods mainly target generic objectives, such as potency, drug\-likeness, or broad ADMET properties\(Jinet al\.,[2018](https://arxiv.org/html/2607.02944#bib.bib2); Youet al\.,[2018](https://arxiv.org/html/2607.02944#bib.bib14)\)\. They typically treat each optimization instance as an independent generation problem\. Pharmacological redesign, in contrast, often follows recognizable precedents, as in the transition fromtenofovir disoproxil fumaratetotenofovir alafenamide\(Rayet al\.,[2016](https://arxiv.org/html/2607.02944#bib.bib24)\)\. In these cases, safety liabilities are mitigated through interpretable structural or pharmacokinetic strategies, such as prodrug modification, bioisosteric replacement, and exposure modulation\(Rautioet al\.,[2018](https://arxiv.org/html/2607.02944#bib.bib20); Kimet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib21)\)\. Recent agentic drug\-discovery systems demonstrate the potential of LLM\-based orchestration, retrieval, and tool use for molecular design\(Averlyet al\.,[2025](https://arxiv.org/html/2607.02944#bib.bib17); Liuet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib4)\)\. These systems search chemical space toward a target and a property profile\. PRECEDE instead takes an approved drug and one documented side effect as input, classifies the effect by mechanism before any edit, and transfers a strategy abstracted from redesign precedents\.
We defineside\-effect\-aware drug redesignas follows\. Given a parent drugxx, a target side effectaa, and an optional therapeutic contextcc, the system produces ranked candidates\{xi′\}\\\{x^\{\\prime\}\_\{i\}\\\}along with evidence trails, predicted efficacy–safety profiles, modification rationales, and an auditable redesign report\. Unlike generic molecular generation, the task requires mechanism\-informed screening of the side effect before any structural edit: the system must corroborate the drug–side\-effect association, identify plausible liability factors, retrieve analogous precedents, and check whether candidate edits preserve the therapeutic mechanism\.
PRECEDE addresses this task as a precedent\-guided agentic workflow rather than a single generative model\. It corroborates drug–side\-effect associations using SIDER\(Kuhnet al\.,[2016](https://arxiv.org/html/2607.02944#bib.bib1)\)and knowledge graphs such as PrimeKG\(Chandaket al\.,[2023](https://arxiv.org/html/2607.02944#bib.bib18)\), classifies the side effect by likely mechanism, retrieves analogous precedents, and evaluates candidate edits with*in silico*efficacy and safety proxies\. The hypothesis stage, from evidence grounding through*in silico*evaluation and reporting, is handled by the system, while experimental execution and final interpretation remain with human collaborators\. This division keeps outputs as auditable hypotheses rather than autonomous recommendations\.
This proposal contributes \(i\) a precedent memory that encodes historical redesign cases as structured records rather than isolated molecules, \(ii\) an attribution\-aware decision policy that gates structural editing on the redesignability of the side effect, and \(iii\) a historical replay protocol that tests whether the reasoning of PRECEDE aligns with documented optimization decisions\.
Figure 1:Overview of PRECEDE, an LLM\-orchestrated workflow for evidence\-grounded, precedent\-guided drug redesign\.
## 2Proposed Approach
PRECEDE uses an LLM\-based orchestrator to coordinate evidence retrieval, attribution, precedent search, constrained redesign, and candidate evaluation\. Given a parent compound, a target side effect, and an optional therapeutic context, the orchestrator first checks whether external evidence supports the queried drug–side\-effect association\.
Attribution\-aware routing\.Before redesign, PRECEDE classifies the side effect into one of five categories based on established mechanism\-based taxonomies\(Edwards and Aronson,[2000](https://arxiv.org/html/2607.02944#bib.bib25); Aronson and Ferner,[2003](https://arxiv.org/html/2607.02944#bib.bib26); Parket al\.,[2011](https://arxiv.org/html/2607.02944#bib.bib27)\): \(i\) target\-mediated, \(ii\) off\-target structural liability, \(iii\) metabolism or reactive intermediate, \(iv\) exposure or pharmacokinetic, and \(v\) insufficient evidence\. Only categories \(ii\)–\(iv\) proceed to redesign; categories \(i\) and \(v\) are routed to human review\. This routing keeps structural editing defensible and constrained to redesignable liabilities\.
Precedent memory and strategy abstraction\.Each precedent record encodes a parent compound, safety issue, structural modification, improved compound, and observed outcome\. PRECEDE abstracts transferable strategies from these records, such as exposure modulation, liability\-group replacement, pharmacophore preservation, and peripheral editing\. The orchestrator selects strategies with precedents matching the attribution category and therapeutic context\.
Constrained redesign and evaluation\.Strategies guide a hybrid generation stack: matched molecular pair transformations from precedent memory, template\-based bioisosteric replacements\(Kimet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib21)\), and LLM\-proposed substitutions\. Candidate edits are filtered by chemical validity and synthetic accessibility\. Surviving candidates are evaluated through target\-specific docking, pharmacophore retention, toxicity predictors, and parent\-similarity constraints\.
Decision policy\.Policies govern stage transitions: evidence below a confidence threshold \(e\.g\., no SIDER\-confirmed association or fewer than two citations\) triggers retrieval expansion; conflicting precedents are resolved by ranked alternatives scored on contextual similarity; failed evaluation \(e\.g\., docking degradation beyond a parent\-relative margin or low synthetic accessibility\) returns the system to redesign under tighter constraints\. A provenance log records every evidence item, precedent, edit, score, and decision rationale; at termination, it exports an auditable redesign report\.
## 3Evaluation Roadmap
PRECEDE is evaluated along four axes that follow its workflow\.*Evidence grounding*is assessed by support recall@kkagainst SIDER and PrimeKG, by citation validity, and by attribution classification accuracy on a labeled subset of cases\.*Precedent retrieval*is measured by top\-kkaccuracy and strategy\-level F1 on held\-out cases\.*Redesign quality*combines chemical validity, parent similarity, synthetic accessibility, predicted toxicity reduction, and therapeutic preservation via docking and pharmacophore retention as proxies where assay data are unavailable\.*Expert review*provides a multi\-rater check on rationale plausibility\.
The main benchmark is historical replay on a pilot of 30–50 trajectories from prodrug case studies\(Rautioet al\.,[2018](https://arxiv.org/html/2607.02944#bib.bib20)\)and matched molecular pair literature, each pairing a parent with its safety\-driven successor\. Holding out the successor makes each hypothesis falsifiable against a documented outcome: PRECEDE must recover the optimization from the parent and target side effect alone\. We treat replay as necessary but not sufficient: agreement supports medicinal\-chemistry reasoning, while interpretable disagreement remains informative\. A proof\-of\-concept implementation and single\-case walkthrough are in the appendix\.
## 4Governance and Expected Impact
PRECEDE is positioned as a co\-scientist: a human\-supervised hypothesis\-generation system rather than an autonomous clinical or synthesis engine\. It proposes evidence\-grounded redesign hypotheses, while humans retain decision authority and scientific credit\. It neither recommends clinical use nor initiates synthesis; its outputs are computational hypotheses of open causal status\. Human review is invoked at three checkpoints \(non\-redesignable or insufficient\-evidence cases, conflicting precedents, and final candidate triage\); every evidence item, precedent, edit, score, and human intervention is logged to the provenance memory\. The aim is not to automate medicinal chemistry but to offer medicinal chemists an auditable testbed in which safety\-driven redesign remains legible, contestable, and accountable, extensible to other precedent\-guided design tasks\.
## Acknowledgements
This work was supported by the Ministry of Science and ICT \(MSIT\), Republic of Korea, under the Global Research Support Program in the Digital Field \(RS\-2024\-00431394\), supervised by the Institute for Information & Communications Technology Planning & Evaluation \(IITP\), and by MSIT under the Advanced GPU Utilization Support Program \(05\-26\-04\-0020\)\.
## References
- J\. K\. Aronson and R\. E\. Ferner \(2003\)Joining the DoTS: new approach to classifying adverse drug reactions\.BMJ327\(7425\),pp\. 1222–1225\.Cited by:[§2](https://arxiv.org/html/2607.02944#S2.p2.1)\.
- R\. Averly, F\. N\. Baker, I\. A\. Watson, and X\. Ning \(2025\)Liddia: language\-based intelligent drug discovery agent\.InProceedings of the 2025 Conference on Empirical Methods in Natural Language Processing,pp\. 12015–12039\.Cited by:[§A\.1](https://arxiv.org/html/2607.02944#A1.SS1.p1.1),[§1](https://arxiv.org/html/2607.02944#S1.p1.1)\.
- S\. K\. Burley, C\. Bhikadiya, C\. Bi, S\. Bittrich, L\. Chen, G\. V\. Crichlow, C\. H\. Christie, K\. Dalenberg, L\. Di Costanzo, J\. M\. Duarte,et al\.\(2021\)RCSB protein data bank: powerful new tools for exploring 3d structures of biological macromolecules for basic and applied research and education in fundamental biology, biomedicine, biotechnology, bioengineering and energy sciences\.Nucleic acids research49\(D1\),pp\. D437–D451\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p6.5)\.
- P\. Chandak, K\. Huang, and M\. Zitnik \(2023\)Building a knowledge graph to enable precision medicine\.Scientific Data10\(1\),pp\. 67\.External Links:[Link](https://doi.org/10.1038/s41597-023-01960-3)Cited by:[§1](https://arxiv.org/html/2607.02944#S1.p3.1)\.
- H\. Chase \(2022\)LangChainExternal Links:[Link](https://github.com/langchain-ai/langchain)Cited by:[§A\.4](https://arxiv.org/html/2607.02944#A1.SS4.p1.1)\.
- I\. R\. Edwards and J\. K\. Aronson \(2000\)Adverse drug reactions: definitions, diagnosis, and management\.The Lancet356\(9237\),pp\. 1255–1259\.Cited by:[§2](https://arxiv.org/html/2607.02944#S2.p2.1)\.
- A\. Gaulton, L\. J\. Bellis, A\. P\. Bento, J\. Chambers, M\. Davies, A\. Hersey, Y\. Light, S\. McGlinchey, D\. Michalovich, B\. Al\-Lazikani,et al\.\(2012\)ChEMBL: a large\-scale bioactivity database for drug discovery\.Nucleic acids research40\(D1\),pp\. D1100–D1107\.Cited by:[§A\.3](https://arxiv.org/html/2607.02944#A1.SS3.p1.1)\.
- J\. Hussain and C\. Rea \(2010\)Computationally efficient algorithm to identify matched molecular pairs \(mmps\) in large data sets\.Journal of chemical information and modeling50\(3\),pp\. 339–348\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p5.3)\.
- W\. Jin, R\. Barzilay, and T\. Jaakkola \(2018\)Junction tree variational autoencoder for molecular graph generation\.InInternational conference on machine learning,pp\. 2323–2332\.Cited by:[§1](https://arxiv.org/html/2607.02944#S1.p1.1)\.
- H\. Kim, S\. Moon, W\. Zhung, S\. Kim, J\. Lim, and W\. Y\. Kim \(2024\)Deepbioisostere: discovering bioisosteres with deep learning for a fine control of multiple molecular properties\.arXiv preprint arXiv:2403\.02706\.Cited by:[§A\.3](https://arxiv.org/html/2607.02944#A1.SS3.p1.1),[§1](https://arxiv.org/html/2607.02944#S1.p1.1),[§2](https://arxiv.org/html/2607.02944#S2.p4.1)\.
- C\. Kramer, J\. E\. Fuchs, S\. Whitebread, P\. Gedeck, and K\. R\. Liedl \(2014\)Matched molecular pair analysis: significance and the impact of experimental uncertainty\.Journal of Medicinal Chemistry57\(9\),pp\. 3786–3802\.Cited by:[§A\.3](https://arxiv.org/html/2607.02944#A1.SS3.p1.1)\.
- M\. Kuhn, I\. Letunic, L\. J\. Jensen, and P\. Bork \(2016\)The sider database of drugs and side effects\.Nucleic acids research44\(D1\),pp\. D1075–D1079\.Cited by:[§1](https://arxiv.org/html/2607.02944#S1.p3.1)\.
- S\. Liu, Y\. Lu, S\. Chen, X\. Hu, J\. Zhao, Y\. Lu, and Y\. Zhao \(2024\)Drugagent: automating ai\-aided drug discovery programming through llm multi\-agent collaboration\.arXiv preprint arXiv:2411\.15692\.Cited by:[§A\.1](https://arxiv.org/html/2607.02944#A1.SS1.p1.1),[§1](https://arxiv.org/html/2607.02944#S1.p1.1)\.
- H\. H\. Loeffler, J\. He, A\. Tibo, J\. P\. Janet, A\. Voronov, L\. H\. Mervin, and O\. Engkvist \(2024\)Reinvent 4: modern ai–driven generative molecule design\.Journal of Cheminformatics16\(1\),pp\. 20\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p5.3)\.
- B\. K\. Park, A\. Boobis, S\. Clarke, C\. E\. Goldring, D\. Jones, J\. G\. Kenna, C\. Lambert, H\. G\. Laverty, D\. J\. Naisbitt, S\. Nelson,et al\.\(2011\)Managing the challenge of chemically reactive metabolites in drug development\.Nature Reviews Drug Discovery10\(4\),pp\. 292–306\.Cited by:[§2](https://arxiv.org/html/2607.02944#S2.p2.1)\.
- J\. Rautio, N\. A\. Meanwell, L\. Di, and M\. J\. Hageman \(2018\)The expanding role of prodrugs in contemporary drug design and development\.Nature reviews drug discovery17\(8\),pp\. 559–587\.Cited by:[§A\.3](https://arxiv.org/html/2607.02944#A1.SS3.p1.1),[§1](https://arxiv.org/html/2607.02944#S1.p1.1),[§3](https://arxiv.org/html/2607.02944#S3.p2.1)\.
- A\. S\. Ray, M\. W\. Fordyce, and M\. J\. Hitchcock \(2016\)Tenofovir alafenamide: a novel prodrug of tenofovir for the treatment of human immunodeficiency virus\.Antiviral research125,pp\. 63–70\.Cited by:[§1](https://arxiv.org/html/2607.02944#S1.p1.1)\.
- K\. Swanson, P\. Walther, J\. Leitz, S\. Mukherjee, J\. C\. Wu, R\. V\. Shivnaraine, and J\. Zou \(2024\)ADMET\-ai: a machine learning admet platform for evaluation of large\-scale chemical libraries\.Bioinformatics40\(7\),pp\. btae416\.Cited by:[§A\.2](https://arxiv.org/html/2607.02944#A1.SS2.p3.1)\.
- Y\. Tanaka, H\. Y\. Chen, P\. Belloni, U\. Gisladottir, J\. Kefeli, J\. Patterson, A\. Srinivasan, M\. Zietz, G\. Sirdeshmukh, J\. Berkowitz,et al\.\(2025\)OnSIDES database: extracting adverse drug events from drug labels using natural language processing models\.Med6\(7\)\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p2.1)\.
- O\. Trott and A\. J\. Olson \(2010\)AutoDock vina: improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading\.Journal of computational chemistry31\(2\),pp\. 455–461\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p6.5)\.
- T\. UniProt Consortium \(2018\)UniProt: the universal protein knowledgebase\.Nucleic acids research46\(5\),pp\. 2699–2699\.Cited by:[§A\.5](https://arxiv.org/html/2607.02944#A1.SS5.p6.5)\.
- A\. Yang, A\. Li, B\. Yang, B\. Zhang, B\. Hui, B\. Zheng, B\. Yu, C\. Gao, C\. Huang, C\. Lv,et al\.\(2025\)Qwen3 technical report\.arXiv preprint arXiv:2505\.09388\.Cited by:[§A\.4](https://arxiv.org/html/2607.02944#A1.SS4.p1.1)\.
- J\. You, B\. Liu, Z\. Ying, V\. Pande, and J\. Leskovec \(2018\)Graph convolutional policy network for goal\-directed molecular graph generation\.Advances in neural information processing systems31\.Cited by:[§1](https://arxiv.org/html/2607.02944#S1.p1.1)\.
## Appendix AAppendix
Table 1:Evaluation axes, metrics, data sources, and target criteria for the PRECEDE pilot study\.AxisMetricSourceTargetEvidence groundingsupport recall@kk, citation validity, attribution accuracySIDER, PrimeKG, labeled subsethigh agreement with curated associationsPrecedent retrievaltop\-kkaccuracy, strategy\-level F1held\-out redesign casesexceeds similarity\-only baselinesRedesign qualityvalidity, SA, parent Tanimoto, dockingΔ\\Delta, toxicity\-proxyΔ\\DeltaRDKit, AutoDock Vina, ADMET predictorsreduced toxicity proxy with preserved efficacy proxyExpert reviewrationale plausibility \(1–5\), blinded, multi\-raterheld\-out redesign casesmean≥3\.5\\geq 3\.5, substantial agreement### A\.1Positioning Relative to Prior Agentic Systems
Recent agentic drug\-discovery systems share one execution pattern: an LLM orchestrator retrieves data, invokes generators, and filters candidates with*in silico*tools\. DrugAgent\(Liuet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib4)\)automates the machine\-learning programming behind discovery tasks\. LIDDIA\(Averlyet al\.,[2025](https://arxiv.org/html/2607.02944#bib.bib17)\)coordinates the*in silico*stages of hit identification and lead optimization\. Both frame the objective as a search over chemical space toward a target and a property profile\. PRECEDE reuses this orchestration pattern, yet its contribution rests on three departures from prior work\.
Problem formulation\.Prior systems take a target and a property specification as input and return molecules that bind the target\. PRECEDE takes an approved drug and one documented side effect as input and returns revisions that remove the liability while the therapeutic mechanism stays intact\. The task is safety\-driven redesign of an existing drug rather than*de novo*generation\.
Precedent\-guided reasoning\.These systems optimize property scores for each case in isolation\. PRECEDE abstracts a strategy from structured records of how medicinal chemists resolved analogous liabilities and transfers that strategy by analogy\. The precedent memory is a resource that property\-score optimizers do not use\.
Attribution before generation\.Many prior systems follow a generate\-and\-filter pattern, in which candidate molecules are proposed before downstream property and safety filters are applied\. PRECEDE classifies the side effect by mechanism before any structural edit and admits only redesignable liabilities to redesign\. Target\-mediated effects halt at human review\. The gate decides whether redesign is scientifically defensible before the generators run\.
The contribution rests on the grounds of the reasoning rather than on the orchestration mechanics\. The external tools are invoked under fixed execution settings, while the agentic component lies in non\-trivial decisions: attribution classification, precedent selection under conflict, the reflect–refine–escalate loop, and rationale generation\. Each decision is grounded in external evidence and recorded in the provenance log\. The exception cases in Appendix[A\.5](https://arxiv.org/html/2607.02944#A1.SS5)\(warfarin and terfenadine\) demonstrate that the pipeline branches and rejects inputs rather than executes a fixed batch\.
### A\.2Pilot Evaluation Protocol
Table[1](https://arxiv.org/html/2607.02944#A1.T1)summarizes the four evaluation axes introduced in Section[3](https://arxiv.org/html/2607.02944#S3)\. It specifies the metrics, data sources, and target criteria used to operationalize evidence grounding, precedent retrieval, redesign quality, and expert review in the initial PRECEDE pilot\.
Support recall@kkmeasures the fraction of held\-out drug–side\-effect associations for which relevant supporting evidence appears in the top\-kkresults\.Citation validitymeasures the fraction of cited sources that resolve to a verifiable record in SIDER, PrimeKG, PubMed, or the corresponding source database\.Attribution accuracyis computed on a manually labeled subset of cases with literature\-documented side\-effect mechanisms; it tests whether PRECEDE assigns each case to the correct category among the five categories in Section[2](https://arxiv.org/html/2607.02944#S2)\.Strategy\-level F1maps each retrieved precedent to an abstracted strategy class \(Section[2](https://arxiv.org/html/2607.02944#S2)\) and compares it with the strategy documented in the held\-out case\.Toxicity\-proxyΔ\\Deltameasures the relative change in predicted toxicity between parent and candidate compounds, averaged across multiple ADMET predictors to reduce dependence on a single model\.Expert reviewuses three independent raters to score rationale plausibility on a 1–5 Likert scale\. Inter\-rater agreement is reported using Cohen’sκ\\kappaor an appropriate multi\-rater agreement statistic\.
Candidate success criterion\.A candidate counts as a successful redesign only when it satisfies three conditions jointly\. First, the therapeutic efficacy proxy stays within the parent\-relative margin\. Second, the targeted safety endpoint improves relative to the parent\. Third, no non\-targeted safety endpoint degrades beyond the parent\-relative margin\. The third condition screens the full ADMET\-AI\(Swansonet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib7)\)panel to flag cases where a redesign may trade the targeted liability for a new one\.
Table 2:Seed precedent memory used by PRECEDE in the current proof\-of\-concept implementation\.Parent→\\rightarrowsuccessorTargeted side effectStrategy and structural changeAttributionTDF→\\rightarrowTAFnephrotoxicity; bone mineral density lossexposure modulation via phosphonamidate prodrug conversionExposure / PKcisplatin→\\rightarrowcarboplatinnephrotoxicityliability\-group replacement via cyclobutanedicarboxylate leaving groupExposure / PKcarbamazepine→\\rightarrowoxcarbazepinehypersensitivity \(rash\)keto\-analog strategy via 10\-keto substitutionMetabolism / reactiveterfenadine→\\rightarrowfexofenadineQT prolongation; torsades \(hERG block\)active\-metabolite switch via carboxylic\-acid active metaboliteOff\-target structuralTable 3:Knowledge resources and computational tools used across task modules in the implemented pipeline\.Task moduleKnowledge resources and toolsEvidence groundingSIDER, OnSIDESTarget resolutionChEMBL, UniProt, RCSB PDBSMILES generationmmpdb, REINVENT Mol2MolProperty predictionADMET\-AI, RDKitBinding / efficacyAutoDock Vina
### A\.3Pilot Benchmark Curation
The historical replay benchmark is designed around 30–50 safety\-driven redesign trajectories from two complementary sources\. The first is curated medicinal chemistry case studies, including prodrug conversion and bioisosteric replacement\(Rautioet al\.,[2018](https://arxiv.org/html/2607.02944#bib.bib20); Kimet al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib21)\)\. An example is the transition from tenofovir disoproxil fumarate to tenofovir alafenamide\. The second source is matched molecular pair literature derived from public bioactivity databases such as ChEMBL\(Gaultonet al\.,[2012](https://arxiv.org/html/2607.02944#bib.bib10)\), where structural transformations associated with reduced off\-target activity, such as hERG or CYP inhibition, have been systematically characterized\(Krameret al\.,[2014](https://arxiv.org/html/2607.02944#bib.bib28)\)\. Each trajectory contains a parent compound, a documented side effect, a structural modification, and a successor compound, with the modification rationale recorded as a ground\-truth strategy label\.
The pilot is kept deliberately modest in scale because the value of historical replay depends on the verifiability of each trajectory rather than the size of the corpus\. Trajectories with ambiguous attribution, undocumented design rationale, or insufficient outcome data are excluded\. We anticipate that scaling beyond the pilot will require automated mining of medicinal chemistry literature, which we treat as future work conditional on the validation of the pilot protocol\.
### A\.4Prototype Implementation Details
PRECEDE runs on a LangGraph orchestration graph\(Chase,[2022](https://arxiv.org/html/2607.02944#bib.bib13)\)with conditional edges and a bounded reflection loop\. The LLM is restricted to attribution, reflection, and rationale generation, while external tools perform retrieval, generation, scoring, and filtering under fixed execution settings\. The backbone is Qwen3\-30B\-A3B\-FP8\(Yanget al\.,[2025](https://arxiv.org/html/2607.02944#bib.bib5)\)\. Table[3](https://arxiv.org/html/2607.02944#A1.T3)lists the tool components per task module\. Table[2](https://arxiv.org/html/2607.02944#A1.T2)lists the seed precedent memory used in the current proof\-of\-concept implementation\.
### A\.5Prototype Workflow Walkthrough
This section traces the implemented pipeline on a single case that the precedent memory does not contain, to demonstrate the control flow of PRECEDE rather than to validate the biological validity of the generated analog\. The case separates strategy transfer from retrieval of a documented successor\. The parent drug is cidofovir, a nucleotide analog with well\-documented renal toxicity, and the target side effect is renal failure\. The precedent memory holds no successor of cidofovir; the case therefore tests transfer of an abstracted strategy rather than retrieval of a stored answer\.
Evidence grounding\.The evidence module queries the side\-effect resources SIDER and OnSIDES\(Tanakaet al\.,[2025](https://arxiv.org/html/2607.02944#bib.bib3)\)\. Both resources support the cidofovir–renal failure association through two independent sources, with the matched terms “Renal failure” and “Renal failure acute”\. The association meets the confidence threshold; the case proceeds to attribution\.
Attribution\-aware routing\.The orchestrator assigns the exposure or pharmacokinetic \(PK\) category among the five categories of Section[2](https://arxiv.org/html/2607.02944#S2)\. The recorded rationale attributes the toxicity to renal tubular accumulation rather than to an on\-target or off\-target interaction\. The PK category is redesignable; the case advances to precedent retrieval\.
Precedent retrieval and strategy transfer\.The retrieval module ranks precedents by attribution\-category match and by drug and effect token overlap\. The two top precedents are the transition from tenofovir disoproxil fumarate to tenofovir alafenamide \(TDF→\\rightarrowTAF\) and from cisplatin to carboplatin\. Both precedents share the PK category with the query; neither precedent is a documented redesign of cidofovir\. The module abstracts the strategy*exposure modulation*from TDF→\\rightarrowTAF and transfers it to cidofovir\.
Strategy\-guided redesign\.The redesign module generates candidates from the parent structure with two generators: matched molecular pair \(MMP\)\(Hussain and Rea,[2010](https://arxiv.org/html/2607.02944#bib.bib6)\)transformations and a deep generative model \(REINVENT Mol2Mol\)\(Loeffleret al\.,[2024](https://arxiv.org/html/2607.02944#bib.bib12)\)\. The module retains2323valid candidates,1717from REINVENT Mol2Mol and66from MMP transformations, after a chemical\-validity filter and the removal of duplicates and parent\-identical structures\.
In silicoevaluation\.The evaluation module resolves a therapeutic target of cidofovir to the herpes simplex virus type 1 \(HSV\-1\) DNA polymerase \(UniProt accession P04293\)\(UniProt Consortium,[2018](https://arxiv.org/html/2607.02944#bib.bib8)\)and selects Protein Data Bank \(PDB\) structure 9JA3\(Burleyet al\.,[2021](https://arxiv.org/html/2607.02944#bib.bib9)\), a complex of the HSV\-1 polymerase with duplex DNA and a bound nucleotide\-analog inhibitor, for docking\. The module predicts toxicity with ADMET\-AI and selects microsomal intrinsic clearance \(Clearance\_Microsome\_AZ\) as the primary safety endpoint for the PK category\. A higher clearance value indicates lower systemic exposure; higher values are treated as more favorable for this endpoint\. The module ranks the2323candidates by the docking\-independent score components \(safety endpoint delta, parent Tanimoto similarity, and synthetic accessibility\)\. It then docks the parent and the three top\-ranked candidates with AutoDock Vina\(Trott and Olson,[2010](https://arxiv.org/html/2607.02944#bib.bib11)\)\(Figure[2](https://arxiv.org/html/2607.02944#A1.F2)\)\. The parent docking score is−7\.88\-7\.88kcal/mol\. For these three docked candidates, docking\-score deltas span−0\.30\-0\.30to\+0\.24\+0\.24kcal/mol; all three remain within the parent\-relative efficacy margin of2\.02\.0kcal/mol\. The reflection module evaluates the top candidate and returns an accept decision \(efficacy preserved, scaffold similarity maintained\), terminating the loop\.
Figure 2:Docked poses on viral DNA polymerase \(PDB 9JA3\)\. Green: cidofovir \(parent\); cyan: generated analog\.Table 4:Rank\-1 candidate for the cidofovir walkthrough\. The candidate originates from a strategy transferred from the TDF→\\rightarrowTAF precedent\.QuantityValueAttribution categoryexposure or pharmacokineticTransferred strategyexposure modulationParent Tanimoto similarity0\.830\.83Primary safety endpointClearance\_Microsome\_AZSafety endpoint delta\+3\.65\+3\.65\(improvement\)Docking score \(parent\)−7\.88\-7\.88kcal/molDocking score \(candidate\)−8\.18\-8\.18kcal/molEfficacy preservedyesComposite score0\.940\.94Ranking and report\.The system ranks candidates with a transparent weighted score over four normalized components: the primary safety endpoint delta \(weight0\.450\.45\), docking efficacy \(weight0\.300\.30\), parent Tanimoto similarity \(weight0\.150\.15\), and synthetic accessibility \(SA, weight0\.100\.10\)\. The score is normalized over the components available for each candidate\. Table[4](https://arxiv.org/html/2607.02944#A1.T4)summarizes the rank\-1 candidate, which originates from REINVENT Mol2Mol, has a parent Tanimoto similarity of0\.830\.83, and reaches a composite score of0\.940\.94\. The candidate docking score is−8\.18\-8\.18kcal/mol, a delta of−0\.30\-0\.30relative to the parent\. The generated rationale frames the candidate as consistent with an exposure\-modulation hypothesis derived from the transferred precedent strategy\. Microsomal clearance is a hepatic measure and serves as an indirect proxy for renal exposure; this limitation motivates the human\-supervised positioning of the system\. The workflow terminates with a final human\-review checkpoint for expert triage that marks every candidate as a hypothesis rather than a clinical or synthesis recommendation\.
Exception cases\.Two cases test the first human\-review checkpoint, where non\-redesignable or insufficient\-evidence inputs should halt before structural editing\. The first case pairs warfarin with bleeding\. The orchestrator assigns the target\-mediated category because bleeding extends the intended anticoagulant mechanism rather than an off\-target or pharmacokinetic liability\. Because the target\-mediated category is non\-redesignable, the case halts at a human\-review checkpoint without structural editing\. The second case pairs terfenadine with QT prolongation\. Although terfenadine appears in the seed precedent memory, the evidence module does not allow it to substitute for external side\-effect support\. Because the queried association is not covered by SIDER or OnSIDES in the current implementation, the case is assigned to the insufficient\-evidence category and halts at a human\-review checkpoint\. Both cases illustrate that evidence grounding and attribution routing gate the pipeline as specified\. Neither query reaches redesign\.
### A\.6Governance and Risk Considerations
Data provenance\.PRECEDE relies on public research resources, including SIDER, PrimeKG, ChEMBL\-derived matched molecular pair datasets, and published medicinal chemistry case studies\. The system does not ingest patient\-level data or proprietary datasets in the proposed pilot\.
Dual\-use considerations\.Side\-effect mitigation strategies could, in principle, inform the inverse problem of increased side\-effect risk\. PRECEDE mitigates this risk by restricting outputs to literature\-grounded modifications and abstracted strategies, and by logging generated candidates to the provenance memory\. The system uses REINVENT only in parent\-conditioned Mol2Mol mode and does not perform*de novo*toxicophore exploration or autonomous synthesis planning\.
Human oversight protocol\.The three review checkpoints described in Section[4](https://arxiv.org/html/2607.02944#S4)are operationalized as follows\. First, cases routed to non\-redesignable or insufficient\-evidence categories are presented to a human reviewer with the supporting evidence and routing justification\. Second, conflicting precedents above a disagreement threshold trigger human triage, where alternative hypotheses and contextual similarity scores are surfaced for selection\. Third, candidate triage requires expert review of ranked candidates against the auditable redesign report before any downstream use\.
Limitations\.PRECEDE depends on public side\-effect databases, which can under\-report long\-tail effects and encode reporting biases\. Predicted toxicity proxies may exhibit domain shift on novel scaffolds\. Historical replay agreement indicates consistency with documented medicinal chemistry logic, but it does not establish causal validity for novel redesign cases\. These limitations motivate the human\-supervised positioning of PRECEDE rather than autonomous deployment\.Similar Articles
"Excuse me, may I say something..." CoLabScience, A Proactive AI Assistant for Biomedical Discovery and LLM-Expert Collaborations
CoLabScience introduces a proactive LLM assistant for biomedical research that autonomously intervenes in scientific discussions using PULI (Positive-Unlabeled Learning-to-Intervene), a novel reinforcement learning framework that determines when and how to contribute context-aware insights. The work includes BSDD, a new benchmark dataset of simulated research dialogues with intervention points derived from PubMed articles.
Turning scattered evidence into discovery decisions for life sciences
OpenAI’s new life-science model “GPT-Rosalind” inside Codex autonomously ranks asthma drug targets by orchestrating specialist sub-agents that merge genetics, transcriptomics, safety and IP data into a single evidence-backed decision.
DrugSAGE:Self-evolving Agent Experience for Efficient State-of-the-Art Drug Discovery
DrugSAGE is a framework that accumulates and reuses cross-task memory to build state-of-the-art drug discovery models efficiently, outperforming baseline agents by 10-30% on held-out tasks.
Probe Before You Edit: Probing-Guided Molecular Optimization for LLM Agents in Structure-Based Drug Design
This paper introduces PROBE, a framework that uses LLM agents to iteratively optimize ligands in structure-based drug design by probing pocket-ligand complex responses before editing, achieving state-of-the-art results on CrossDocked2020.
GraphDiffMed: Knowledge-Constrained Differential Attention with Pharmacological Graph Priors for Medication Recommendation
GraphDiffMed is a medication recommendation framework that uses dual-scale differential attention and pharmacological graph priors to improve recommendation quality and safety on EHR data. Experiments on MIMIC-III show consistent improvements over baselines.