Manuscript Offprint

arXiv:2608.24610

Conditional GraphGANFed: Optimizing Graph-Structured Molecule Generation in Federated Generative Adversarial Networks

Daniel Manu, Abee Alazzwi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Daniel Manu, and Abee Alazzwi

Abstract—Generative adversarial networks (GANs) have garnered considerable attention in molecular discovery for their ability to generate novel and high-quality molecules. To efficiently train a GAN model while preserving data privacy, GraphGAN-Fed has been proposed to incorporate federated learning and graph convolutional networks into GAN. Yet, GraphGANFed cannot produce synthetic molecules that only optimize a user-defined metric(s) to facilitate the new drug discovery process. To address this issue, we introduce a novel extension to GraphGANFed, namely conditional GraphGANFed (cGraphGANFed), by incorporating the critic network to assess generated molecules using user-defined metric(s). The evaluation results from both the critic network and discriminator are integrated into the loss function of the generator, guiding it to generate novel molecules that maintain similar chemical properties to real ones while optimizing user-defined metrics. Extensive simulations are conducted in two scenarios. First, cGraphGANFed endeavors to optimize all seven commonly used metrics, and the results show that cGraphGANFed significantly outperforms GraphGANFed in Validity and LogP, with a slight advantage in QED, across different settings. Second, cGraphGANFed focuses solely on optimizing QED, and the results show that the synthetic molecules produced by cGraphGANFed can achieve more than 10% improvement in QED than GraphGANFed. Also, the results demonstrate cGraphGANFed has enhanced resilience against mode collapses and performance reduction caused by non-IID data.

Index Terms—Generative adversarial networks, Graph convolutional networks, Federated learning, Drug discovery

I. INTRODUCTION

In the field of drug discovery and design, the search for novel molecules with optimized chemical properties remains a formidable challenge. Traditional methods face hurdles in efficiently exploring the vast chemical space. Moreover, the discrete nature of chemical space means even minor alterations in molecular structure can yield significant changes in desired properties [1, 2]. Current approaches for exploring and discovering molecules involve high-throughput virtual screening or discrete local search methods like genetic algorithms [3, 4]. High-throughput screening involves generating an extensive compound library, followed by successive filtration using increasingly sophisticated computational techniques to assess if a given species exhibits the desired properties. While this method has achieved notable successes in pharmaceutical applications [5, 6], it suffers from substantial limitations. Specifically, its exploration of the molecular space is constrained by the combinations initially present in fragment libraries.

Enhancing the efficiency of generating new molecules tailored to specific application-driven objectives could significantly accelerate progress in developing innovative drugs. In such applications, guiding the generative model towards some desirable properties while preserving resemblance to the original distribution proves highly effective [1, 7, 8]. Recent advancements have propelled the utilization of deep learning models in molecular generation, yet the challenge persists in producing valid and innovative molecular structures that effectively optimize various physical, chemical, and biological properties due to the inherent complexity and non-differentiability of these property objectives [9, 10]. Deep generative models have demonstrated versatility across a spectrum of domains including natural language processing [11, 12] and biomedicine [13–16]. In the field of drug discovery, deep generative models learn probability distributions over extensive molecular sets and facilitate the generation of novel molecules through sampling from these distributions.

Generative adversarial networks (GANs), a prominent deep generative model, have gained significant traction in molecular design due to their capacity to produce highly realistic content [17]. GAN comprises a generator and discriminator that compete against each other during training. The generator strives to produce synthetic samples closely resembling real ones, thereby fooling the discriminator. Meanwhile, the discriminator tries to distinguish between synthetic and real samples. The objective-reinforced GAN (ORGAN) framework [18] pioneered the use of GANs for molecular generation, applying the SMILES representation as input data. Its improved version, ORGANIC [10], is designed specifically for the direct inverse design of molecules. Subsequently, the molecular GAN (molGAN) framework [9] emerged, focusing on molecular generation, where molecules are represented by molecular graph representations as opposed to SMILES. However, these approaches are limited in their ability to generate molecules tailored specifically to optimize certain desired properties. To address this limitation, a combination of RL and GANs has been proposed. This fusion aims to create molecular structures that precisely optimize predefined properties. The SeqGAN architecture [12] exemplifies this fusion, extending the GAN framework with an RL-based generator. It updates the generator's parameters using policy

D. Manu, A. Alazzwi, and X. Sun are with the SECNet Lab., Department of Electrical and Computer Engineering, University of New Mexico, Albuquerque, NM 87131, USA. E-mail: {dmanu,abeer88,sunxiang}@unm.edu.

This work was supported by the National Science Foundation under Award under grant no. CNS-2323050 and CNS-2148178, where CNS-2148178 is supported in part by funds from federal agency and industry partners as specified in the Resilient & Intelligent NextG Systems (RINGS) program.

gradients and Monte Carlo search [19], guided by expected rewards from the discriminator. The REINFORCE algorithm [20] was used to estimate the action-value function. Putin et al. [21] showed the effectiveness of the proposed Adversarial Threshold Neural Computer (ATNC) framework integrating GANs and RL. By leveraging adversarial thresholds, ATNC successfully addressed the negative reward problem in ORGANIC while generating target molecules.

Cutting-edge molecular generation frameworks integrating RL optimization have shown promising results in generating molecules with optimized metrics efficiently [9, 10, 18]. However, training these frameworks demands significant and varied molecular datasets. Acquiring such comprehensive datasets is hindered by stringent data regulations and privacy concerns prevalent in the pharmaceutical industry [22, 23]. Secure multiparty computation (MPC) [24] offers a contemporary solution for maintaining privacy while facilitating collaboration among pharmaceutical companies. MPC enables multiple parties in the pharmaceutical sector to share their encrypted molecular datasets with a trusted third party. Nonetheless, challenges such as computational complexity, communication overhead, and data privacy concerns persist. Federated Learning (FL) emerges as a promising approach for training deep learning models in a distributed fashion while preserving data privacy. By leveraging FL, clients in terms of pharmaceutical companies can train their models using their respective datasets locally. They then upload only their model parameters to a centralized FL server, eliminating the need for sharing their datasets. Therefore, the integration of FL into the GAN training process can enhance scalability by utilizing diverse datasets and computing power from multiple clients, thus improving GAN performance without compromising data privacy [22, 23]. While the integration of FL, GAN, and RL shows promise, there's currently a lack of research in this area. Additionally, the integration is complex because it involves multiple deep learning models with different loss functions that interact during the training process. For example, a delicate balance is required between the performance of the generator and discriminator in a GAN to achieve stable and convergent training. Any imbalance, where one model overpowers the other, risks destabilizing or even diverging the training process.

In this paper, we propose a novel framework, namely conditional GraphGANFed (cGraphGANFed), that applies FL to train the framework that incorporates the critic network and graph convolutional network into GAN, using the real molecules represented as graphs. cGraphGANFed can generate synthetic molecules that not only preserve similar chemical properties as the real ones but also optimize user-defined metrics to facilitate the new drug discovery process without compromising data privacy. The main contributions of the paper are summarized as follows:

  • We propose a novel cGraphGANFed framework, which is developed based on our previously proposed framework, GraphGANFed [14]. cGraphGANFed incorporates the critic network in RL to assess generated molecules using user-defined metric(s). The evaluation results from both the critic network and discriminator are incorporated into the loss function of the generator, guiding it to generate novel molecules that maintain similar chemical properties to real ones while optimizing user-defined metrics.

  • To preserve data privacy during the model training, cGraphGANFed also applies FL to avoid the sharing of molecule samples among different clients in terms of pharmaceutical companies.

  • Extensive simulations are conducted to demonstrate the performance of cGraphGANFed under the following two scenarios, (a) optimization of a specific molecular metric, and (b) optimization of all molecular metrics simultaneously. The results show that cGraphGANFed can (a) produce molecules with significantly higher values of the specified molecular metric in comparison to other metrics, or (b) generate the molecules that exhibit high values across the majority of molecular metrics, which have dependent relationships (e.g., QED, Validity, and LogP).

The rest of the paper is organized as follows. Section II presents a brief background of GANs and related works regarding the integration of RL into molecular generation. Section III introduces the GAN-based molecular generation problem formulation, cGraphGANFed architecture, and optimization the molecular generation under federated settings. Section IV discusses the simulation setups and results. Finally, Section V concludes the paper.

References (33)