[Paper Review] Geotechnical Parrot Tales (GPT): Harnessing Large Language Models in geotechnical engineering
The paper investigates how large language models can assist geotechnical engineering through prompt engineering, context-aware querying, reasoning prompts, and a proposed action-observation-thought workflow with engineering tools to reduce hallucinations and improve reliability.
The widespread adoption of large language models (LLMs), such as OpenAI's ChatGPT, could revolutionize various industries, including geotechnical engineering. However, GPT models can sometimes generate plausible-sounding but false outputs, leading to hallucinations. In this article, we discuss the importance of prompt engineering in mitigating these risks and harnessing the full potential of GPT for geotechnical applications. We explore the challenges and pitfalls associated with LLMs and highlight the role of context in ensuring accurate and valuable responses. Furthermore, we examine the development of context-specific search engines and the potential of LLMs to become a natural interface for complex tasks, such as data analysis and design. We also develop a unified interface using natural language to handle complex geotechnical engineering tasks and data analysis. By integrating GPT into geotechnical engineering workflows, professionals can streamline their work and develop sustainable and resilient infrastructure systems for the future.
Motivation & Objective
- Demonstrate the potential and limitations of ChatGPT/LLMs in geotechnical engineering tasks.
- Highlight the importance of prompt engineering to mitigate hallucinations and misalignment.
- Propose context-specific and tool-assisted workflows to improve reliability in engineering analyses.
Proposed method
- Explain Transformer-based text generation and how attention, temperature, and probabilistic word selection influence outputs.
- Describe prompt engineering as a means to guide LLMs toward task-specific results.
- Propose a context-specific search engine using vector embeddings and FAISS to supply relevant DIGGS context to GPT.
- Discuss reasoning with chain-of-thought prompts and its limitations in engineering tasks.
- Introduce an action-observation-thought (ReAct) style framework augmented with short- and long-term memory tools for complex workflows.
- Illustrate a workflow where GPT uses dedicated tools (e.g., BearingCapacityTool, SoilReportTool) to perform geotechnical calculations.

Experimental results
Research questions
- RQ1How can prompt engineering mitigate hallucinations and improve the reliability of LLMs in geotechnical tasks?
- RQ2Can a context-specific search and tool-enabled framework enable GPT to perform reliable geotechnical analyses?
- RQ3What is the potential of a reasoning-and-action framework to handle complex engineering workflows with LLMs?
- RQ4How can long- and short-term memory be integrated to support iterative geotechnical computations?
Key findings
- LLMs are prone to hallucinations and misalignment; careful prompt design and contextual grounding are essential.
- A context-specific semantic search workflow can supply GPT with precise domain context (e.g., DIGGS XML tags) to reduce incorrect outputs.
- Reasoning prompts (chain-of-thought) can demonstrate problem-solving steps but may still produce incorrect results without proper constraints.
- An action-observation-thought (ReAct) approach with engineering tools can enable structured workflows and improve calculation reliability.
- Integration of short- and long-term memory with LLM tool use can help solve complex geotechnical tasks more accurately, as illustrated by the proposed maximum load example.

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.