AutoFEA: Enhancing AI Copilot by Integrating Finite Element Analysis Using Large Language Models with Graph Neural Networks
Abstract
Large Language Models (LLMs) have demonstrated significant potential across various applications, but their use as AI copilots in complex and specialized tasks is often hindered by AI hallucinations, where models generate outputs that seem plausible but are incorrect. To address this challenge, we develop AutoFEA, an intelligent system that integrates LLMs with Finite Element Analysis (FEA) to automate the generation of FEA input files. Our approach features a novel planning method and a graph convolutional network (GCN)-Transformer Link Prediction retrieval model, which enhances the accuracy and reliability of the generated simulations. The AutoFEA system proceeds with key steps: dataset preparation, step-by-step planning, GCN-Transformer Link Prediction retrieval, LLM-driven code generation, and simulation using CalculiX. In this workflow, the GCN-Transformer model predicts and retrieves relevant example codes based on relationships between different steps in the FEA process, guiding the LLM in generating accurate simulation codes. We validate AutoFEA using a specialized dataset of 512 meticulously prepared FEA projects, which provides a robust foundation for training and evaluation. Our results demonstrate that AutoFEA significantly reduces AI hallucinations by grounding LLM outputs in physically accurate simulation data, thereby improving the success rate and accuracy of FEA simulations and paving the way for future advancements in AI-assisted engineering tasks.
Cite
Text
Hou et al. "AutoFEA: Enhancing AI Copilot by Integrating Finite Element Analysis Using Large Language Models with Graph Neural Networks." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I22.34582Markdown
[Hou et al. "AutoFEA: Enhancing AI Copilot by Integrating Finite Element Analysis Using Large Language Models with Graph Neural Networks." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/hou2025aaai-autofea/) doi:10.1609/AAAI.V39I22.34582BibTeX
@inproceedings{hou2025aaai-autofea,
title = {{AutoFEA: Enhancing AI Copilot by Integrating Finite Element Analysis Using Large Language Models with Graph Neural Networks}},
author = {Hou, Shifu and Johnson, Rick and Makhija, Ramandeep and Chen, Lingwei and Ye, Yanfang},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2025},
pages = {24078-24085},
doi = {10.1609/AAAI.V39I22.34582},
url = {https://mlanthology.org/aaai/2025/hou2025aaai-autofea/}
}