[Paper Review] Assessing Large Language Models in Mechanical Engineering Education: A Study on Mechanics-Focused Conceptual Understanding
This study evaluates large language models (LLMs) — GPT-3.5, GPT-4, and Claude-2.1 — on a 126-question mechanics-focused exam in mechanical engineering, revealing GPT-4's superior performance across most topics, especially with reasoning prompts. It demonstrates LLMs' strong potential as educational assistants, particularly when guided by structured prompting, though challenges remain in symbolic and tensor-based mechanics.
This study is a pioneering endeavor to investigate the capabilities of Large Language Models (LLMs) in addressing conceptual questions within the domain of mechanical engineering with a focus on mechanics. Our examination involves a manually crafted exam encompassing 126 multiple-choice questions, spanning various aspects of mechanics courses, including Fluid Mechanics, Mechanical Vibration, Engineering Statics and Dynamics, Mechanics of Materials, Theory of Elasticity, and Continuum Mechanics. Three LLMs, including ChatGPT (GPT-3.5), ChatGPT (GPT-4), and Claude (Claude-2.1), were subjected to evaluation against engineering faculties and students with or without mechanical engineering background. The findings reveal GPT-4's superior performance over the other two LLMs and human cohorts in answering questions across various mechanics topics, except for Continuum Mechanics. This signals the potential future improvements for GPT models in handling symbolic calculations and tensor analyses. The performances of LLMs were all significantly improved with explanations prompted prior to direct responses, underscoring the crucial role of prompt engineering. Interestingly, GPT-3.5 demonstrates improved performance with prompts covering a broader domain, while GPT-4 excels with prompts focusing on specific subjects. Finally, GPT-4 exhibits notable advancements in mitigating input bias, as evidenced by guessing preferences for humans. This study unveils the substantial potential of LLMs as highly knowledgeable assistants in both mechanical pedagogy and scientific research.
Motivation & Objective
- To evaluate the conceptual understanding of large language models (LLMs) in mechanical engineering, focusing on core mechanics disciplines.
- To compare LLM performance against human experts and students with varying engineering backgrounds on standardized mechanics questions.
- To investigate the impact of prompt engineering — particularly the use of explanatory context — on LLM accuracy and reasoning reliability.
- To assess LLMs' susceptibility to input bias and their ability to mitigate guessing tendencies.
- To explore the potential of LLMs as intelligent assistants in mechanical engineering pedagogy and research.
Proposed method
- Development of a manually curated 126-question multiple-choice exam covering six mechanics domains: Fluid Mechanics, Mechanical Vibration, Statics and Dynamics, Mechanics of Materials, Theory of Elasticity, and Continuum Mechanics.
- Evaluation of three LLMs — ChatGPT (GPT-3.5), ChatGPT (GPT-4), and Claude (Claude-2.1) — on the exam under controlled prompting conditions.
- Application of two prompting strategies: general domain context (broad) and specific subject focus (narrow), to assess their impact on performance.
- Incorporation of human baseline comparisons using engineering faculty and students with/without mechanical engineering backgrounds.
- Quantitative analysis of answer accuracy, bias mitigation, and consistency across topics and prompting styles.
- Use of statistical evaluation to compare LLM performance against human cohorts and identify topic-specific performance gaps.
Experimental results
Research questions
- RQ1How do GPT-3.5, GPT-4, and Claude-2.1 perform on a comprehensive mechanics-focused multiple-choice exam in mechanical engineering?
- RQ2What is the impact of prompting strategies — broad domain context versus specific subject focus — on LLM accuracy and reasoning quality?
- RQ3How does GPT-4’s performance compare to human experts and students across different mechanics topics, particularly in complex areas like Continuum Mechanics?
- RQ4To what extent do LLMs exhibit input bias, and can they mitigate guessing preferences through improved prompting?
- RQ5In what ways can LLMs serve as effective assistants in mechanical engineering education and research based on conceptual understanding?
Key findings
- GPT-4 achieved the highest overall accuracy across most mechanics topics, significantly outperforming both GPT-3.5 and Claude-2.1.
- GPT-4 demonstrated superior performance in mitigating input bias, reducing preference for certain answer choices compared to humans and other LLMs.
- Prompting with explanatory context significantly improved the performance of all three LLMs, highlighting the critical role of prompt engineering.
- GPT-3.5 showed better performance with broad-domain prompts, while GPT-4 excelled with subject-specific prompts, indicating differing optimal prompting strategies.
- All LLMs underperformed in Continuum Mechanics, suggesting limitations in handling symbolic and tensor-based calculations.
- The study confirms that LLMs, especially GPT-4, possess strong conceptual understanding in mechanical engineering and can serve as reliable educational assistants when properly prompted.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.