Manuscript Offprint
arXiv:2610.39891TACFormer: Transformer-Based Generative Model for Target-Conditioned De Novo PROTAC Design
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Targeted protein degradation (TPD) represents a fundamental shift in drug discovery, moving beyond traditional target inhibition toward the event-driven removal of disease-causing proteins. A prominent strategy for TPD is the use of proteolysis-targeting chimeras (PROTACs), heterobifunctional molecules that selectively route a protein of interest (POI) to the ubiquitin–proteasome system for degradation. While PROTAC design still relies heavily on trial-and-error synthesis and experimental testing, deep generative models offer a promising means to explore PROTAC chemical space in silico and generate novel molecules. However, many existing generative methods formulate PROTAC design primarily as a linker-generation problem, with POI-binding (warhead) and E3-ligase-binding components fixed in advance. This restricts exploration of the full PROTAC chemical space and often leaves the POI implicit through the predefined warhead, rather than using protein-level information as an explicit conditioning signal during generation. To address these limitations, we propose TACFormer: a transformer-based generative model for target-aware de novo PROTAC design. The model conditions a GPT-style molecular decoder on pretrained ESM-2 representations of POI sequences, allowing POI-level information to steer full-molecule generation. Our results show that TACFormer generates highly novel and chemically diverse PROTACs while showing consistent POI-dependent shifts in generated chemical space. In particular, molecules generated under specific target conditions preferentially populate chemical neighborhoods associated with POIs in the held-out dataset, while extrapolating to novel chemotypes. By natively integrating biological context into the generative process, TACFormer moves PROTAC design toward a more biology-informed exploration of degrader chemical space.
Correspondence: rocio.mercado@chalmers.se
Code: https://github.com/yossragh/TACFormer
Date: October 30, 2026
1 INTRODUCTION
Targeted protein degradation (TPD) has emerged as a promising paradigm in drug discovery, shifting from sustained occupancy of a functional site to the event-driven removal of the target protein itself [1]. Because TPD does not require a druggable active site, it can extend to targets that have long been considered “undruggable” [2, 3]. Proteolysis-targeting chimeras (PROTACs) are among the most developed TPD modalities, with several having advanced into clinical trials [4]. A PROTAC is a heterobifunctional molecule composed of a warhead that binds a protein of interest (POI), an E3 ligand that recruits an E3 ubiquitin ligase, and a linker that tethers the two components [5]. By simultaneously binding the POI and E3 ligase, a PROTAC brings the two proteins into proximity, inducing polyubiquitination of the POI and its subsequent degradation by the proteasome [5].
Despite this promise, PROTAC discovery still relies heavily on iterative synthesis and experimental screening, which must be repeated for each new POI [6]. Deep generative models offer an alternative by learning from known chemistry and proposing molecules beyond existing libraries [7]. Although three-dimensional molecular generation is gaining attention, language-based models remain among the most sample-efficient approaches, and string-based molecular representations continue to be widely used [8–10].
These models typically represent molecules using the simplified molecular-input line-entry system (SMILES). SMILES is non-injective, meaning that the same molecule can be represented by multiple valid strings because atoms can be traversed in different orders [11]. This property offers two advantages for molecular generation. First, randomized SMILES can improve the quality and coverage of generated chemical space [12]. Second, different representations of the same molecule provide a natural form of data augmentation, helping models learn from scarce datasets [8, 13]. This is particularly valuable for PROTAC generation, where only a few thousand experimentally characterized degraders are available.
Existing generative methods for PROTAC design largely focus on linker generation [14], requiring the warhead and E3 ligand to be known beforehand. This confines the search to the linker and restricts de novo design to targets for which suitable binders are already known. As a result, these methods cannot jointly optimize the complete PROTAC, narrowing the explorable chemical space, notably by excluding the discovery of novel warheads.
The few methods that generate complete degraders introduce target information through intermediate proxies, such as target degradation predictors [15], affinity-based fragment selection [16], docking-based rewards [17], or downstream optimization objectives [18], rather than conditioning the molecular generator on the target protein itself. This is an important limitation because the chemical structure of an effective PROTAC fundamentally depends on the biological properties of the POI it is intended to degrade [19]. To our knowledge, no existing method uses a learned representation of the target protein to condition de novo generation of complete PROTAC molecules.
In this work, we aim to address the gaps in existing work by developing a method that (i) generates complete PROTAC molecules rather than restricting generation to the linker; (ii) integrates the biological representation of the POI as a conditioning signal; and (iii) operates effectively in low-data regimes inherent to PROTAC discovery. We summarize our contributions as follows:
• We introduce TACFormer, which is, to our knowledge, the first generative model that directly conditions de novo full-molecule PROTAC generation on a learned representation of the target protein. We use pretrained ESM-2 [20] to encode the POI amino-acid sequence and aggregate the resulting residue embeddings into a fixed-length protein representation. This representation conditions a GPT-style decoder-only transformer that generates PROTAC molecules as SMILES.
• We address the low-data regime through two-stage training. We curate 79,406 PROTAC-like molecules by filtering ZINC20 and ChEMBL 36 for physicochemical and structural properties characteristic of degraders, and use this corpus to pretrain a PROTAC-oriented molecular prior. We then fine-tune the pretrained model on reported PROTACs. We also contribute a normalization pipeline that harmonizes POI and E3-ligase annotations across the three PROTAC source databases.
• We establish that POI identity carries a measurable chemical signature in PROTAC data. Molecules targeting the same POI can span multiple chemotypes, but their local chemical neighborhoods remain strongly enriched for that target. This reveals that POI-associated chemistry is globally heterogeneous yet locally strongly organized.
• We propose an evaluation protocol for target-conditioned molecular generation that combines a likelihood-based measure ( ) with nearest-neighbor purity in chemical space. We use these

Figure 1 Overview of the TACFormer architecture. The protein of interest (POI) amino-acid sequence is encoded using pretrained ESM-2. The resulting residue representations are mean-pooled and projected into a 512-dimensional POI embedding. A GPT-style decoder generates PROTAC SMILES autoregressively. Protein conditioning is introduced in each decoder block by adding the projected POI embedding to the hidden representations after self-attention, scaled by a learnable layer-specific gate. The model generates a complete PROTAC SMILES conditioned on the specified POI.
complementary metrics to assess both where conditioning succeeds and where it fails, including zero-shot evaluation on POIs unseen during training.
Generative PROTAC linker design. Most generative work on PROTACs formulates the problem as linker design [14]. Early methods apply general-purpose fragment-linking models trained on small-molecule data to PROTAC linker design, without training on actual PROTAC data [33, 34]. Subsequent methods are tailored to PROTAC linker generation through PROTAC-specific training, fine-tuning, or optimization objectives that account for their chemical and structural requirements. These include sequence-based autoregressive generation optimized with reinforcement learning [35], graph-based linker generation [36], and approaches incorporating three-dimensional objectives [37] or diffusion-based modeling [38, 39]. All these methods require the warhead and E3 ligand as input, restricting generation to the linker and leaving the combinatorial space of the whole molecule unexplored.
Full-molecule PROTAC generation and target information. Few methods address full-molecule PROTAC generation. Nori et al.[15] generate PROTAC-like molecular graphs from an empty graph and introduce target specificity through reinforcement learning, using a surrogate model that predicts degradation activity for a given target as the reward. TRL-PROTAC [18] generates warhead and E3 ligands separately, connects them using a linker model, and optimizes the assembled PROTACs using pharmacokinetic and degradation scores. Shao et al.[16] use a protein–compound affinity model to select target-relevant fragments, which guide PROTAC generation under structural and physicochemical constraints. SynPROTAC [17] assembles synthesizable PROTACs from a supplied warhead or E3 ligand using reaction-based molecular assembly and uses docking-guided reinforcement learning to optimize binding-related properties. Although these methods are not target-agnostic, they do not directly condition PROTAC generation on representations of the target protein.
3 PRELIMINARIES
3.1 AUTOREGRESSIVE FORMULATION
PROTACs are represented as SMILES strings, allowing molecular generation to be formulated as autoregressive language modeling. For a molecule tokenized as
the conditional distribution is factorized as
where denotes the model parameters, p the conditioning POI, and its fixed protein embedding, defined below. The conditional model therefore learns a family of POI-dependent molecular distributions rather than a single unconditional distribution over PROTACs. Tokenization and SMILES randomization are described in Appendix A.1.
3.2 PROTEIN REPRESENTATION USING ESM-2
We represent each POI using ESM-2 [20], a pretrained transformer protein language model that learns contextual residue representations from amino-acid sequences. These representations capture sequence patterns related to protein evolution and structure. For each POI, we retrieve its amino-acid sequence from UniProtKB [40] and encode it using the pretrained esm2_t33_650M_UR50D variant (33 layers, 650M parameters, hidden size 1280). For a protein of length L, the resulting residue representations are
We apply mean pooling over the residue representations to obtain a fixed-length POI embedding,
These sequence-derived embeddings allow molecular generation to be conditioned on protein sequence information rather than discrete target identifiers or static protein descriptors.
Proteins longer than the 1022-residue processing window are encoded in overlapping windows. The residue representations are merged to reconstruct the full-length sequence before mean pooling, ensuring that each residue contributes once to the final embedding (Appendix A.3). ESM-2 remains frozen throughout training.
3.3 CONDITIONAL DECODER
The molecular generator is a decoder-only transformer with eight pre-LayerNorm blocks, a hidden dimension of , and eight attention heads (Appendix A.4). The same backbone is used for molecular pretraining, unconditional fine-tuning, and target-conditioned fine-tuning.
The pooled protein representation is projected into the decoder hidden space as
We introduce protein conditioning through gated residual addition in each transformer block. The projected protein embedding is broadcast across token positions and added after the causal self-attention residual, scaled by a trainable layer-specific gate . For block , the attention residual is
and the conditioned block update is
The protein condition is shared across all transformer blocks, while the layer-specific gates control its contribution at each depth. The conditional model is initialized from the pretrained molecular prior and augmented with the protein adapter and one gate per block. Each gate is initialized to , so and the model initially behaves identically to the pretrained molecular decoder. Protein conditioning is then learned during fine-tuning using teacher-forced causal language modeling on molecule–POI pairs.
4 EXPERIMENTS
4.1 DATA
PROTAC-like pretraining data. To learn a PROTAC-oriented molecular prior, compounds from ZINC20 [41] and ChEMBL 36 [42] are filtered for physicochemical and structural properties characteristic of PROTAC-like molecules. After standardization, filtering, and deduplication, the pretraining corpus contains 79,406 unique molecules. The filtering criteria are detailed in Appendix B.1.
PROTAC data. Two datasets are built by merging PROTAC-DB [43], TPDdb [44], and PROTAC-Pedia [45].
For conditional generation, each observation is a molecule–POI pair. We harmonize target annotations across the three databases by mapping POI names to UniProt accessions and using the corresponding primary gene names as canonical labels. After deduplication, the dataset contains 30,053 molecule–POI pairs across 408 POIs.
We reserve four POIs—WDR5, DHFR, FGFR3, and MAP3K13—for zero-shot evaluation. These targets span different levels of similarity to the training POIs in ESM-2 embedding space. We verify that molecules targeting the zero-shot POIs do not occur under any training POI. Removing their 217 molecule–POI pairs before splitting leaves 29,836 pairs across 404 POIs.
Because the data are unevenly distributed across targets, we select the 20 most represented POIs for target-wise held-out evaluation, hereafter referred to as the seen POIs. These targets account for 21,246 pairs (71.2% of the remaining dataset), providing sufficient reference molecules for separate evaluation of each POI.
For the seen POIs, we split pairs into training (80%), validation (10%), and test (10%) subsets. The remaining 384 POIs contribute 8,590 pairs exclusively to training, exposing the model to a broader range of protein conditions. To prevent molecular leakage, all pairs sharing the same standardized SMILES are assigned to one partition. The final conditional dataset contains 25,584 training, 2,126 validation, and 2,126 test pairs.
For unconditional generation, we discard POI annotations from the conditional partitions and deduplicate standardized SMILES within each partition. This removes repeated molecules with multiple POI labels while preserving their split assignments. The resulting dataset contains 22,880 (84.37%) training, 2,122 (7.82%) validation, and 2,117 (7.81%) test molecules. Both models therefore use matched molecular partitions.
Dataset composition, POI harmonization, zero-shot target selection, and splitting procedures are provided in Appendices B.3, B.2, B.4, and B.5.
4.2 EXPERIMENTAL SETUP
Both downstream models are initialized from the same molecular prior. We first pretrain the decoder-only transformer on PROTAC-like molecules, then fine-tune separate unconditional and conditional models on PROTAC data.
The unconditional model is fine-tuned without protein information, learning a distribution over complete PROTAC molecules. The conditional model is fine-tuned on molecule–POI pairs using the conditioning mechanism described in Section 3, learning .
Both models share the same molecular backbone. For each sampling seed, the unconditional model generates 200,000 molecules. The conditional model generates 10,000 molecules per POI, yielding the same total generation budget.
We evaluate the conditional generation in two settings. In the seen-POI setting, the model generates molecules for the seen POIs and is evaluated against their held-out test data. In the zero-shot setting, the same model generates molecules for WDR5, DHFR, FGFR3, and MAP3K13, which are excluded from training, without additional fine-tuning. Each zero-shot target receives 10,000 generated samples per seed.
Training hyperparameters and sampling settings are provided in Appendices A.8 and B.7, respectively.
4.3 EVALUATION
Let denote the set of generated SMILES, the subset of samples successfully parsed and sanitized by RDKit, and the set of unique valid molecules obtained by canonicalizing and deduplicating . For conditional generation, we define the corresponding collections , , and for each POI . Metrics are computed per POI and summarized by an unweighted macro average across targets. Implementation details are provided in Appendix B.7.
Evaluation rationale. We first examine whether PROTAC chemistry in the reference data contains a POI-specific signal that can support conditional generation. We compare Morgan–Tanimoto similarity between molecules targeting the same POI and those targeting different POIs. Because many PROTACs share E3-binding ligands, whole-molecule similarity may partly reflect shared E3 identity rather than the POI. We therefore repeat this comparison within CRBN and VHL groups, keeping the E3 ligand class fixed. We also assess whether nearby molecules in chemical space tend to share the same POI label. Observed nearest-neighbor purity is compared with a null distribution obtained by shuffling POI labels within each E3 group. This preserves POI frequencies while breaking the relationship between POI identity and molecular structure.
a
b

