Paper deep dive
PairIT: Autoregressive Transformers for Low-Data Molecule Optimization
Hannah Lawrence, Bodhi P. Vani, Ji Won Park, Natasa Tagasovska, Samuel Don Stanton, Andrew Martin Watkins, Michael Maser, Ewa M. Nowara
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 93%
Last extracted: 10/15/2026, 5:04:35 AM
Summary
The paper introduces PairIT, a framework for seeded molecular optimization using autoregressive transformers trained on pairs of structurally similar molecules. It addresses low-data regimes by leveraging matched pairs for local edits, structured prompt tokens for property control, and optional reinforcement learning post-training. The model, with 68M parameters, demonstrates robust performance on MoleculeNet and TDC datasets, outperforming larger baselines in generating valid, novel, and property-improved molecules.
Entities (17)
Relation Signals (12)
PairIT â evaluatedon â MoleculeNet
confidence 95% ¡ We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets
PairIT â evaluatedon â Therapeutics Data Commons
confidence 95% ¡ We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets
PairIT-Beam â isvariantof â PairIT
confidence 95% ¡ We refer to this variant as PairIT-Beam.
PairIT-RL â isvariantof â PairIT
confidence 95% ¡ we further explore reinforcement learning (RL) post-training... which we refer to as PairIT-RL.
PairIT â pretrainedon â ZINC-250K
confidence 95% ¡ we first pretrain PairIT on ZINC-250K [Irwin et al., 2012] before fine-tuning on each target dataset.
PairIT â trainson â SMILES
confidence 95% ¡ autoregressive transformers over SMILES sequences
PairIT â uses â Autoregressive Transformer
confidence 95% ¡ PairIT, a flexible training framework for autoregressive transformers over SMILES sequences
PairIT â comparedwith â GeLLM4O-C
confidence 90% ¡ GeLLM4O-C [Dey et al., 2025] is the closest language-model baseline.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Generating novel molecules with desired properties is a central challenge in drug discovery. Although foundational work focused on de novo generation, practical use cases require a more complex setting: conditioning on an initial seed molecule, optimizing multiple properties, and operating in data-sparse regimes. We introduce PairIT, a flexible training framework for autoregressive transformers over SMILES sequences that enables seeded generation by learning from pairs of structurally similar molecules. By leveraging matched pairs, the model learns to generate local, chemically meaningful edits that improve a property of the seed molecule. Prompt tokens extend this framework by specifying the target property, desired direction, and approximate magnitude of change. Multiple prompt tokens can be concatenated to enable multi-property optimization at inference time. For properties where pair supervision alone is insufficient, reinforcement learning post-training can further improve optimization, providing a tunable trade-off between proximity to the seed and the optimization objective. PairIT naturally supports pretraining on a large dataset and fine-tuning on a smaller dataset, which is critical for performance in data-sparse regimes. Surprisingly, we observe diminishing returns to the scale of the pretraining dataset. We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets that, with appropriate paired-data curation, a standard transformer model of modest size (68M parameters) can achieve robust seeded molecular optimization in low-data regimes.
Tags
Links
- Source: https://arxiv.org/abs/2610.19123v1
- Canonical: https://arxiv.org/abs/2610.19123v1
Trouble viewing inline? Open PDF directly â
Full Text
127,003 characters extracted from source content.
Expand or collapse full text
PairIT: Autoregressive Transformers for Low-Data Molecule Optimization Hannah Lawrence 1,2 Bodhi P. Vani 1 Ji Won Park 1 Natasa Tagasovska 3 Samuel Don Stanton 4 Andrew Martin Watkins 1 Michael Maser 1 Ewa M. Nowara 1,â 1 Genentech, South San Francisco, CA, USA 2 Massachusetts Institute of Technology, Cambridge, MA, USA 3 Prescient Design, Genentech, Basel, Switzerland 4 Prescient Design, Genentech, New York, NY, USA â Corresponding author: nowara.ewa@gene.com Abstract Generating novel molecules with desired properties is a central challenge in drug discovery. Although foundational work focused on de novo generation, practical use cases require a more complex setting: conditioning on an initial seed molecule, optimizing multiple properties, and operating in data-sparse regimes. We introduce PairIT, a flexible training framework for autoregressive transformers over SMILES sequences that enables seeded generation by learning from pairs of structurally similar molecules. By leveraging matched pairs, the model learns to generate local, chemically meaningful edits that improve a property of the seed molecule. Prompt tokens extend this framework by specifying the target property, desired direction, and approximate magnitude of change. Multiple prompt tokens can be concatenated to enable multi-property optimization at inference time. For properties where pair supervision alone is insufficient, reinforcement learning post-training can further improve optimization, providing a tunable trade-off between proximity to the seed and the optimization objective. PairIT naturally supports pretraining on a large dataset and fine-tuning on a smaller dataset, which is critical for performance in data-sparse regimes. Surprisingly, we observe diminishing returns to the scale of the pretraining dataset. We demonstrate empirically on MoleculeNet and Therapeutics Data Commons datasets that, with appropriate paired-data curation, a standard transformer model of modest size (68M parameters) can achieve robust seeded molecular optimization in low-data regimes. 1 Introduction Generative models enable efficient exploration of chemical space, making them increasingly important tools for molecular discovery [Bohacek et al., 1996]. In practical drug discovery, an important task is molecular optimization. The goal is to propose small, local modifications to a known seed molecule that improve one or more (bio)chemical properties. Maintaining structural similarity to a seed molecule increases the likelihood of preserving biological function [Bender and Glen, 2004]. However, Generative AI tools were used to assist with manuscript editing and formatting, and with code development and debugging. All AI-assisted outputs were reviewed and verified by the authors. Code is available at https://github.com/prescient-design/pairit. arXiv:2610.19123v1 [cs.LG] 13 Oct 2026 property idsigned delta bin â¨prop i âŠâ¨prop i = ¹Πi ⊠Figure 1: Overview of PairIT. We (1) construct training pairs of structurally similar molecules with differing property values and (2) train an autoregressive transformer to predict the target SMILES given the seed SMILES and structured property-control prompt tokens. (3) At inference time, the model generates property-improved candidates from a new seed and prompt. Multiple prompt blocks can be concatenated for multi-property control. structureâfunction response surfaces are notoriously jagged [Aldeghi et al., 2022]; molecules differing by even a single atom may have drastically different properties, making optimization challenging. In practice, computational and medicinal chemists often approach this problem through local molecular edits informed by cheminformatics tools and domain expertise [Kramer et al., 2014]. A full discovery campaign has an âouter loopâ in which candidates are synthesized and experimentally measured and an âinner loopâ in which candidates are proposed and scored against a surrogate model. We focus on seeded generation 0 in this âinner loopâ, in the scarce-label regime common in early-stage discovery, where experimental measurements are expensive and datasets often contain only hundreds to thousands of labeled molecules [Wu et al., 2018]. While substantial prior literature exists on molecular optimization, the small-dataset regime re- mains under-addressed, with few works evaluating seeded optimization on biological properties. Many recent models are developed and evaluated either in de novo settings, where there is no seed molecule [Pinheiro et al., 2023, Joshi et al., 2025, Xu et al., 2023], or with far more labeled data than is typically available in early-stage discovery [Dey et al., 2025, Lee et al., 2025, Jin et al., 2020]. In contrast, we focus on seeded optimization in the low-data regime. Generated molecules must remain close enough to the seed to preserve relevant structure while introducing enough novelty to improve the desired property. Moreover, constraining generation to a local search space is restrictive, by definition: the model must introduce enough novelty to improve the requested properties while still remaining close to the seed, and such conditioning can collapse toward near-reconstruction rather than diverse one-to-many outputs [Kumar et al., 2024]. In small labeled datasets, limited examples further increase the risk of overfitting and memorized edits [Wu et al., 2018]. Yet even small datasets can contain useful local structureâproperty relationships, motivating training objectives that expose these transformations directly. One way to expose such local transformations directly is to match structurally similar molecules from a dataset and train the model to âtranslateâ from one molecule to the other. If the pairs are directed so that the target molecule has an improved value for a property of interest, the model learns local, property-improving edits. For example, Damani et al. [2019] apply this sequence-to-sequence approach to small-molecule optimization, while Tagasovska et al. [2024], Pinheiro et al. [2025], Chen et al. [2025] use related pair-based approaches for protein sequence optimization. Recent work also applies pair-based training to large language models for controllable molecular optimization [Dey et al., 2025]. We propose PairIT (Figure 1), a decoder-only autoregressive transformer over SMILES 1 trained on matched seedâtarget pairs of structurally similar molecules with differing properties. The base model learns to generate local, property-improving edits directly from pair supervision. To extend optimization beyond the property changes learned in a single generation step, we also consider iterative re-seeding, in which high-scoring generations are fed back to the model as new seeds for further optimization. We refer to this variant as PairIT-Beam. For properties that remain difficult to optimize from pair supervision alone, we further explore reinforcement learning (RL) post-training 0 In this work, we use the terms molecular optimization and seeded generation interchangeably, and likewise for seed molecule and input molecule. 1 SMILES strings are text representations of molecular structure [Weininger, 1988]. 2 with a property-model reward when a reliable property predictor is available, which we refer to as PairIT-RL. However, pair-only approaches tie the optimization objective to the constructed pair set. Changing the target property or direction, or composing multiple objectives, can require constructing new pairs and retraining. This becomes increasingly restrictive in small datasets, where suitable pairs for specific combinations of property changes may be sparse or absent. To provide finer control over how much a seed property is changed, we additionally introduce structured control tokens specifying the property, direction, and approximate magnitude of change. This also extends naturally to multi-property optimization, where constructing similar pairs that improve several properties simultaneously can be especially difficult in very small datasets. Multiple property prompts can instead be composed at inference time without constructing a separate pair set and retraining for each combination. Because the downstream pair sets are very small, we first pretrain PairIT on ZINC-250K [Irwin et al., 2012] before fine-tuning on each target dataset. This raises two practical questions, whether the gains come simply from molecular pretraining or specifically from pretraining on directed pairs, and how much paired pretraining is needed in terms of pair diversity and training duration. We therefore compare no pretraining, single-molecule pretraining, and directed-pair pretraining, vary the amount and diversity of paired data, and track validation and downstream performance over the course of training. We find that directed-pair pretraining outperforms pretraining on individual molecules, but that its benefits emerge surprisingly early, with the best validation checkpoint reached before one full epoch over the pair dataset. We study this behavior with training-dynamics and data-scale ablations, finding that repeated molecular coverage across many pairs helps explain the early saturation and that additional pair data yield diminishing returns. PairIT deliberately combines existing components in a way tailored to low-data seeded molecular optimization, rather than introducing a new architecture or dataset. Rather than relying on a large general-purpose language model, we use a compact 68M-parameter transformer with molecule- specific tokenization, matched-pair construction, and the training and inference strategies described above. We evaluate this setting on MoleculeNet, where, to our knowledge, seeded generation has not previously been studied systematically. We formulate the task, define metrics that capture property improvement, novelty, and fidelity to the seed, and compare to diverse baseline methods under the same limited-data setting. Our main contributions are (i) a compact 68M-parameter matched-pair autoregressive model for low-data seeded molecular optimization that is competitive with substantially larger or more elaborate baselines; (i) iterative re-seeding and optional RL post-training that can further improve property optimization when additional inference compute or a reliable property predictor is available; (i) structured property-control tokens that provide control over the direction and magnitude of property change and support multi-property optimization without retraining for each objective combination; and (iv) an analysis of paired-pretraining dynamics showing that pair structure provides benefits beyond exposure to the same molecules individually, and characterizing why useful pretraining can emerge before a full pass over the pair dataset. 2 Related Work The methods most closely related to our approach are matched-pair methods for seeded molecular optimization. PropEn [Tagasovska et al., 2024] is a non-autoregressive encoder 2 trained to predict the output sequence in a pair; the authors show that this objective approximates the property- gradient direction. Follow-up work extends the framework to conditional density estimation [Pinheiro et al., 2025] and multi-objective optimization via a non-domination ranker applied during pair construction [Tagasovska et al., 2025, Park et al., 2024]. Earlier small-molecule work frames optimization as graph-to-graph or sequence-to-sequence translation [Jin et al., 2019, 2020, Kim et al., 2025]; Damani et al. [2019] introduce recursive inference, in which generated molecules are repeatedly fed back as inputs. GeLLM4O-C [Dey et al., 2025] is the closest language-model baseline. It instruction-tunes 7â 8B-parameter LLMs on approximately 256K molecule pairs with natural-language instructions specifying which properties to improve or maintain. PairIT similarly makes the requested property 2 While Tagasovska et al. [2024] describe their architecture as encoder-decoder, they do not use an autoregressive decoder, which is the more common usage of the term today. 3 change explicit at inference time, but uses structured control tokens in a compact 68M-parameter autoregressive SMILES transformer rather than a general-purpose natural-language LLM, with only 88â662 downstream fine-tuning pairs per MoleculeNet task. Other molecular language-model work includes DrugAssist [Ye et al., 2023] and SmileyLlama [Cavanagh et al., 2024]. RL provides another route for molecular optimization. REINVENT [Olivecrona et al., 2017], LLOME [Chen et al., 2025], and MOLRL [Haddad et al., 2025] apply reinforcement learning to molecular or biological sequence generation under property-based rewards. Preference optimization, including DPO [Rafailov et al., 2023], provides a related pairwise-learning approach, with multi- objective and molecular extensions [Xiong and Singh, 2025, Zhou et al., 2024, Yang et al., 2024, Gupta et al., 2025, Park et al., 2023, Calanzone et al., 2025]. Appendix C compares the training signal of PairITâs conditional likelihood objective with DPO as pair differences increase. Property-model-guided search provides a complementary approach, including latent-space Bayesian optimization [GĂłmez-Bombarelli et al., 2018, Lee et al., 2025] and gradient-based steering [Lee et al., 2023]. These methods could in principle be combined with PairIT, while vanilla PairIT learns the optimization objective from paired data and does not require a property oracle in the generation loop. 3 Proposed Method: PairIT LetD =(x i ,y i ) n i=1 be a dataset of molecules, where eachx i is a molecular representation (e.g., SMILES string) andy i â Yis its property, which may take discrete, continuous, or mixed values. We refer to the unknown property function asg :X âYsuch thaty i = g(x i ). Our goal is seeded molecular generation: given an initial moleculex, we seek to generate one or more candidate moleculesx Ⲡsuch thats(x Ⲡ,x)⼠Ďandg(x Ⲡ) > g(x), wheres(¡,¡)is a molecular similarity measure (e.g., Tanimoto similarity) andĎis the chosen similarity threshold. This formulation reflects a realistic task in drug discovery where the aim is to propose local, structure-preserving modifications that improve a property of interest while remaining in the chemical neighborhood of the input molecule. During training, we instantiate this objective with directed matched seed-target pairs; the corresponding dataset-specific pair-construction procedures are described in Section 4. 3.1 PairIT objective and interpretation Given a seed moleculexand optional conditioning variablesc, PairIT models a conditional distribu- tionq θ (x Ⲡ| x,c)over target moleculesx Ⲡ, represented as SMILES strings. Letp pair (x,x Ⲡ,c)denote the empirical distribution over the directed training pairs introduced above. PairIT parameterizes an autoregressive distribution over the target SMILES sequencex Ⲡ= (x Ⲡ1 ,...,x ⲠT ) , whereTis the target length in tokens: q θ (x Ⲡ| x,c) = Q T t=1 q θ (x Ⲡt | x Ⲡ<t ,x,c). Trainingminimizestheconditionalnext-tokennegativelog-likelihood,L(θ)= âE (x,x Ⲡ,c)âźp pair [logq θ (x Ⲡ| x,c)]. Becausep pair is supported on directed pairs that are both structurally similar and property-improved, minimizing this objective fitsq θ (x Ⲡ| x,c)to the empirical distribution of local property-improved neighbors ofx. Thus, pair construction encodes both structural locality and the desired direction of property change, while the conditional model allows multiple plausible improved targets per seed. PairIT provides a base matched-pair generator that can be extended in two complementary ways: iterative re-seeding or RL post-training can strengthen property optimization, while structured prompts provide explicit control over which properties should change and by how much. 3.2 PairIT implementation and variants Model architecture. PairIT uses a 68M-parameter decoder-only autoregressive transformer over SMILES strings, instantiated with a Llama-style architecture [Touvron et al., 2023] and adapted for molecular sequence generation following prior implementations [Frey et al., 2024, Ismail et al., 2025]. We deliberately use a small model: SMILES generation has a substantially narrower vocabulary than natural language, and our model-size ablation shows little benefit from scaling across the 11Mâ200M range tested (Appendix B.2). For paired training, we concatenate seed and target SMILES separated by a<sep>token, with generation conditioned on the seed. Full architecture and training details are in Appendix B.1. 4 PairIT and iterative PairIT-Beam. Vanilla PairIT samples property-improved candidates directly from the matched-pair model. PairIT-Beam additionally applies iterative refinement: at each of three rounds, it generates 8 candidates per seed and retains the top 4 as seeds for the next round, yielding up to 72 candidates per original seed. This follows the recursive-inference idea of Damani et al. [2019]. PairIT-RL. When pair supervision alone provides insufficient signal for property improvement, we optionally post-train PairIT using a property model as a reward. We use Group Relative Policy Optimization (GRPO) [Shao et al., 2024] with a property-model-based reward and seed-similarity regularization to limit exploitation of the surrogate model. Full reward and training details are provided in Appendix F. 3.3 Prompt-conditioning Single-property conditioning. Without prompting, the desired property change is implicit in each training pair. To make this control explicit, we prepend structured property tokens to the seed molecule [Kotsias et al., 2020]. For a single conditioned property, the prompt specifies the property identity and a signed delta bin: the sign gives the desired direction and the bin magnitude gives the approximate requested change. Prompting changes only the conditioning sequence and training uses the same autoregressive objective as above. Multi-property conditioning. The same mechanism extends directly to multiple properties by concatenating one prompt block per requested property. During pretraining, a generic target slot can be trained using available properties and reassigned to a new downstream property during fine-tuning. For example, we pretrain on ZINC-250K using only RDKit properties and assign the generic target slot to the downstream MoleculeNet property during fine-tuning. We also apply property dropout during training so that subsets of the trained properties can be specified at inference time. 4 Experimental Results Datasets and pair construction.We evaluate on three low-data MoleculeNet benchmarks (BACE, BBBP, HIV) using the class-balanced splits of GraphDiT [Liu et al., 2024] which are binary tasks corresponding toβ-secretase 1 inhibition, bloodâbrain barrier permeability, and HIV antiviral activity, respectively. We additionally evaluate on hERG [Wang et al., 2016], a low-data toxicity task from Therapeutics Data Commons (TDC) [Huang et al., 2021] (Appendix D.6). For auxiliary pretraining, we construct ZINC-250K pairs by 2D Tanimoto similarity on Morgan fingerprints (ECFP4), directed toward a minimum logP improvement ofâlogP > 1, using 100 target neighbors per seed. For MoleculeNet fine-tuning, we construct matched molecular pairs (MMPs) using the mmpdbtoolkit [Dalke et al., 2018], directed from inactive (class 0) to active (class 1) molecules. The resulting MoleculeNet training sets contain only 88â662 pairs from 517â1,420 molecules per dataset. Full pair construction details, including the rationale for the dataset-specific pairing strategies, and dataset statistics are in Appendix B.4. Inference and evaluation. Each method produces 64 candidates per seed (PairIT-Beam: up to 72). We canonicalize and deduplicate the candidates, then rank them using validity and novelty together with property predictions from the random forest used in GraphDiT [Liu et al., 2024] and Tanimoto similarity to the seed, retaining the top five candidates per seed for each method. These top-five selections are then independently scored with MiniMol [Kläser et al., 2024] for the final reported results. Both property models are trained only on the corresponding MoleculeNet training splits. The same random forest is also used for NF-BO search, PairIT-Beam refinement, and PairIT-RL rewards. Agreement between the property predictions of these two oracles on held-out MoleculeNet test molecules and on generated molecules is analyzed in Appendix B.5.1. Inference uses temperature 0.5; see Appendix B.3 for a hyperparameter sweep. Baselines. We compare against seeded generation baselines spanning hierarchical graph-to- graph translation (HierG2G) [Jin et al., 2020], discrete diffusion SchrĂśdinger bridge matching (DDSBM) [Kim et al., 2025], latent Bayesian optimization with normalizing flows (NF-BO) [Lee et al., 2025], and the 7B-parameter instruction-tuned LLM GeLLM4O-C [Dey et al., 2025]. We also include MMP enumeration [Kramer et al., 2014] as a non-learning local-edit reference and GraphDiT [Liu et al., 2024] as a de novo reference baseline. HierG2G and DDSBM are pretrained on the same ZINC-250K pair sets as PairIT; NF-BO uses the released GuacaMol checkpoint [Brown 5 0255075100 MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL (a) BACE n=135 0255075100 % of test seeds BBBP n=88 0255075100 HIV n=231 0.0 0.4 0.8 (b) BACE 0.0 0.4 0.8 SNN BBBP 0255075100 VIN (%) 0.0 0.4 0.8 HIV # VIN out of 5 0 / 5 1 / 5 2 / 5 3 / 5 4 / 5 5 / 5 Method MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL # VIN out of 5 0 / 5 1 / 5 2 / 5 3 / 5 4 / 5 5 / 5 Method MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL Figure 2: MoleculeNet seeded bioactivity optimization. (a) Per-seed VIN (valid, novel, improved) distribution: each stacked bar gives the percentage of seeds for whichkof 5 retained generations are valid, novel, and improved. (b) Aggregate VINâSNN (similarity to nearest neighbor in the target class) tradeoff across methods. Figure 3: Example generations from PairIT and baselines. Leftmost column: the class-0 seed, rightmost column: the corresponding ground-truth class-1 MMP partner from the test set. Green = predicted class probability> 0.5 (success); red = seed duplicate. et al., 2019]. 3 All baselines are finetuned on the same MoleculeNet pairs as PairIT after pretraining. GeLLM4O-C uses the released 7B Mistral backbone with task-specific LoRA fine-tuning. Full baseline implementation details are in Appendix B.6. Metrics. We report Valid (RDKit-parseable), Novel (absent from the fine-tune training set), Improved (class-1 generation from a class-0 seed on MoleculeNet), QED [Bickerton et al., 2012], Unique (distinct canonical SMILES across retained generations), and Diverse (within-seed scaffold diver- sity). Our aggregate metric VIN is the fraction of the top-5 retained generations per seed that are simultaneously Valid, Novel, and Improved. SNN is the mean Tanimoto similarity to the nearest target-class (class-1 for MoleculeNet corresponding to active molecules) training molecule over valid, non-memorized generations, measuring proximity to known target-class chemical space. Ap- pendix B.5 provides a broader distributional evaluation of the generated molecules relative to the target-class chemical space using additional metrics including average Tanimoto similarity to the seed, FrĂŠchet ChemNet Distance, fragment and scaffold similarity, and atom type coverage, allowing generation quality to be interpreted beyond the main VINâSNN results. 4.1 Single-property optimization from pair supervision. We first evaluate local single-property bioactivity optimization from class-0 seeds, with the goal of generating class-1 molecules, without prompting. Figure 2 summarizes the per-seed VIN distribution and aggregate VINâSNN tradeoff. Full VINâseed-similarity distributions are shown in Appendix D.3 and additional failure-mode and pair-filtering analyses are in Appendices D.4 and E.4, respectively. Across MoleculeNet, PairIT and PairIT-Beam are competitive with the strongest baselines on BACE and substantially outperform them on BBBP, despite PairIT using 64 samples per seed versus 500 3 On BACE, the train-only Random Forest predicts zero class-1 probability for every class-0 test seed, causing NF-BOâs GP surrogate to fail. Observation jitter did not resolve the issue, so we rerun NF-BO using a Random Forest trained on the full dataset, including the test set, giving NF-BO a slight advantage on BACE. See Appendix B.6. 6 property-model evaluations for NF-BO and only 68M parameters versus 7B for GeLLM4O-C [Dey et al., 2025]. HIV is more challenging for pair supervision in general: PairIT and most baselines are around or below the non-learning MMP baseline (40.4% VIN), which may reflect the greater heterogeneity of the active chemical space and the weaker structural context shared by available pairs. Here PairIT-RL with post-training substantially improves performance to 82.6% VIN. Because RL directly optimizes a learned property model and is therefore more sensitive to oracle quality, we treat PairIT-RL as an optional extension. Full RL training details and analyses are provided in Appendix F. Additional results on hERG, a distinct toxicity dataset from TDC, are reported in Appendix D.6. 4.2 Pretraining ablations and training dynamics We first analyze the effects of pretraining and paired supervision separately. Without any ZINC-250K pretraining, training only on the small MoleculeNet pair sets leads to a large drop in VIN across all three tasks. Failure-mode analysis shows that these models generate many invalid SMILES (Appendix E.1, Figure 18), suggesting that a major role of pretraining in this low-data regime is to learn the SMILES grammar and generate valid molecules before downstream fine-tuning. Pretraining on molecules alone is not sufficient, however. Single-molecule pretraining on the same ZINC-250K distribution underperforms pretraining on directed pairs (Appendix E.1, Table 14). Thus, the benefit is not simply exposure to more molecules; pair supervision additionally teaches the seed-conditioned local transformations beneficial for molecular optimization. Within paired pretraining, performance tends to improve with the number of pairs per seed, although gains are not monotonic and eventually diminish. More diverse pair sets also increase seed similarity and expose the model to more unique molecules. Surprisingly, the useful signal from paired ZINC-250K pretraining saturates very quickly. The best checkpoint by validation loss occurs before one full epoch over the pair dataset. Importantly, a pair epoch is not equivalent to a full pass over the unique molecules: because each molecule can be included in many matched pairs, the model repeatedly encounters the underlying molecules while seeing only a fraction of the constructed pair examples. Appendix E.2 explicitly quantifies the number of unique molecules encountered at the point of early stopping (Figure 19), separating molecular coverage from pair-dataset coverage. Thus, early saturation does not imply that the model has seen little chemical diversity; rather, it suggests that additional pair examples become redundant relatively quickly. Consistent with this, increasing the size of the paired pretraining set yields rapid initial gains followed by diminishing downstream improvement (Figure 4). Once the model has learned to produce valid, similarity-preserving molecular edits, additional exposure to ZINC-250K pair examples appears to provide limited benefit, making aggressive early stopping important. 640 32k 320k 1.0M 10.7M Number of ZINC Pretraining Pairs 20 30 40 50 60 70 BACE Finetune VIN (%) 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of ZINC Molecules Seen Figure 4: Scale of ZINC-250K pretraining dataset vs. downstream fine-tuned BACE per- formance. Saturation before one full epoch of pretraining is visible. Importantly, ZINC-250K pretraining validation loss cor- relates with generation quality on the ZINC-250K vali- dation set (Figure 20) and with downstream BACE VIN after fine-tuning (Figure 21). A similar relationship holds between pretraining validation loss and zero-shot logP optimization on MoleculeNet (Appendix E.6, Fig- ure 24). We therefore select pretraining checkpoints by validation loss rather than training for a fixed number of epochs. 4.3 Prompt-conditioned property control Pair supervision implicitly determines the property changes represented by the training pairs. Prompting instead makes the desired property change explicit by encoding its direction and magnitude in conditioning tokens, allowing finer control over which properties are changed and by how much. We evaluate prompt condi- tioning in three settings, including single-property magnitude control, joint two-property control, and conditioning on many properties simultaneously. 7 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 Actual QED VIN = 52% MSE = 0.041 BACE y = x Mean Âą std 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 VIN = 80% MSE = 0.034 BBBP y = x Mean Âą std 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 VIN = 77% MSE = 0.034 HIV y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 Actual logP VIN = 61% MSE = 1.82 BACE y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 VIN = 69% MSE = 4.09 BBBP y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 VIN = 70% MSE = 2.34 HIV y = x Mean Âą std Figure 5: QED controllability on MoleculeNet, with upward prompts over delta bins in[0, 0.5]. Error bars show standard deviation across 5 generations per seed per bin. Realized changes scale with prompted magnitude, indicating coarse magnitude control. The corresponding logP results are in Appendix G.2 (Figure 37). Table 1: Two-property controllability on MoleculeNet, using 64 raw generations per held-out matched pair without top-five selection. Per-property VIN: is the fraction of all attempts with an applicable nonzero request that are valid, novel, and satisfy that propertyâs criterion. Combined VIN: fraction of generations that are valid, novel, and move in the requested direction on both prompted properties; zero-delta properties impose no condition, only pairs with at least one non-zero change requested are counted. For bioactivity, success means an inactive seed yields a generation with train-only random-forest activity probability greater than 0.5. Random: independently resample each propertyâs signed-bin index uniformly from 00â15 while retaining property identities and block order. Both arms are scored against the original requests to serve as a baseline.â is prompted minus randomized Combined VIN in percentage points, positive â in bold. SettingDataset Combined VIN (%) Per-property VIN (%) Random (%) â Low-correlation pair BACE1213 / 1617-4 BBBP3238 / 3521+11 HIV6470 / 7632+32 QED + logPBACE1922 / 2115+3 BBBP3033 / 4317+13 HIV4255 / 6330+12 QED + bioactivityBACE812 / 107+1 BBBP2631 / 4027-1 HIV863 / 136+2 TPSA + bioactivityBACE1117 / 1312-1 BBBP4853 / 5537+11 HIV876 / 1090 Single-property magnitude control.We first test whether the signed delta token carries information beyond a binary increase-or-decrease signal already available from the training pairs. On the small MoleculeNet datasets, we fine-tune with both orderings of each pair and sweep 16 signed delta bins at inference. Figure 5 shows the QED results: across all three datasets, larger requested increases generally produce larger realized changes. Although the realized changes do not match the requested bins exactly, this suggests that the prompt can support graded control even in the low-data MoleculeNet setting, despite each delta bin being trained on only a small subset of the available examples. Appendix G.2 reports additional single-property results using logP, together with aggregate VIN and MSE values for both QED and logP (Figure 37, Table 15). Two-property control. We next evaluate how well two requested property changes can be com- posed in the same prompt. On ZINC-250K, larger requested changes produce larger realized changes for both prompted properties, showing that graded control is retained under simultaneous conditioning (Appendix G.3, Figure 38). On MoleculeNet, both properties are prompted simultaneously using signed delta bins derived from held-out matched test pairs, which provides chemically realistic requests. Combined VIN is computed by considering every prompt with at least one valid non-zero change and including generations that are valid, novel, and move in the prompted direction for the non-zero change properties. To test whether the model is actually using the conditioning tokens rather than merely reproducing correlations in the paired data, we compare against randomized prompt assignments (Table 1). Prompt-conditioned generation exceeds the randomized-prompt baseline most consistently for de- scriptor pairs selected to have low empirical correlation and for QED+logP, indicating that the model 8 Table 2: Direction adherence under multi-property prompting: fraction of generations whose property delta matches the prompted direction, averaged across the 9 non-activity properties. Higher is better. MethodBACEBBBPHIV PairIT (10-property prompt)0.7730.7390.739 Randomized prompt (control)0.4330.4990.559 can respond jointly to two property instructions. However, joint control involving bioactivity is less reliable. One likely reason is that, unlike continuously valued descriptors such as QED, logP, or TPSA, MoleculeNet bioactivity is binary and therefore provides a much coarser control signal. The small matched-pair datasets also contain relatively few examples of each joint property configuration. We therefore view the bioactivity results as evidence that joint control becomes harder when one objective provides only coarse supervision, rather than as a failure of the prompting mechanism itself. Detailed two-property scatter plots and per-property results are provided in Appendix G.4. Many-property control. Finally, we evaluate whether prompt dependence is retained when the conditioning space becomes substantially larger. We train a single model on nine computable RDKit properties plus a tenth target slot that is assigned to downstream bioactivity during MoleculeNet fine-tuning. With all 10 properties prompted simultaneously, mean direction adherence across the nine non-activity properties reaches 0.739â0.773, compared with 0.433â0.559 under randomized prompts for matching the prompted increase/decrease direction (Table 2). Thus, even in the 10-property setting, the generated edits remain substantially sensitive to the requested property directions rather than ignoring the prompt. Many-property control is nevertheless sensitive to which objectives are included. Appendix G.5 compares the full 10-property prompt with smaller property subsets and evaluates all 9 3 = 84choices of three auxiliary RDKit properties alongside bioactivity. These results show that conditioning on more properties is not necessarily better: performance can improve when the prompt is restricted to a smaller subset, and varies substantially depending on which auxiliary properties are included. 5 Discussion PairIT supports a progression from simple pair-supervised generation to more strongly guided optimization. Vanilla PairIT learns property-improving local edits directly from matched seedâtarget pairs. PairIT-Beam extends this by iteratively re-seeding high-scoring generations, allowing further property improvement at inference time at the cost of additional compute. When a reliable property oracle is available, PairIT-RL can push optimization further, but it is more sensitive to reward-model errors and can exhibit reward hacking under weak similarity constraints. Prompt conditioning adds a complementary form of control by making the desired direction and magnitude of property change explicit and extending the same framework to multi-property optimization. PairIT also provides several ways to trade off property improvement against similarity to the seed. Sampling temperature changes this tradeoff without retraining (Fig. 7), while the similarity-reward weight in PairIT-RL directly controls the balance between property optimization and seed similarity. Pretraining is particularly important in the low-data setting. ZINC-250K pretraining substantially improves reliable molecular generation, while directed-pair pretraining is more effective than pre- training on the same molecules individually. More diverse pretraining pairs also change the locality of the learned edits (Appendix E.1). At the same time, useful paired pretraining saturates quickly. In practice, this makes aggressive early stopping an important part of the training recipe. On the surface, it may appear that the role of specialized domain knowledge has been diminished, yet it reappears in how the optimization problem is defined. The distance function determines what constitutes a âlocalâ molecular edit, the construction of the paired data determines which transformations are learned, the prompted properties determine which objectives can be controlled, and the reward function determines what is optimized during post-training. As machine learning methods become increasingly effective at solving the problems we set before them, it becomes increasingly important that we formulate those problems well. 9 Limitations and broader impact. PairIT addresses the âinner loopâ of generating high-scoring candidates under a scoring model, but lacks âouter loopâ experimental validation. Any property oracle outside the wet lab is imperfect and susceptible to distribution shift, so oracle-dependent components inherit this uncertainty. Performance also depends on training-pair diversity, and multi-property control is less reliable when requested changes conflict with empirical property correlations or are weakly represented in the paired data (Table 1). We do not address synthesizability of generated candidate molecules, which we leave to future work. Generated candidates should be subject to expert review and safety screening before synthesis. 10 References Matteo Aldeghi, David E. Graff, Nathan Frey, Joseph A. Morrone, Edward O. Pyzer-Knapp, Kirk E. Jordan, and Connor W. Coley. Roughness of molecular property landscapes and its impact on modellability. Journal of Chemical Information and Modeling, 62(19):4660â4671, 2022. doi: 10.1021/acs.jcim.2c00903. URL https://doi.org/10.1021/acs.jcim.2c00903. Andreas Bender and Robert C. Glen. Molecular similarity: A key technique in molecular informatics. Organic & Biomolecular Chemistry, 2(22):3204â3218, 2004. G. Richard Bickerton, Gaia V. Paolini, JĂŠrĂŠmy Besnard, Sorel Muresan, and Andrew L. Hopkins. Quantifying the chemical beauty of drugs. Nature Chemistry, 4(2):90â98, 2012. doi: 10.1038/ nchem.1243. Regine S Bohacek, Colin McMartin, and Wayne C Guida. The art and practice of structure-based drug design: a molecular modeling perspective. Medicinal research reviews, 16(1):3â50, 1996. Nathan Brown, Marco Fiscato, Marwin H. S. Segler, and Alain C. Vaucher. GuacaMol: Benchmarking models for de novo molecular design. Journal of Chemical Information and Modeling, 59(3): 1096â1108, 2019. doi: 10.1021/acs.jcim.8b00839. Diego Calanzone, Pierluca DâOro, and Pierre-Luc Bacon. Mol-MoE: Training preference-guided routers for molecule generation. arXiv preprint arXiv:2502.05633, 2025. doi: 10.48550/arXiv. 2502.05633. URL https://arxiv.org/abs/2502.05633. Joseph M. Cavanagh, Kunyang Sun, Andrew Gritsevskiy, Dorian Bagni, Yingze Wang, Thomas D. Bannister, and Teresa Head-Gordon. SmileyLlama: Modifying large language models for directed chemical space exploration. arXiv preprint arXiv:2409.02231, 2024. Angelica Chen, Samuel Don Stanton, Frances Ding, Robert G Alberstein, Andrew Martin Watkins, Richard Bonneau, Vladimir Gligorijevic, Kyunghyun Cho, and Nathan C Frey. Generalists vs. specialists: Evaluating LLMs on highly-constrained biophysical sequence optimization tasks. In International Conference on Machine Learning, pages 9029â9072. PMLR, 2025. Kamran Chitsaz, Roshan Balaji, Quentin Fournier, Nirav Pravinbhai Bhatt, and Sarath Chandar. NovoMolGen: Rethinking molecular language model pretraining. In International Conference on Learning Representations Generative AI and Biology (GenBio) Workshop, 2025. Andrew Dalke, Jerome Hert, and Christian Kramer. mmpdb: An open-source matched molecular pair platform for large multiproperty data sets. Journal of Chemical Information and Modeling, 58 (5):902â910, 2018. doi: 10.1021/acs.jcim.8b00173. Farhan Damani, Vishnu Sresht, and Stephen Ra. Black box recursive translations for molecular optimization. arXiv preprint arXiv:1912.10156, 2019. Vishal Dey, Xiao Hu, and Xia Ning. Large language models for controllable multi-property multi- objective molecule optimization. arXiv preprint arXiv:2505.23987, 2025. Nathan C Frey, Taylor Joren, Aya Abdelsalam Ismail, Allen Goodman, Richard Bonneau, Kyunghyun Cho, and Vladimir Gligorijevic. Cramming protein language model training in 24 GPU hours. In ICML 2024 Workshop on Efficient and Accessible Foundation Models for Biological Discovery, 2024. Rafael GĂłmez-Bombarelli, Jennifer N Wei, David Duvenaud, JosĂŠ Miguel HernĂĄndez-Lobato, BenjamĂn SĂĄnchez-Lengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D Hirzel, Ryan P Adams, and AlĂĄn Aspuru-Guzik. Automatic chemical design using a data-driven continuous representation of molecules. ACS central science, 4(2):268â276, 2018. Raghav Gupta, Ryan Sullivan, Yunxuan Li, Samrat Phatale, and Abhinav Rastogi. Robust multi- objective preference alignment with online DPO. Proceedings of the AAAI Conference on Artificial Intelligence, 39(26):27321â27329, 2025. doi: 10.1609/aaai.v39i26.34942. URLhttps://ojs. aaai.org/index.php/AAAI/article/view/34942. 11 Ragy Haddad, Eleni E. Litsa, Zhen Liu, Xin Yu, Daniel Burkhardt, and Govinda Bhisetti. Targeted molecular generation with latent reinforcement learning. Scientific Reports, 15(1):15202, 2025. doi: 10.1038/s41598-025-99785-0. Emiel Hoogeboom, VÄąctor Garcia Satorras, ClĂŠment Vignac, and Max Welling. Equivariant diffusion for molecule generation in 3D. In International conference on machine learning, pages 8867â8887, 2022. Kexin Huang, Tianfan Fu, Wenhao Gao, Yue Zhao, Yusuf Roohani, Jure Leskovec, Connor W. Coley, Cao Xiao, Jimeng Sun, and Marinka Zitnik. Therapeutics data commons: Machine learning datasets and tasks for drug discovery and development. Proceedings of Neural Information Processing Systems, NeurIPS Datasets and Benchmarks, 2021. Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normaliza- tion. In Proceedings of the IEEE international conference on computer vision, pages 1501â1510, 2017. John J Irwin, Teague Sterling, Michael M Mysinger, Erin S Bolstad, and Ryan G Coleman. ZINC: a free tool to discover chemistry for biology. Journal of chemical information and modeling, 52(7): 1757â1768, 2012. Aya Abdelsalam Ismail, Tuomas Oikarinen, Amy Wang, Julius Adebayo, Samuel Don Stanton, Hector Corrada Bravo, Kyunghyun Cho, and Nathan C Frey. Concept bottleneck language models for protein design. In The Thirteenth International Conference on Learning Representations, 2025. Wengong Jin, Kevin Yang, Regina Barzilay, and Tommi Jaakkola. Learning multimodal graph-to- graph translation for molecule optimization. In International Conference on Learning Representa- tions, 2019. Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Hierarchical generation of molecular graphs using structural motifs. In International Conference on Machine Learning, pages 4839â4848, 2020. Chaitanya K. Joshi, Xiang Fu, Yi-Lun Liao, Vahe Gharakhanyan, Benjamin Kurt Miller, Anuroop Sriram, and Zachary W. Ulissi. All-atom diffusion transformers: Unified generative modelling of molecules and materials. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 28393â28417. PMLR, 2025. Jun Hyeong Kim, Seonghwan Kim, Seokhyun Moon, Hyeongwoo Kim, Jeheon Woo, and Woo Youn Kim. Discrete diffusion schrĂśdinger bridge matching for graph transformation. In The Thirteenth International Conference on Learning Representations, 2025. Kerstin Kläser, BĹa Ě zej Banaszewski, Samuel Maddrell-Mander, Callum McLean, Luis MĂźller, Ali Parviz, Shenyang Huang, and Andrew Fitzgibbon. MiniMol: A parameter-efficient foundation model for molecular learning. arXiv preprint arXiv:2404.14986, 2024. Panagiotis-Christos Kotsias, Josep ArĂşs-Pous, Hongming Chen, Ola Engkvist, Christian Tyrchan, and Esben Jannik Bjerrum. Direct steering of de novo molecular generation with descriptor conditional recurrent neural networks. Nature Machine Intelligence, 2(5):254â265, 2020. doi: 10.1038/s42256-020-0174-5. URL https://doi.org/10.1038/s42256-020-0174-5. Christian Kramer, Julian E Fuchs, Steven Whitebread, Peter Gedeck, and Klaus R Liedl. Matched molecular pair analysis: significance and the impact of experimental uncertainty. Journal of medicinal chemistry, 57(9):3786â3802, 2014. Manoj Kumar, Neil Houlsby, and Emiel Hoogeboom. Conditional diffusion on web-scale image pairs leads to diverse image variations. arXiv preprint arXiv:2405.14857, 2024. Seul Lee, Jaehyeong Jo, and Sung Ju Hwang. Exploring chemical space with score-based out-of- distribution generation. In International Conference on Machine Learning, pages 18872â18892, 2023. 12 Seunghun Lee, Jinyoung Park, Jaewon Chu, Minseo Yoon, and Hyunwoo J Kim. Latent bayesian optimization via autoregressive normalizing flows. arXiv preprint arXiv:2504.14889, 2025. Gang Liu, Jiaxin Xu, Tengfei Luo, and Meng Jiang. Graph diffusion transformers for multi-conditional molecular generation. Advances in Neural Information Processing Systems, 37:8065â8092, 2024. Ewa Nowara, Pedro O Pinheiro, Sai Pooja Mahajan, Omar Mahmood, Andrew Martin Watkins, Saeed Saremi, and Michael Maser. NEBULA: Neural empirical bayes under latent representations for efficient and controllable design of molecular libraries. In ICML 2024 AI for Science Workshop, 2024. Ewa Nowara, Joshua A Rackers, Patricia Adriana Suriana, Pan Kessel, Max W Shen, Andrew Martin Watkins, and Michael Maser. Do we need equivariant models for molecule generation? In International Conference on Learning Representations Generative AI and Biology (GenBio) Workshop, 2025. Marcus Olivecrona, Thomas Blaschke, Ola Engkvist, and Hongming Chen. Molecular de-novo design through deep reinforcement learning. Journal of Cheminformatics, 9(1):48, 2017. doi: 10.1186/s13321-017-0235-x. Ji Won Park, Natasa Tagasovska, Michael Maser, Stephen Ra, and Kyunghyun Cho. BOtied: Multi- objective bayesian optimization with tied multivariate ranks. In International Conference on Machine Learning, pages 39813â39833. PMLR, 2024. Ryan Park, Ryan Theisen, Navriti Sahni, Marcel Patek, Anna Cicho Ě nska, and Rayees Rahman. Preference optimization for molecular language models. arXiv preprint arXiv:2310.12304, 2023. doi: 10.48550/arXiv.2310.12304. URL https://arxiv.org/abs/2310.12304. William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4195â4205, 2023. Pedro O. Pinheiro, Joshua Rackers, Joseph Kleinhenz, Michael Maser, Omar Mahmood, Andrew Mar- tin Watkins, Stephen Ra, Vishnu Sresht, and Saeed Saremi. 3D molecule generation by denoising voxel grids. Advances in Neural Information Processing Systems, 2023. Pedro O Pinheiro, Pan Kessel, Aya Abdelsalam Ismail, Sai Pooja Mahajan, Kyunghyun Cho, Saeed Saremi, and Natasa Tagasovska. Generative property enhancer: Implicit guided generation through conditional density estimation. In Advances in Neural Information Processing Systems, 2025. Kristina Preuer, Philipp Renz, Thomas Unterthiner, Sepp Hochreiter, and Gunter Klambauer. FrĂŠchet ChemNet distance: a metric for generative models for molecules in drug discovery. Journal of chemical information and modeling, 58(9):1736â1741, 2018. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Er- mon, and Chelsea Finn.Direct preference optimization:Your language model is secretly a reward model.In Advances in Neural Information Processing Systems, volume 36, 2023.URLhttps://papers.nips.c/paper_files/paper/2023/hash/ a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html. Noam Razin, Sadhika Malladi, Adithya Bhaskar, Danqi Chen, Sanjeev Arora, and Boris Hanin. Unintentional unalignment: Likelihood displacement in direct preference optimization. In The Thirteenth International Conference on Learning Representations, 2025. David Rogers and Mathew Hahn. Extended-connectivity fingerprints. Journal of Chemical Informa- tion and Modeling, 50(5):742â754, 2010. doi: 10.1021/ci100050t. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. doi: 10.48550/arXiv.2402.03300. URL https://arxiv.org/abs/2402.03300. Max W Shen, Ewa Nowara, Michael Maser, and Kyunghyun Cho. Training dynamics of learning 3D-rotational equivariance. arXiv preprint arXiv:2512.02303, 2025. 13 NataĹĄa Tagasovska, Vladimir Gligorijevic, Kyunghyun Cho, and Andreas Loukas. Implicitly guided design with PropEn: Match your data to follow the gradient. Advances in Neural Information Processing Systems, 37:35973â36001, 2024. NataĹĄa Tagasovska, Jan Ludwiczak, Andreas Loukas, Emily K Makowski, Homa Mohammadi- Peyhani, Sai Pooja Mahajan, Karina Zadorozhny, Donald Lee, Allen Goodman, Joshua Yao-Yu Lin, et al. Property enhancerâa data efficient multi-objective approach for functional antibody optimization. bioRxiv, 2025. doi: 10.1101/2025.10.08.681101. URLhttps://w.biorxiv. org/content/10.1101/2025.10.08.681101v1. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, TimothĂŠe Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. LLaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023. Clement Vignac, Nagham Osman, Laura Toni, and Pascal Frossard. MiDi: Mixed graph and 3D denoising diffusion for molecule generation. arXiv preprint arXiv:2302.09048, 2023. Shuangquan Wang, Huiyong Sun, Hui Liu, Dan Li, Youyong Li, and Tingjun Hou. ADMET evaluation in drug discovery. 16. predicting hERG blockers by combining multiple pharmacophores and machine learning approaches. Molecular pharmaceutics, 13(8):2855â2866, 2016. Yuan Wang, Hanna Eckert, and JĂźrgen Bajorath. Apparent asymmetry in fingerprint similarity searching is a direct consequence of differences in bit densities and molecular size. ChemMedChem, 2(7):1037â1042, 2007. doi: 10.1002/cmdc.200700050. David Weininger. SMILES, a chemical language and information system. 1. introduction to method- ology and encoding rules. Journal of chemical information and computer sciences, 28(1):31â36, 1988. Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. MoleculeNet: a benchmark for molecular machine learning. Chemical science, 9(2):513â530, 2018. Nuoya Xiong and Aarti Singh. Projection optimization: A general framework for multi-objective and multi-group RLHF. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 69017â69058. PMLR, 2025. URL https://proceedings.mlr.press/v267/xiong25c.html. Minkai Xu, Alexander S Powers, Ron O Dror, Stefano Ermon, and Jure Leskovec. Geometric latent diffusion models for 3D molecule generation. In International Conference on Machine Learning, pages 38592â38610. PMLR, 2023. Rui Yang, Xiaoman Pan, Feng Luo, Shuang Qiu, Han Zhong, Dong Yu, and Jianshu Chen. Rewards-in- Context: Multi-objective alignment of foundation models with dynamic preference adjustment. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 56276â56297. PMLR, 2024. URLhttps://proceedings. mlr.press/v235/yang24q.html. Geyan Ye, Xibao Cai, Houtim Lai, Xing Wang, Junhong Huang, Longyue Wang, Wei Liu, and Xiangxiang Zeng. DrugAssist: A large language model for molecule optimization. arXiv preprint arXiv:2401.10334, 2023. Zhanhui Zhou, Jie Liu, Jing Shao, Xiangyu Yue, Chao Yang, Wanli Ouyang, and Yu Qiao. Beyond one-preference-fits-all alignment: Multi-objective direct preference optimization. In Findings of the Association for Computational Linguistics: ACL 2024, pages 10586â10613, Bangkok, Thailand, 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.630. URL https://aclanthology.org/2024.findings-acl.630/. 14 Appendix Contents A Related work comparison16 A.1 Selected de novo generation related work . . . . . . . . . . . . . . . . . . . . . .16 B Implementation and evaluation details16 B.1 Model architecture and training hyperparameters . . . . . . . . . . . . . . . . . .16 B.2 Model-size ablation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 B.3 Inference-temperature sweep . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 B.4 Pair construction details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 B.5 Evaluation metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 B.6 Baseline methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 C Theoretical Comparison to DPO24 D Additional seeded-generation results and ablations26 D.1 Detailed MoleculeNet results . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 D.2 Distribution-level results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 D.3 VINâSimilarity trade-offs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 D.4 Failure-mode analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 D.5 Additional generation examples . . . . . . . . . . . . . . . . . . . . . . . . . . .32 D.6 Additional low-data evaluation on hERG . . . . . . . . . . . . . . . . . . . . . . .33 E Pretraining and pair-construction ablations34 E.1 Paired vs. single-molecule vs. no pretraining . . . . . . . . . . . . . . . . . . . .34 E.2 Training dynamics and molecular coverage . . . . . . . . . . . . . . . . . . . . .35 E.3 Validation loss and downstream performance . . . . . . . . . . . . . . . . . . . .36 E.4 Property filtering ablation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 E.5 ZINC-250K logP optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 E.6 Zero-shot logP generalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 F PairIT-RL39 F.1Reward and training details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 F.2Similarity regularization and reward hacking. . . . . . . . . . . . . . . . . . . . .39 F.3Exploratory multi-property RL . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 F.4Representative Generations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 G Prompt-conditioned property control50 G.1 Prompt tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 G.2 Single-property control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 G.3 Two-property control on ZINC-250K . . . . . . . . . . . . . . . . . . . . . . . . .51 G.4 Two-property control on MoleculeNet . . . . . . . . . . . . . . . . . . . . . . . .51 15 G.5 Many-property control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 A Related work comparison Table 3 summarizes how PairIT compares with related molecular generation and optimization methods along the dimensions most relevant to our setting. property model-free denotes methods that do not use iterative property model-guided search during generation. Method Seeded Single Step Multi- Property Small Datasets Property Model-Free Optimization Mechanism GraphDiT [Liu et al., 2024] ĂâAdaLN PropEn [Tagasovska et al., 2024] âĂâPairs LLOME [Chen et al., 2025] âĂâLLM + online black-box optimization NF-BO [Lee et al., 2025] âĂâĂBayesian optimization HierG2G [Jin et al., 2020] âĂâGraph translation DDSBM [Kim et al., 2025] âĂâSchrĂśdinger bridge GeLLM4O-C [Dey et al., 2025] âLLM prompt PairITâOptionalPairs Table 3: Comparison of molecular generation and optimization methods. A.1 Selected de novo generation related work A large body of work targets de novo property-conditioned generation, including equivariant diffu- sion [Hoogeboom et al., 2022, Vignac et al., 2023, Liu et al., 2024], flow-matching [Joshi et al., 2025], walk-jump-style methods [Pinheiro et al., 2023, Nowara et al., 2024], non-equivariant alternatives with augmentation [Nowara et al., 2025, Shen et al., 2025], and SMILES language models [Chitsaz et al., 2025]; property control in these models typically enters through activations (e.g., AdaLN-style modulation [Huang and Belongie, 2017, Peebles and Xie, 2023]) or inputs. B Implementation and evaluation details B.1 Model architecture and training hyperparameters SMILES are tokenized using a regex-based pre-tokenizer that separates chemically meaningful SMILES units, followed by a fixed 1,225-token WordLevel vocabulary. No BPE or learned merges are used. The vocabulary includes the special tokens<cls>,<pad>,<eos>,<unk>,<mask>, and <sep>. All PairIT experiments were run on multi-GPU cluster nodes with NVIDIA B200 GPUs (180 GB per GPU). Pretraining runs took up to 1.5 hours per run. 16 Table 4: PairIT architecture and training hyperparameters for the 68M model used in the main experiments. SettingValue Layers12 Hidden size648 Attention heads12 KV heads12 (MHA) FFN size2,048 Vocabulary size1,225 Maximum sequence length1,024 OptimizerAdamW (β 1 =0.9, β 2 =0.98, Îľ=10 â12 ) Learning rate10 â4 Weight decay0.01 Warmup steps / fraction1,000 steps SchedulerConstant with warmup Batch size64 Gradient accumulation1 PrecisionFP32 Pretraining durationup to 1.5 hours Fine-tuning epochs / stepsBest checkpoint by validation loss Inference temperature0.5 B.2 Model-size ablation We analyze the effect of model scaling on generation quality and find that increasing model size yields little to no improvement across key metrics, including validity, VIN (valid, property improved and novel) fraction, target property optimization, and diversity. Performance plateaus already at medium scales, with the 68M model achieving comparable results to larger models. In contrast, the largest models show an increase in memorization, suggesting overfitting to the training data without meaningful gains in generation quality. Based on this trade-off, we use the 68M model as a practical default. 17 100k1M10M100M Parameters 66 68 70 72 74 76 78 80 82 V,I,N (%) V,I,N 100k1M10M100M Parameters 90 92 94 96 98 Validity (%) Validity 100k1M10M100M Parameters 0.0 0.5 1.0 1.5 2.0 Memorization (%) Memorization 100k1M10M100M Parameters 70 72 74 76 78 80 82 84 LogP Improved (%) LogP Improved 100k1M10M100M Parameters 0.625 0.650 0.675 0.700 0.725 0.750 0.775 0.800 Tanimoto Distance (V,I,N) Tanimoto Distance (V,I,N) 100k1M10M100M Parameters 0.200 0.225 0.250 0.275 0.300 0.325 0.350 0.375 Similarity to Seed Similarity to Seed Best-Checkpoint Metrics by Model Size Figure 6: We observe negligible gains from scaling the model size; larger models show increased memorization, indicating overfitting without performance benefits. B.3 Inference-temperature sweep The temperature is an important sampling parameter for PairIT that must be tuned. We vary the temperature at inference across a range of0.1â1.0. It modulates the randomness of softmax sampling during generation. As shown in Figure 7, lower temperatures reduce diversity and lead to near- repetition of the seed, while higher temperatures increase novelty but degrade validity. Higher temperatures tend to yield larger improvements in the target property, at the cost of reduced fidelity. We use the temperature of 0.5 for all datasets. Figure 7: Inference-time temperature sweep (0.1â1.0) showing the trade-off between diversity and validity: lower temperatures favor similarity to the seed, while higher temperatures increase novelty and property improvement at the cost of validity. 18 Figure 8: Examples of generations with different temperature settings. 19 B.4 Pair construction details For ZINC-250K auxiliary pretraining, we construct directed logP-improvement pairs using 2D Tanimoto similarity [Bender and Glen, 2004] on Morgan fingerprints (ECFP4, radius 2, 2048-bit) [Rogers and Hahn, 2010]. A pair(x,x Ⲡ)is directed from seedxto targetx Ⲡwhen the two molecules are structurally similar andx Ⲡhas higher logP thanx. We use this fingerprint-based pairing on ZINC-250K because it provides dense local neighborhoods and many improving examples per seed, which is useful for learning SMILES syntax and local property-improving edits before downstream fine-tuning. For MoleculeNet fine-tuning and evaluation, we instead construct directed matched molecular pairs (MMPs), which share a common core and differ by a localized fragment replacement [Kramer et al., 2014]. For the binary BACE, BBBP, and HIV tasks, pairs are directed from inactive to active molecules, so the seed is class 0 and the target is class 1. We use MMPs on MoleculeNet to emphasize localized medicinal-chemistry-style edits in the low-data downstream setting, whereas fingerprint similarity is a broader notion of locality and can be affected by fingerprint bit density and molecular size [Wang et al., 2007]. We invokemmpdb fragmentandmmpdb index[Dalke et al., 2018] with default parameters (single-bond cuts), then post-filter to pairs whose seed and target have a heavy-atom ratiomin(|x|,|x Ⲡ|)/ max(|x|,|x Ⲡ|) ⼠0.6to avoid pairing a small seed with a much larger target (or vice versa). For the two- and ten-property signed-prompt models, MoleculeNet fine-tuning instead includes both orderings of every retained training pair, as in the augmented single-property training construction. Property changes are recomputed after swapping seed and target: a nonzero change becomes its negative, whereas a zero change remains zero. This supplies supervision for both signs of observed changes, without requiring every bin to be populated. For signed-prompt ZINC pretraining, we retain the original directed nearest-neighbor pairs without a positive-change filter; the reverse of every pair is not explicitly appended. Table 5: Dataset statistics for fine-tuning and evaluation. Usable pairs are direction-improving transformations retained after filtering and used for fine-tuning. BACE, BBBP, and HIV use matched molecular pairs. For hERG, MMPs are too sparse (41 direction-improving training pairs), so we use Tanimoto-neighbor pairs, yielding 76 usable pairs after filtering. Test seeds are class-0 molecules for MoleculeNet and class-1 molecules (blockers) for hERG BACEBBBPHIVhERG Train/TestTrain/TestTrain/TestTrain/Test Molecules798 / 267517 / 1751,420 / 475414 / 111 Pairs2,546 / 217512 / 401,009 / 1652,865 / 764 Usable pairs662 / 5188 / 14256 / 4676 / â Test seedsâ / 135â / 88â / 231â / 85 20 B.5 Evaluation metrics Additional distributional metrics reported in Tables 10â12 are defined below. Tanimoto similarity to seed (SimSeed,â). Mean Tanimoto similarity between generated molecules and their input seeds, computed using Morgan fingerprints. Higher values indicate greater structural fidelity to the seed. FrĂŠchet ChemNet Distance (FCD,â). Distance between the distributions of generated molecules and reference molecules in the ChemNet feature space [Preuer et al., 2018]. Lower values indicate that the generated set more closely matches the reference distribution. Similarity to nearest neighbor (SNN,â). Mean Tanimoto similarity between each novel valid generated molecule and its nearest neighbor in the target-class training set, computed using Morgan fingerprints. Higher values indicate that generated molecules lie closer to the reference distribution in fingerprint space. Fragment Cosine (â). Cosine similarity between fragment-frequency vectors computed on generated molecules and the reference set. Higher values indicate better agreement in fragment composition. Scaffold Cosine (â). Cosine similarity between BemisâMurcko scaffold-frequency vectors of generated molecules and the reference set. Higher values indicate better agreement in scaffold usage. Coverage (â). Fraction of reference molecules covered by the generated set under the chosen descriptor-space neighborhood criterion. Higher values indicate broader support over the reference distribution. B.5.1 Property-oracle agreement To assess sensitivity to the choice of property oracle, we compare the random-forest and MiniMol predictions on benchmark test molecules and on generated molecules (Table 6). Agreement is consistently higher on benchmark molecules than on generated molecules, with the weakest generated- molecule agreement on HIV. For hERG, classification agreement should be interpreted alongside the correlation metrics because the benchmark test set is class-imbalanced. Table 6: Agreement between the random-forest and MiniMol property oracles. Classification agreement is the fraction of molecules assigned the same active/inactive label by both models. MetricBACEBBBPHIVhERG Benchmark test n molecules261172475111 Pearson r0.7910.8190.5760.783 Spearman Ď0.7870.8250.6160.685 Classification agreement (%)83.584.969.787.6 Generated n molecules1618138937511353 Pearson r0.4380.6310.2900.595 Spearman Ď0.4240.6690.2900.635 Classification agreement (%)63.064.751.971.8 B.6 Baseline methods All baselines use the same task splits, task directions, metrics, and final selection procedure as PairIT; below we report method-specific implementation details. NF-BO. We compare against NF-BO, a normalizing-flow-based Bayesian optimization method that combines a SELFIES-based autoregressive generative model with a Gaussian-process surrogate and trust-region Bayesian optimization. The generative model is an LSTM normalizing flow trained on SELFIES sequences, pretrained on GuacaMol [Brown et al., 2019], and fine-tuned separately for each task. Models were fine-tuned for 50 epochs using Adam with learning rate10 â4 and batch size 32. For BACE, the Random Forest classifier returnsp class 1 = 0for every input class-0 test seed; this drives the initial Gaussian-process fit to a degenerate 1Ă1 kernel with NaN Cholesky, halting BO before any candidate is written. We therefore run NF-BOâs inner BO loop with the Random Forest 21 classifier trained on the full dataset, including training and test sets, for BACE only; this provides sufficient variation in the surrogate scores for BO to proceed. All 64 generations per BACE seed are otherwise produced by the same NF-BO procedure, and are re-scored downstream with the shared MiniMol oracle at evaluation time. BBBP and HIV use the correct train-only Random Forest classifier throughout. At inference time, NF-BO performs iterative Bayesian optimization in the learned latent space with a property model budget of 500 evaluations per seed molecule. A deep-kernel Gaussian-process surrogate is trained for 5 epochs at each iteration on accumulated observations, and candidate molecules are proposed using TuRBO-based Thompson sampling with acquisition batch size 100; the top-10 current observations are used as trust-region centers at each step, and a running top-64 set of valid generations is maintained across the budget. Generated molecules are decoded via SELFIES and filtered for validity. Optimization objectives maximize either logP improvement or predicted class-1 probability, subject to a structural similarity constraint enforced via Tanimoto similarity (Morgan fingerprints, radius 2, 2048 bits) with a minimum threshold of 0.4 and a soft penalty below that threshold. Generation terminates upon exhausting the property model budget. DDSBM (Bridge and SB variants). We compare against DDSBM, a discrete diffusionâbased SchrĂśdinger Bridge model for graph-to-graph molecular transformation. DDSBM operates directly on molecular graphs and learns stochastic forward and reverse diffusion processes that transport molecules from a source distribution to a target distribution using entropy-regularized optimal transport. The model is implemented with a graph transformer backbone. We evaluate two DDSBM variants that differ only in the number of SchrĂśdinger Bridge refinement steps. DDSBM-Bridge performs a single forward training pass from source to target (one outer loop), providing a fast but coarse approximation of the bridge. DDSBM-SB applies 5 outer iterative- proportional-fitting loops, corresponding to 10 training runs alternating backward and forward updates, yielding a tighter approximation to the true SchrĂśdinger bridge at increased computational cost. Both variants are fine-tuned from a ZINC-250K paired pretraining checkpoint (Bridge and SB pretrained checkpoints are kept separate). Each training run is performed for 300 epochs, resulting in 300 and 3,000 effective training epochs for Bridge and SB, respectively. At inference time, generation is performed via 100-step discrete reverse diffusion from the input molecule without explicit similarity constraints or property model budgets. We generate 64 stochastic samples per seed and evaluate generations using the metrics described in Appendix B.5. HierG2G. We compare against Hierarchical Graph-to-Graph (HierG2G), a variational graph trans- lation model that generates molecules by hierarchically assembling substructures into molecular graphs. HierG2G represents molecules using coupled tree and graph representations and performs conditional translation via a hierarchical variational graph neural network. We use the public HierG2G implementation and fine-tune models separately for each task, starting from a checkpoint pretrained on ZINC-250K. For MoleculeNet tasks (BACE, BBBP, and HIV), we fine-tune task-specific translation models for 12 epochs using Adam (learning rate10 â3 , batch size 32, latent dimension 4), following default hyperparameters from prior work. At inference time, conditional translation is performed by sampling multiple candidate molecules per input via stochastic decoding in the learned latent space, with an increased maximum decoding length to reduce fragment generation. We generate 64 candidates per seed molecule using the checkpoint at epoch 11 and evaluate generations using the metrics described in Appendix B.5. MMP baseline. We include a property-aware matched molecular pair baseline (MMP-PROP), a non-learning cheminformatics enumeration method. Starting from each seed molecule, we queried an mmpdbdatabase of matched molecular transformations built from the training set. We augmented the database with training-set property scores from a task-specific classifier, so that each transformation carried an estimated property shift. For each test seed, we first enumerated candidate edits using mmpdb transform âproperty, which ranks transformations by their learned average property change; when needed, we supplemented the candidate pool with additionalmmpdb generatepro- posals. This produced up to 64 candidate molecules per seed. As in the other 64-sample baselines, we then evaluated the candidate pool with the common benchmark metrics and reported the best-5 subset under the same selection procedure used for all methods. 22 GraphDiT. We used the publicly released pretrained GraphDiT checkpoints for the MoleculeNet datasets (BACE, BBBP, and HIV) as released by the original authors, without any retraining or fine-tuning on our side. The pretrained models use dropout for classifier-free guidance regularization during training (drop_condition = 0.01). For generation, we sampled 10,000 molecules per dataset using classifier-free guidance withguide_scale = 2. These generations are de novo samples from random noise and are therefore not conditioned on an input molecule. GeLLM4O-C. We compare against GeLLM4O-C [Dey et al., 2025], an instruction-tuned 7B-parameter Mistral LLM (Mistral-7B-Instruct-v0.3) trained with LoRA adapters on the C- MuMOInstruct multi-property optimization corpus. We use the authorsâ released BBBP, logP, and QED adapters untouched. For BACE and HIV, we fine-tune task-specific LoRA adapters (r= 16,Îą = 16, dropout0.05, targeting q/k/v/o/gate/up/down projections and the LM head; 0.58% trainable parameters, no quantization) using their trainer on directedmmpdbpairs converted to C- MuMOInstruct JSON format (source= inactive molecule,target= active molecule; direction encoded categorically as "increase" via the instruction template, with numeric activity from the RF oracle not surfaced in the prompt). Models were trained with AdamW at learning rate10 â4 , cosine schedule, warmup ratio 0.1, effective batch size 16 (per-device 1 with 16-step gradient accumulation), andcutoff_len=4096. Training usestrain_on_inputs=Falseso loss is computed only on the response SMILES. At inference, we sample 64 candidates per seed via stochastic decoding and evaluate under the shared selection protocol described in Appendix B.5. 23 C Theoretical Comparison to DPO Because PairIT is trained on paired examples, a preference objective such as DPO [Rafailov et al., 2023] is a natural alternative. We instead use conditional likelihood: prior work has found DPO to underperform SFT and SFT followed by RL on related biomolecular sequence-optimization tasks [Chen et al., 2025], and DPOâs contrastive objective can shift probability mass toward outputs outside the observed preference pair [Razin et al., 2025]. Below, we provide a complementary analytical comparison of the training signals produced by the two objectives. We compare DPOâs pair-level parameter gradient to an aggregate tokenwise supervision proxy for PairIT as matched molecules become more different. The comparison is intentionally asymmetric: DPO naturally produces a single sequence-level gradient through one sigmoid margin term, whereas PairIT distributes supervision across multiple edited token positions. Because token-level parameter gradients in PairIT can partially cancel when summed in parameter space, we track an aggregate tokenwise proxy rather than the norm of the full PairIT parameter gradient. Letxdenote the seed molecule,x Ⲡthe matched target molecule, andcthe conditioning information. PairIT is trained with L PairIT (θ) =â logq θ (x Ⲡ| x,c) = T X t=1 â t (θ), â t (θ) :=â logq θ (x Ⲡt | x Ⲡ<t ,x,c).(1) That is, PairIT uses autoregressive cross-entropy with the loss computed only on the target tokens of the second molecule x Ⲡ, conditioned on the seed molecule x and the control tokens c. Note that â θ L PairIT (θ) = T X t=1 â θ â t (θ).(2) These token-level gradients are vector-valued and live in the same shared parameter space, so they may partially cancel. For this reason, we will compare DPOâs pair-level parameter gradient to a tokenwise supervision proxy for PairIT rather than toâĽâ θ L PairIT ⼠directly. Letd tok (x,x Ⲡ)denote a token edit distance betweenxandx Ⲡ, and letE(x,x Ⲡ)â1,...,Tdenote the set of target positions affected by these edits. We assume there exists a constantc edit > 0such that|E(x,x Ⲡ)|⼠c edit d tok (x,x Ⲡ).That is, the number of target positions affected by the edits grows at least linearly with the token edit distance. For DPO, we use the same conditioning input(x,c)and a preference pair(x + ,x â ), wherex + is the preferred output andx â is the less preferred output. In the matched-pair setting,x + corresponds to the improved target molecule x Ⲡ. Letz t (θ)â R V denote the decoder logits at target positiont, whereVis the vocabulary size, and let p t (θ) := softmax(z t (θ)).(3) We measure the PairIT supervision strength by the following aggregate logit-space tokenwise super- vision proxy: S logit PairIT (θ;x,x Ⲡ,c) := X tâE(x,x Ⲡ) â z t â t (θ) 2 .(4) Assume: 1. Non-saturated edited tokens. There existsp max < 1such that for every edited position tâ E(x,x Ⲡ), p t (θ) x Ⲡt ⤠p max .(5) That is, on edited positions, the model is not already assigning probability arbitrarily close to 1 to the correct target token. 2. Bounded score gradients for DPO. There exists M > 0 such that â θ logq θ (z | x,c) ⤠Mfor all relevant (x,c,z).(6) 24 3.Margin growth with pair difference. For a pair consisting of a more preferred outputx + and a less preferred output x â under the same conditioning (x,c), define Z θ := logq θ (x + | x,c)â logq θ (x â | x,c)â logq 0 (x + | x,c) + logq 0 (x â | x,c). (7) Assume there exists Îą > 0 such that Z θ ⼠ιd tok (x + ,x â ).(8) For cross-entropy, the gradient with respect to the logits at position t is â z t â t (θ) = p t (θ)â e x Ⲡt ,(9) where e x Ⲡt â R V is the one-hot vector of the target token x Ⲡt . Therefore, â z t â t (θ) 2 =âĽp t (θ)â e x Ⲡt ⼠2 (10) ⼠(p t (θ)â e x Ⲡt ) x Ⲡt (11) = 1â p t (θ) x Ⲡt (12) ⼠1â p max for every tâ E(x,x Ⲡ).(13) Summing over edited positions gives S logit PairIT (θ;x,x Ⲡ,c)⼠(1â p max )|E(x,x Ⲡ)|.(14) Using|E(x,x Ⲡ)|⼠c edit d tok (x,x Ⲡ), we obtain S logit PairIT (θ;x,x Ⲡ,c)⼠(1â p max )c edit d tok (x,x Ⲡ).(15) Thus, the aggregate logit-space tokenwise supervision proxy grows at least linearly with the sequence difference between the matched molecules. For scalar ordered properties, define the matched-pair property gap as ây pair := g(x Ⲡ)â g(x) > 0.(16) If, in addition, the property gap is controlled by edit size, ây pair ⤠âd tok (x,x Ⲡ),(17) then the PairIT bound implies S logit PairIT (θ;x,x Ⲡ,c)⼠(1â p max )c edit â ây pair .(18) For the DPO preference pair (x + ,x â ), the DPO loss is L DPO (θ) =â logĎ(βZ θ ),(19) whereĎis the sigmoid function andβ > 0is the DPO inverse-temperature parameter. Sinceq 0 is fixed, â θ L DPO (θ) =âβ Ď(âβZ θ ) â θ logq θ (x + | x,c)ââ θ logq θ (x â | x,c) .(20) Using the bounded score-gradient assumption, âĽâ θ L DPO âĽâ¤ 2Mβ e âβZ θ .(21) For the DPO preference pair, define ây DPO := g(x + )â g(x â ) > 0.(22) Likewise, if the DPO margin grows with property gap, Z θ ⼠ιây DPO , then âĽâ θ L DPO âĽâ¤ 2Mβ e âβιây DPO .(23) Takeaway. PairIT uses autoregressive cross-entropy on matched pairs, with the loss computed on the target tokens of the second molecule. As matched molecules become more different, more target positions are affected, so PairIT receives supervision at more edited token positions. This yields an aggregate tokenwise supervision proxy that grows at least linearly with sequence difference. Under the margin-growth assumption above, DPO instead applies a single sigmoid margin term to the entire pair, and the corresponding pair-level parameter gradient becomes exponentially small as the learned preference margin grows. Thus, PairIT is less prone to this particular sequence-level saturation effect. 25 D Additional seeded-generation results and ablations D.1 Detailed MoleculeNet results Figure 9 reports aggregate VIN, SimSeed, and QED with bootstrap confidence intervals. Tables 7â 9 provide the corresponding numeric results. Entries are means across seeds after within-seed canonical-SMILES de-duplication and final top-5 selection; metrics are defined in Appendix B.5. 0 25 50 75 100 VIN (%) 44 33 37 30 32 53 49 55 49 BACE (n = 135) 0 25 50 75 100 27 46 33 0 69 44 87 91 95 BBBP (n = 88) 0 25 50 75 100 40 41 34 1 37 31 34 38 83 HIV (n = 231) 0.00 0.25 0.50 0.75 SNN 0.50 0.35 0.44 0.37 0.29 0.59 0.58 0.60 0.61 0.00 0.25 0.50 0.75 0.29 0.21 0.28 0.00 0.29 0.30 0.32 0.32 0.33 0.00 0.25 0.50 0.75 0.29 0.23 0.29 0.24 0.27 0.30 0.30 0.32 0.34 MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 1.00 QED 0.52 0.58 0.55 0.51 0.51 0.52 0.53 0.52 0.40 MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 1.00 0.44 0.50 0.55 0.47 0.65 0.53 0.67 0.67 0.71 MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 1.00 0.47 0.54 0.57 0.54 0.57 0.49 0.62 0.63 0.60 Figure 9: Aggregate MoleculeNet seeded-generation metrics corresponding to Figure 2. Bars show mean performance across test seeds after within-seed de-duplication and final top-5 selection; error bars are bootstrap 95% confidence intervals over seeds. VIN is the fraction of retained generations that are valid, novel, and improved. Similarity to nearest neighbor (SNN) is computed over novel and valid generations only. QED is the quantitative estimate of drug-likeness. 26 Table 7: MoleculeNet BACE bioactivity improvement (0â 1) under seeded generation. Best 5 of 64 per seed selected after within-seed canonical-SMILES de-duplication, so each retained molecule is distinct within its seed. Per-seed bootstrap 95% CIs for VIN and SNN are shown in Fig. 9. SNN is the mean per-generation Tanimoto to the nearest class-1 training molecule, computed over novel valid generations only. ModelVINQEDValidNovelUnique Diverse Improved SNN MMP 43.560.52100.0099.11100.0038.0044.300.50 GraphDiT â87.32100.0011.28â86.60â DDSBM-Bridge 32.740.58100.0099.85100.0079.0032.890.35 DDSBM-SB 36.590.5592.8997.7792.1546.0041.160.44 HierG2G 30.370.5079.8593.6974.8162.0040.590.37 NF-BO 32.150.51100.00 100.00 100.0074.0032.150.29 GeLLM4O-C 52.590.5196.8992.3596.7442.0060.340.59 PairIT 49.190.5496.7487.9096.0054.0058.800.58 PairIT-Beam 54.520.5394.5288.7194.5251.0065.520.60 PairIT-RL 49.330.3992.30100.0092.3027.0053.450.61 Table 8: MoleculeNet BBBP bioactivity improvement (0â 1) under seeded generation. Best 5 of 64 per seed selected after within-seed canonical-SMILES de-duplication, so each retained molecule is distinct within its seed. Per-seed bootstrap 95% CIs for VIN and SNN are shown in Fig. 9. SNN is the mean per-generation Tanimoto to the nearest class-1 training molecule, computed over novel valid generations only. ModelVINQEDValidNovelUnique Diverse Improved SNN MMP 26.590.4499.55100.0099.5543.0026.710.29 GraphDiT â83.93100.0020.33â82.30â DDSBM-Bridge 45.910.5191.14100.0091.1488.0050.370.21 DDSBM-SB 33.410.5588.8695.9185.9157.0039.680.28 HierG2G 0.000.4720.000.000.00â0.00â NF-BO 68.860.6590.4598.7489.3270.0077.100.29 GeLLM4O-C 43.860.53100.00 100.00 100.0050.0043.860.30 PairIT 87.270.67 94.0999.7693.8678.0092.980.32 PairIT-Beam 90.910.6794.32100.0094.3273.0096.390.32 PairIT-RL 95.000.7199.55100.0099.5566.0095.430.33 Table 9: MoleculeNet HIV bioactivity improvement (0â 1) under seeded generation. Best 5 of 64 per seed selected after within-seed canonical-SMILES de-duplication, so each retained molecule is distinct within its seed. Per-seed bootstrap 95% CIs for VIN and SNN are shown in Fig. 9. SNN is the mean per-generation Tanimoto to the nearest class-1 training molecule, computed over novel valid generations only. ModelVINQED ValidNovelUnique Diverse Improved SNN MMP 40.430.4792.0399.9191.9541.0043.970.29 GraphDiT â80.16 100.0016.55â95.55â DDSBM-Bridge 40.950.5497.6699.9197.6685.0042.020.23 DDSBM-SB 33.940.5687.5397.0386.1561.0040.700.29 HierG2G 0.690.5321.047.001.4771.0047.06 0.24 NF-BO 37.400.5787.0198.3185.5470.0043.720.27 GeLLM4O-C 30.740.4895.7688.1692.7356.0041.550.30 PairIT 33.940.6387.7999.7087.5373.0038.770.30 PairIT-Beam 37.750.6387.36 100.0087.3664.0043.210.32 PairIT-RL 82.600.6097.06 99.8296.8852.0085.250.34 27 D.2 Distribution-level results Tables 10â12 report distribution-level metrics comparing generated molecules to the class-1 train reference set, as the test set is too small to provide a stable comparison and would result in high variance in the estimated metrics. Definitions of these metrics are given in Appendix B.5. Table 10: MoleculeNet BACE bioactivity improvement (0â 1): distribution metrics on best-5-of-64 real-only selection. ModelSimSeedâFCDâFragCosâScafCosâCovâ MMP0.7110.800.920.541.00 DDSBM-Bridge0.2210.320.850.461.00 DDSBM-SB0.4410.160.900.411.00 HierG2G0.3315.560.890.381.00 NF-BO0.3021.190.880.171.00 GeLLM4O-C0.547.160.960.711.00 PairIT0.379.270.960.611.00 PairIT-Beam0.3110.290.930.651.00 PairIT-RL0.2427.470.880.191.00 Table 11: MoleculeNet BBBP bioactivity improvement (0â 1): distribution metrics on best-5-of-64 real-only selection. ModelSimSeedâFCDâFragCosâScafCosâCovâ MMP0.6724.070.880.540.89 DDSBM-Bridge0.1217.610.780.510.89 DDSBM-SB0.3919.130.830.500.89 HierG2Gâ NF-BO0.2712.900.910.740.89 GeLLM4O-C0.5621.060.890.640.89 PairIT0.1716.490.880.720.78 PairIT-Beam0.1219.900.870.710.78 PairIT-RL0.2317.750.880.720.78 Table 12: MoleculeNet HIV bioactivity improvement (0â 1): distribution metrics on best-5-of-64 real-only selection. ModelSimSeedâFCDâFragCosâScafCosâCovâ MMP0.679.440.930.360.73 DDSBM-Bridge0.1713.090.870.350.50 DDSBM-SB0.3310.820.910.410.50 HierG2G0.2845.420.510.050.32 NF-BO0.348.890.940.480.55 GeLLM4O-C0.509.190.930.380.73 PairIT0.2314.910.890.300.45 PairIT-Beam0.1719.640.830.170.41 PairIT-RL0.2418.870.610.370.32 D.3 VINâSimilarity trade-offs Figures 10â12 show the VINâSimSeed trade-off across test seeds. As a random-reference baseline, for each inactive test seed we sample one molecule from the training set, either uniformly from all molecules or from the active class. Mean Tanimoto similarity to the seed is 0.158/0.159 for BACE, 0.109/0.101 for BBBP, and 0.093/0.093 for HIV (random molecule/random active, respectively). Thus, the similarities produced by the generative methods remain well above the random-reference regime. 28 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) MMP 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-Bridge 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-SB 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) HierG2G 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) NF-BO 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) GeLLM4O-C 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-Beam 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-RL BACE Seed mean Figure 10: Scatter plots of VIN vs. SimSeed showing the distribution of all generations for all seeds on BACE. 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) MMP 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-Bridge 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-SB 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) no data HierG2G 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) NF-BO 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) GeLLM4O-C 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-Beam 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-RL BBBP Seed mean Figure 11: Scatter plots of VIN vs. SimSeed showing the distribution of all generations for all seeds on BBBP. HierG2G generations are excluded because they all contain duplicates of the seed. 29 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) MMP 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-Bridge 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) DDSBM-SB 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) HierG2G 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) NF-BO 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) GeLLM4O-C 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-Beam 050100 VIN (%) 0 .25 .50 .75 SimSeed (all valid gens) PairIT-RL HIV Seed mean Figure 12: Scatter plots of VIN vs. SimSeed showing the distribution of all generations for all seeds on HIV. The majority of HierG2G generations contain duplicates of the seed. D.4 Failure-mode analysis Figures 13â15 show the sources of error for generated molecules that do not satisfy VIN. The green segment corresponds to VIN success; the remaining segments indicate why a retained generation was not counted as VIN. Categories are assigned using the priority order shown in the legend, so each generation is counted once. MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of generations 43.6% 32.7% 36.6% 30.4% 32.1% 52.6% 49.2% 54.5% 49.3% BACE Outcome (priority order ) VIN Predicted inactive Memorized from train Duplicate Invalid SMILES Figure 13: Failure-mode breakdown on MoleculeNet BACE. Bars show VIN success in green and the sources of error for generations not counted as VIN. 30 MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of generations 26.6% 45.9% 33.4% 0.0% 68.9% 43.9% 87.3% 90.9% 95.0% BBBP Outcome (priority order ) VIN Predicted inactive Memorized from train Duplicate Invalid SMILES Figure 14: Failure-mode breakdown on MoleculeNet BBBP. Bars show VIN success in green and the sources of error for generations not counted as VIN. MMP DDSBM-Bridge DDSBM-SB HierG2G NF-BO GeLLM4O-C PairIT PairIT-Beam PairIT-RL 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of generations 40.4% 41.0% 33.9% 0.7% 37.4% 30.7% 33.9% 37.7% 82.6% HIV Outcome (priority order ) VIN Predicted inactive Memorized from train Duplicate Invalid SMILES Figure 15: Failure-mode breakdown on MoleculeNet HIV. Bars show VIN success in green and the sources of error for generations not counted as VIN. 31 D.5 Additional generation examples Figure 16 shows additional PairIT and PairIT-Beam generations on BACE, BBBP, and HIV. Figure 16: Additional example generations for MoleculeNet seeded optimization. Generations with predicted class probability greater than 0.5 are highlighted in green and seed duplicates in red. 32 D.6 Additional low-data evaluation on hERG We additionally evaluate on hERG from Therapeutics Data Commons (TDC) [Huang et al., 2021, Wang et al., 2016] as a distinct low-data toxicity endpoint. hERG provides substantially sparser usable pair supervision than BACE. MMPs are especially sparse, yielding only 41 blocker-to-non-blocker training pairs, so we instead use local Tanimoto-neighbor pairs. Of 2,865 initial training pairs, 76 unique direction-improving pairs remain after canonical-SMILES de-duplication andÎľ-filtering (Table 5). This corresponds to approximately 0.18 usable pairs per training molecule, similar to HIV and substantially below BACE (0.83 pairs per molecule). Pairs are directed from blocker to non-blocker. Table 13 reports the resulting seeded-generation performance. Despite the sparse pair supervision, PairIT obtains 72.9% VIN and PairIT-Beam 79.8%, with PairIT- Beam performing on par with the strongest baselines. PairIT-RL does not improve over SFT on this task. hERG also illustrates the importance of considering structural fidelity together with property improvement: MMP and GeLLM4O-C remain substantially closer to the input molecule but achieve much lower VIN, whereas the highest-VIN methods have relatively low SimSeed. Thus, high VIN alone does not imply a localized molecular improvement in this setting. This issue is especially important for hERG, where improvement is defined as blocker-to-non-blocker: methods can achieve high VIN while making large structural departures from the seed. Indeed, HierG2G, DDSBM-SB, and PairIT-Beam all achieve high VIN with SimSeed< 0.2, illustrating that property improvement and localized molecular editing need not coincide. 33 Table 13: Seeded molecular optimization on hERG. SimSeed measures Tanimoto similarity to the input seed among VIN generations. MethodValid %Improved %Novel %VIN %SimSeed MMP91.7610.77100.009.880.74 DDSBM-Bridge100.0019.76100.0019.760.30 DDSBM-SB93.8887.9197.7480.710.19 HierG2G99.0681.6799.76 80.710.14 NF-BO98.5922.3099.5221.880.47 GeLLM4O-C100.0029.18100.0029.180.60 PairIT100.0072.94100.0072.940.20 PairIT-Beam94.1284.75 100.0079.760.13 PairIT-RL99.7640.1999.7640.000.39 E Pretraining and pair-construction ablations E.1 Paired vs. single-molecule vs. no pretraining To isolate the contribution of paired-molecule supervision during ZINC pretraining, we compare PairIT against single-molecule pretraining variants and against no pretraining at all. All variants share the same architecture (CLM-68M) and BACE fine-tuning pipeline; only the ZINC pretraining objective differs. Results are averaged across five replicate training seeds (four for Tanimotok=2; two for the no-pretraining reference). Single-molecule (uniform) refers to pretraining with single molecules from ZINC-250K (not pairs), sampled uniformly at random â the model sees the full ZINC distribution. Single-molecule (Îľ=1 seeds) refers to pretraining with single low-property molecules from ZINC-250K restricted to the subset that appears as a seed molecule in theÎľ=1paired set (i.e. the first elements of the training pairs used for the paired variants). Tanimoto (knbr) refers to pretraining withk-nearest neighbor pairs, where each seed is paired with its up tokTanimoto-nearest neighbors that satisfyâ logP > 1; âall nbrâ uses our default of up to 100 neighbors per seed. Table 14 shows that pretraining on pairs of similar molecules is central to PairIT; single-molecule pretraining from the same dataset is less effective. Performance is not monotonic in the number of neighbors, but more diverse ZINC-250K pairs modestly increase seed similarity and expose the model to more unique molecules before early stopping, motivating our default of up to 100 neighbors per seed. Two failure modes are visible. Single-molecule (uniform) inflates Improved (45.5%) because the model emits seed-agnostic drug-like molecules that the oracle scores as active, but SimSeed collapses to 0.20 and VIN drops to 40.0%. Small-kTanimoto pairing (e.g.,k = 1) keeps generations close to the seed (SimSeed 0.49), but produces enough near-duplicate canonicals that fewer than five unique valid, improved, novel candidates remain to fill the top-5 slots, giving 28.0% VIN. Thus, pretraining with diverse pairs and early stopping is the key component. Table 14: Downstream BACE molecule-improvement with varying ZINC pretraining objectives. Valid, Improved, and Novel are computed over all 64 raw generations per seed, while VIN and SimSeed are computed over the top-5 selected candidates per seed. MethodValid %Improved %VIN %SimSeedNovel % No pretraining40.925.320.00.4236.3 Single-molecule (uniform)75.245.540.00.2074.8 Single-molecule (Îľ=1 seeds)69.337.044.00.2170.0 Tanimoto (1 neighbor)87.744.628.00.4963.5 Tanimoto (2 neighbor)89.242.945.00.5271.0 Tanimoto (3 neighbor)89.039.632.00.5273.2 Tanimoto (5 neighbor)88.842.940.00.5569.3 Tanimoto (10 neighbor)91.241.048.00.5575.8 Tanimoto (20 neighbor)92.036.236.00.5779.0 Tanimoto (all neighbor)91.640.864.00.5679.2 34 Figure 17 compares the main pretrained PairIT variants with a PairIT model trained from random initialization using only the MoleculeNet directed pairs. The no-pretraining model uses the same 68M architecture and the same MoleculeNet fine-tuning data, but does not receive ZINC-250K auxiliary pretraining. Without pretraining, VIN collapses on all three MoleculeNet tasks, indicating that the small MoleculeNet pair sets alone are insufficient for learning valid, property-improving SMILES edits. 0 25 50 75 100 VIN (%) 5 49 55 49 BACE (n=135) 0 25 50 75 100 6 87 91 95 BBBP (n=88) 0 25 50 75 100 1 34 38 83 HIV (n=231) PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 SNN 0.65 0.58 0.60 0.61 PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 0.25 0.32 0.32 0.33 PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 0.00 0.25 0.50 0.75 0.24 0.30 0.32 0.34 No pretraining (from scratch) PairIT (pretrained) PairIT-Beam (pretrained) PairIT-RL (pretrained) Figure 17: Effect of ZINC-250K pretraining on PairIT. Top row: VIN; bottom row: SNN computed over VIN molecules. The no-pretraining model uses the same architecture and MoleculeNet directed pairs as PairIT, but is trained from random initialization. Figure 18 shows that the main failure mode without pretraining is invalid SMILES, whereas the pretrained PairIT variants rarely fail validity. This suggests that pretraining on a moderate-size dataset is necessary for the model to learn the SMILES grammar. PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 0.0 0.2 0.4 0.6 0.8 1.0 Fraction of generations 4.0% 49.2% 54.5% 49.3% BACE (n=135) PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 5.9% 87.3% 90.9% 95.0% BBBP (n=88) PairIT (no pretrain) PairIT PairIT-Beam PairIT-RL 0.5% 33.9% 37.7% 82.6% HIV (n=231) Outcome (priority order â) VIN Predicted inactive Memorized from train Duplicate Invalid SMILES Figure 18: Failure-mode breakdown for the pretraining ablation. Without ZINC-250K pretraining, PairIT is dominated by invalid SMILES; pretrained PairIT variants rarely fail validity. E.2 Training dynamics and molecular coverage 35 Figure 19: Variance in overfitting behavior, and the number of unique molecules seen at the time of overfitting, for different ZINC-based data distributions (pairs with and without property-based filtering, and unconditional single-molecule generation). Dotted lines indicate the point of early stopping, i.e. minimal validation loss. E.3 Validation loss and downstream performance Figure 20: ZINC pretraining validation loss is well-correlated with chemical metrics, specifically its own generation rate of valid, logP-improved molecules, and novel molecules (VIN), justifying our early stopping criterion based on validation loss. 36 0.50.60.70.80.91.01.11.2 ZINC Pretrain Best-Checkpoint Validation Loss 0.2 0.3 0.4 0.5 0.6 0.7 BACE Finetune VIN 640 6.4k 32k 64k 320k 640k 1.0M 3.0M 10.7M ZINC Pretraining Pairs Figure 21: ZINC pretraining validation loss is well-correlated with downstream fine-tuned perfor- mance on BACE, further justifying our early stopping criterion based on validation loss. Here, each point is a separate checkpoint, pretrained on ZINC pair datasets of varying sizes and fine-tuned on the full BACE dataset. E.4 Property filtering ablation We vary the property-filtering cutoff used to construct training pairs and find that more aggressive cutoffs induce correspondingly stronger property changes in the generated molecules, even without prompt conditioning. Figure 22: Filtering with more aggressive property cutoffs results in corresponding learned behavior. (This is in the basic setting without any prompting.) 37 E.5 ZINC-250K logP optimization Figure 23 reports seeded logP optimization on ZINC-250K. PairIT variants differ by the pair- construction thresholdÎľ, defined as the minimum logP increase between the seed and target molecules in a training pair. IncreasingÎľmakes the training pairs more strongly property-improving, which increases the Improved rate but decreases similarity to the seed. Overall, PairIT achieves the strongest joint validânovelâimproved performance at intermediateÎľ, while maintaining high validity and novelty. Figure 23: ZINC-250K logP optimization. Bars report joint validânovelâimproved success (V,N,I), validity, novelty, improvement, and SimSeed. PairIT variants sweep the pair-construction threshold Îľâ0,..., 5; largerÎľcorresponds to training on pairs with larger logP increases. Error bars are bootstrap 95% confidence intervals over seeds. E.6 Zero-shot logP generalization 010000200003000040000 Training Step 0.5 0.6 0.7 0.8 0.9 1.0 V,I,N Fraction (logP) BACE V,I,N Fraction Val Loss (ZINC) 010000200003000040000 Training Step V,I,N Fraction (logP) BBBP 010000200003000040000 Training Step V,I,N Fraction (logP) HIV 0.500 0.525 0.550 0.575 0.600 0.625 0.650 0.675 0.700 Val Loss (ZINC) Fig 2E: Zero-Shot logP Transfer ZINC Checkpoints on MoleculeNet Test Sets Figure 24: A model pretrained to optimize logP on ZINC transfers zero-shot to logP optimization on MoleculeNet. We track this ability over the course of training, and see that it correlates well with the pretraining validation loss. 38 F PairIT-RL F.1 Reward and training details Reward Model For each generationgproduced from seeds, the reward has a gated structure that assigns fixed penalties to degenerate outputs before scoring valid, non-trivial molecules: R gated (g,s) =              â1.0if g is not a valid SMILES â0.5if g = s (exact copy of the seed) â0.5if g âD train (memorised from any training set) â0.5if Tan(g,s) < Ď sim (below similarity gate) r obj (g,s) otherwise. r obj (g,s) = â property model (g,s) + Îť act 1[p property model (g) > 0.5] + w sim Tan(g,s). The first three gates enforce basic quality, assigning fixed penalties to invalid, copied, or memorized outputs rather than property-model rewards. The fourth gate (controlled by thresholdĎ sim â0, 0.2) optionally penalises generations that diverge too far from the seed before any positive reward is computed. For molecules that pass all gates, the reward combines three terms.â propertymodel (g,s) = p propertymodel (g)â p propertymodel (s) is the change in predicted activity probability relative to the seed, rewarding improvement in the target property.Îť act ¡ 1[p propertymodel (g) > 0.5]is a threshold bonus (Îť act = 2.0) for generating molecules the property model classifies as active, providing a discrete incentive beyond the continuousâsignal.w sim ¡ Tan(g,s)rewards structural similarity to the seed, wherew sim is the primary hyperparameter we sweep (w sim â1, 3, 5, 10). This term serves both its obvious purpose â preserving structural fidelity â and an implicit one: keeping generations within the distribution where the activity property model was trained and can be trusted. For multi-property models, the total reward adds a prompt-adherence term: R(g,s) = R gated (g,s) + 2.0¡ R adhere (g,s) whereR adhere averages, over each prompted property, whether the generation changed that property in the prompted direction and by the prompted magnitude. The activity property is not prompted. It is driven entirely by the property model reward â soR adhere covers only the nine RDKit descriptors (logP, QED, SA, MW, TPSA, HBD, HBA, rotatable bonds, fraction sp 3 carbons). The key point is thatw sim andĎ sim are doing the work that KL regularisation alone is insufficient to do. The KL penalty (withβ KL = 0.01) constrains the policy to stay near the SFT distribution in token space, but it doesnât directly constrain the output molecules to stay near the seed in chemical space. The Tanimoto terms provide that constraint explicitly, and the right operating point (w sim = 5, Ď sim = 0.2) is effectively a statement about how far from the seed the property model remains reliable. Training setup. PairIT-RL is initialized from the real-only SFT checkpoint and fine-tuned with GRPO [Shao et al., 2024] separately for each dataset. Common hyperparameters: temperature 1.0, β KL = 0.01, lr = 5Ă 10 â5 , batch size 32, num_gen 8, LoRA rank 16, 10 epochs. F.2 Similarity regularization and reward hacking. Without a similarity penalty (w sim = 0), the policy collapses to property model-fooling attractors at near-zero seed similarity, with BBBP VIN dropping to 0% and HIV VIN to 22%. Settingw sim = 5 recovers seed similarity while maintaining high activity; a hard penalty that rejects generations with Tanimoto < 0.2 works similarly and trades a small amount of activity for greater similarity. F.3 Exploratory multi-property RL We additionally explored a multi-property RL variant initialized from the 10-property SFT model, using the activity reward above together with a prompt-adherence term. We treat this as an exploratory 39 extension rather than part of the primary PairIT-RL evaluation; qualitative examples are shown in Appendix F.4. F.4 Representative Generations F.4.1 Single-property RL SEED improve SFT (real-pair) (50 unique of 64 raw) oracle=0.23 sim=0.28oracle=0.16 sim=0.27oracle=0.20 sim=0.27oracle=0.39 sim=0.27oracle=0.27 sim=0.26 RL sim=1 (7 unique of 64 raw) oracle=0.67 sim=0.21oracle=0.65 sim=0.20oracle=0.81 sim=0.17oracle=0.85 sim=0.17oracle=0.85 sim=0.13 seed: C#Cc1cscc1C(NC1=NC(C)(C)Cc2c(Cl)c21)C(=O)[O-] Figure 25: BACE single-property example, seed 1 of 2. Top row: seed and ground-truth improved partner from the test pair. Each subsequent row: top-5 deduplicated generations for one method. Box color: green = V¡N¡I (validâ§novelâ§improved); orange = V¡I but training-memorized; red = V¡I but seed-copy. 40 SEED improve SFT (real-pair) (16 unique of 64 raw) oracle=0.59 sim=0.48oracle=0.55 sim=0.44oracle=0.52 sim=0.43oracle=0.55 sim=0.43oracle=0.41 sim=0.74 RL sim=1 (5 unique of 64 raw) oracle=0.82 sim=0.44oracle=0.79 sim=0.44oracle=0.85 sim=0.41oracle=0.63 sim=0.38oracle=0.41 sim=0.21 seed: C=C(c1c(C2([NH2+]C[C@@H](O)[C@H](Cc3c(F)c(F)c3)NC( Figure 26: BACE single-property example, seed 2 of 2. Top row: seed and ground-truth improved partner from the test pair. Each subsequent row: top-5 deduplicated generations for one method. Box color: green = V¡N¡I (validâ§novelâ§improved); orange = V¡I but training-memorized; red = V¡I but seed-copy. SEED improve SFT (real-pair) (55 unique of 64 raw) oracle=0.60 sim=0.33oracle=0.65 sim=0.25oracle=0.51 sim=0.24oracle=0.51 sim=0.24oracle=0.57 sim=0.18 RL sim=5 (27 unique of 64 raw) oracle=0.78 sim=0.17oracle=0.67 sim=0.16oracle=0.73 sim=0.15oracle=0.73 sim=0.15oracle=0.81 sim=0.15 RL sim=5+gate=0.2 (25 unique of 64 raw) oracle=0.61 sim=0.22oracle=0.73 sim=0.21oracle=0.60 sim=0.20oracle=0.86 sim=0.17oracle=0.81 sim=0.16 seed: C=C1=C(C(=O)O)N2C(=O)[C@@H](NC(=O)/C(=N (=O)O)c3csc Figure 27: BBBP single-property example, seed 1 of 2. 41 SEED improve SFT (real-pair) (44 unique of 64 raw) oracle=0.53 sim=0.16oracle=0.52 sim=0.15oracle=0.74 sim=0.14oracle=0.69 sim=0.14oracle=0.59 sim=0.14 RL sim=5 (29 unique of 64 raw) oracle=0.86 sim=0.12oracle=0.85 sim=0.11oracle=0.76 sim=0.11oracle=0.75 sim=0.10oracle=0.90 sim=0.10 RL sim=5+gate=0.2 (45 unique of 64 raw) oracle=0.73 sim=0.19oracle=0.65 sim=0.17oracle=0.63 sim=0.16oracle=0.63 sim=0.16oracle=0.72 sim=0.16 seed: C#C[C@]1(O)C[C@H]2[C@@H]3C4=C(=O)C4=C3[C@@H](c3c Figure 28: BBBP single-property example, seed 2 of 2. SEED improve SFT (real-pair) (19 unique of 64 raw) oracle=0.51 sim=0.11oracle=0.13 sim=0.21oracle=0.11 sim=0.19oracle=0.17 sim=0.19oracle=0.37 sim=0.19 RL sim=5 (40 unique of 64 raw) oracle=0.87 sim=0.20oracle=0.84 sim=0.20oracle=0.79 sim=0.19oracle=0.82 sim=0.19oracle=0.76 sim=0.19 seed: C#C1(O)C2C3C4=C4C3C21C Figure 29: HIV single-property example, seed 1 of 2. 42 SEED improve SFT (real-pair) (40 unique of 64 raw) oracle=0.09 sim=0.39oracle=0.08 sim=0.36oracle=0.12 sim=0.36oracle=0.08 sim=0.36oracle=0.08 sim=0.36 RL sim=5 (25 unique of 64 raw) oracle=0.83 sim=0.42oracle=0.80 sim=0.36oracle=0.76 sim=0.25oracle=0.76 sim=0.23oracle=0.76 sim=0.21 seed: C(#CCN1C1)CN1C1 Figure 30: HIV single-property example, seed 2 of 2. 43 F.4.2 Multi-property RL SEED improve GROUND TRUTH (improved partner from test pair) SFT (33 unique of 64 raw) oracle=0.21 sim=0.58oracle=0.19 sim=0.53oracle=0.19 sim=0.48oracle=0.27 sim=0.42oracle=0.25 sim=0.42 RL sim=1 (5 unique of 64 raw) oracle=0.88 sim=0.12oracle=0.89 sim=0.12oracle=0.84 sim=0.11oracle=0.91 sim=0.11oracle=0.92 sim=0.11 RL sim=3 (21 unique of 64 raw) oracle=0.63 sim=0.21oracle=0.52 sim=0.21oracle=0.62 sim=0.19oracle=0.65 sim=0.18oracle=0.80 sim=0.18 RL sim=5, gate=0.2 (9 unique of 64 raw) oracle=0.64 sim=0.14oracle=0.64 sim=0.14oracle=0.66 sim=0.14oracle=0.08 sim=0.39oracle=0.24 sim=0.23 RL sim=10 (19 unique of 64 raw) oracle=0.63 sim=0.17oracle=0.21 sim=0.58oracle=0.19 sim=0.48oracle=0.27 sim=0.42oracle=0.25 sim=0.42 BACE top-5 generations per method (seed: C(=O)Nc1c(Cl)c(CNC(=[NH2+])NC(=O)Cn2c3c(Br)c) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 31: BACE multi-property example, seed 1 of 2. Methods compared: SFT, RLsim=1, RL sim=3, RL sim=5,gate=0.2, RL sim=10. 44 SEED improve GROUND TRUTH (improved partner from test pair) SFT (83 unique of 128 raw) oracle=0.51 sim=0.42oracle=0.51 sim=0.36oracle=0.73 sim=0.17oracle=0.19 sim=0.46oracle=0.20 sim=0.44 RL sim=1 (6 unique of 128 raw) oracle=0.89 sim=0.13oracle=0.88 sim=0.12oracle=0.83 sim=0.12oracle=0.90 sim=0.11oracle=0.91 sim=0.11 RL sim=3 (59 unique of 128 raw) oracle=0.51 sim=0.36oracle=0.69 sim=0.30oracle=0.50 sim=0.28oracle=0.68 sim=0.26oracle=0.80 sim=0.19 RL sim=5, gate=0.2 (23 unique of 128 raw) oracle=0.58 sim=0.15oracle=0.59 sim=0.15oracle=0.77 sim=0.14oracle=0.61 sim=0.13oracle=0.73 sim=0.13 RL sim=10 (56 unique of 128 raw) oracle=0.58 sim=0.25oracle=0.19 sim=0.46oracle=0.09 sim=0.42oracle=0.17 sim=0.41oracle=0.29 sim=0.41 BACE top-5 generations per method (seed: C(=O)Nc1c(Cl)c(CNC(=[NH2+])NC(=O)Cn2c3c(C#N)c) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 32: BACE multi-property example, seed 2 of 2. Methods compared: SFT, RLsim=1, RL sim=3, RL sim=5,gate=0.2, RL sim=10. 45 SEED improve GROUND TRUTH (improved partner from test pair) SFT (29 unique of 64 raw) oracle=0.78 sim=0.35oracle=0.72 sim=0.29oracle=0.77 sim=0.26oracle=0.81 sim=0.23oracle=0.50 sim=0.22 RL sim=1 (7 unique of 64 raw) oracle=1.00 sim=0.04oracle=1.00 sim=0.03oracle=0.95 sim=0.03oracle=0.95 sim=0.03oracle=0.95 sim=0.03 RL sim=3 (21 unique of 64 raw) oracle=0.68 sim=0.36oracle=0.78 sim=0.35oracle=0.77 sim=0.30oracle=0.62 sim=0.21oracle=0.84 sim=0.19 RL sim=5, gate=0.2 (20 unique of 64 raw) oracle=0.58 sim=0.27oracle=0.72 sim=0.15oracle=0.68 sim=0.15oracle=0.71 sim=0.15oracle=0.78 sim=0.15 RL sim=10 (36 unique of 64 raw) oracle=0.74 sim=0.37oracle=0.60 sim=0.37oracle=0.78 sim=0.35oracle=0.69 sim=0.34oracle=0.62 sim=0.33 BBBP top-5 generations per method (seed: C(=O)OCC1=C(C(=O)O)N2C(=O)[C@@H](NC(=O)Cc3cccs3)[) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 33: BBBP multi-property example, seed 1 of 2. 46 SEED improve GROUND TRUTH (improved partner from test pair) SFT (50 unique of 128 raw) oracle=0.60 sim=0.64oracle=0.52 sim=0.62oracle=0.70 sim=0.55oracle=0.59 sim=0.44oracle=0.72 sim=0.39 RL sim=1 (7 unique of 128 raw) oracle=0.95 sim=0.03oracle=0.95 sim=0.03oracle=0.95 sim=0.03oracle=0.95 sim=0.03oracle=0.95 sim=0.03 RL sim=3 (40 unique of 128 raw) oracle=0.60 sim=0.64oracle=0.52 sim=0.62oracle=0.60 sim=0.55oracle=0.70 sim=0.55oracle=0.78 sim=0.49 RL sim=5, gate=0.2 (28 unique of 128 raw) oracle=0.60 sim=0.42oracle=0.57 sim=0.40oracle=0.75 sim=0.34oracle=0.58 sim=0.30oracle=0.55 sim=0.28 RL sim=10 (36 unique of 128 raw) oracle=0.60 sim=0.64oracle=0.52 sim=0.62oracle=0.70 sim=0.55oracle=0.62 sim=0.53oracle=0.78 sim=0.49 BBBP top-5 generations per method (seed: C(=O)Oc1c1C(=O)O) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 34: BBBP multi-property example, seed 2 of 2. 47 SEED improve GROUND TRUTH (improved partner from test pair) SFT (85 unique of 192 raw) oracle=0.57 sim=0.26oracle=0.59 sim=0.24oracle=0.71 sim=0.22oracle=0.59 sim=0.22oracle=0.68 sim=0.22 RL sim=1 (5 unique of 192 raw) oracle=0.96 sim=0.17oracle=0.96 sim=0.17oracle=0.96 sim=0.17oracle=0.96 sim=0.17oracle=0.96 sim=0.17 RL sim=3 (39 unique of 192 raw) oracle=0.76 sim=0.24oracle=0.72 sim=0.24oracle=0.58 sim=0.24oracle=0.57 sim=0.24oracle=0.73 sim=0.22 RL sim=5, gate=0.2 (21 unique of 192 raw) oracle=0.73 sim=0.22oracle=0.78 sim=0.21oracle=0.81 sim=0.21oracle=0.69 sim=0.20oracle=0.78 sim=0.18 RL sim=10 (47 unique of 192 raw) oracle=0.50 sim=0.29oracle=0.65 sim=0.27oracle=0.68 sim=0.27oracle=0.55 sim=0.26oracle=0.76 sim=0.24 HIV top-5 generations per method (seed: C(=NCCSSCCN=Cc1c1)c1c1) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 35: HIV multi-property example, seed 1 of 2. 48 SEED improve GROUND TRUTH (improved partner from test pair) SFT (160 unique of 384 raw) oracle=0.56 sim=0.19oracle=0.52 sim=0.19oracle=0.77 sim=0.15oracle=0.67 sim=0.12oracle=0.69 sim=0.12 RL sim=1 (7 unique of 384 raw) oracle=0.96 sim=0.09oracle=0.96 sim=0.09oracle=0.96 sim=0.09oracle=0.96 sim=0.09oracle=0.96 sim=0.09 RL sim=3 (144 unique of 384 raw) oracle=0.58 sim=0.22oracle=0.56 sim=0.21oracle=0.58 sim=0.21oracle=0.62 sim=0.21oracle=0.64 sim=0.20 RL sim=5, gate=0.2 (50 unique of 384 raw) oracle=0.50 sim=0.31oracle=0.52 sim=0.21oracle=0.56 sim=0.21oracle=0.63 sim=0.20oracle=0.74 sim=0.18 RL sim=10 (112 unique of 384 raw) oracle=0.56 sim=0.21oracle=0.58 sim=0.21oracle=0.58 sim=0.20oracle=0.52 sim=0.19oracle=0.60 sim=0.19 HIV top-5 generations per method (seed: C(C(=O)O)C(C)(O)C(=O)O) Box: green = V¡N¡I (valid novel improved); orange = memorized from training set; red = seed-copy. (Both orange and red would be V¡N¡I if novel.) Figure 36: HIV multi-property example, seed 2 of 2. 49 G Prompt-conditioned property control G.1 Prompt tokens At inference time, the prompt tokens and seed SMILES are provided as context, and generation begins after<sep>. The prompt vocabulary consists of a start-of-prompt marker<pc>, a property identifier such as<p_logp>, and a property-specific signed delta-bin token encoding the desired change. The seed property value is not included in the prompt; direction and approximate magnitude are encoded jointly by the sign and magnitude of the delta bin. G.2 Single-property control 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 Actual QED VIN = 52% MSE = 0.041 BACE y = x Mean Âą std 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 VIN = 80% MSE = 0.034 BBBP y = x Mean Âą std 0.00.10.20.30.40.5 Prompted QED 0.1 0.0 0.1 0.2 0.3 0.4 0.5 VIN = 77% MSE = 0.034 HIV y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 Actual logP VIN = 61% MSE = 1.82 BACE y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 VIN = 69% MSE = 4.09 BBBP y = x Mean Âą std 42024 Prompted logP (signed) 6 4 2 0 2 4 6 VIN = 70% MSE = 2.34 HIV y = x Mean Âą std Figure 37: Single-property controllability on MoleculeNet for both QED and logP. Top: QED, upward prompts over[0, 0.5]. Bottom: logP, bidirectional prompts over[â5, 5]. Error bars show standard deviation across 5 generations per seed per bin. Realized changes scale with prompted magnitude in both cases, indicating coarse magnitude control. The QED-only version of the top row appears in the main body as Figure 5. 50 Table 15: Single-property controllability on MoleculeNet after fine-tuning. VIN is the fraction of valid, novel generations whose property moves in the prompted direction. MSE is computed relative to the midpoint of the prompted delta bin. PropertyDatasetVIN%MSE QED (â only) BACE520.041 BBBP800.034 HIV770.034 logP (bidirectional) BACE611.82 BBBP694.09 HIV702.34 G.3 Two-property control on ZINC-250K Figure 38: Prompted versus realized absolute property change under multi-property conditioning for four selected low-correlation property pairs from ZINC-250K. Each panel corresponds to one property within a pair and plots the prompted absolute delta on the x-axis against the realized absolute delta of the generated molecule on the y-axis; the dashed diagonal indicates perfect agreement. Across all pairs, larger requested edits produce larger realized changes, showing that approximate magnitude control is retained for both properties under simultaneous conditioning, although dispersion increases for large requested deltas and bounded properties such as QED show some saturation. G.4 Two-property control on MoleculeNet The figures below show the full scatter plots for selected low-correlation two-property control and joint QED+logP control. In both cases, both properties are prompted simultaneously using signed delta bins derived from matched test pairs. Each point shows a valid generation; points are not filtered by whether the other property also moves correctly. We selected MW/HBD, TPSA/logP, and HBA/logP as weakly correlated descriptor pairs using Pearson correlations of molecular property values across the pooled ZINC training and validation molecules (n = 249,455;r =â0.005,â0.162, and+0.056, respectively), and used them for BACE, BBBP, and HIV, respectively. For each held-out matched test pair, we compute the requested property changes as reference-target minus seed values and convert them to signed-delta-bin tokens. Generation is conditioned only on the prompt tokens and seed SMILES; the reference-target SMILES is not provided to the model. The two-property evaluations use 51 BACE, 14 BBBP, and 46 HIV test pairs with inactive seeds and active reference targets. We generate 64 outputs per pair with the same prompt, without top-five 51 selection. Results pool generated attempts across pairs; prompts follow the observed pair distribution rather than a balanced bin sweep. For each descriptor, VIN is the fraction of all generated attempts with a nonzero raw requested change that are valid, novel relative to the taskâs training molecules, and move in the requested direction. Combined VIN includes attempts with at least one applicable requested change and requires every applicable criterion to succeed, together with validity and novelty. A zero requested descriptor change imposes no success condition, and pairs with both descriptor changes zero are excluded from Combined VIN. For bioactivity co-control, success means an inactive seed yields a generation with train-only random-forest activity probability greater than 0.5. The scatter plots show valid generations with a nonzero request for the displayed property, without requiring success on the other property. Their MSE pools squared errors against the raw matched-pair change across valid generations with finite values and nonzero target changes; novelty is not required. The per-pair medians are display summaries and do not enter MSE. For the randomized-prompt control, we independently sample each propertyâs signed-bin index uniformly from 00â15, with replacement, while keeping the property identities and prompt-block order fixed. No separate direction token is sampled. One reproducible randomized assignment is fixed per ordered seedâtarget pair and shared by its 64 generations. The control uses the same trained checkpoint as the correctly prompted arm. Both arms are scored against the original requested changes. 2001000100200300 Prompted MW 200 100 0 100 200 300 Actual MW VIN=13% MSE=2.15e+03 n=50 pairs BACE (Combined VIN=12%) 1007550250255075 Prompted TPSA 100 75 50 25 0 25 50 75 Actual TPSA VIN=38% MSE=540 n=14 pairs BBBP (Combined VIN=32%) 6420246 Prompted HBA 6 4 2 0 2 4 6 Actual HBA VIN=70% MSE=0.995 n=34 pairs HIV (Combined VIN=64%) 1.00.50.00.51.01.52.0 Prompted HBD 1.0 0.5 0.0 0.5 1.0 1.5 2.0 Actual HBD VIN=16% MSE=0.254 n=6 pairs 42024 Prompted logP 4 2 0 2 4 Actual logP VIN=35% MSE=0.821 n=14 pairs 6420246 Prompted logP 6 4 2 0 2 4 6 Actual logP VIN=76% MSE=1.62 n=46 pairs Faint points: individual generations. Open circles: per-pair median all 64 generations of a pair share one prompted . Dashed: identity. Figure 39: Selected low-correlation two-property control on MoleculeNet. Each column is one dataset; the top and bottom rows show the two prompted properties. Column titles report combined VIN% (valid, novel outputs satisfying every nonzero requested direction, divided by all attempts with at least one nonzero request). The model achieves 12â64% combined VIN, demonstrating independent control of selected property pairs with low empirical correlation. 52 Table 16: Two-property controllability for selected low-correlation property pairs on MoleculeNet, using 64 raw generations per matched test pair without top-five selection. Per-property VIN divides valid, novel, direction-matching outputs by all attempts with a nonzero requested change for that property. Combined VIN divides valid, novel outputs satisfying every nonzero requested direction by all attempts with at least one nonzero request. Invalid and non-novel attempts remain denominator failures; zero-delta properties impose no condition. DatasetPropsCombined VIN%Prop1 VIN%Prop2 VIN% BACEMW+HBD121316 BBBPTPSA+logP323835 HIVHBA+logP647076 0.60.40.20.00.20.40.6 Prompted QED 0.6 0.4 0.2 0.0 0.2 0.4 0.6 Actual QED VIN=22% MSE=0.0209 n=50 pairs BACE (Combined VIN=19%) 0.40.20.00.20.4 Prompted QED 0.4 0.2 0.0 0.2 0.4 Actual QED VIN=33% MSE=0.02 n=14 pairs BBBP (Combined VIN=30%) 0.60.40.20.00.20.40.6 Prompted QED 0.6 0.4 0.2 0.0 0.2 0.4 0.6 Actual QED VIN=55% MSE=0.0273 n=46 pairs HIV (Combined VIN=42%) 42024 Prompted logP 4 2 0 2 4 Actual logP VIN=21% MSE=0.72 n=50 pairs 4202 Prompted logP 4 2 0 2 Actual logP VIN=43% MSE=1.17 n=14 pairs 5051015 Prompted logP 5 0 5 10 15 Actual logP VIN=63% MSE=1.8 n=46 pairs Faint points: individual generations. Open circles: per-pair median all 64 generations of a pair share one prompted . Dashed: identity. Figure 40: Joint QED+logP control, with both properties prompted using natural signed deltas from matched test pairs. The model achieves 19â42% combined VIN (valid, novel outputs satisfying every nonzero requested direction, divided by all attempts with at least one nonzero request). QED+logP is a harder joint-control setting than uncorrelated descriptor pairs. Table 17: Two-property controllability for joint QED and logP control on MoleculeNet, using signed- bin requests from held-out matched pairs and 64 raw generations per pair without top-five selection. Per-property VIN requires validity, novelty, and the correct direction, using all attempts with a nonzero requested change for that property as its denominator. Combined VIN uses all attempts with at least one nonzero request and requires validity, novelty, and agreement with every nonzero requested direction. Zero-delta properties impose no condition. DatasetCombined VIN%QED VIN%logP VIN% BACE192221 BBBP303343 HIV425563 53 G.5 Many-property control We train a single model on all nine computable RDKit properties simultaneously (logP, QED, SA, MW, TPSA, HBD, HBA, rotatable bonds, and fraction sp 3 carbons) plus a tenth target prompt field. During ZINC pretraining, the target prompt field mirrors a randomly chosen real property for each training example, without committing it to a fixed property during pretraining. Property dropout (rate = 0.3) is applied during pretraining, randomly omitting properties from the prompt so the model can be conditioned on only a subset of properties at inference time. At MoleculeNet fine-tuning, the target prompt field is assigned to the dataset-specific bioactivity property (Classfor BACE,p_npfor BBBP, andHIV_activefor HIV). The target-slot change is the reference targetâs label minus the seedâs label, discretized with the activity bin range. The model is fine-tuned with this reassigned target meaning and the dataset-specific bin limits. Every retained training pair is used in both orderings, with all signed changes recomputed after reversal, and all ten property blocks remain included. Table 18: Full multi-property prompted model evaluated with all 10 properties on MoleculeNet test pairs. Each property is prompted with the signed delta bin corresponding to the ground-truth pair. Active% is the fraction of valid, novel generations predicted active (class 1) by the property model; property model Up% is the fraction for which the property model score moves in the correct direction relative to the seed. SimSeed is the mean Tanimoto similarity to the input seed. DatasetVIN%Valid%Novel%Active%Property-model Up%SimSeed BACE21.795.840.953.060.40.491 BBBP83.099.891.690.672.20.290 HIV12.392.389.413.847.90.162 For the ten-property modelâs direction-adherence results in, we use only held-out pairs with an inactive seed and an activity-label request of0â 1. For each of the nine non-activity descriptors, we calculate the fraction of valid generations with a nonzero raw requested change whose realized change has the same sign. We pool eligible valid generations within each descriptor and then take the unweighted mean of the nine rates. These are raw generations without top-five selection. Full multi-property context substantially helps BBBP, where RDKit descriptors are highly correlated with bioactivity (e.g., TPSA: r =â0.50, QED: r = +0.48). Table 19: Full multi-property prompted model evaluated with the target bioactivity property plus logP, SA, and QED (three-property subset) on MoleculeNet test pairs. DatasetVIN%Valid%Novel%Active%property model Up%SimSeed BACE25.595.861.341.467.10.401 BBBP79.390.090.088.195.20.818 HIV19.884.684.623.475.50.841 The logP+SA+QED subset yields 25.5% VIN on BACE, 79.3% on BBBP, and 19.8% on HIV, compared with 21.7%, 83.0%, and 12.3%, respectively, under the full 10-property prompt. Thus, reducing the prompt to this subset improves VIN on BACE and HIV while modestly reducing it on BBBP, consistent with the broader property-subset sensitivity in Table 20. Table 20: Property-subset sensitivity for the full multi-property prompted model. A single trained model is evaluated across all 9 3 = 84 combinations of three RDKit properties prompted alongside the target bioactivity property (84 evaluation runs per dataset, not 84 trained models). DatasetMean VIN%Best VIN%Worst VIN%Spread (p) BACE25.1Âą 2.230.421.19.3 BBBP72.0Âą 6.385.057.127.9 HIV13.0Âą 3.825.05.519.5 54 Property-subset selection has a significant impact, especially on BBBP (27.9 p spread) and HIV (19.5 p spread). The best HIV combination (logP + QED + TPSA, 25.0%) is4.5Ăbetter than the worst (QED + rotatable bonds + fraction sp 3 carbons, 5.5%). Consistently poor subsets contain rotatable bonds and fraction sp 3 carbons across all datasets; consistently strong subsets contain logP and/or SA for BACE and HIV, and SA, HBA, and TPSA for BBBP, reflecting the high correlation of these descriptors with bloodâbrain barrier permeability. Table 21: Mean property delta (generated minus seed) for the full multi-property prompted model under 10-property prompting. PropertyBACEBBBPHIV logP+0.022-0.037+0.709 QED-0.032+0.018+0.033 SA+0.126-0.132-0.595 MW+17.78+3.11+18.56 TPSA+6.20-7.09-15.51 HBD-0.041-0.354-0.719 HBA+0.423-0.921-0.125 Rot. bonds+0.661+0.312+0.306 Frac. sp 3 +0.057+0.200-0.006 BBBP generations systematically decrease TPSA (â7.09) and HBD (â0.354), consistent with the strong negative correlation between these properties and B permeability (TPSA:r =â0.50, HBD: r =â0.47). The model appears to learn the structureâactivity relationship through multi-property prompting. 55