MatTools: Benchmarking Large Language Models for Materials Science Tools

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Siyu, Hu, Bo, Ye, Beilin, Xu, Jiamin, Srolovitz, David J., Wen, Tongqi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909963594498048
author Liu, Siyu
Hu, Bo
Ye, Beilin
Xu, Jiamin
Srolovitz, David J.
Wen, Tongqi
author_facet Liu, Siyu
Hu, Bo
Ye, Beilin
Xu, Jiamin
Srolovitz, David J.
Wen, Tongqi
contents Large language models (LLMs) are increasingly applied to materials science questions, including literature comprehension, property prediction, materials discovery and alloy design. At the same time, a wide range of physics-based computational approaches have been developed in which materials properties can be calculated. Here, we propose a benchmark application to evaluate the proficiency of LLMs to answer materials science questions through the generation and safe execution of codes based on such physics-based computational materials science packages. MatTools is built on two complementary components: a materials simulation tool question-answer (QA) benchmark and a real-world tool-usage benchmark. We designed an automated methodology to efficiently collect real-world materials science tool-use examples. The QA benchmark, derived from the pymatgen (Python Materials Genomics) codebase and documentation, comprises 69,225 QA pairs that assess the ability of an LLM to understand materials science tools. The real-world benchmark contains 49 tasks (138 subtasks) requiring the generation of functional Python code for materials property calculations. Our evaluation of diverse LLMs yields three key insights: (1)Generalists outshine specialists;(2)AI knows AI; and (3)Simpler is better. MatTools provides a standardized framework for assessing and improving LLM capabilities for materials science tool applications, facilitating the development of more effective AI systems for materials science and general scientific research.
format Preprint
id arxiv_https___arxiv_org_abs_2505_10852
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MatTools: Benchmarking Large Language Models for Materials Science Tools
Liu, Siyu
Hu, Bo
Ye, Beilin
Xu, Jiamin
Srolovitz, David J.
Wen, Tongqi
Materials Science
Computation and Language
Databases
Large language models (LLMs) are increasingly applied to materials science questions, including literature comprehension, property prediction, materials discovery and alloy design. At the same time, a wide range of physics-based computational approaches have been developed in which materials properties can be calculated. Here, we propose a benchmark application to evaluate the proficiency of LLMs to answer materials science questions through the generation and safe execution of codes based on such physics-based computational materials science packages. MatTools is built on two complementary components: a materials simulation tool question-answer (QA) benchmark and a real-world tool-usage benchmark. We designed an automated methodology to efficiently collect real-world materials science tool-use examples. The QA benchmark, derived from the pymatgen (Python Materials Genomics) codebase and documentation, comprises 69,225 QA pairs that assess the ability of an LLM to understand materials science tools. The real-world benchmark contains 49 tasks (138 subtasks) requiring the generation of functional Python code for materials property calculations. Our evaluation of diverse LLMs yields three key insights: (1)Generalists outshine specialists;(2)AI knows AI; and (3)Simpler is better. MatTools provides a standardized framework for assessing and improving LLM capabilities for materials science tool applications, facilitating the development of more effective AI systems for materials science and general scientific research.
title MatTools: Benchmarking Large Language Models for Materials Science Tools
topic Materials Science
Computation and Language
Databases
url https://arxiv.org/abs/2505.10852