# DGL-LifeSci: An Open-Source Toolkit for Deep Learning on Graphs in Life Science

arXiv: https://arxiv.org/abs/2106.14232 · HTML: https://mlsanity.com/paper/2106.14232/

## Key facts

- Cited by 38 papers in the map (data through 14 Oct 2026).
- Builds on 15 of its 34 references that are in the map.
- First posted on arXiv 27 Jun 2021.

## Builds on (most cited first, 15 of 15)

- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Semi-Supervised Classification with Graph Convolutional Networks](https://mlsanity.com/paper/1609.02907/) (2016)
- [Graph Attention Networks](https://mlsanity.com/paper/1710.10903/) (2017)
- [Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation](https://mlsanity.com/paper/1406.1078/) (2014)
- [Neural Message Passing for Quantum Chemistry](https://mlsanity.com/paper/1704.01212/) (2017)
- [A Comprehensive Survey on Graph Neural Networks](https://mlsanity.com/paper/1901.00596/) (2019)
- [Graph Neural Networks: A Review of Methods and Applications](https://mlsanity.com/paper/1812.08434/) (2018)
- [MoleculeNet: A Benchmark for Molecular Machine Learning](https://mlsanity.com/paper/1703.00564/) (2017)
- [Strategies for Pre-training Graph Neural Networks](https://mlsanity.com/paper/1905.12265/) (2019)
- [Convolutional Networks on Graphs for Learning Molecular Fingerprints](https://mlsanity.com/paper/1509.09292/) (2015)
- [Junction Tree Variational Autoencoder for Molecular Graph Generation](https://mlsanity.com/paper/1802.04364/) (2018)
- [Molecular Graph Convolutions: Moving Beyond Fingerprints](https://mlsanity.com/paper/1603.00856/) (2016)
- [Modeling polypharmacy side effects with graph convolutional networks](https://mlsanity.com/paper/1802.00543/) (2018)
- [PotentialNet for Molecular Property Prediction](https://mlsanity.com/paper/1803.04465/) (2018)
- [Heterogeneous Molecular Graph Neural Networks for Predicting Molecule Properties](https://mlsanity.com/paper/2009.12710/) (2020)

## Built on by (most cited first, 30 of 38)

- [DrugOOD: Out-of-Distribution (OOD) Dataset Curator and Benchmark for AI-aided Drug Discovery -- A Focus on Affinity Prediction Problems with Noise Annotations](https://mlsanity.com/paper/2201.09637/) (2022)
- [DrugAgent: Automating AI-aided Drug Discovery Programming through LLM Multi-Agent Collaboration](https://mlsanity.com/paper/2411.15692/) (2024)
- [GAUCHE: A Library for Gaussian Processes in Chemistry](https://mlsanity.com/paper/2212.04450/) (2022)
- [Interpretable bilinear attention network with domain adaptation improves drug-target prediction](https://mlsanity.com/paper/2208.02194/) (2022)
- [Retrosynthesis Prediction with Local Template Retrieval](https://mlsanity.com/paper/2306.04123/) (2023)
- [Efficiently predicting high resolution mass spectra with graph neural networks](https://mlsanity.com/paper/2301.11419/) (2023)
- [Conformal Drug Property Prediction with Density Estimation under Covariate Shift](https://mlsanity.com/paper/2310.12033/) (2023)
- [Spectral Adversarial Training for Robust Graph Neural Network](https://mlsanity.com/paper/2211.10896/) (2022)
- [ChemicalX: A Deep Learning Library for Drug Pair Scoring](https://mlsanity.com/paper/2202.05240/) (2022)
- [BeGin: Extensive Benchmark Scenarios and An Easy-to-use Framework for Graph Continual Learning](https://mlsanity.com/paper/2211.14568/) (2022)
- [Scalable Training of Trustworthy and Energy-Efficient Predictive Graph Foundation Models for Atomistic Materials Modeling: A Case Study with HydraGNN](https://mlsanity.com/paper/2406.12909/) (2024)
- [Chemist-aligned retrosynthesis by ensembling diverse inductive bias models](https://mlsanity.com/paper/2412.05269/) (2024)
- [Deep learning methods for drug response prediction in cancer: predominant and emerging trends](https://mlsanity.com/paper/2211.10442/) (2022)
- [Bi-level Contrastive Learning for Knowledge-Enhanced Molecule Representations](https://mlsanity.com/paper/2306.01631/) (2023)
- [Benchmarking Accuracy and Generalizability of Four Graph Neural Networks Using Large In Vitro ADME Datasets from Different Chemical Spaces](https://mlsanity.com/paper/2111.13964/) (2021)
- [Partial Product Aware Machine Learning on DNA-Encoded Libraries](https://mlsanity.com/paper/2205.08020/) (2022)
- [Injecting Domain Knowledge from Empirical Interatomic Potentials to Neural Networks for Predicting Material Properties](https://mlsanity.com/paper/2210.08047/) (2022)
- [Censoring chemical data to mitigate dual use risk](https://mlsanity.com/paper/2304.10510/) (2023)
- [FlexMol: A Flexible Toolkit for Benchmarking Molecular Relational Learning](https://mlsanity.com/paper/2410.15010/) (2024)
- [Predicting Chemical Reaction Outcomes Based on Electron Movements Using Machine Learning](https://mlsanity.com/paper/2503.10197/) (2025)
- [MassFormer: Tandem Mass Spectrum Prediction for Small Molecules using Graph Transformers](https://mlsanity.com/paper/2111.04824/) (2021)
- [KA-GNN: Kolmogorov-Arnold Graph Neural Networks for Molecular Property Prediction](https://mlsanity.com/paper/2410.11323/) (2024)
- [Drug-Target Interaction/Affinity Prediction: Deep Learning Models and Advances Review](https://mlsanity.com/paper/2502.15346/) (2025)
- [OmniESI: A unified framework for enzyme-substrate interaction prediction with progressive conditional deep learning](https://mlsanity.com/paper/2506.17963/) (2025)
- [KMM-CP: Practical Conformal Prediction under Covariate Shift via Selective Kernel Mean Matching](https://mlsanity.com/paper/2603.26415/) (2026)
- [Graph Neural Networks with a Distribution of Parametrized Graphs](https://mlsanity.com/paper/2310.16401/) (2023)
- [Benchmark on Drug Target Interaction Modeling from a Drug Structure Perspective](https://mlsanity.com/paper/2407.04055/) (2024)
- [DeepProtein: Deep Learning Library and Benchmark for Protein Sequence Learning](https://mlsanity.com/paper/2410.02023/) (2024)
- [ActivityDiff: A diffusion model with Positive and Negative Activity Guidance for De Novo Drug Design](https://mlsanity.com/paper/2508.06364/) (2025)
- [Rudder: Steering Prefetching in Distributed GNN Training using LLM Agents](https://mlsanity.com/paper/2602.23556/) (2026)

## Abstract (arXiv)

Graph neural networks (GNNs) constitute a class of deep learning methods for graph data. They have wide applications in chemistry and biology, such as molecular property prediction, reaction prediction and drug-target interaction prediction. Despite the interest, GNN-based modeling is challenging as it requires graph data pre-processing and modeling in addition to programming and deep learning. Here we present DGL-LifeSci, an open-source package for deep learning on graphs in life science. DGL-LifeSci is a python toolkit based on RDKit, PyTorch and Deep Graph Library (DGL). DGL-LifeSci allows GNN-based modeling on custom datasets for molecular property prediction, reaction prediction and molecule generation. With its command-line interfaces, users can perform modeling without any background in programming and deep learning. We test the command-line interfaces using standard benchmarks MoleculeNet, USPTO, and ZINC. Compared with previous implementations, DGL-LifeSci achieves a speed up by up to 6x. For modeling flexibility, DGL-LifeSci provides well-optimized modules for various stages of the modeling pipeline. In addition, DGL-LifeSci provides pre-trained models for reproducing the test experiment results and applying models without training. The code is distributed under an Apache-2.0 License and is freely accessible at https://github.com/awslabs/dgl-lifesci.