c
d
Figure 2 POI-specific PROTAC chemistry is globally heterogeneous but locally organized. All analyses use 2048-bit Morgan fingerprints with radius 2. (a,b) The same two-dimensional embedding of PROTAC chemical space, colored by (a) E3-ligase identity and (b) POI identity. Both panels contain 3,000 molecules, with 300 sampled from each of the 10 most represented POIs. E3 identity broadly structures chemical space, while individual POIs show local enrichment across distinct regions. (c) Morgan–Tanimoto similarity between same-POI and different-POI molecular pairs across the seen POIs. We sample 10,000 pairs of each type. Same-POI similarity is higher overall (0.385 versus 0.190), within CRBN (0.421 versus 0.223), and within VHL (0.535 versus 0.329), indicating that the POI-specific similarity signal persists after controlling for E3 identity. (d) Local POI purity within CRBN and VHL chemical space. Purity measures the fraction of the k nearest neighbors sharing the query’s POI, with k = 1–30. Solid lines show observed purity, while dashed lines represent the null obtained from 300 within-E3 label permutations. At k = 30, observed purity remains high for CRBN (0.977) and VHL (0.933), well above the shuffled-label null. Strong local enrichment despite moderate global similarity indicates that individual POIs can span multiple locally coherent chemotypes.
The analysis shows that molecules targeting the same POI are more similar on average, even within fixed E3 groups. Their local chemical neighborhoods also show strong POI enrichment. At the same time, individual POIs can span multiple chemotypes rather than forming a single homogeneous cluster. PROTAC chemical space is therefore globally heterogeneous but locally organized by POI identity. This motivates evaluating conditional generation using both likelihood-based sensitivity to the protein condition and local enrichment in held-out target-specific chemical neighborhoods, rather than similarity to a single chemical centroid.
The full analysis is detailed in Appendix B.6, with results shown in Figure 2.
Generation quality. We evaluate generation quality using validity, uniqueness, and novelty, defined as
Here, denotes the set of unique molecules in the training data. Validity measures the fraction of valid generated molecules, uniqueness the fraction of valid molecules that are distinct, and novelty the fraction of unique valid molecules that are not in the training set.
For conditional generation, these metrics are computed for each POI using . Novelty is measured against all molecules in the training set, regardless of POI identity. A generated molecule is therefore novel only if it does not appear anywhere in the training data, providing a stricter and more conservative measure of novelty.
We measure structural diversity among unique valid generated molecules using internal diversity defined as
Here, is the Morgan fingerprint of molecule and is the Tanimoto similarity between fingerprints. Higher internal diversity indicates greater structural variation among generated molecules.
We further characterize generated molecules using molecular weight, topological polar surface area (TPSA), LogP, heavy-atom count, rotatable-bond count, aromatic and non-aromatic ring counts, and hydrogen-bond acceptor and donor counts.
Fingerprint and molecular-property calculations are detailed in Appendix B.7.
POI-warhead analysis. Whole-molecule diversity does not necessarily reflect diversity at the POI-binding end of a PROTAC. We therefore use PROTAC-Splitter [46] to decompose unique valid generated PROTACs into warhead, linker, and E3 ligand components. We then evaluate the predicted warheads per POI.
The extracted warheads are converted to canonical parent structures. Let denote the set of successfully processed parent warheads from PROTACs generated for POI , and be its set of unique canonical warheads. Let denote the set of unique canonical parent warheads extracted from training PROTACs targeting the same POI .
Warhead uniqueness and novelty are defined as
with internal diversity over unique generated warheads,
where denotes the Tanimoto similarity between warhead fingerprints.
PROTAC-Splitter processing, parent-warhead construction, and quality control are detailed in Appendix B.10.
Conditional fidelity. Generation quality does not establish whether the decoder responds to the protein condition. We therefore assess conditional fidelity using two complementary measures.
First, we examine whether held-out molecules receive higher likelihood under their correct POI condition than under competing conditions. For a held-out molecule x and POI p, the length-normalized negative log-likelihood is defined as
Let T denote the set of POIs in the current evaluation. For a held-out molecule x, let denote the subset of POIs that are known targets of x. Conditional preference is measured by
A positive value indicates higher likelihood under the correct POI condition than under competing conditions, on average. If a molecule has multiple valid POIs, all of them are excluded from the competing set to avoid treating correct conditions as incorrect.
Second, we measure POI enrichment among the nearest held-out reference neighbors of generated molecules. Queries are restricted to valid, unique, training-novel molecules. For molecule g generated under POI p, let denote its k nearest molecules in the held-out test reference pool by Morgan–Tanimoto similarity. POI purity is
We average this score over queries generated for POI p and report .
To provide context for generated purity, we also measure the local POI organization of the held-out reference molecules using leave-one-out nearest-neighbor analysis. Let denote the unique held-out reference molecules targeting POI , and denote the nearest reference molecules to , excluding itself. Reference purity is defined as
This provides a reference point for interpreting generated neighborhood purity.
Reference-pool construction and multi-label handling are described in Appendix B.9.
Baseline. We use the unconditional model as a target-agnostic baseline to quantify the contribution of protein conditioning to POI-associated chemical enrichment. For each POI p, we compare the expected k-NN purity under conditional and unconditional generation as
Both expectations are estimated using valid, unique, training-novel generated molecules against the same held-out reference. A positive indicates greater local enrichment for POI under conditional generation. We report for .
5 RESULTS
5.1 MOLECULAR PRETRAINING AND UNCONDITIONAL GENERATION
Pretraining on PROTAC-like molecules produces a molecular prior capable of generating valid, novel, and diverse structures. From 10,000 generated samples, the pretrained model achieves validity, uniqueness, novelty, and an internal diversity of 0.836.
Fine-tuning this molecular prior on PROTAC data without protein conditioning produces the unconditional model. Across three seeds, with 200,000 generated molecules per seed, the unconditional model achieves validity, uniqueness, novelty, and an internal diversity of .
5.2 TARGET-CONDITIONED GENERATION FOR SEEN POIs
Table 1 summarizes generation quality and conditional fidelity for the seen POIs. We generate 10,000 molecules per target and report metrics averaged across three sampling seeds.
Table 1 Target-wise generation quality and conditional fidelity across the seen POIs. Generation metrics and nearest-neighbor purity are reported as mean (standard deviation) across three generation seeds. Best per-target values in each column are shown in bold.
| POI | Validity (%) | Uniqueness (%) | Novelty (%) | Diversity | 5-NN (%) | 10-NN (%) | 20-NN (%) | |
|---|---|---|---|---|---|---|---|---|
| AR | 99.65 (0.07) | 48.64 (0.53) | 79.38 (0.09) | 0.689 (0.004) | 0.278 | 97.89 (0.15) | 97.32 (0.16) | 96.33 (0.15) |
| ESR1 | 99.53 (0.11) | 41.12 (0.38) | 80.54 (0.13) | 0.656 (0.001) | 0.366 | 97.94 (0.20) | 97.12 (0.25) | 94.78 (0.23) |
| CDK4 | 99.58 (0.05) | 30.60 (0.14) | 81.86 (0.20) | 0.566 (0.006) | 0.618 | 95.17 (0.10) | 93.62 (0.23) | 92.66 (0.36) |
| KRAS | 99.46 (0.06) | 49.80 (0.26) | 85.59 (0.18) | 0.641 (0.004) | 0.498 | 97.91 (0.08) | 97.18 (0.06) | 95.56 (0.09) |
| EZH2 | 98.40 (0.01) | 31.50 (0.55) | 94.57 (0.14) | 0.629 (0.003) | 0.358 | 82.38 (0.25) | 74.63 (0.13) | 56.15 (0.30) |
| BTK | 97.85 (0.15) | 43.06 (0.19) | 87.63 (0.31) | 0.716 (0.003) | 0.428 | 88.58 (0.21) | 85.50 (0.20) | 81.07 (0.21) |
| BRD4 | 97.16 (0.07) | 41.63 (0.30) | 91.02 (0.26) | 0.720 (0.006) | 0.287 | 66.19 (0.77) | 59.97 (0.82) | 50.83 (0.73) |
| BRAF | 99.70 (0.01) | 28.77 (0.24) | 88.36 (0.14) | 0.612 (0.001) | 0.355 | 92.59 (0.27) | 90.22 (0.33) | 80.50 (0.32) |
| SMARCA4 | 98.62 (0.02) | 41.18 (0.38) | 90.29 (0.27) | 0.671 (0.001) | 0.347 | 27.37 (1.20) | 26.29 (1.17) | 23.59 (0.98) |
| MAP4K1 | 98.29 (0.11) | 33.90 (0.19) | 94.63 (0.11) | 0.726 (0.003) | 0.418 | 61.59 (0.74) | 40.43 (0.49) | 22.65 (0.15) |
| IRAK4 | 97.68 (0.11) | 57.13 (0.68) | 94.56 (0.07) | 0.701 (0.005) | 0.507 | 93.97 (0.11) | 92.49 (0.18) | 85.74 (0.09) |
| EGFR | 97.91 (0.10) | 52.05 (0.44) | 89.51 (0.30) | 0.723 (0.005) | 0.381 | 90.86 (0.16) | 85.26 (0.23) | 76.40 (0.34) |
| BCL2L1 | 98.94 (0.05) | 37.25 (0.26) | 88.20 (0.07) | 0.682 (0.003) | 0.422 | 91.71 (0.38) | 88.58 (0.54) | 82.54 (0.67) |
| SMARCA2 | 98.58 (0.06) | 42.12 (0.45) | 89.86 (0.36) | 0.672 (0.003) | 0.327 | 79.30 (0.32) | 73.34 (0.22) | 67.61 (0.11) |
| METTL14 | 99.84 (0.02) | 13.74 (0.29) | 81.58 (0.20) | 0.386 (0.001) | 0.564 | 99.57 (0.14) | 99.55 (0.15) | 99.41 (0.13) |
| PTPN1 | 97.55 (0.09) | 24.61 (0.24) | 92.79 (0.13) | 0.589 (0.007) | 0.538 | 81.92 (0.63) | 78.96 (0.65) | 77.22 (0.66) |
| BCL2 | 97.29 (0.16) | 28.87 (0.41) | 93.85 (0.17) | 0.599 (0.010) | 0.394 | 75.60 (0.17) | 71.92 (0.25) | 64.41 (0.48) |
| SOS1 | 99.25 (0.11) | 33.99 (0.64) | 95.34 (0.07) | 0.645 (0.001) | 0.356 | 86.51 (0.49) | 74.80 (0.27) | 51.12 (0.14) |
| BCL6 | 99.30 (0.13) | 28.50 (0.64) | 91.04 (0.14) | 0.467 (0.007) | 0.516 | 98.60 (0.09) | 98.52 (0.13) | 98.04 (0.14) |
| MAPT | 99.61 (0.03) | 30.16 (0.16) | 93.13 (0.03) | 0.562 (0.003) | 0.494 | 89.00 (0.54) | 86.40 (0.54) | 83.60 (0.51) |
| Macro | 98.71 (0.02) | 36.93 (0.04) | 89.19 (0.06) | 0.633 (0.001) | 0.423 | 84.73 (0.11) | 80.60 (0.11) | 74.01 (0.14) |
Validity remains high across all POIs, with a macro average of and a minimum of . Mean novelty reaches . Uniqueness and internal diversity vary more substantially, with macro averages of and 0.633, respectively.
Both conditional-fidelity measures show sensitivity to POI identity. is positive for all seen POIs, with a macro average of . Held-out molecules therefore receive lower negative log-likelihood, on average, under their correct POI condition than under competing conditions.
The generated molecules also show strong POI-specific neighborhood enrichment. Macro purity reaches at , at , and at . For comparison, the corresponding leave-one-out reference purity values are , , and (Appendix Table 8). Thus, generated molecules reproduce much of the local POI enrichment observed in the held-out reference. The strength of this enrichment nevertheless varies across targets. At , generated purity ranges from 27.37% for SMARCA4 to 99.57% for METTL14.
Warhead analysis further shows that the model generates novel warheads, with a macro average of 86.62% (Appendix Table 6). PROTAC-Splitter yields usable three-component decompositions for 99.99% of unique valid generated PROTACs, averaged across POIs. Of these decompositions, 99.97% yield valid parent warheads (Appendix Table 7).
Figure 3 illustrates generated PROTACs for BRD4, MAP4K1, and BTK, which have the highest warhead internal diversity. The examples show distinct warhead scaffolds generated under the same protein condition.

