IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i19p3141-d1493746.html
   My bibliography  Save this article

Enhancing Large Language Model Comprehension of Material Phase Diagrams through Prompt Engineering and Benchmark Datasets

Author

Listed:
  • Yang Zha

    (Materials Genome Institute, Shanghai University, Shanghai 200444, China)

  • Ying Li

    (School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China)

  • Xiao-Gang Lu

    (School of Materials Science and Engineering, Shanghai University, Shanghai 200436, China)

Abstract

Large Language Models (LLMs) excel in fields such as natural language understanding, generation, complex reasoning, and biomedicine. With advancements in materials science, traditional manual annotation methods for phase diagrams have become inadequate due to their time-consuming nature and limitations in updating thermodynamic databases. To overcome these challenges, we propose a framework based on instruction tuning, utilizing LLMs for automated end-to-end annotation of phase diagrams. High-quality phase diagram images and expert descriptions are collected from handbooks and then preprocessed to correct errors, remove redundancies, and enhance information. These preprocessed data form a golden dataset, from which a subset are used to train LLMs through hierarchical sampling. The fine-tuned LLM is then tested for automated phase diagram annotation. Results show that the fine-tuned model achieves a cosine similarity of 0.8737, improving phase diagram comprehension accuracy by 7% compared to untuned LLMs. To the best of our knowledge, this is the first paper to propose using LLMs for the automated annotation of phase diagrams, replacing traditional manual annotation methods and significantly enhancing efficiency and accuracy.

Suggested Citation

  • Yang Zha & Ying Li & Xiao-Gang Lu, 2024. "Enhancing Large Language Model Comprehension of Material Phase Diagrams through Prompt Engineering and Benchmark Datasets," Mathematics, MDPI, vol. 12(19), pages 1-19, October.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:19:p:3141-:d:1493746
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/19/3141/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/19/3141/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:19:p:3141-:d:1493746. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.