Reproduce “ALL-FEM: Agentic Large Language models Fine-tuned for Finite Element Methods” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Rushikesh Deotale, Adithya Srinivasan, Yuan Tian, Tianyi Zhang, Pavlos Vlachos, Hector Gomez
ALL-FEM, an autonomous simulation system, integrates fine-tuned large language models with agentic AI to automate Finite Element (FE) analysis using FEniCS. The system generates and verifies FEniCS code for solid, fluid, and multiphysics problems, achieving an overall accuracy of 71.79% on a diverse benchmark and outperforming non-agentic deployments of larger proprietary models.
Key insights
- Domain-specific fine-tuning significantly improves the reliability and correctness of LLM-generated FEniCS code, particularly for smaller models, by reducing hallucinations and enhancing understanding of numerical concepts.
- Agentic AI frameworks, especially the multi-agent setup, further improve problem-solving capabilities by enabling sequential reasoning, iterative debugging, and feedback loops that assess code correctness beyond mere executability.
- Combining fine-tuned open-source LLMs with agentic architectures can achieve performance competitive with or superior to larger, proprietary, non-agentic models for domain-specific tasks, offering a more accessible and cost-effective solution.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.