Figure 3 Generated PROTACs span distinct warhead scaffolds under the same POI condition. Rows show BRD4, MAP4K1, and BTK, each with one reference PROTAC and three generated examples. These targets have the highest warhead internal diversity (0.869, 0.835, and 0.817, respectively). Gold highlighting identifies the warhead predicted by PROTAC-Splitter in each generated molecule. Bemis–Murcko scaffolds are extracted from the parent warheads to group molecules by their core structures. For each POI, the generated examples represent three distinct warhead-scaffold groups.
5.3 COMPARISON WITH THE UNCONDITIONAL BASELINE
To quantify the contribution of protein conditioning, we compare TACFormer with the matched unconditional baseline. Both models are evaluated against the same held-out reference pool, and measures their difference in k-NN purity for POI p (Section 4.3).
Table 2 shows positive improvements for every seen POI at , , and . The macro improvements are 79.71, 75.58, and 68.99 percentage points, respectively.
At , the largest improvements occur for METTL14 and BCL6, reaching 97.05 and 96.85 percentage points, respectively. SMARCA4 shows the smallest improvement at 26.45 percentage points. These positive differences demonstrate that protein conditioning increases enrichment for the requested POI in held-out chemical neighborhoods compared with unconditional generation.
The target-wise reference, conditional, and unconditional purity values are reported in Appendix Table 8.
Table 2 Improvement in POI-neighborhood purity over unconditional generation. measures the difference between conditional and unconditional -NN purity for each POI. Values are reported in percentage points as mean (standard deviation) across three generation seeds.
| POI | (pp) | (pp) | (pp) |
|---|---|---|---|
| AR | 75.14 (0.02) | 74.14 (0.10) | 72.32 (0.10) |
| ESR1 | 88.03 (0.18) | 86.86 (0.24) | 84.10 (0.21) |
| CDK4 | 89.38 (0.06) | 87.94 (0.15) | 87.01 (0.27) |
| KRAS | 87.95 (0.06) | 87.13 (0.05) | 85.41 (0.10) |
| EZH2 | 80.82 (0.27) | 73.01 (0.12) | 54.64 (0.28) |
| BTK | 82.32 (0.23) | 79.23 (0.20) | 74.75 (0.20) |
| BRD4 | 60.87 (0.74) | 54.94 (0.80) | 46.24 (0.73) |
| BRAF | 89.65 (0.33) | 87.16 (0.39) | 77.41 (0.34) |
| SMARCA4 | 26.45 (1.19) | 25.38 (1.16) | 22.70 (0.97) |
| MAP4K1 | 60.05 (0.74) | 39.16 (0.50) | 21.58 (0.15) |
| IRAK4 | 90.26 (0.11) | 88.69 (0.17) | 82.00 (0.05) |
| EGFR | 76.64 (0.22) | 71.84 (0.27) | 63.90 (0.37) |
| BCL2L1 | 89.20 (0.38) | 86.02 (0.56) | 79.96 (0.67) |
| SMARCA2 | 76.44 (0.31) | 70.59 (0.21) | 64.92 (0.06) |
| METTL14 | 97.05 (0.12) | 96.66 (0.14) | 96.13 (0.12) |
| PTPN1 | 80.92 (0.61) | 77.96 (0.63) | 76.20 (0.64) |
| BCL2 | 74.18 (0.19) | 70.46 (0.26) | 63.04 (0.48) |
| SOS1 | 85.23 (0.48) | 73.44 (0.26) | 49.83 (0.13) |
| BCL6 | 96.85 (0.10) | 96.66 (0.13) | 96.01 (0.15) |
| MAPT | 86.76 (0.56) | 84.34 (0.55) | 81.62 (0.51) |
| Macro | 79.71 (0.11) | 75.58 (0.11) | 68.99 (0.14) |
5.4 ZERO-SHOT GENERATION
Table 3 reports generation quality and conditional fidelity for the four zero-shot POIs. Generation quality remains high overall, with macro validity of , novelty of , and internal diversity of 0.712. Validity is notably lower for WDR5 than for the other targets, which reach at least .
Likelihood-based conditional fidelity differs across the four proteins. WDR5 and DHFR both show negative values of , indicating that their correct POI conditions are not preferred over competing conditions on average. In contrast, FGFR3 and MAP3K13 show positive values of and , respectively. These results suggest a relationship between protein-representation similarity and likelihood preference among the selected zero-shot targets.
Nearest-neighbor fidelity reveals a different pattern. Macro purity reaches at , at , and at . At , WDR5 achieves the highest purity , followed by DHFR , FGFR3 , and MAP3K13 . By comparison, the held-out reference molecules exhibit strong local POI enrichment, with a macro 5-NN purity of (Appendix Table 9).
Table 3 Generation quality and conditional fidelity for the four zero-shot POIs. WDR5, DHFR, FGFR3, and MAP3K13 are excluded entirely from conditional training and provided to the model only at inference. Generation metrics and nearest-neighbor purity are reported as mean (standard deviation) across three generation seeds.
| POI | Validity (%) | Uniq. (%) | Novelty (%) | Diversity | 5-NN (%) | 10-NN (%) | 20-NN (%) | |
|---|---|---|---|---|---|---|---|---|
| WDR5 | 75.44 (0.53) | 99.21 (0.08) | 99.96 (0.01) | 0.737 (0.002) | -0.089 | 56.23 (0.10) | 55.35 (0.35) | 50.58 (0.44) |
| DHFR | 95.33 (0.03) | 88.59 (0.20) | 99.57 (0.01) | 0.669 (0.003) | -0.089 | 31.05 (0.32) | 37.06 (0.28) | 45.18 (0.14) |
| FGFR3 | 96.96 (0.04) | 45.95 (0.57) | 97.31 (0.08) | 0.716 (0.003) | 0.080 | 20.26 (0.15) | 20.51 (0.07) | 20.70 (0.05) |
| MAP3K13 | 99.29 (0.12) | 36.23 (0.22) | 95.90 (0.25) | 0.727 (0.004) | 0.096 | 14.57 (0.46) | 13.27 (0.31) | 12.71 (0.12) |
| Macro | 91.76 (0.11) | 67.50 (0.15) | 98.19 (0.04) | 0.712 (0.001) | -0.0005 | 30.52 (0.06) | 31.55 (0.11) | 32.29 (0.14) |
Thus, the positive likelihood preference observed for FGFR3 and MAP3K13 does not translate into strong enrichment in their held-out chemical neighborhoods. These results suggest that similarity in ESM-2 embedding space may support likelihood-based generalization without ensuring comparable improvement in generated chemical distributions. Zero-shot generalization remains limited relative to the seen-POI results.
5.5 INVALID SMILES FAILURE MODES
The model generates 2,582 invalid SMILES across the seen POI conditions. The most frequent recorded failures are Kekulization errors (43.45%), unclosed ring labels (42.41%), and incorrect parentheses (10.34%). Valence or atomic-property violations account for 2.13%, and duplicate ring-closure bonds account for 1.16%.
Failure patterns also differ across POIs. Some conditions produce more aromaticity-related errors, while others show more ring-closure or branching-syntax failures. These findings indicate that most invalid SMILES arise from difficulties in maintaining valid ring connectivity and aromatic structures during autoregressive generation.
6 Discussion
The results demonstrate that protein conditioning enables TACFormer to capture POI-specific patterns in PROTAC chemical space beyond those learned without target information. For the seen POIs, likelihood preference and generated neighborhood purity provide complementary evidence that the protein condition influences both how the model assigns likelihood to molecules and the chemical distributions it generates.
The unconditional baseline provides an important comparison. It generates highly valid, novel, and diverse PROTACs but achieves lower neighborhood purity. This shows that learning the overall PROTAC distribution is not sufficient to reproduce the chemical patterns that distinguish individual targets. Because both models are fine-tuned on matched molecular data, the improvement achieved by TACFormer supports the contribution of protein conditioning rather than molecular fine-tuning alone.
Conditional fidelity depends on the structure of the reference chemical space. Generated k-NN purity varies considerably across POIs, but its value must be interpreted in the context of the corresponding reference chemistry. Held-out reference molecules also differ in neighborhood purity. For some targets, local neighborhoods remain strongly enriched for the same POI, whereas for others, they become increasingly mixed as k increases. Consequently, generated purity alone does not fully characterize how well the model captures the chemical organization of the reference data.
MAP4K1 illustrates this distinction. Its generated 5-NN purity reaches 61.59%, below targets such as AR or METTL14, but its held-out reference purity is only 70.00%. At k = 20, generated and reference purity are nearly identical (22.65% and 23.33%, respectively). The lower purity therefore largely reflects the organization of the available MAP4K1 reference chemistry rather than a failure to reproduce it. SMARCA4 shows a different pattern. Its reference 5-NN purity reaches 77.39%, whereas generated purity is only 27.37%. Here, the large reference–generation gap indicates that TACFormer reproduces the local POI enrichment of the reference molecules less consistently. Nevertheless, its generated purity still exceeds the unconditional baseline by 26.45 percentage points, showing that protein conditioning still improves enrichment relative to target-agnostic generation.
Comparing generated and reference purity therefore provides important context for evaluating conditional fidelity. For several targets, including AR, ESR1, EGFR, BCL2L1, METTL14, BCL6, and MAPT, generated purity closely approaches the corresponding reference values. For KRAS and SOS1, it even exceeds reference purity at larger neighborhood sizes. However, this does not imply greater biological target specificity or more complete coverage of relevant chemistry. Instead, the model may preferentially generate molecules from highly enriched regions while sampling other chemotypes less frequently. This would produce high local purity without necessarily covering the broader reference chemical space. Neighborhood purity therefore measures local POI enrichment, not the completeness of chemotype coverage.
This distinction is important when interpreting the diversity of generated molecules. High neighborhood purity can coexist with limited chemical diversity if generation concentrates within a few POI-enriched regions. METTL14 illustrates this possibility. It achieves 99.57% generated 5-NN purity but only 13.74% uniqueness and 0.386 internal diversity. BCL6 similarly combines high neighborhood purity with low diversity. These findings are consistent with generation concentrated within a narrower range of chemical structures, although they do not establish which reference chemotypes are covered. Conversely, a more diverse generated distribution may span several chemical regions with different levels of local POI enrichment.
The relationship between internal diversity and conditional fidelity also depends on the evaluation measure. Across the seen POIs, internal diversity is negatively correlated with , whereas its relationship with 5-NN purity is weaker and not statistically significant ( ). Importantly, measures likelihood preference for held-out molecules, while internal diversity measures variation among generated molecules. Their correlation therefore does not establish that reducing molecular diversity improves conditional fidelity. Instead, these findings show that likelihood preference, local POI enrichment, and structural diversity capture different properties of generation and should be interpreted together.
Target-wise variation in conditional fidelity may also reflect differences in the amount and composition of training data. The number of training examples varies across the seen POIs (Appendix B.5), and individual targets can span multiple chemotypes. TACFormer must therefore learn from unequal amounts of data and chemical distributions with different levels of heterogeneity. Training-set size alone does not appear to explain the observed variation, as some targets with few examples achieve strong conditional fidelity while others while others with more examples remain difficult. These observations suggest that both data availability and chemical heterogeneity may jointly contribute to target-wise performance.
Protein conditioning supports diverse warhead generation. The warhead analysis shows that structural novelty extends to the warhead component. Macro POI-warhead novelty reaches 86.62%, and several targets show substantial warhead diversity. This indicates that TACFormer can also explore new structures at the POI-binding end of the molecule rather than relying exclusively on warheads observed for the same target during training.
However, warhead novelty alone does not establish whether generated PROTACs reflect the chemistry of the intended target. SMARCA4, for example, achieves 95.87% warhead novelty but only 27.37% generated 5-NN purity. This contrast shows that generating novel warheads does not necessarily produce molecules enriched in the chemical neighborhoods of the requested target. Warhead novelty should therefore be evaluated alongside conditional fidelity to assess both structural exploration and how effectively protein conditioning guides molecular generation.
Protein conditioning generalizes partially to unseen POIs. The zero-shot results reveal a distinction between likelihood-based preference and the ability to generate chemistry characteristic of an unseen target. FGFR3 and MAP3K13, whose ESM-2 representations are similar to those of training proteins, show positive likelihood preference. However, this preference does not translate into strong enrichment in their held-out chemical neighborhoods. Conversely, WDR5 shows negative likelihood preference but achieves the highest generated neighborhood purity among the four zero-shot POIs. These findings indicate that likelihood-based transfer and generated neighborhood enrichment do not necessarily follow the same pattern.
One possible explanation is that similarity in ESM-2 embedding space supports partial transfer of learned chemical preferences but does not sufficiently constrain generation toward the chemotypes of a new POI. This suggests that likelihood-based transfer may be easier to achieve than reproducing the corresponding chemical distributions. The high reference neighborhood purity of the zero-shot POIs indicates strong local chemical organization in the available held-out data, but TACFormer captures this structure only partially.
6.1 LIMITATIONS AND FUTURE DIRECTIONS
The current evaluation demonstrates that protein conditioning guides generation toward chemistry characteristic of the requested POI, but it does not establish biological activity. Neither nor neighborhood purity provides evidence of target binding, degradation potency, or selectivity. A generated molecule outside the observed reference neighborhoods may still be active, and similarity to known PROTACs does not guarantee degradation activity. Future work could explore degradation-activity prediction using PROTACs with measured outcomes, such as and . Such a predictor could estimate degradation potency and efficacy for generated molecules, complementing the current work by allowing generated PROTACs to be ranked according to their predicted degradation potency and efficacy.
Another limitation concerns how TACFormer represents the protein condition. Each POI is encoded using a single mean-pooled ESM-2 embedding. Although this provides a compact representation of the protein sequence, pooling compresses residue-level information into one vector and may obscure sequence regions important for ligand recognition. This may be particularly limiting to zero-shot generation, where no molecular examples for the unseen targets are available during training to compensate for information lost during pooling.
Future work could investigate residue-level ESM-2 conditioning using attention mechanisms that allow the molecular decoder to access information from individual protein positions during SMILES generation. This would require modifications to the current architecture and evaluation of its effect on conditional generation. Protein structural information could also be explored as a complementary approach for evaluating and prioritizing generated PROTACs, where suitable data are available. These directions could help assess whether more detailed protein information improves generation and generalization to unseen POIs.
7 CONCLUSION
TACFormer demonstrates that protein sequence conditioning can steer PROTAC generation toward chemical patterns characteristic of the requested target. Across the seen POIs, positive likelihood preference, strong enrichment in held-out chemical neighborhoods, and consistent improvements over the matched unconditional baseline provide complementary evidence that protein information guides molecular generation beyond the general PROTAC prior. The results also highlight that conditional fidelity, chemical diversity, chemotype coverage, and warhead novelty represent distinct aspects of generation that should be evaluated together rather than in isolation.
The zero-shot experiments reveal an important limitation. Positive likelihood preference for some unseen POIs does not consistently translate into strong enrichment in their reference chemical neighborhoods. Similarity between protein representations may support likelihood-based transfer but does not guarantee that generated molecules reproduce the chemistry observed for unseen targets.
TACFormer provides a foundation for sequence-conditioned PROTAC generation, while improving zero-shot generalization and integrating degradation-activity prediction remain important directions for future research.
AUTHOR CONTRIBUTIONS
YG: Conceptualization, data curation, methodology, software, analysis, investigation, validation, visualization, writing – original draft, and writing – review & editing. RM: Conceptualization, methodology, supervision, funding acquisition, resources, writing – original draft, and writing – review & editing.
ACKNOWLEDGMENTS
YG and RM acknowledge funding from the Wallenberg AI, Autonomous Systems and Software Program (WASP), supported by the Knut and Alice Wallenberg Foundation. Computational resources were provided by the National Academic Infrastructure for Supercomputing in Sweden (NAISS), funded by the Swedish Research Council.
SOFTWARE AND DATA AVAILABILITY
Code is available at https://github.com/yossragh/TACFormer.
REFERENCES
[1] Miklós Békés, David R Langley, and Craig M Crews. PROTAC targeted protein degraders: the past is prologue. Nature Reviews Drug Discovery, 21(3):181–200, 2022.
[2] Andrew L Hopkins and Colin R Groom. The druggable genome. Nature Reviews Drug Discovery, 1(9):727–730, 2002.
[3] John H Bushweller. Targeting transcription factors in cancer—from undruggable to reality. Nature Reviews Cancer, 19(11):611–624, 2019.
[4] Matthew N O'Brien Laramy, Suman Luthra, Matthew F Brown, and Derek W Bartlett. Delivering on the promise of protein degraders. Nature Reviews Drug Discovery, 22(5):410–427, 2023.
[5] Lin Zhao, Jia Zhao, Kunhong Zhong, Aiping Tong, and Da Jia. Targeted protein degradation: mechanisms, strategies and application. Signal Transduction and Targeted Therapy, 7(1):113, 2022.
[6] Andy Pike, Esther CY Lee, Iacovos N Michaelides, Markus Schade, Ankit Sharma, James S Scott, and Abhishek Srivastava. Lessons learned in linking PROTACs from discovery to the clinic. Nature Reviews Chemistry, 10(2): 117–132, 2026.
[7] Chao Pang, Jianbo Qiao, Xiangxiang Zeng, Quan Zou, and Leyi Wei. Deep generative models in de novo drug molecule generation. Journal of Chemical Information and Modeling, 64(7):2174–2194, 2024.
[8] Michael A Skinnider, R Greg Stacey, David S Wishart, and Leonard J Foster. Chemical language models enable navigation in sparsely populated chemical space. Nature Machine Intelligence, 3(9):759–770, 2021.
[9] Francesca Grisoni. Chemical language models for de novo drug design: Challenges and opportunities. Current Opinion in Structural Biology, 79:102527, 2023.
[10] Jeff Guo, Junwu Chen, Anthony Gx-Chen, and Philippe Schwaller. Sample-efficient generative molecular design using memory manipulation. Nature Machine Intelligence, 8(3):449–460, 2026.
[11] David Weininger, Arthur Weininger, and Joseph L Weininger. SMILES. 2. algorithm for generation of unique SMILES notation. Journal of Chemical Information and Computer Sciences, 29(2):97–101, 1989.
[12] Josep Arús-Pous, Simon Viet Johansson, Oleksii Prykhodko, Esben Jannik Bjerrum, Christian Tyrchan, Jean-Louis Reymond, Hongming Chen, and Ola Engkvist. Randomized SMILES strings improve the quality of molecular generative models. Journal of Cheminformatics, 11(1):71, 2019.
[13] Michael Moret, Lukas Friedrich, Francesca Grisoni, Daniel Merk, and Gisbert Schneider. Generative molecular design in low data regimes. Nature Machine Intelligence, 2(3):171–180, 2020.
[14] Yossra Gharbi and Rocío Mercado. A comprehensive review of emerging approaches in machine learning for de novo PROTAC design. Digital Discovery, 3(11):2158–2176, 2024.
[15] Divya Nori, Connor W. Coley, and Rocío Mercado. De Novo PROTAC design using graph-based deep generative models. arXiv preprint arXiv:2211.02660, 2022.
[16] Jinsong Shao, Qineng Gong, Zeyu Yin, Yu Chen, Yajie Hao, Lei Zhang, Linlin Jiang, Min Yao, Jinlong Li, Fubo Wang, and Li Wang. Language model driven: A PROTAC generation pipeline with dual constraints of structure and property. arXiv preprint arXiv:2412.09661, 2024.
[17] Mingyuan Xu, Chaoming Huang, Li Pang, Qirui Deng, Hao Zhang, Anjie Qiao, Zhiwen Luo, Zhen Wang, Chang-Yu Hsieh, Zhang Zhang, Tie-Gen Chen, Hongming Chen, and Jinping Lei. Design of synthesizable PROTACs through synthesis constrained generative model and reinforcement learning. JACS Au, 6(7):4239–4252, 2026. doi:10.1021/jacsau.6c00732.
[18] Yuhao Dai and Fei Zhu. TRL-PROTAC: A pre-trained generator of PROTACs targeting specific proteins optimized by reinforcement learning. Computer Science and Information Systems, 21(4):1293–1320, 2024. doi: 10.2298/CSIS240327039D.
[19] Jonathan M Tsai, Radosław P Nowak, Benjamin L Ebert, and Eric S Fischer. Targeted protein degradation: from mechanisms to clinic. Nature Reviews Molecular Cell Biology, 25(9):740–757, 2024.
[20] Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Robert Verkuil, Ori Kabeli, Yaniv Shmueli, et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science, 379(6637):1123–1130, 2023.
[21] Philippe Schwaller, Teodoro Laino, Théophile Gaudin, Peter Bolgar, Christopher A Hunter, Costas Bekas, and Alpha A Lee. Molecular transformer: a model for uncertainty-calibrated chemical reaction prediction. ACS Central Science, 5(9):1572, 2019.
[22] Igor V Tetko, Pavel Karpov, Ruud Van Deursen, and Guillaume Godin. State-of-the-art augmented NLP transformer models for direct and single-step retrosynthesis. Nature Communications, 11(1):5575, 2020. doi: 10.1038/s41467-020-19266-y.
[23] Philippe Schwaller, Riccardo Petraglia, Valerio Zullo, Vishnu H Nair, Rico Andreas Haeuselmann, Riccardo Pisoni, Costas Bekas, Anna Iuliano, and Teodoro Laino. Predicting retrosynthetic pathways using transformer-based models and a hyper-graph exploration strategy. Chemical Science, 11(12):3316–3325, 2020.
[24] Kangjie Lin, Youjun Xu, Jianfeng Pei, and Luhua Lai. Automatic retrosynthetic route planning using template-free models. Chemical Science, 11(12):3355–3364, 2020. doi: 10.1039/C9SC03666K.
[25] Ross Irwin, Spyridon Dimitriadis, Jiazhen He, and Esben Jannik Bjerrum. Chemformer: a pre-trained transformer for computational chemistry. Machine Learning: Science and Technology, 3(1):015022, 2022.
[26] Jiazhen He, Eva Nittinger, Christian Tyrchan, Werngard Czechtizky, Atanas Patronov, Esben Jannik Bjerrum, and Ola Engkvist. Transformer-based molecular optimization beyond matched molecular pairs. Journal of Cheminformatics, 14(1):18, 2022. doi: 10.1186/s13321-022-00599-3.
[27] Linhui Yu, Yansen Su, Yuansheng Liu, and Xiangxiang Zeng. Review of unsupervised pretraining strategies for molecules representation. Briefings in Functional Genomics, 20(5):323–332, 2021.
[28] Viraj Bagal, Rishal Aggarwal, PK Vinod, and U Deva Priyakumar. MolGPT: molecular generation using a transformer-decoder model. Journal of Chemical Information and Modeling, 62(9):2064–2076, 2021.
[29] Hao Lu, Zhiqiang Wei, Xuze Wang, Kun Zhang, and Hao Liu. Graphgpt: A graph enhanced generative pretrained transformer for conditioned molecular generation. International Journal of Molecular Sciences, 24(23):16761, 2023.
[30] Ye Wang, Honggang Zhao, Simone Sciabola, and Wenlu Wang. cMolGPT: a conditional generative pre-trained transformer for target-specific de novo molecular generation. Molecules, 28(11):4430, 2023.
[31] Hengwei Chen and Jürgen Bajorath. Generative design of compounds with desired potency from target protein sequences using a multimodal biochemical language model. Journal of Cheminformatics, 16(1):55, 2024.
[32] Medard Edmund Mswahili and Young-Seob Jeong. Transformer-based models for chemical SMILES representation: A comprehensive literature review. Heliyon, 10(20), 2024.
[33] Fergus Imrie, Anthony R Bradley, Mihaela van der Schaar, and Charlotte M Deane. Deep generative models for 3D linker design. Journal of Chemical Information and Modeling, 60(4):1983, 2020.
[34] Jeff Guo, Franziska Knuth, Christian Margreitter, Jon Paul Janet, Kostas Papadopoulos, Ola Engkvist, and Atanas Patronov. Link-INVENT: generative linker design with reinforcement learning. Digital Discovery, 2(2):392–408, 2023.
[35] Shuangjia Zheng, Youhai Tan, Zhenyu Wang, Chengtao Li, Zhiqing Zhang, Xu Sang, Hongming Chen, and Yuedong Yang. Accelerated rational PROTAC design via deep learning and molecular simulations. Nature Machine Intelligence, 4(9):739–748, 2022.
[36] Chien-Ting Kao, Chieh-Te Lin, Cheng-Li Chou, and Chu-Chung Lin. Fragment linker prediction using the deep encoder-decoder network for PROTACs drug design. Journal of Chemical Information and Modeling, 63(10):2918, 2023.
[37] Rebecca M Neeser, Mehmet Akdel, Daniel Kovtun, and Luca Naef. Reinforcement learning-driven linker design via fast attention-based point cloud alignment. arXiv preprint arXiv:2306.08166, 2023.
[38] Fenglei Li, Qiaoyu Hu, Yongqi Zhou, Hao Yang, and Fang Bai. DiffPROTACs is a deep learning-based generator for proteolysis targeting chimeras. Briefings in Bioinformatics, 25(5):bbae358, 2024.
[39] Zixing Song, Ziqiao Meng, and José Miguel Hernández-Lobato. Domain-adapted diffusion model for PROTAC linker design through the lens of density ratio in chemical space. In ICML, 2025.
[40] Shadab Ahmad, Leonardo Jose da Costa Gonzales, Emily H Bowler-Barnett, Daniel L Rice, Minjoon Kim, Supun Wijerathne, Aurélien Luciani, Swaathi Kandasaamy, Jie Luo, Xavier Watkins, et al. The UniProt website API: facilitating programmatic access to protein knowledge. Nucleic Acids Research, 53(W1):W547–W553, 2025.
[41] John J Irwin, Khanh G Tang, Jennifer Young, Chinzorig Dandarchuluun, Benjamin R Wong, Munkhzul Khurelbaatar, Yurii S Moroz, John Mayfield, and Roger A Sayle. ZINC20—a free ultra large-scale chemical database for ligand discovery. Journal of Chemical Information and Modeling, 60(12):6065, 2020.
[42] Barbara Zdrazil, Eloy Felix, Fiona Hunter, Emma J Manners, James Blackshaw, Sybilla Corbett, Marleen De Veij, Harris Ioannidis, David Mendez Lopez, Juan F Mosquera, et al. The ChEMBL database in 2023: a drug discovery platform spanning multiple bioactivity data types and time periods. Nucleic Acids Research, 52(D1):D1180–D1192, 2024.
[43] Jingxuan Ge, Shimeng Li, Gaoqi Weng, Huating Wang, Meijing Fang, Huiyong Sun, Yafeng Deng, Chang-Yu Hsieh, Dan Li, and Tingjun Hou. PROTAC-DB 3.0: an updated database of PROTACs with extended pharmacokinetic parameters. Nucleic Acids Research, 53(D1):D1510–D1515, 2025.
[44] Xinran Qin, Yinpeng Zhang, Yajunzi Wang, Yintao Zhang, Jiachen Jing, Yuyuan Zhang, Gaoxiang Xu, Haoping Teng, Tianjun Wang, Lei Fu, et al. TPDdb: the comprehensive database of targeted protein degrader. Nucleic Acids Research, 54(D1):D1683–D1691, 2026.
[45] Nir London and Jaime Prilusky. PROTAC-Pedia: A crowd-sourced database of PROTACs. https://protacpedia.weizmann.ac.il/, 2020. Version 1.62. Accessed: 2026-09-24.
[46] Stefano Ribes, Ranxuan Zhang, Télio Cropsal, Anders Källberg, Christian Tyrchan, Eva Nittinger, and Rocío Mercado. PROTAC-Splitter: a machine learning framework for automated identification of PROTAC substructures. Journal of Cheminformatics, 18(1):30. ISSN 1758-2946. doi: 10.1186/s13321-025-01135-9. URL https://doi.org/10.1186/s13321-025-01135-9.
A MODEL AND IMPLEMENTATION DETAILS
A.1 SMILES TOKENIZATION AND AUGMENTATION
Molecules are represented as SMILES strings and tokenized using the same molecular tokenizer during pretraining, unconditional fine-tuning, and conditional fine-tuning. Each sequence begins with a beginning-of-sequence (BOS) token and ends with an end-of-sequence (EOS) token. For a tokenized sequence
causal language modeling uses the shifted input–target pair
Sequences are limited to 320 tokens. Within each minibatch, input sequences are right-padded. The corresponding padding positions in the targets are assigned the ignore index -100 and excluded from the cross-entropy loss.
SMILES randomization is performed on the fly during training. Randomized SMILES provide alternative traversals of the same molecular graph, preserving molecular identity while exposing the decoder to different sequence representations. Randomization is applied only to the training data; validation examples retain fixed SMILES representations. For conditional training, the randomized SMILES remains paired with the original POI embedding.
A.2 PROTEIN SEQUENCE REPRESENTATION
For each POI, we retrieve the amino-acid sequence from UniProtKB using its UniProt accession. Protein representations are computed using the pretrained esm2_t33_650M_UR50D model [20], which consists of 33 transformer layers, 650M parameters, and a hidden dimension of 1280.
For a POI p with amino-acid sequence
ESM-2 produces contextual residue representations. We exclude the initial and terminal special-token representations, retaining one vector per amino-acid residue,
We obtain a fixed-length POI embedding by mean pooling over residues,
Mean pooling removes the variable sequence-length dimension while preserving the 1280-dimensional feature space. The resulting vector is supplied to the conditional molecular model.
ESM-2 is used as a frozen feature extractor. Protein embeddings are precomputed in FP32, stored by UniProt accession, and reused during molecular-model training and generation. ESM-2 parameters are not updated during conditional fine-tuning.
A.3 LONG-PROTEIN ENCODING
The ESM-2 model is applied to windows containing at most 1022 amino-acid residues. Proteins satisfying
are encoded in a single pass. Longer sequences are divided into overlapping windows of maximum length
with an overlap of
residues. The resulting stride is
Overlapping windows provide additional sequence context for residues near window boundaries. Each window is encoded independently by ESM-2, and the resulting residue representations are stitched together before mean pooling.
For adjacent windows, the 256-residue overlap is divided into two equal parts. We retain the representations from the earlier window for the first 128 residues and from the later window for the remaining 128 residues. This favors representations computed farther from window boundaries, where more surrounding sequence context is available. The resulting representation contains exactly one vector per residue.
The reconstructed representation must satisfy
so that it contains exactly one row for each residue in the original sequence. Mean pooling is then applied to the reconstructed representation:
We do not average window-level embeddings, because doing so would weight windows rather than individual residues and could overrepresent shorter terminal windows. Instead, each residue contributes exactly once to the final protein embedding.
A.4 DECODER ARCHITECTURE
The molecular model is a decoder-only transformer with eight pre-LayerNorm blocks, a hidden dimension , eight attention heads, a feed-forward expansion ratio of four, and dropout probability 0.05. Within each block, and denote the layer-normalization operations preceding the attention and MLP sublayers, respectively.
For token at sequence position t, the input representation is the sum of learned token and positional embeddings,
The sequence representations pass through transformer blocks with causal self-attention. In block , the input is first normalized,
For one attention head, queries, keys, and values are computed as
Causal scaled dot-product attention is defined as
where is the head dimension and M is the causal mask that prevents attention to future tokens.
The eight attention-head outputs are concatenated and projected back to the model dimension. We denote this operation by MHA. The attention residual of block is
The position-wise multilayer perceptron (MLP) expands the hidden dimension by a factor of four and uses a GELU activation,
For the unconditional decoder, the block output is
After the final transformer block, layer normalization and a linear language-model head produce logits over the SMILES vocabulary. The input token embeddings and output projection share their weights.
A.5 PROTEIN-TO-MOLECULE CONDITIONING
The conditional model retains the molecular decoder and adds a protein adapter that maps the fixed POI embedding to the decoder hidden space. The pooled ESM-2 embedding
is first normalized and linearly projected:
yielding
Here, is the protein-adapter normalization module, distinct from and in the decoder blocks.
The projected protein condition is computed once per forward pass and shared across all decoder blocks. Each block has a trainable scalar gate . The gated condition is added after the self-attention residual
The protein condition is broadcast across all SMILES token positions. The conditioned block output is
The same projected protein embedding is used in every block, while the layer-specific gates control its contribution at each depth.
A.6 INITIALIZATION OF THE CONDITIONAL MODEL
The conditional model is initialized from the pretrained molecular prior. Its token embeddings, positional embeddings, attention layers, feed-forward networks, normalization layers, and language-model head are transferred from the prior checkpoint.
The conditional extension adds the protein layer-normalization module , the linear projection, and one scalar gate in each of the eight decoder blocks. The protein LayerNorm is initialized with unit scale and zero bias, the projection is newly initialized, and all gates are initialized to zero,
Therefore,
At initialization, the protein-conditioning pathway contributes zero to every block, so the conditional model retains the pretrained decoder's hidden-state computation. During conditional fine-tuning, the protein adapter, layer-specific gates, and decoder parameters are optimized to incorporate POI information.
The resulting fine-tuning procedure adapts the pretrained unconditional molecular distribution
to a POI-conditioned distribution
where denotes the pretrained molecular parameters.
A.7 CAUSAL LANGUAGE-MODEL OBJECTIVE
During conditional training, each SMILES sequence is paired with the precomputed embedding of its associated POI. For a minibatch of size B, the protein embeddings are stacked into
The nth protein embedding is aligned with the nth SMILES sequence in the minibatch.
Training uses teacher-forced causal language modeling. The loss is the mean token-level negative log-likelihood over non-padding target positions,
where is the number of non-padding target tokens in sequence n.
At each position, the decoder receives the ground-truth token prefix and the fixed POI embedding to predict the next token. Padding positions are excluded from the loss. ESM-2 is not optimized; training updates the protein adapter, layer-specific gates, and molecular decoder.
A.8 OPTIMIZATION DETAILS
Conditional fine-tuning uses a per-device training batch size of 32, a validation batch size of 32, and no gradient accumulation. The learning rate is , with weight decay 0.01 and gradient clipping at a maximum norm of 1.0. We use a cosine learning-rate schedule with a warm-up ratio of 0.05 and bfloat16 mixed precision. The same optimization configuration is used for molecular pretraining and unconditional fine-tuning.
A.9 AUTOREGRESSIVE GENERATION
At inference, generation begins with a single BOS token. For the conditional generation, the same POI embedding is supplied at every autoregressive decoding step.
Given decoder logits at step t, the temperature-scaled sampling distribution is
where is the sampling temperature. PAD, BOS, and UNK tokens are excluded from sampling, while EOS remains available to terminate generation. Decoding stops when EOS is sampled, or the model context limit is reached. The sampling settings are reported in Appendix B.7.
B ADDITIONAL EXPERIMENTAL DETAILS
B.1 PROTAC-LIKE PRETRAINING CORPUS
The PROTAC-like pretraining corpus described in Section 4 is built using physicochemical and structural filters intended to enrich for large molecules with PROTAC-like properties. We retain compounds with molecular weight of 650–1200 Da, topological polar surface area (TPSA) of 120–320 Ų, 12–45 rotatable bonds, 8–24 hydrogen-bond acceptors, and 0–8 hydrogen-bond donors.
To favor bifunctional structures, molecules must also contain at least two distinct ring systems. We identify the two largest ring systems and require a minimum topological distance of 8–60 bonds between them.
Molecules satisfying all criteria are converted to canonical isomeric SMILES and deduplicated within each source, yielding 68,550 molecules from ZINC20 and 19,056 from ChEMBL 36. After merging and deduplicating across sources, the final corpus contains 79,406 unique PROTAC-like molecules.
B.2 POI AND E3-LIGASE ANNOTATION HARMONIZATION
POI and E3-ligase annotations are harmonized across PROTAC-DB, TPDdb, and PROTAC-Pedia before merging the datasets. When a UniProt accession is available, we retrieve the corresponding primary gene name from UniProtKB through its REST API [40] and use it as the canonical POI label. This ensures consistent target identification across databases despite differences in the original annotations.
When an accession is unavailable, we apply manually curated normalization rules only if the annotation can be mapped unambiguously to a single protein. For example, cIAP1 is mapped to BIRC2, XIAP to BIRC4, Cereblon to CRBN, and AhR to AHR. We then use the normalized gene names to retrieve the corresponding protein annotations from UniProtKB, ensuring that these targets follow the same naming convention. Ambiguous annotations remain unresolved to avoid incorrect protein assignments.
Finally, we cross-check the mappings across the three databases to identify inconsistencies and unresolved annotations before constructing the final datasets.
B.3 DATASET COMPOSITION AND COMPONENT-LEVEL CHEMISTRY
Figure 4 shows the composition of the PROTAC dataset, revealing substantial imbalance across POIs. The 20 most represented POIs, referred to as the seen POIs in Section 4.1, account for 21,246 molecule–POI pairs (70.7% of the complete dataset; Figure 4a,b), with counts ranging from 4,933 for AR to 230 for SMARCA4.
These targets provide sufficient data for separate training, validation, and test subsets. In contrast, many less represented POIs have too few examples for reliable held-out evaluation. We therefore include them only in training to expose the model to a broader range of protein conditions.
E3-ligase usage is also highly imbalanced. CRBN and VHL account for 20,724 and 7,690 molecules, respectively, together representing 94.5% of the complete dataset (Figure 4c). Although their relative contributions vary across the seen POIs, many targets share the same E3 ligases (Figure 4d).
To examine how the chemistry of the two binding components varies across targets, we apply PROTAC-Splitter to molecules targeting the seen POIs. We extract Bemis–Murcko scaffolds from the predicted warheads and E3 ligands, then deduplicate them within each POI.
For two POIs p and q, let and denote their respective sets of unique component scaffolds. For each scaffold in p, we identify its most similar scaffold in q and average these maximum similarities,
where is the Tanimoto similarity between scaffold fingerprints. Because this measure depends on the comparison direction, we define a symmetric similarity,
We calculate this measure for warhead and E3-ligand scaffolds.
Figure 4e shows that E3-ligand scaffolds are substantially more similar across POIs than warhead scaffolds, with mean similarities of 0.600 and 0.247, respectively. This indicates that E3-ligand chemistry is more widely shared across targets, whereas warhead chemistry differs more strongly. Consequently, whole-PROTAC similarity may partly reflect shared E3-ligand structures rather than differences related to POI identity. To account for this potential confounding effect, we evaluate chemical similarity both globally and within fixed CRBN and VHL groups (Figure 2).
B.4 ZERO-SHOT POI SELECTION
We select four unseen POIs to evaluate zero-shot generalization across different levels of protein similarity. Candidates must fall outside the seen-POI panel and have sufficient reference molecules for held-out evaluation. We also require that their standardized SMILES do not occur under any POI in conditional training. Thus, neither the selected POIs nor their molecules appear in the conditional training. Together, the four zero-shot POIs provide 217 held-out molecule–POI pairs. We measure protein similarity using cosine similarity between mean-pooled ESM-2 embeddings.
We first identify WDR5 and DHFR as the candidate pair most distant from the proteins available for training. For a candidate pair , let denote the POIs remaining after both candidates are excluded. For each candidate , the distance to its nearest training POI is
where and are mean-pooled ESM-2 embeddings. Larger distances correspond to lower similarity to the nearest training POI.
To ensure that both candidates are distant from training, we score each pair using the smaller of the two distances,
(50) a

c
b
d
e
Figure 4 Dataset composition and component-level scaffold similarity. (a) Number of molecules of seen POIs. (b) Cumulative fraction of the dataset covered by POIs ranked by molecule count. (c) E3-ligase distribution across the complete dataset. (d) E3-ligase composition across the seen POIs. (e) Pairwise scaffold similarity across the seen POIs, comparing predicted POI-warhead scaffolds (lower triangle) and E3-ligand scaffolds (upper triangle). Similarity is measured using symmetric nearest-scaffold Tanimoto similarity.
We select the pair maximizing this score. WDR5 and DHFR have nearest-training distances of 0.1234 and 0.0864, respectively.
We then select two additional zero-shot targets to cover higher levels of protein similarity. For each remaining candidate , we calculate its maximum cosine similarity to the seen POIs,
where denotes the set of seen POIs. FGFR3 lies at the median of the similarity distribution and is selected as the medium-similarity target. MAP3K13 has the highest similarity and is selected as the high-similarity target.
Table 4 reports each selected POI and its nearest match in the seen-POI panel. WDR5 and DHFR represent lower-similarity conditions, while FGFR3 and MAP3K13 provide medium- and high-similarity conditions. This selection allows us to examine whether zero-shot performance varies with similarity in ESM-2 embedding space.
Table 4 Protein-representation similarity of the four zero-shot POIs. For each zero-shot POI, the closest seen POI is identified by cosine similarity between mean-pooled ESM-2 embeddings.
| Role | POI | Records | Closest top-20 POI | Cosine similarity |
|---|---|---|---|---|
| Most dissimilar | WDR5 | 66 | PTPN1 | 0.760 |
| Dissimilar | DHFR | 43 | EGFR | 0.894 |
| Medium | FGFR3 | 58 | MAP4K1 | 0.969 |
| Very similar | MAP3K13 | 50 | AR | 0.987 |
B.5 CONDITIONAL DATA SPLITTING
After excluding the four zero-shot POIs, 29,836 molecule–POI pairs across 404 POIs remain for conditional model development. The seen POIs are AR, KRAS, ESR1, EGFR, CDK4, BTK, IRAK4, SMARCA2, BCL2L1, BRAF, BRD4, BCL6, BCL2, MAPT, METTL14, PTPN1, SOS1, EZH2, MAP4K1, and SMARCA4. Together, they account for 21,246 pairs (71.2% of the remaining dataset).
To prevent molecular leakage between partitions, we group all records sharing the same standardized SMILES before splitting. Each group is assigned entirely to training, validation, or test, ensuring that the same molecular structure never appears in different partitions.
We split the records of seen POIs into 80% training, 10% validation, and 10% test subsets. The resulting top-20 split contains 16,994 training, 2,126 validation, and 2,126 test pairs. The 384 training-only POIs contribute another 8,590 training pairs, yielding 25,584 training, 2,126 validation, and 2,126 test pairs overall.
The exact target-wise counts are reported in Table 5.
B.6 POI-ASSOCIATED CHEMICAL-SPACE CHARACTERIZATION
We examine whether PROTAC chemistry in the reference dataset exhibits patterns related to POI identity. All analyses use 2048-bit Morgan fingerprints with radius 2, and chemical similarity is measured using the Tanimoto coefficient,
Chemical-space visualization. We sample 300 molecules from each of the 10 most represented POIs, yielding a balanced set of 3,000 molecules. Equal sampling prevents targets with more examples from
Table 5 Target-wise counts for the seen POIs. Data for each POI are split into 80% training, 10% validation, and 10% test subsets while keeping molecular structures disjoint across partitions.
| POI | Total | Train | Val | Test |
|---|---|---|---|---|
| AR | 4933 | 3947 | 493 | 493 |
| KRAS | 2776 | 2220 | 278 | 278 |
| ESR1 | 2212 | 1770 | 221 | 221 |
| EGFR | 1617 | 1293 | 162 | 162 |
| CDK4 | 1297 | 1037 | 130 | 130 |
| BTK | 1293 | 1035 | 129 | 129 |
| IRAK4 | 972 | 778 | 97 | 97 |
| SMARCA2 | 955 | 763 | 96 | 96 |
| BCL2L1 | 856 | 684 | 86 | 86 |
| BRAF | 749 | 599 | 75 | 75 |
| BRD4 | 599 | 479 | 60 | 60 |
| BCL6 | 577 | 461 | 58 | 58 |
| BCL2 | 451 | 361 | 45 | 45 |
| MAPT | 350 | 280 | 35 | 35 |
| METTL14 | 348 | 278 | 35 | 35 |
| PTPN1 | 305 | 245 | 30 | 30 |
| SOS1 | 252 | 202 | 25 | 25 |
| EZH2 | 237 | 189 | 24 | 24 |
| MAP4K1 | 237 | 189 | 24 | 24 |
| SMARCA4 | 230 | 184 | 23 | 23 |
| Total | 21246 | 16994 | 2126 | 2126 |
dominating the visualization. We first reduce the fingerprint matrix to 50 principal components using PCA, then apply t-SNE to obtain a two-dimensional embedding.
Figure 2a,b shows the same coordinates colored by E3-ligase and POI identity, respectively. Broad regions reflect E3 identity, while smaller regions are enriched for individual POIs. Several POIs occupy separated regions, that their molecules span different chemotypes.
Global POI-associated similarity. We assess whether molecules targeting the same POI are more chemically similar than those targeting different POIs. Because the seen POIs have unequal numbers of records, sampling molecular pairs directly from the pooled dataset would favor targets with more examples, such as AR. We therefore balance pair sampling across POIs.
For same-POI comparisons, we uniformly sample a seen POI and select two distinct molecules targeting it. For different-POI comparisons, we uniformly sample two distinct POIs and select one molecule from each. We repeat this procedure to obtain 10,000 pairs of each type. A molecule may be reused across comparisons, but the two molecules in each same-POI pair are distinct.
Let and denote the sampled pair sets, each containing pairs. Their mean Tanimoto similarities are
and their difference is
Mean similarity is 0.385 for same-POI pairs and 0.190 for different-POI pairs, giving . This difference shows that molecules targeting the same target are more similar on average. However, the moderate same-POI similarity also suggests that a single target can span multiple chemotypes rather than forming a single compact chemical cluster.
Controlling for E3-ligase identity. Because E3-binding ligands contribute to whole-PROTAC similarity, part of the observed signal may reflect shared E3 chemistry. To account for this, we repeat the pairwise analysis within CRBN and VHL groups. Within each group, we uniformly sample POIs to construct 10,000 same-POI and 10,000 different-POI pairs.
Same-POI similarity remains higher in both E3 groups:
The similarity gaps are 0.198 for CRBN and 0.206 for VHL, comparable to the global gap of 0.195. Thus, POI-specific chemical similarity persists when E3 identity is fixed and cannot be explained solely by differences between CRBN- and VHL-based chemistry.
Local POI organization. Global pairwise similarity does not imply that all molecules targeting the same POI form a single cluster. A target may instead be represented by several chemotypes, each of which is locally enriched for that POI. We therefore assess this local organization using nearest-neighbor POI purity.
The analysis uses molecules for the seen POIs within each CRBN or VHL group. For query molecule i with POI label , let denote its nearest molecules by Tanimoto similarity within E3 group , excluding the query itself. We consider neighborhood sizes .
For each query, POI purity is defined as the fraction of neighbors sharing its POI label,
For an E3 group containing query molecules, mean purity is
Within-E3 shuffled-label null. Unequal POI frequencies can increase same-POI neighborhood matches by chance. To account for this, we construct a shuffled-label null separately within each E3 group. Molecular fingerprints and nearest-neighbor relationships remain fixed, while POI labels are randomly permuted. This preserves target frequencies but breaks the relationship between POI identity and chemical structure.
Let denote the label assigned to molecule i in permutation b. The corresponding query-level null purity is
and its mean across the E3 group is
We repeat the permutation procedure times per E3 group. The mean null purity is
with the 2.5th–97.5th percentile range across permutations shown in Figure 2d.
Observed purity remains substantially higher than the shuffled-label null across neighborhood sizes. At k = 30, purity reaches 0.977 for CRBN and 0.933 for VHL, compared with null expectations of 0.124 and 0.137, respectively. This indicates that local enrichment for POI identity cannot be explained by unequal target frequencies.
Interpretation. Two complementary patterns emerge. Globally, molecules targeting the same POI are more similar than those targeting different POIs, even within fixed E3 groups. However, the moderate mean same-POI similarity indicates that individual targets can span multiple chemotypes.
Locally, molecules with similar chemical structures are strongly enriched for the same POI, well above the shuffled-label null. PROTAC chemical space is therefore globally heterogeneous but locally organized with respect to POI identity.
These findings motivate complementary fidelity measures: likelihood preference under the requested protein condition and POI enrichment among held-out reference neighbors. Neither measure assumes one chemical centroid per POI.
B.7 GENERATION AND METRIC IMPLEMENTATION
The same decoding settings are used for the final unconditional and conditional generation experiments. Generation begins with the BOS token and uses temperature and nucleus sampling with , without top-k filtering. We repeat generation using seeds 71, 101, and 123. PAD, BOS, and UNK tokens are excluded from sampling, while EOS can terminate generation. The maximum sequence length is 320 tokens, allowing up to 319 new tokens after BOS.
Generated SMILES are parsed and sanitized using RDKit. Molecules that pass both steps are considered valid and converted to canonical isomeric SMILES for deduplication.
For conditional evaluation, deduplication is performed independently for each POI. Repeated molecules count only once within a given target but can be counted separately if generated under different POI conditions. Novelty is evaluated against the entire conditional training set, regardless of target identity. A molecule is therefore considered non-novel if its canonical structure appears anywhere in the training data.
Internal diversity is calculated over unique valid molecules using 2048-bit Morgan fingerprints with radius 2. When more than 1,000 molecules are available, a random subset of 1,000 is selected for pairwise Tanimoto similarity calculations.
Physicochemical descriptors are also computed over unique valid molecules, including molecular weight, TPSA, LogP, heavy-atom count, rotatable-bond count, aromatic and non-aromatic ring counts, and hydrogen-bond acceptor and donor counts.
B.8 PHYSICOCHEMICAL COMPARISON OF PROTAC-LIKE, PROTAC, AND GENERATED MOLECULES
Figure 5 compares physicochemical distributions across the PROTAC-like pretraining corpus, reference PROTACs, and conditionally generated molecules. Each property uses shared histogram bins and normalized densities across datasets. Dashed vertical lines indicate the mean of each distribution.
The PROTAC-like corpus broadly overlaps the reference PROTAC distributions, with differences consistent with its property-based construction from general molecular databases. Generated molecules also overlap the reference distributions across these descriptors. This comparison complements the generation-quality metrics in Section 4.3.

