Tadah! A Swiss Army Knife for Developing and Deployment of Machine Learning Interatomic Potentials Journal: Computer Physics Communications
Marcin Kirsz, Ayobami Daramola, Andreas Hermann, Hongxiang Zong, Graeme J. Ackland · 2025
Read Tadah! A Swiss Army Knife for Developing and Deployment of Machine Learning Interatomic Potentials Journal: Computer Physics Communications by Marcin Kirsz, Ayobami Daramola, Andreas Hermann, Hongxiang Zong, Graeme J. Ackland (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-02211.txt.
Introduction
Marcin Kirsz and co-authors present a 2025 paper on a software toolkit for building machine-learned models of how atoms interact. Such models let scientists run fast, sharp simulations of materials. Building one well takes flexible tools for describing atomic settings and fitting the model.
Their toolkit mixes building-block descriptors with custom cutoffs for interaction range. It fits models with two regression methods that also track uncertainty. A tuning cycle refines the model design against lab and theory data. The toolkit links to a widely used simulation engine, and runs on both desktops and large clusters. Its modular code base is built for broad access.
Catalog record
| CREATOR | Marcin Kirsz, Ayobami Daramola, Andreas Hermann, Hongxiang Zong, Graeme J. Ackland |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 32 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2502-02211
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Tadah! A Swiss Army Knife for Developing and Deployment of Machine Learning Interatomic Potentials Journal: Computer Physics Communications Marcin Kirsz, Ayobami Daramola, Andreas Hermann, Hongxiang Zong, Graeme J. Ackland Abstract The Tadah! code provides a versatile platform for developing and optimizing Machine Learning Interatomic Potentials (MLIPs). By integrating composite descriptors, it allows for a nuanced representation of system interactions, customized with unique cutoff functions and interaction distances. Tadah! supports Bayesian Linear Regression (BLR) and Kernel Ridge Regression (KRR) to enhance model accuracy and uncertainty management. A key feature is its hyperparameter optimization cycle, iteratively refining model architecture to improve transferability. This approach incorporates performance constraints, aligning predictions with experimental and theoretical data. Tadah! provides an interface for LAMMPS, enabling the deployment of MLIPs in molecular dynamics simulations. It is designed for broad accessibility, supporting parallel computations on desktop and HPC systems. Tadah! leverages a modular C++ codebase, utilizing both compile-time and runtime polymorphism for flexibility and efficiency. Neural network support and predefined bonding schemes are potential future developments, and Tadah! remains open to community-driven feature expansion. Comprehensive documentation and command-line tools further streamline the development and application of MLIPs. PROGRAM SUMMARY Program Title: Tadah! CPC Library link to program files: (to be added by Technical Editor) Developer’s repository link: https://git.ecdf.ed.ac.uk/tadah Licensing provisions: GPLv3 Programming language: C++ Supplementary material: Installation instructions and usage examples are available in the Tadah! online documentation at https://tadah.readthedocs.io Nature of problem: Atomistic modelling, particularly molecular dynamics, is among the most popular techniques used in physics and chemistry research. Accurate and efficient methods are required to generate forces for such simulations. Quantum mechanical calculation of the electronic structure is the “gold standard" here, but is restricted to relatively small systems. Hence, interatomic potentials have a role in allowing large scale simulations, provided they have adequate accuracy. Over the past two decades, the paradigm has shifted from developing interatomic potentials using physics-informed functional forms to generating machine learning interatomic potentials (MLIPs) with more flexible mathematical forms, albeit lacking physical meaning. MLIPs typically lack physical insights in trained models, requiring comprehensive datasets from methods like density functional theory during model parametrization. While training on energies and derivatives may ensure good interpolation within the training data, it frequently lacks transferability, failing environments unlike those in the training data. At the same time the ability to fit a model to experimental data increasingly seems to be lost. In essence, the MLIP framework includes a feature vector (descriptor/fingerprint) and a regression method (e.g., kernel ridge regression or neural networks). Currently, there are numerous frameworks, but there is no consensus on a superior approach. Competing factors such as accuracy, transferability, efficiency, and dataset requirements influence user decisions. Because of the fragmentation of the methodologies, users frequently need to compile multiple software tools, which then often prove to be not end-user-ready. A niche exists for a more flexible framework within which users can mix and match descriptor and regression methods. This would allow MLIP developers to experiment, test, and rapidly deploy models to production, using the methods best suited to their system, application and desired outputs. It is desirable to provide additional tools for fitting and verification of models. Furthermore, deployment in molecular dynamics (MD) settings, requires effort to integrate the MLIP with third-party MD software. Plugins for standard MD codes should be available alongside MLIP fitting codes. Solution method: Tadah! is a unified program designed for the development of advanced machine learning interatomic potentials using various descriptors, cutoffs, and regression methods. It also allows rapid deployment of these through the MD LAMMPS plugin [1]. It supports mono- and multi-species systems as well as advanced (custom) fitting procedures. The software provides unique pathways to embed prior domain knowledge into a model and offers a range of additional tools for dataset conversion, manipulation, and plotting. Tadah! allows users to incorporate their physical insight by combining multiple descriptors into a single composite descriptor. Each constituent descriptor can be further customized by specifying a unique cutoff function and distance. Additionally, users can define specific chemical species pairs that each constituent descriptor will target, enabling tailored interactions within the model. Tadah! also provides users with a nested fitting procedure that allows the optimization of model hyperparameters with a custom-defined loss function. In principle, the loss function can incorporate any quantity obtainable from MD simulation and be compared against experimental values for scoring. The Tadah! toolkit provides a command-line interface (CLI) binary as well as a C++ API for advanced use. The majority of features are available via the CLI, while the API allows developers and users to rapidly implement and test new descriptors and various regression strategies. It supports seamless integration of new types of descriptors, with an API that enables their addition. We follow the philosophy: “Implement once, use it everywhere across Tadah! and LAMMPS." The code is open source, and we aim to drive development based on user feedback. We encourage users to request new features and provide feedback. We are also open to individual contributions and collaborations. Additional comments including restrictions and unusual features: Tadah! provides two end-user packages: Tadah!MLIP for the development of MLIPs and Tadah!LAMMPS for deployment in molecular dynamics settings. The Tadah!MLIP software can be built as a desktop version using OpenMP. For users working with large datasets or complex descriptors, a massively parallel version of Tadah!MLIP is available with MPI, designed for HPC architectures. Keywords : Machine learning interatomic potentials, Molecular dynamics, Scientific machine learning, Physics aware machine learning, Computational modelling. 1 Introduction Atomic-level simulations rely heavily on the choice of interatomic potentials. While empirical potentials derived from experimental data are computationally efficient, they often lack accuracy. In contrast, ab initio potentials, grounded in quantum mechanics, provide robust and transferable predictions, albeit at a greater computational cost. The emergence of machine learning interatomic potentials (MLIPs) allows for the design of models that combine computational efficiency with the capacity for high accuracy [ 1 ] . Numerous software packages have been developed for training MLIPs [ 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 ] . Python-based tools support diverse descriptors but are inherently slower. Conversely, Fortran and C/C++ packages offer speed but are often restricted to a single descriptor type or regression method. Although Python codes can be sped up using external routines, the escalating complexity of fitting routines eventually limits these optimizations. The current landscape is dominated by packages employing neural networks as their preferred regression method. Constructing an MLIP begins with prior knowledge. This involves selecting the functional form for the feature vector (descriptor), regression methods, training database, and machine learning (ML) hyperparameters (HP). These decisions must be made before initiating regression. These choices control the model’s complexity and its capacity for accuracy, computational efficiency, and transferability between different atomic environments. There is typically a manual and iterative process where the model is trained on the training data and fine-tuned with the validation set [ 12 ] . Using different pieces of software is suboptimal from the user’s perspective, as it significantly limits the ability to experiment. Moreover, optimizing hyperparameters is crucial during model development. Surprisingly, to the best of our knowledge, this topic remains inadequately addressed within