AdditiveLLM: Large language models predict defects in metals additive manufacturing
In this work we investigate the ability of large language models to predict additive manufacturing defect regimes given a set of process parameter inputs. For this task we utilize a process parameter defect dataset to fine-tune a collection of models, titled AdditiveLLM , for the purpose of predicting potential defect regimes including Keyholing , Lack of Fusion , and Balling . We compare different methods of input formatting in order to gauge the model’s performance to correctly predict defect regimes on our sparse Baseline dataset and our natural language Prompt dataset. The model displays robust predictive capability, achieving a Baseline accuracy of 94% and Prompt accuracy of 82% when asked to provide the defect regimes associated with a set of process parameters. The incorporation of natural language input further simplifies the task of process parameters selection, enabling users to identify optimal settings specific to their build. • Explores usage of LLMs to predict process parameter dependent defects. • Compares fine-tuning of 4 LLMs including DistilBERT, SciBERT, Llama, and T5. • Achieves an accuracy of 93% for sparse inputs and 88% for NLP inputs. • Utilizes dataset comprised of simulation and experimental data.
Authors
- Amir Barati Farimani (ORCID: https://orcid.org/0000-0002-2952-8576)
- P. S. Pak (ORCID: https://orcid.org/0009-0005-3114-5186)
Institutions
- Carnegie Mellon University (US)
Publication Details
- Journal
- Additive Manufacturing Letters
- Published
- 2025-06-11
- DOI
- https://doi.org/10.1016/j.addlet.2025.100292
- Citations
- 2
- Primary Topic
- Additive Manufacturing Materials and Processes
- Type
- article
- Field-Weighted Citation Impact
- 1.43