Figure 5 Physicochemical distributions of PROTAC-like, reference PROTAC, and generated molecules. Normalized density distributions for PROTAC-like structures, reference PROTACs, and molecules generated by the conditional model. Dashed vertical lines indicate distribution means. (a) Molecular weight (MW). (b) LogP. (c) Topological polar surface area (TPSA). (d) Number of rotatable bonds. (e) Number of aromatic rings. (f) Number of non-aromatic rings. (g) Number of hydrogen-bond acceptors (HBA). (h) Number of hydrogen-bond donors (HBD).
B.9 CONDITIONAL-FIDELITY EVALUATION
Conditional fidelity is evaluated using the held-out test set. The reference pool consists of unique test molecules, each with its corresponding POI labels. For a reference molecule x, we define the set of POIs it targets as
where T is the set of POIs included in the evaluation.
For example, suppose the evaluation includes . If a held-out molecule targets both AR and BTK, then . The molecule appears once in the reference pool, but both AR and BTK are treated as correct conditions.
Likelihood-based conditional fidelity. Each reference molecule is evaluated under every POI condition in T by computing its negative log-likelihood (NLL).
For each POI , the pair defines one correct-condition evaluation. The competing POIs are defined as
This excludes all known targets of x from the competing set, ensuring that a correct POI is never treated as an incorrect condition.
For each correct molecule–POI pair , conditional preference is calculated as
A positive value indicates lower NLL under the correct condition than the mean across competing conditions. For a multi-target molecule, we calculate the score separately for each correct POI. If is empty, the molecule is excluded because there is no competing condition.
In the previous example, , so . The molecule contributes two evaluations, and , with EGFR as the only competing condition. Neither AR nor BTK is treated as incorrect when evaluating the other.
Nearest-neighbor query construction. Nearest-neighbor fidelity uses valid, unique, training-novel generated molecules. A generated molecule may be absent from training yet identical to a held-out test molecule. We retain such queries because they represent recovery of reference chemistry not seen during fine-tuning.
Generated queries and reference molecules are encoded using 2048-bit Morgan fingerprints with radius 2. For each molecule g generated under POI p, we calculate its Tanimoto similarity to every molecule in the reference pool. Its k nearest reference molecules form the nearest-neighbor set , where .
Multi-target handling in nearest-neighbor purity. For a molecule g generated under condition p, a reference neighbor r contributes to purity whenever p is among the POIs targeted by r:
This allows a reference molecule targeting multiple POIs to count as a correct neighbor for any of those targets. POI purity is defined as
as defined in Section 4.3. The indicator equals 1 if reference molecule r targets POI p and 0 otherwise. Purity is calculated for each generated query and then averaged across queries for the same POI.
For example, the reference molecule x targeting AR and BTK contributes to purity for queries generated under either AR or BTK. It does not contribute to purity for EGFR queries because EGFR .
B.10 POI-WARHEAD PROCESSING
POI-warhead evaluation is performed using unique valid PROTACs generated under each POI condition. We apply PROTAC-Splitter to decompose these molecules into their structural components for subsequent warhead analysis.
Warhead extraction. PROTAC-Splitter returns three dot-separated SMILES components in the following order:
We retain predictions with exactly three components and identify the third as the POI-binding warhead. Predictions with missing or additional components are excluded because the warhead cannot be reliably identified.
Parent-warhead construction. The extracted warhead may contain an attachment marker, , at its linker connection. This marker identifies the split point but is not part of the standalone warhead used for evaluation. We replace it with hydrogen to obtain a parent warhead for chemical comparison.
We parse each predicted fragment with RDKit. If an attachment marker is present, its dummy atom must have exactly one neighbor connected by a single bond. We replace the dummy atom with hydrogen and sanitize the molecule. Explicit hydrogens are then removed where chemically appropriate, followed by a second sanitization. We exclude fragments if conversion or sanitization fails or if any dummy atom remains.
We convert successfully processed parent warheads to canonical isomeric SMILES and apply the same procedure to training and generated PROTACs.
Target-specific training reference. For each POI p, we extract warheads from conditional training PRO-TACs targeting p. We apply the same parent-warhead construction procedure and remove duplicate structures. The resulting set of unique canonical parent warheads forms the target-specific training reference .
A generated warhead is considered non-novel for POI p only if its canonical structure appears in . Its occurrence under another POI does not affect novelty for the current target.
Warhead uniqueness, novelty, and internal diversity are defined in Section 4.3. Internal diversity is calculated over unique successfully processed generated warheads using 2048-bit Morgan fingerprints with radius 2.
Processing coverage. Warhead evaluation requires two successful processing steps. First, PROTAC-Splitter must produce a usable three-component decomposition. Second, the extracted POI warhead must be converted into a valid parent structure. We measure the coverage of each step.
For POI p, let denote the number of unique valid generated PROTACs, the number with a usable three-component decomposition, and the number successfully converted to parent warheads. We define the coverage metrics as
SplitCov is the proportion of generated PROTACs successfully decomposed, and WarheadCov is the proportion of those decompositions yielding valid parent warheads.
Target-wise coverage results are reported in Appendix Table 7.
C ADDITIONAL RESULTS
C.1 POI-WARHEAD GENERATION ANALYSIS
Table 6 reports warhead-level generation metrics for the seen POIs, complementing the results in Section 5.2. Warheads are extracted using PROTAC-Splitter and processed as described in Appendix B.10. Metrics are evaluated across three generation seeds.
Warhead diversity varies across POIs. BRD4 and MAP4K1 have the highest internal diversity, while METTL14 and BCL2 have the lowest.
Molecular uniqueness also differs from warhead uniqueness. For example, BCL6 achieves 28.50% molecular uniqueness but only 8.61% warhead uniqueness, indicating that distinct PROTACs can share the same POI-binding warhead.
Table 6 Warhead-level generation metrics across the seen POIs. Warheads are identified using PROTAC-Splitter and converted to parent structures. Uniqueness is measured over successfully processed parent warheads, and novelty is evaluated against parent warheads extracted from training PROTACs for the same POI. Values are reported as mean (sample standard deviation) across three seeds. Best per-target values in each column are shown in bold.
| POI | Unique PROTACs | Unique warheads | Warhead uniqueness (%) | Warhead novelty (%) | Warhead diversity |
|---|---|---|---|---|---|
| AR | 4,847 (50) | 1,005 (30) | 20.75 (0.40) | 61.20 (0.39) | 0.811 (0.001) |
| ESR1 | 4,093 (37) | 893 (33) | 21.85 (0.64) | 69.09 (0.50) | 0.776 (0.005) |
| CDK4 | 3,047 (13) | 619 (15) | 20.31 (0.52) | 72.99 (1.88) | 0.780 (0.004) |
| KRAS | 4,954 (25) | 898 (29) | 18.12 (0.62) | 80.01 (1.10) | 0.749 (0.005) |
| EZH2 | 3,100 (54) | 788 (41) | 25.42 (1.13) | 96.14 (0.23) | 0.758 (0.005) |
| BTK | 4,214 (24) | 1,350 (50) | 32.04 (1.05) | 84.86 (0.53) | 0.817 (0.001) |
| BRD4 | 4,045 (32) | 1,125 (25) | 27.86 (0.46) | 94.13 (0.19) | 0.869 (0.001) |
| BRAF | 2,869 (24) | 450 (22) | 15.70 (0.71) | 87.49 (0.81) | 0.756 (0.003) |
| SMARCA4 | 4,061 (38) | 1,291 (45) | 31.80 (0.88) | 95.87 (0.13) | 0.766 (0.006) |
| MAP4K1 | 3,332 (21) | 1,163 (17) | 34.93 (0.33) | 96.41 (0.18) | 0.835 (0.003) |
| IRAK4 | 5,580 (63) | 1,588 (26) | 28.47 (0.27) | 90.54 (0.55) | 0.816 (0.002) |
| EGFR | 5,096 (38) | 1,384 (11) | 27.17 (0.29) | 82.85 (0.48) | 0.803 (0.002) |
| BCL2L1 | 3,685 (25) | 784 (36) | 21.28 (0.94) | 85.09 (1.09) | 0.762 (0.006) |
| SMARCA2 | 4,152 (44) | 1,352 (34) | 32.56 (0.51) | 87.66 (0.62) | 0.776 (0.001) |
| METTL14 | 1,372 (28) | 156 (5) | 11.39 (0.22) | 86.13 (0.68) | 0.581 (0.003) |
| PTPN1 | 2,401 (23) | 491 (25) | 20.48 (0.98) | 93.39 (0.62) | 0.760 (0.007) |
| BCL2 | 2,809 (42) | 1,417 (15) | 50.47 (0.55) | 95.32 (0.07) | 0.633 (0.001) |
| SOS1 | 3,374 (60) | 996 (48) | 29.51 (0.91) | 95.64 (0.21) | 0.786 (0.006) |
| BCL6 | 2,830 (64) | 244 (4) | 8.61 (0.20) | 85.91 (0.94) | 0.791 (0.006) |
| MAPT | 3,004 (17) | 594 (16) | 19.78 (0.56) | 91.75 (0.38) | 0.729 (0.005) |
| Macro | 3,643 (3) | 929 (8) | 24.93 (0.20) | 86.62 (0.15) | 0.768 (0.001) |
Warhead novelty does not establish target relevance. SMARCA4, for example, achieves 95.87% warhead novelty but only 27.37% generated 5-NN purity.
Warhead coverage. PROTAC-Splitter produces usable three-component decompositions for nearly all unique valid generated PROTACs. Across the seen POIs, macro splitter coverage reaches 99.99%, and 99.97% of the extracted warheads are successfully converted to valid parent structures. Table 7 reports the target-wise results.
C.2 POI-NEIGHBORHOOD PURITY: TARGET-WISE REFERENCE, CONDITIONAL, AND UNCONDITIONAL MODELS
We compare the -NN purity of held-out reference molecules with that of conditional and unconditional generation. Reference purity is calculated using leave-one-out nearest neighbors within the test set, while both generated molecular sets are evaluated against the same held-out reference pool. This comparison provides context for interpreting generated neighborhood enrichment relative to the local POI organization of the reference chemistry.
Seen POIs. Table 8 reports the target-wise reference, conditional, and unconditional -NN purity values across the seen POIs. Macro 5-NN purity reaches for the reference molecules, for TACFormer, and for unconditional generation. Conditional purity exceeds unconditional purity for every target at , confirming consistent improvements in POI-specific neighborhood enrichment.
The reference–generation gap is largest for SMARCA4 at , whereas METTL14 and BCL6 show closely matched purity. These differences indicate that the degree of local POI enrichment varies across the conditional output distributions.
Table 7 PROTAC-Splitter and warhead processing coverage for seen POIs. Splitter coverage measures the proportion of unique valid generated PROTACs with a usable three-component decomposition. Warhead processing coverage measures the proportion of extracted POI warheads successfully converted to valid parent structures. Values are reported as mean (sample standard deviation) across three generation seeds. The macro row reports the unweighted mean across POIs.
| POI | Splitter coverage (%) | Warhead processing (%) |
|---|---|---|
| AR | 100.00 (0.00) | 99.91 (0.03) |
| ESR1 | 99.99 (0.01) | 99.88 (0.07) |
| CDK4 | 100.00 (0.00) | 100.00 (0.00) |
| KRAS | 100.00 (0.00) | 100.00 (0.00) |
| EZH2 | 100.00 (0.00) | 99.96 (0.02) |
| BTK | 100.00 (0.00) | 100.00 (0.00) |
| BRD4 | 99.99 (0.01) | 99.88 (0.04) |
| BRAF | 99.99 (0.02) | 100.00 (0.00) |
| SMARCA4 | 99.98 (0.03) | 100.00 (0.00) |
| MAP4K1 | 99.92 (0.02) | 99.97 (0.00) |
| IRAK4 | 100.00 (0.00) | 99.97 (0.01) |
| EGFR | 100.00 (0.00) | 99.97 (0.01) |
| BCL2L1 | 99.99 (0.02) | 99.99 (0.02) |
| SMARCA2 | 99.99 (0.01) | 99.99 (0.01) |
| METTL14 | 100.00 (0.00) | 100.00 (0.00) |
| PTPN1 | 99.97 (0.05) | 99.87 (0.04) |
| BCL2 | 99.99 (0.02) | 99.98 (0.02) |
| SOS1 | 100.00 (0.00) | 99.98 (0.02) |
| BCL6 | 100.00 (0.00) | 100.00 (0.00) |
| MAPT | 99.97 (0.00) | 99.99 (0.02) |
| Macro | 99.99 (0.00) | 99.97 (0.00) |
Table 8 Reference, conditional, and unconditional -NN purity for seen POIs. Reference purity is fixed across seeds. TACFormer and unconditional results are mean (sample standard deviation) across three seeds. All values are percentages; macro values are unweighted means across seen POIs. Bold values indicate the highest target-wise results within each evaluation type and neighborhood size.
| POI | Evaluation | 5-NN | 10-NN | 20-NN |
|---|---|---|---|---|
| AR | Reference | 98.50 | 98.05 | 96.68 |
| TACFormer | 97.89 (0.15) | 97.32 (0.16) | 96.33 (0.15) | |
| Unconditional | 22.75 (0.14) | 23.18 (0.13) | 24.01 (0.15) | |
| ESR1 | Reference | 97.74 | 97.42 | 94.89 |
| TACFormer | 97.94 (0.20) | 97.12 (0.25) | 94.78 (0.23) | |
| Unconditional | 9.91 (0.02) | 10.27 (0.02) | 10.68 (0.03) | |
| CDK4 | Reference | 98.31 | 96.69 | 95.19 |
| TACFormer | 95.17 (0.10) | 93.62 (0.23) | 92.66 (0.36) | |
| Unconditional | 5.80 (0.08) | 5.68 (0.09) | 5.65 (0.09) | |
| KRAS | Reference | 98.35 | 96.26 | 92.79 |
| TACFormer | 97.91 (0.08) | 97.18 (0.06) | 95.56 (0.09) | |
| Unconditional | 9.96 (0.02) | 10.04 (0.04) | 10.15 (0.04) | |
| EZH2 | Reference | 95.83 | 90.83 | 70.42 |
| TACFormer | 82.38 (0.25) | 74.63 (0.13) | 56.15 (0.30) | |
| Unconditional | 1.56 (0.03) | 1.62 (0.03) | 1.51 (0.02) | |
| BTK | Reference | 92.71 | 90.08 | 85.54 |
| TACFormer | 88.58 (0.21) | 85.50 (0.20) | 81.07 (0.21) | |
| Unconditional | 6.26 (0.02) | 6.27 (0.02) | 6.32 (0.01) | |
| BRD4 | Reference | 81.00 | 72.33 | 57.08 |
| TACFormer | 66.19 (0.77) | 59.97 (0.82) | 50.83 (0.73) | |
| Unconditional | 5.32 (0.04) | 5.03 (0.03) | 4.59 (0.01) |
Continued on next page
Table 8 (continued)
| POI | Evaluation | 5-NN | 10-NN | 20-NN |
|---|---|---|---|---|
| BRAF | Reference | 98.13 | 95.60 | 83.40 |
| TACFormer | 92.59 (0.27) | 90.22 (0.33) | 80.50 (0.32) | |
| Unconditional | 2.94 (0.08) | 3.06 (0.07) | 3.09 (0.05) | |
| SMARCA4 | Reference | 77.39 | 73.48 | 60.22 |
| TACFormer | 27.37 (1.20) | 26.29 (1.17) | 23.59 (0.98) | |
| Unconditional | 0.93 (0.02) | 0.91 (0.02) | 0.89 (0.02) | |
| MAP4K1 | Reference | 70.00 | 43.33 | 23.33 |
| TACFormer | 61.59 (0.74) | 40.43 (0.49) | 22.65 (0.15) | |
| Unconditional | 1.54 (0.02) | 1.27 (0.01) | 1.07 (0.01) | |
| IRAK4 | Reference | 97.32 | 96.39 | 85.72 |
| TACFormer | 93.97 (0.11) | 92.49 (0.18) | 85.74 (0.09) | |
| Unconditional | 3.71 (0.04) | 3.80 (0.04) | 3.74 (0.03) | |
| EGFR | Reference | 90.99 | 84.94 | 76.33 |
| TACFormer | 90.86 (0.16) | 85.26 (0.23) | 76.40 (0.34) | |
| Unconditional | 14.23 (0.06) | 13.41 (0.06) | 12.50 (0.04) | |
| BCL2L1 | Reference | 94.88 | 90.00 | 83.66 |
| TACFormer | 91.71 (0.38) | 88.58 (0.54) | 82.54 (0.67) | |
| Unconditional | 2.51 (0.03) | 2.56 (0.03) | 2.58 (0.02) | |
| SMARCA2 | Reference | 95.63 | 87.08 | 81.61 |
| TACFormer | 79.30 (0.32) | 73.34 (0.22) | 67.61 (0.11) | |
| Unconditional | 2.86 (0.03) | 2.75 (0.04) | 2.69 (0.04) | |
| METTL14 | Reference | 100.00 | 100.00 | 100.00 |
| TACFormer | 99.57 (0.14) | 99.55 (0.15) | 99.41 (0.13) | |
| Unconditional | 2.52 (0.03) | 2.89 (0.03) | 3.28 (0.02) | |
| PTPN1 | Reference | 90.67 | 86.33 | 84.33 |
| TACFormer | 81.92 (0.63) | 78.96 (0.65) | 77.22 (0.66) | |
| Unconditional | 1.01 (0.02) | 1.00 (0.03) | 1.02 (0.03) | |
| BCL2 | Reference | 86.67 | 79.56 | 70.89 |
| TACFormer | 75.60 (0.17) | 71.92 (0.25) | 64.41 (0.48) | |
| Unconditional | 1.42 (0.03) | 1.46 (0.03) | 1.37 (0.03) | |
| SOS1 | Reference | 90.40 | 69.20 | 42.40 |
| TACFormer | 86.51 (0.49) | 74.80 (0.27) | 51.12 (0.14) | |
| Unconditional | 1.29 (0.01) | 1.36 (0.01) | 1.29 (0.01) | |
| BCL6 | Reference | 100.00 | 100.00 | 98.19 |
| TACFormer | 98.60 (0.09) | 98.52 (0.13) | 98.04 (0.14) | |
| Unconditional | 1.75 (0.02) | 1.86 (0.02) | 2.03 (0.02) | |
| MAPT | Reference | 90.86 | 86.86 | 84.00 |
| TACFormer | 89.00 (0.54) | 86.40 (0.54) | 83.60 (0.51) | |
| Unconditional | 2.25 (0.02) | 2.06 (0.02) | 1.98 (0.01) | |
| Macro | Reference | 92.27 | 86.72 | 78.33 |
| TACFormer | 84.73 (0.11) | 80.60 (0.11) | 74.01 (0.14) | |
| Unconditional | 5.02 (0.00) | 5.02 (0.00) | 5.02 (0.00) |
Zero-shot POIs. Table 9 compares held-out reference and generated -NN purity for the four zero-shot POIs. At , macro reference purity reaches , compared with for generated molecules. The gap persists at and . Generated 5-NN purity ranges from for WDR5 to for MAP3K13. Thus, the reference data show strong local POI organization, but the conditional model achieves much weaker enrichment under unseen protein conditions.
Table 9 Reference versus conditional -NN purity for four zero-shot POIs. Reference values are fixed across seeds. Generated values are reported as mean (sample standard deviation) across three generation seeds. All values are percentages. Macro values are unweighted means across the four POIs.
| POI | Ref. 5-NN | Gen. 5-NN | Ref. 10-NN | Gen. 10-NN | Ref. 20-NN | Gen. 20-NN |
|---|---|---|---|---|---|---|
| WDR5 | 100.00 | 56.23 (0.10) | 97.88 | 55.35 (0.35) | 94.09 | 50.58 (0.44) |
| DHFR | 98.60 | 31.05 (0.32) | 94.42 | 37.06 (0.28) | 90.70 | 45.18 (0.14) |
| FGFR3 | 100.00 | 20.26 (0.15) | 100.00 | 20.51 (0.07) | 100.00 | 20.70 (0.05) |
| MAP3K13 | 98.40 | 14.57 (0.46) | 96.80 | 13.27 (0.31) | 95.30 | 12.71 (0.12) |
| Macro | 99.25 | 30.52 (0.06) | 97.27 | 31.55 (0.11) | 95.02 | 32.29 (0.14) |
C.3 CHEMICAL SPACE ORGANIZATION OF GENERATED PROTACs
Figure 6 visualizes molecules generated under the seen POI conditions. Each molecule is represented by a 2048-bit Morgan fingerprint with radius 2, and all generated molecules are projected jointly into a two-dimensional t-SNE space.
The embedding reveals POI-dependent regional structure, with molecules generated under the same condition can occupy multiple regions rather than a single compact cluster. This resembles the heterogeneous, multimodal pattern observed in the reference PROTAC data, where individual POIs also span distinct regions of chemical space. The visualization complements the quantitative neighborhood-purity results in Section 5.2.

t-SNE 1
Figure 6 Generated PROTACs retain the heterogeneous chemical-space organization observed in reference data. Two-dimensional t-SNE projection of novel molecules generated under the seen POI conditions, colored by conditioning POI. Molecules are represented using 2048-bit Morgan fingerprints with radius 2 and projected using a single common t-SNE fit. Example structures are novel generated PROTACs, with arrows indicating their conditioning POIs.
D GENERATION DYNAMICS DURING FINE-TUNING
D.1 GENERATION QUALITY AND CONDITIONAL FIDELITY DURING FINE-TUNING
We monitor molecular generation quality throughout fine-tuning using validity, uniqueness, novelty, and internal diversity. These metrics capture different aspects of generation and do not necessarily improve together.
For the unconditional model, validity generally increases during fine-tuning, while novelty decreases. Uniqueness remains high in the monitoring samples, and internal diversity changes little across epochs.
The conditional model shows a similar trade-off. Validity increases from 90.42% at epoch 2 to 98.84% at epoch 60. In contrast, uniqueness decreases from 97.64% to 71.30%, while novelty decreases from 97.60% to 72.33%. Internal diversity remains relatively stable, ranging from 0.775 to 0.798.
Conditional fidelity also improves throughout training. increases from 0.0155 to 0.4155, while generated 5-NN purity rises from 9.48% to 87.12%, reaching its highest value of 89.72% at epoch 58. These trends indicate that fine-tuning strengthens the model's preference for the correct POI condition and increases enrichment in target-associated chemical neighborhoods.
Figures 7 and 8 show the generation and conditional-fidelity trajectories during fine-tuning.
D.2 CHECKPOINT SELECTION
Conditional model. Checkpoint selection for the conditional model must account for both generation quality and sensitivity to the protein condition. We therefore use a composite score that combines molecular generation quality with conditional fidelity. Checkpoint selection uses the validation set to compute and generated 5-NN purity.
Generation quality is defined as
where , , , and denote validity, uniqueness, novelty, and internal diversity at epoch e, respectively. Conditional fidelity combines generated 5-NN purity with normalized likelihood preference:
where
The final checkpoint score is
All generation-quality metrics and are expressed as fractions between 0 and 1. The normalization scales the positive likelihood preference relative to its maximum across monitored epochs. The score therefore rewards checkpoints that maintain molecular quality while producing stronger POI-associated chemical enrichment.
Table 10 reports the five highest-scoring checkpoints. Epoch 58 achieves the highest score (86.82), with 98.78% validity, 71.04% uniqueness, 71.77% novelty, and 0.796 internal diversity. It also achieves the highest monitored likelihood preference (+0.4155) and a generated 5-NN purity of 89.72%.
Epoch 46 achieves higher generation quality but lower conditional fidelity. Epoch 60 achieves slightly higher validity but lower 5-NN purity. Epoch 58 therefore provides the best balance between generation quality and POI-specific chemical steering under the defined score. We select checkpoint epoch 58 for the final conditional generation experiments.

