Towards Foundational AI Models for Additive Manufacturing: Language Models for G-Code Debugging, Manipulation, and Comprehension
Not on the map. Why?
Abstract (arXiv)
3D printing or additive manufacturing is a revolutionary technology that enables the creation of physical objects from digital models. However, the quality and accuracy of 3D printing depend on the correctness and efficiency of the G-code, a low-level numerical control programming language that instructs 3D printers how to move and extrude material. Debugging G-code is a challenging task that requires a syntactic and semantic understanding of the G-code format and the geometry of the part to be printed. In this paper, we present the first extensive evaluation of six state-of-the-art foundational large language models (LLMs) for comprehending and debugging G-code files for 3D printing. We design effective prompts to enable pre-trained LLMs to understand and manipulate G-code and test their performance on various aspects of G-code debugging and manipulation, including detection and correction of common errors and the ability to perform geometric transformations. We analyze their strengths and weaknesses for understanding complete G-code files. We also discuss the implications and limitations of using LLMs for G-code comprehension.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 22 of its 44 references that are in the map. First posted on arXiv 4 Sep 2023.
Builds on
22 of 44 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2022Magic3D: High-Resolution Text-to-3D Content Creationcited by 1,290
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2023StarCoder: may the source be with you!cited by 799
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
10 more
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 558
- 2023LERF: Language Embedded Radiance Fieldscited by 543
- 2021Zero-Shot Text-Guided Object Generation with Dream Fieldscited by 513
- 2023Instruct-NeRF2NeRF: Editing 3D Scenes with Instructionscited by 484
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2021CLIP-Forge: Towards Zero-Shot Text-to-Shape Generationcited by 254
- 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
- 2023How Can Large Language Models Help Humans in Design and Manufacturing?cited by 41
- 2023ZeroForge: Feedforward Text-to-Shape Without 3D Supervisioncited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 1; 2026: 2.
9 papers.
- 2023Lemur: Harmonizing Natural Language and Code for Language Agentscited by 72
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agentscited by 72
- 2024AI as Humanity's Salieri: Quantifying Linguistic Creativity of Language Models via Systematic Attribution of Machine Text against Web Textcited by 42
- 2024Large Language Model-Enabled Multi-Agent Manufacturing Systemscited by 14
- 2024FDM-Bench: A Comprehensive Benchmark for Evaluating Large Language Models in Additive Manufacturing Taskscited by 4
- 2024Geometric Algebra Meets Large Language Models: Instruction-Based Transformations of Separate Meshes in 3D, Interactive and Controllable Scenescited by 1
- 2025Few-Shot VLM-Based G-Code and HMI Verification in CNC Machiningcited by 0
- 2026LLM-ADAM: A Generalizable LLM Agent Framework for Pre-Print Anomaly Detection in Additive Manufacturingcited by 0
- 2026Physics-Grounded Multi-Agent Architecture for Traceable, Risk-Aware Human-AI Decision Support in Manufacturingcited by 0
- 2026Physics-Grounded Multi-Agent Architecture for Traceable, Risk-Aware Human-AI Decision Support in Manufacturing5 May 2026
- 2026LLM-ADAM: A Generalizable LLM Agent Framework for Pre-Print Anomaly Detection in Additive Manufacturing5 May 2026
- 2025Few-Shot VLM-Based G-Code and HMI Verification in CNC Machining12 Dec 2025
- 2024FDM-Bench: A Comprehensive Benchmark for Evaluating Large Language Models in Additive Manufacturing Tasks13 Dec 2024
- 2024AI as Humanity's Salieri: Quantifying Linguistic Creativity of Language Models via Systematic Attribution of Machine Text against Web Text5 Oct 2024
- 2024Geometric Algebra Meets Large Language Models: Instruction-Based Transformations of Separate Meshes in 3D, Interactive and Controllable Scenes5 Aug 2024
- 2024Large Language Model-Enabled Multi-Agent Manufacturing Systems4 Jun 2024
- 2023Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agents20 Nov 2023
- 2023Lemur: Harmonizing Natural Language and Code for Language Agents10 Oct 2023