Developments and applications of the OPTIMADE API for materials discovery, design, and data exchange

Matthew L. Evans, J. Bergsma, Andrius Merkys, Casper Welzel Andersen, Oskar B. Andersson, Daniel Beltrán, Evgeny Blokhin, Tara M. Boland, Rubén Castañeda Balderas, Kamal Choudhary, Alberto Díaz Díaz, R. García, Hagen Eckert, Kristjan Eimre, María E. Fuentes, Adam M. Krajewski, Jens Jørgen Mortensen, José Manuel Nápoles Duarte, Jacob Pietryga, Ji Qi, Felipe de Jesús Trejo Carrillo, Antanas Vaitkus, Ju‐Song Yu, Adam C. Zettel, Pedro Baptista de Castro, Johan M. Carlsson, Tiago F. T. Cerqueira, Simon Divilov, Hamidreza Hajiyani, Felix Hanke, Kevin Jose, Corey Oses, Janosh Riebesell, Jonathan Schmidt, Donny Winston, Christen Xie, Xiaoyu Yang, Sara Bonella, Silvana Botti, Stefano Curtarolo, Claudia Draxl, Luis Edmundo Fuentes Cobas, Adam Hospital, Zi‐Kui Liu, Miguel A. L. Marques, Nicola Marzari, Andrew J. Morris, Shyue Ping Ong, Modesto Orozco, Kristin A. Persson, Kristian S. Thygesen, Chris Wolverton, Markus Scheidgen, Cormac Toher, G. J. Conduit, Giovanni Pizzi, S. Gražulis, Gian‐Marco Rignanese, Rickard ArmientoRepository 2024

TL;DR

The OPTIMADE API is a universal standard for accessing materials data across diverse databases, enabling seamless data integration and accelerating materials discovery. This paper details its latest advancements, software tools, and real-world applications, showcasing its crucial role in the growing field of data-driven materials science.

What Problem Does This Paper Address?

The discovery and design of new materials are critical for addressing global challenges, but this process has traditionally been slow and experiment-driven. While high-throughput calculations have generated vast amounts of materials data, accessing and integrating this information from disparate sources has been a major bottleneck. This fragmentation hinders the application of advanced computational tools like machine learning, which require large, interoperable datasets. OPTIMADE aims to solve this by providing a standardized API that allows programmatic access to a federated network of materials databases, making data more discoverable and usable.

Methods

The core of OPTIMADE is its application programming interface (API) specification, which defines a standardized way for databases to expose their data. This paper highlights the evolution of the OPTIMADE specification, particularly the advancements in version 1.2. Key features include:

  • JSON Schema for Property Definitions: A machine-readable schema that fully describes properties, including complex data structures, and assigns versioned, stable identifiers (URIs) for unambiguous referencing.
  • Streaming of Partial Data: Support for formats like BSON or JSON Lines to handle large datasets more efficiently, improving transfer rates and enabling real-time visualization.
  • Enhanced Filtering: Substring comparisons on list elements and support for custom Boolean fields defined by data providers.
  • New Endpoints: Introduction of a /files endpoint for describing file relationships and a /collections endpoint for grouping related entries.
  • Standardized Licensing: Metadata fields for machine-readable license definitions to facilitate automated data usage decisions.
  • Symmetry Information: Standardized fields for describing structural symmetry, aiding in filtering and reconstruction.

The paper also discusses associated software tools like optimade-python-tools (for serving, validating, and consuming APIs), optimade-gateway (for querying OPTIMADE databases), and Optimade.Science (an in-browser aggregator).

Datasets

The paper does not introduce new datasets for training or evaluation. Instead, it focuses on how OPTIMADE provides access to a multitude of existing materials databases. These include, but are not limited to:

  • AFLOW
  • Alexandria
  • BioExcel COVID-19
  • Computational Materials Repository (CMR)
  • Crystallography Open Database (COD)
  • Joint Automated Repository for Various Integrated Simulations (JARVIS)
  • Materials Cloud
  • Materials Platform for Data Science (MPDS)
  • Materials Project
  • Material-Property-Descriptor Database (MPDD)
  • Materials Properties Open Database (MPOD)
  • Materials Resource Registry
  • Matterverse
  • NOMAD
  • Open Database of Xtals (odbx)
  • Open Materials Database (omdb)
  • Open Quantum Materials Database (OQMD)

The paper includes a table (Table 1) that compares the number of structures served by various OPTIMADE providers, demonstrating the growth and breadth of data available.

