[Paper Review] MechGPT, a language-based strategy for mechanics and materials modeling that connects knowledge across scales, disciplines and modalities
MechGPT is a fine-tuned large language model (LLM) designed to integrate knowledge across scales, disciplines, and modalities in mechanics and materials science. By leveraging retrieval-augmented generation and ontological knowledge graphs, it enables hypothesis generation, cross-domain reasoning, and interpretable knowledge retrieval, with models ranging from 13B to 70B parameters and context lengths exceeding 10,000 tokens.
For centuries, researchers have sought out ways to connect disparate areas of knowledge. While early scholars (Galileo, da Vinci, etc.) were experts across fields, specialization has taken hold later. With the advent of Artificial Intelligence, we can now explore relationships across areas (e.g., mechanics-biology) or disparate domains (e.g., failure mechanics-art). To achieve this, we use a fine-tuned Large Language Model (LLM), here for a subset of knowledge in multiscale materials failure. The approach includes the use of a general-purpose LLM to distill question-answer pairs from raw sources followed by LLM fine-tuning. The resulting MechGPT LLM foundation model is used in a series of computational experiments to explore its capacity for knowledge retrieval, various language tasks, hypothesis generation, and connecting knowledge across disparate areas. While the model has some ability to recall knowledge from training, we find that LLMs are particularly useful to extract structural insights through Ontological Knowledge Graphs. These interpretable graph structures provide explanatory insights, frameworks for new research questions, and visual representations of knowledge that also can be used in retrieval-augmented generation. Three versions of MechGPT are discussed, featuring different sizes from 13 billion to 70 billion parameters, and reaching context lengths of more than 10,000 tokens. This provides ample capacity for sophisticated retrieval augmented strategies, as well as agent-based modeling where multiple LLMs interact collaboratively and/or adversarially, the incorporation of new data from the literature or web searches, as well as multimodality.
Motivation & Objective
- To bridge knowledge gaps across scales (atomic to macroscopic), disciplines (mechanics, biology, art), and data modalities (text, images, equations) in materials science.
- To develop a foundation LLM capable of retrieving, reasoning, and generating hypotheses from heterogeneous scientific literature.
- To enable interpretable knowledge representation through ontological knowledge graphs for enhanced explainability and retrieval.
- To support advanced AI workflows such as agent-based modeling and multimodal integration using large-context LLMs.
- To demonstrate the utility of LLMs in accelerating discovery by connecting disparate domains in mechanics and materials modeling.
Proposed method
- Fine-tune a general-purpose LLM on question-answer pairs distilled from raw scientific sources in multiscale materials failure.
- Use retrieval-augmented generation (RAG) to enhance knowledge grounding and reduce hallucination in responses.
- Construct ontological knowledge graphs from LLM-extracted relationships to provide interpretable, visualizable, and queryable knowledge structures.
- Train three versions of MechGPT with 13B, 34B, and 70B parameters, supporting context lengths over 10,000 tokens.
- Integrate external data from literature and web searches to enable dynamic knowledge updates and agent-based collaboration.
- Support multimodal reasoning by linking textual, symbolic, and visual knowledge representations through the knowledge graph framework.
Experimental results
Research questions
- RQ1Can a fine-tuned LLM effectively retrieve and reason across multiscale and multidisciplinary knowledge in mechanics and materials science?
- RQ2How well can LLMs generate testable hypotheses by connecting disparate domains such as failure mechanics and artistic representation?
- RQ3To what extent do ontological knowledge graphs improve interpretability and retrieval accuracy in materials modeling?
- RQ4Can large-context LLMs support complex workflows like agent-based modeling and multimodal reasoning in scientific discovery?
- RQ5What is the impact of model scale (13B to 70B parameters) on knowledge retention and reasoning performance in materials science tasks?
Key findings
- MechGPT demonstrates strong capacity for knowledge retrieval and cross-domain reasoning, particularly when augmented with external knowledge sources.
- Ontological knowledge graphs extracted by the LLM provide interpretable, visual, and query-ready representations of scientific relationships.
- The model shows improved reasoning and hypothesis generation when using retrieval-augmented generation, reducing hallucination compared to standard LLMs.
- Larger model sizes (up to 70B parameters) and extended context lengths (>10,000 tokens) enable more sophisticated retrieval and multi-agent reasoning workflows.
- The integration of multimodal data through knowledge graphs supports richer, more contextualized scientific inquiry beyond pure text-based reasoning.
- MechGPT enables novel research pathways by connecting traditionally isolated domains such as mechanics and art through semantic and structural analogies.
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.