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.
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.
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