c
d
e
f
Figure 7 Generation quality during molecular pretraining, unconditional fine-tuning, and conditional fine-tuning. Panels (a,b) show the molecular prior, (c,d) the unconditional model, and (e,f) the conditional model. (a,c,e) Validity, uniqueness among valid molecules, and novelty among unique valid molecules across training epochs. (b,d,f) Internal diversity among unique valid molecules. For the conditional model, solid lines represent the mean across the seen POIs, and shaded regions indicate standard deviation across targets.
Unconditional model. The unconditional model does not use protein conditions, so conditional-fidelity metrics are not applicable. We instead prioritize molecular validity while maintaining uniqueness, novelty, and internal diversity.
Epochs 51 and 58 achieve the highest observed validity (99.80%). Compared with epoch 51, epoch 58 achieves
±1 SD across POIs
Mean across POIs
a

b

Figure 8 Emergence of POI-specific conditioning during fine-tuning. (a) and (b) 5-NN purity across training epochs. Solid lines show the mean across the seen POIs, and shaded regions indicate standard deviation. Likelihood evaluation uses a fixed set of validation molecules, while nearest-neighbor purity uses a fixed validation reference pool. At each monitored epoch, 500 molecules are generated per POI, with up to 25 unique valid molecules per target selected for 5-NN evaluation.
Table 10 Conditional checkpoint selection during fine-tuning. The five highest-scoring checkpoints are reported. Generation quality combines validity, uniqueness, novelty, and internal diversity. Conditional fidelity combines generated 5-NN purity and normalized . The final score balances both components. Bold values indicate the highest values among the reported checkpoints.
| Epoch | Validity (%) | Uniq. (%) | Novelty (%) | Diversity | 5-NN (%) | Score (%) | |||
|---|---|---|---|---|---|---|---|---|---|
| 46 | 98.40 | 72.90 | 74.13 | 0.795 | 0.4058 | 87.56 | 0.8063 | 0.9247 | 86.34 |
| 60 | 98.84 | 71.30 | 72.33 | 0.796 | 0.4154 | 87.12 | 0.7981 | 0.9332 | 86.30 |
| 52 | 98.63 | 72.03 | 72.85 | 0.795 | 0.4106 | 87.44 | 0.8009 | 0.9295 | 86.28 |
| 56 | 98.66 | 71.34 | 71.38 | 0.796 | 0.4144 | 86.76 | 0.7952 | 0.9302 | 86.00 |
| 58 | 98.78 | 71.04 | 71.77 | 0.796 | 0.4155 | 89.72 | 0.7957 | 0.9472 | 86.82 |
higher uniqueness (96.79% versus 95.99%) and internal diversity (0.790 versus 0.785), while maintaining comparable novelty (66.46% versus 67.43%). We therefore select epoch 58 for unconditional generation. Table 11 reports the corresponding metrics.
Table 11 Unconditional checkpoint selection during fine-tuning. The two checkpoints with the highest observed validity are compared. Metrics are computed from 500 generated molecules per epoch. Bold values indicate the highest values in each column.
| Epoch | Validity (%) | Uniq. (%) | Novelty (%) | Diversity |
|---|---|---|---|---|
| 51 | 99.80 | 95.99 | 67.43 | 0.785 |
| 58 | 99.80 | 96.79 | 66.46 | 0.790 |