Key Insights and Ideas

  • Interoperability is Key: The success of OPTIMADE hinges on its ability to bridge the gap between diverse data sources, making materials data universally accessible and usable.
  • Standardization Accelerates Discovery: By providing a common language and access method, OPTIMADE significantly reduces the effort required to find and integrate materials data, directly impacting the speed of research.
  • Machine Learning's Data Dependency: Machine learning in materials science is heavily reliant on large, diverse datasets. OPTIMADE directly addresses this need by unlocking access to a vast pool of complementary data.
  • Community-Driven Development: The ongoing evolution of the OPTIMADE specification and tools is driven by user feedback and community workshops, ensuring its relevance and utility.
  • Beyond Structures: The API is expanding beyond static crystal structures to include more complex data types like trajectories and biomolecular information, broadening its applicability.

Key Results

  • Significant Adoption: As of the paper's writing, 22 registered providers offer access to 25 interoperable databases, serving over 22 million crystal structures.
  • Version 1.2 Enhancements: The latest specification (v1.2) introduces crucial features like detailed property definitions, streaming capabilities, and improved filtering, enabling more sophisticated queries and data handling.
  • Successful Use Cases: The paper details several use cases demonstrating OPTIMADE's utility, including:
  • Machine Learning: A case study on high-entropy alloys showed that combining data from multiple providers using OPTIMADE significantly improved the predictive power of machine learning models (R² of 0.995 for a combined model vs. poor performance for single-provider models).
  • Materials Discovery: OPTIMADE facilitated the assessment of novelty in predicted crystal structures for quaternary mixed metal chalcogenide perovskites.
  • Workflow Automation: Examples using BIOVIA Pipeline Pilot and MatCloud demonstrate how OPTIMADE enables automated data retrieval for simulations and analysis.
  • Growth and Impact: The paper highlights the substantial growth in data volume and the addition of new providers since its previous publication, underscoring OPTIMADE's increasing impact.

Limitations and Future Work

  • Database Provider Implementation: While the OPTIMADE specification is standardized, the implementation of queries and data mapping can vary between providers, requiring clients to handle these differences.
  • Query Complexity: Some expensive query operators are not yet supported by all providers, limiting the complexity of queries that can be universally applied.
  • Future Developments:
    • /trajectories endpoint: To support dynamic data from simulations.
  • /collections endpoint: To group related entries for specific research projects or models.
  • Ontologies and Semantics: Developing semantic mappings to integrate OPTIMADE data with existing materials and crystallography ontologies.
  • SMILES Property: To facilitate the search and selection of materials containing organic constituents.
  • Biomolecular Fields: Extending the specification to handle biomolecular structures and dynamical fields.
  • Large Language Models (LLMs): Exploring LLMs to assist non-experts in formulating OPTIMADE queries and to extract data for OPTIMADE databases.
  • Domain-Specific Namespaces: Encouraging the development of specialized namespaces for various scientific domains (e.g., cheminformatics, biomolecular fields, magnetic properties).

Summary updated

BibTeX
@inproceedings{evans2024developments,
  author = {Matthew L. Evans and J. Bergsma and Andrius Merkys and Casper Welzel Andersen and Oskar B. Andersson and Daniel Beltrán and Evgeny Blokhin and Tara M. Boland and Rubén Castañeda Balderas and Kamal Choudhary and Alberto Díaz Díaz and R. García and Hagen Eckert and Kristjan Eimre and María E. Fuentes and Adam M. Krajewski and Jens Jørgen Mortensen and José Manuel Nápoles Duarte and Jacob Pietryga and Ji Qi and Felipe de Jesús Trejo Carrillo and Antanas Vaitkus and Ju‐Song Yu and Adam C. Zettel and Pedro Baptista de Castro and Johan M. Carlsson and Tiago F. T. Cerqueira and Simon Divilov and Hamidreza Hajiyani and Felix Hanke and Kevin Jose and Corey Oses and Janosh Riebesell and Jonathan Schmidt and Donny Winston and Christen Xie and Xiaoyu Yang and Sara Bonella and Silvana Botti and Stefano Curtarolo and Claudia Draxl and Luis Edmundo Fuentes Cobas and Adam Hospital and Zi‐Kui Liu and Miguel A. L. Marques and Nicola Marzari and Andrew J. Morris and Shyue Ping Ong and Modesto Orozco and Kristin A. Persson and Kristian S. Thygesen and Chris Wolverton and Markus Scheidgen and Cormac Toher and G. J. Conduit and Giovanni Pizzi and S. Gražulis and Gian‐Marco Rignanese and Rickard Armiento},
  title = {{Developments and applications of the OPTIMADE API for materials discovery, design, and data exchange}},
  booktitle = {Repository},
  year = {2024},
}
Figure