Industry-Scale Orchestrated Federated Learning for Drug Discovery

Martijn Oldenhof, Gergely Ács, Balázs Pejó, Ansgar Schuffenhauer, Nicholas Holway, Noé Sturm, Arne Dieckmann, Oliver Fortmeier, Eric Boniface, Clément Mayer, Arnaud Gohier, Peter Schmidtke, Ritsuya Niwayama, Dieter Kopecky, Lewis Mervin, Prakash Chandra Rathi, Lukas Friedrich, András Formanek, Antal Péter, Jordon Rahaman, Adam Zalewski, Ezron Oluoch, Manuel Stößel, Michal Vančo, David Endico, Fabien Gelus, Thaïs De Boisfossé, Adrien Darbier, Ashley Nicollet, Matthieu Blottière, Maria Teleńczuk, Van Tien Nguyen, Thibaud Martinez, Camille Boillet, Kelvin Moutet, Alexandre Picosson, Aurélien Gasser, Inal Djafar, Ádám Arany, Jaak Simm, Yves Moreau, Ola Engkvist, Hugo Ceulemans, Camille Marini, Mathieu Galtier, Marini, Camille, Galtier, Mathieu · DOI

Abstract

To apply federated learning to drug discovery we developed a novel platform in the context of European Innovative Medicines Initiative (IMI) project MELLODDY (grant n°831472), which was comprised of 10 pharmaceutical companies, academic research labs, large industrial companies and startups. The MELLODDY platform was the first industry-scale platform to enable the creation of a global federated model for drug discovery without sharing the confidential data sets of the individual partners. The federated model was trained on the platform by aggregating the gradients of all contributing partners in a cryptographic, secure way following each training iteration. The platform was deployed on an Amazon Web Services (AWS) multi-account architecture running Kubernetes clusters in private subnets. Organisationally, the roles of the different partners were codified as different rights and permissions on the platform and administrated in a decentralized way. The MELLODDY platform generated new scientific discoveries which are described in a companion paper.

Introduction

Drug discovery is a high-stakes, multi-billion-dollar endeavor with a 90% failure rate for clinical candidates. While machine learning—specifically Quantitative Structure-Activity Relationship (QSAR) models—can accelerate the process, these models require massive amounts of high-quality data. Historically, this data has been trapped in silos. Pharmaceutical companies treat their chemical libraries and assay results as "trade secrets," making centralized data pooling impossible due to intellectual property and privacy concerns. The MELLODDY project addresses this challenge by enabling rivals to benefit from their collective data wealth to build better predictive tools without any participant ever "seeing" another's data.

Methodology

The authors developed a cross-silo Federated Learning (FL) platform built on a "multi-account" Amazon Web Services (AWS) architecture. Key technical components include:

  • The "Private Head, Common Trunk" Architecture: The neural network is split into two parts. The "Common Trunk" (lower layers) learns a general representation of chemical structures and is trained jointly by all partners. Each company maintains its own "Private Head" (top layers) for specific, proprietary prediction tasks that are never shared.
  • Secure Aggregation: Instead of sending raw data or model weights to a central server, partners send encrypted gradients. The server aggregates these using cryptographic techniques so that it only ever sees the sum of the updates, never an individual company's contribution.
  • SparseChem: A specialized deep learning framework designed to handle the extreme sparsity of drug discovery data, where millions of compounds are tested against only a tiny fraction of possible biological targets.
  • Decentralized Orchestration: Using Owkin Connect (based on the Substra framework), the platform allows for audited, transparent execution of code across different corporate infrastructures without a single point of failure.
The 'Private Head, Common Trunk' architecture allows partners to share a common representation (trunk) while keeping specific prediction tasks (heads) private.

Data and Scale

The study utilized an unprecedented scale of private industrial data, including approximately 100 million bioactivity measurements covering over 40,000 assays and 20 million chemical compounds. Additionally, 2 billion measurements from high-throughput screening were used as auxiliary data to bolster the model's foundational understanding of chemistry. All data was pre-processed locally by each partner using the MELLODDY Tuner, ensuring consistent chemical representations (Morgan Fingerprints) across the entire federation.

Key Results

The federated approach demonstrated clear advantages over single-partner baselines across multiple metrics:

  • Performance Boost: Federated models showed a 4% relative improvement in classification accuracy (AUC-PR).
  • Broader Reach: There was a 10% increase in the "applicability domain," meaning the models could provide reliable predictions for a much wider range of new, unseen molecules.
  • Toxicology and Pharmacology: The models were 2% better at estimating critical toxicological activities, vital for identifying "bad" drug candidates early.
  • Operational Success: The system successfully orchestrated 219 compute plans in its third year, managing a compute budget of over $1.1 million USD across 10 corporate AWS environments.
Relative Improvement to Perfection (RIPtoP) across regression, classification, and applicability domain tasks for the 10 participating companies.

Conclusion and Future Work

The MELLODDY project proves that technical safeguards like FL and Secure Aggregation can overcome the "data hoarding" instinct of major industries. The success of the "Common Trunk" suggests that the most valuable shared asset in drug discovery is a common "chemical language" or feature space.

Future work will address remaining challenges, such as communication bottlenecks as the number of assays grows and the computational expense of "Shapley values" for determining partner contributions. Additionally, researchers are exploring differential privacy to mitigate theoretical risks of "membership inference" and developing more sophisticated model fusion techniques to select the best global model for specific tasks.

Summary updated

Abstract

To apply federated learning to drug discovery we developed a novel platform in the context of European Innovative Medicines Initiative (IMI) project MELLODDY (grant n°831472), which was comprised of 10 pharmaceutical companies, academic research labs, large industrial companies and startups. The MELLODDY platform was the first industry-scale platform to enable the creation of a global federated model for drug discovery without sharing the confidential data sets of the individual partners. The federated model was trained on the platform by aggregating the gradients of all contributing partners in a cryptographic, secure way following each training iteration. The platform was deployed on an Amazon Web Services (AWS) multi-account architecture running Kubernetes clusters in private subnets. Organisationally, the roles of the different partners were codified as different rights and permissions on the platform and administrated in a decentralized way. The MELLODDY platform generated new scientific discoveries which are described in a companion paper.
BibTeX
@inproceedings{oldenhof2023industry,
  author = {Martijn Oldenhof and Gergely Ács and Balázs Pejó and Ansgar Schuffenhauer and Nicholas Holway and Noé Sturm and Arne Dieckmann and Oliver Fortmeier and Eric Boniface and Clément Mayer and Arnaud Gohier and Peter Schmidtke and Ritsuya Niwayama and Dieter Kopecky and Lewis Mervin and Prakash Chandra Rathi and Lukas Friedrich and András Formanek and Antal Péter and Jordon Rahaman and Adam Zalewski and Ezron Oluoch and Manuel Stößel and Michal Vančo and David Endico and Fabien Gelus and Thaïs De Boisfossé and Adrien Darbier and Ashley Nicollet and Matthieu Blottière and Maria Teleńczuk and Van Tien Nguyen and Thibaud Martinez and Camille Boillet and Kelvin Moutet and Alexandre Picosson and Aurélien Gasser and Inal Djafar and Ádám Arany and Jaak Simm and Yves Moreau and Ola Engkvist and Hugo Ceulemans and Camille Marini and Mathieu Galtier and Marini, Camille and Galtier, Mathieu},
  title = {{Industry-Scale Orchestrated Federated Learning for Drug Discovery}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i13.26847},
}
Figure