SpecOpt: Contact-Diff Reasoning for Agentic Molecule Optimization Toward Binding Specificity
Organizations: Siebel School of Computing and Data Science University of Illinois Urbana-Champaign
Abstract
Off-target protein binding is a major source of adverse effects for small-molecule drugs, yet most structure-based molecular design methods focus on generating selective compounds de novo rather than improving the selectivity of existing, well- characterized drugs. We introduce specificity optimization (SpecOpt), a molecular design task that seeks constrained structural modifications to an existing compound that increase its binding preference for an intended target over known off-targets while preserving its structural identity and drug-like properties. To enable systematic evaluation, we construct a ChEMBL-derived benchmark from compound-target interaction data, identifying intended targets through curated drug-mechanism annotations and off- targets through measured activities. We then develop an agentic framework that docks each compound against its intended target and off-targets, compares the resulting poses through residue-aware atom-protein contacts, and provides these differential interactions to a large language model to propose targeted structural modifications. Candidates are retained only if they satisfy molecular similarity, ADMET, and target-off-target docking selectivity criteria. On 915 compounds, the agent improves the target- off-target binding gap for 84.8% of compounds, shifting the mean gap from -0.72 to +0.47 kcal/mol while maintaining a mean Tanimoto similarity of 0.72 to the starting compounds. Ablation studies identify residue-specific contact information as the critical optimization signal: replacing residue identities with binary contact indicators eliminates improvement on all 29 ablation compounds. These results establish SpecOpt as a distinct molecular design problem and demonstrate residue-aware differential interactions as an effective signal for improving the specificity of existing compounds.
Figures & tables
| Baseline (original drug) | After optimization | |
|---|---|---|
| Mean specificity gap (kcal/mol) | ||
| Median specificity gap (kcal/mol) | ||
| Compounds improved | — | |
| Mean Tanimoto to original |
| Compound | Target / off-target | Base | Opt. | Sim. | Edit |
|---|---|---|---|---|---|
| Edoxaban | factor Xa / prothrombin | F + CF 3 on cyclohexane | |||
| Ibipinabant | CB 1 / CB 2 | F on arylsulfonyl ring | |||
| Brequinar | DHODH / DHFR | F repositioned on biaryl | |||
| Repotrectinib | TRKB / ROS1, JAK2, FAK1 | nitrile on fluoroaryl | |||
| Berotralstat | kallikrein / plasminogen | NH -methyl |
| Relationship | Base | Opt. | % improved | Wilcoxon | ||
|---|---|---|---|---|---|---|
| Isoform / subtype | 149 | |||||
| Homologous (same class) | 335 | |||||
| Different (no shared class) | 431 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Protein | Endpoint | Spearman | ||
|---|---|---|---|---|
| Muscarinic acetylcholine receptor M2 | AC50 | 132 | ||
| Mu-type opioid receptor | AC50 | 119 | ||
| 5-HT receptor 2B | Ki | 99 | ||
| KCNH2 (hERG) | IC50 | 124 | ||
| 5-HT receptor 2A | AC50 | 117 |
| Docking score | Experimental (pChEMBL) | |||||
| Category | Vina / | target | off-target | target | off-target | |
| Strong | ( 260 nM) | 34.7% | 34.5% | 81.5% | 27.7% | |
| Moderate | to (260 nM–7.5 µM) | 37.6% | 40.2% | 15.4% | 64.1% | |
| Weak | to (7.5–220 µM) | 22.6% | 20.4% | 0 3.1% | 0 8.2% | |
| Negligible | ( 220 µM) | 0 5.1% | 0 4.9% | 0 0.0% | 0 0.0% | |
| Strong or moderate | 72.3% | 74.7% | 96.9% | 91.8% | ||
| Component removed | full | ablated | Wilcoxon | ||
|---|---|---|---|---|---|
| Five-way contact diff (naive 3-way instead) | 29 | ||||
| Within-compound memory (8-round budget) | 29 | ||||
| Combo mechanism | 29 | ||||
| Cross-compound memory | 29 | ||||
| Pose-consistency caution | 17 | ||||
| Within-compound memory (4-round budget) | 28 |
| Endpoint | Generated (top-20) | Real drugs (baseline) | Ours (optimized) |
|---|---|---|---|
| AMES (mutagenicity) | |||
| hERG (cardiotoxicity) | |||
| P-gp (efflux) | |||
| DILI (liver injury) | |||
| HIA (absorption) | |||
| BBBP (BBB penetration) |
Molecular Optimization
Molecular optimization computationally designs or edits chemical structures to improve desired properties while respecting chemical and practical constraints.
See all 103 papers