dpdata: A Scalable Python Toolkit for Atomistic Machine Learning Data Sets
Jinzhe Zeng, Xulong Peng, Yong‐Bin Zhuang et al. · Journal of Chemical Information and Modeling · 2025
Seamless management of atomistic data sets is a critical prerequisite for the successful development and deployment of machine learning potentials (MLPs). Here, we present dpdata, an open-source Python library designed to streamline every aspect of MLP data handling. Built upon a flexible, plugin-based architecture, dpdata supports reading, writing, and converting between a broad range of file formats─from popular quantum-chemistry packages and molecular-dynamics engines to specialized MLP frameworks. Users may define custom data types, formats, drivers, and minimizers, enabling effortless extension to emerging software. Key utilities include automated train-test splitting, coordinate perturbation for active learning, outlier-energy removal, Δ-learning data set generation, error-metric computation, and unit conversion. Through efficient NumPy-backed storage and system-level operations, dpdata achieves significant memory saving and inference speedups over configuration-by-configuration tools such as ASE. We also highlight practical impact, with dpdata used across published studies, for format conversion, data storage, coordinate perturbation, and utilization in other projects for data processing.
Cited by 13 works. doi:10.1021/acs.jcim.5c01767
Authors
- Jinzhe Zeng
- Xulong Peng
- Yong‐Bin Zhuang
- Haidi Wang
- Haidi Wang
- Fengbo Yuan
- Duo Zhang
- Renxi Liu
- Yingze Wang
- Ping Tuo
- Yuzhi Zhang
- Yixiao Chen
- Yifan Li
- Cao Thang Nguyen
- Jiameng Huang
- Anyang Peng
- Marián Rynik
- Weihong Xu
- Zezhong Zhang
- Xuyuan Zhou
References
- Ab initio molecular dynamics for liquid metals
- QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materials
- Advances in Neural Information Processing Systems 19
- SciPy 1.0: fundamental algorithms for scientific computing in Python
- Array programming with NumPy
- GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers
- Array programming with NumPy
- Open Babel: An open chemical toolbox
- LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales
- Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis