arXiv:2605.03328cs.LGcs.AI2026-05

用大模型框架提前检测3D打印异常,准确率超传统方法。

LLM-ADAM: A Generalizable LLM Agent Framework for Pre-Print Anomaly Detection in Additive Manufacturing

论文配图:LLM-ADAM: A Generalizable LLM Agent Framework for Pre-Print Anomaly Detection in Additive Manufacturing
图 1 · 摘自论文原文
  • 分三角色处理G-code:提取参数、对照标准、判断异常
  • 在200份代码上达87.5%准确率,远超单模型基线
  • 可适配不同打印机/材料,适合工业与教育场景

增材制造(AM)正推动灵活生产复杂结构,但用户缺乏经验时易设置错误参数。即使语法正确,微小的G-code改动也可能导致挤出不足、翘曲或拉丝等缺陷。本文提出LLM-ADAM框架,通过三个模块实现预打印异常检测:Extractor-LLM将G-code转为结构化参数;Reference-LLM从设备与材料文档中提取安全范围;Judge-LLM结合偏差表与证据判定是否异常。在包含200个FDM G-code样本的数据集上测试,覆盖两种桌面打印机、两种材料及五类缺陷(正常、挤出不足、过量、翘曲、拉丝)。最优配置达到87.5%准确率,显著优于最强单模型基线(59.5%)。结果表明,结构化分解是性能提升关键,多数缺陷已接近识别上限,剩余误差主要来自对正常样本的过度报警。

原文摘要 · Abstract (English)

Additive manufacturing (AM) continues to transform modern manufacturing by enabling flexible, on-demand production of complex geometries across diverse industries. Fused filament fabrication (FFF) has extended AM to laboratories, classrooms, and small production environments, but this accessibility shifts process-planning responsibility to users who may lack manufacturing expertise. A syntactically valid slicer profile can still encode thermally or geometrically harmful settings, and subtle G-code edits can alter extrusion, cooling, or adhesion before a print begins. Pre-print G-code screening catches accidental or adversarial machine-program errors before material or machine time is wasted. This paper proposes LLM-ADAM as a generalizable LLM framework for pre-print anomaly detection in AM. The framework decomposes the task into three roles: Extractor-LLM maps a G-code file to a structured process-parameter schema; Reference-LLM converts printer and material documentation into aligned operating ranges; and Judge-LLM interprets a deterministic deviation table and G-code evidence to decide whether a part is non-defective or belongs to an anomaly class. Printers, materials, and LLM backbones are interchangeable test conditions, not fixed assumptions. We evaluate the framework on an N=200 FFF G-code corpus spanning two desktop printer families, two materials, and five classes including non-defective, under-extrusion, over-extrusion, warping, and stringing. The best framework configuration reaches 87.5% accuracy, compared with 59.5% for the strongest engineered single-LLM baseline. The results show that structured decomposition, rather than backbone strength alone, is the dominant source of improvement, with defect classes identified at or near ceiling for leading configurations while residual errors concentrate on conservative false alarms for non-defective samples.

3D打印大模型应用异常检测智能制造

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。