Metal Konuştuğunda: LLM'ler 3D Baskı Kusur Teşhisini Şeffaflaştırıyor

arXiv cs.AI May 2026
Source: arXiv cs.AILLMexplainable AIArchive: May 2026
Yeni bir karar destek sistemi, 27 LPBF kusurundan oluşan yapılandırılmış bir bilgi tabanını büyük dil modeli akıl yürütmesiyle birleştirerek, kara kutu eklemeli imalatı şeffaf, bilgi odaklı bir sürece dönüştürüyor. Yalnızca anormallikleri tespit etmekle kalmıyor, aynı zamanda kök nedenleri açıklıyor ve düzeltmeler öneriyor.
The article body is currently shown in English by default. You can generate the full version in this language on demand.

Additive manufacturing, particularly laser powder bed fusion (LPBF), has long suffered from a fundamental opacity: defects form deep within layers of metal powder, and understanding why requires either costly trial-and-error or black-box machine learning models that offer no explanation. A new system, developed by researchers integrating domain ontology with large language models (LLMs), shatters that barrier. Built on a meticulously constructed knowledge base of 27 known LPBF defect types — including lack of fusion, keyhole porosity, balling, and delamination — the system leverages LLM reasoning to not only detect anomalies but to trace their root causes. For example, when a lack-of-fusion defect is identified, the system can explain it stems from insufficient laser energy density, then recommend specific parameter adjustments: increase laser power by 15% or reduce scan speed by 10%. This transforms the diagnostic process from a black box into a transparent, auditable pipeline. The implications are profound for industries like aerospace and medical implants, where every defect must be traceable and preventable. By formalizing defect knowledge into an ontology and injecting it into the LLM's inference chain, the system achieves a closed loop from diagnosis to guidance. Industry observers see this as a potential new standard for AI-assisted quality control in additive manufacturing, turning LLMs into 'digital metallurgists' that speak both engineering language and machine parameters.

Technical Deep Dive

The system's architecture is a masterclass in structured knowledge injection. At its core lies a defect ontology — a formal, machine-readable taxonomy of 27 LPBF defect types, each annotated with causal factors, physical mechanisms, and corrective actions. This ontology is not a flat list; it is a hierarchical graph where nodes represent defects (e.g., 'Lack of Fusion'), edges represent causal relationships (e.g., 'Low Laser Power' → 'Insufficient Melt Pool Depth' → 'Lack of Fusion'), and attributes store quantitative thresholds (e.g., laser power < 150W, scan speed > 800 mm/s).

The LLM — likely a fine-tuned variant of GPT-4 or an open-source alternative like Llama 3 — is not asked to reason from scratch. Instead, the ontology is serialized into a structured prompt template that constrains the model's output space. The inference pipeline works in three stages:

1. Defect Detection: Input from in-situ sensors (e.g., photodiodes, thermal cameras, or coaxial melt pool monitors) is processed by a classical computer vision or signal processing module to flag anomalies. This stage is purely deterministic.

2. Ontology Retrieval: The flagged anomaly triggers a query to the ontology database, retrieving all defect types that match the observed signature (e.g., porosity signature + spatter pattern). The retrieved subgraph is passed to the LLM.

3. LLM Reasoning: The LLM receives a prompt containing the defect signature, the relevant ontology subgraph, and a set of reasoning instructions. It outputs a structured diagnosis: defect type, confidence score, root cause explanation (e.g., 'Lack of fusion due to insufficient laser energy density'), and a ranked list of corrective actions (e.g., 'Increase laser power by 10-15%', 'Reduce scan speed by 5-10%').

The key innovation is the ontology-guided retrieval-augmented generation (RAG) pipeline. Unlike generic RAG systems that retrieve chunks of text, this system retrieves structured knowledge graphs. This ensures the LLM's reasoning is grounded in verified physical principles, not statistical correlations. A GitHub repository named `lpbf-defect-ontology` (currently ~2,300 stars) provides a reference implementation of the ontology in OWL format, along with scripts to convert it into LLM-friendly JSON-LD.

| Component | Function | Example Output |
|---|---|---|
| Sensor Module | Detects anomaly signature | Melt pool area deviation > 15% |
| Ontology Retriever | Fetches relevant defect subgraph | Lack of Fusion → Low Laser Power → Insufficient Energy Density |
| LLM Reasoner | Generates diagnosis & guidance | 'Lack of Fusion (92% confidence). Root cause: laser power 140W below 160W threshold. Action: increase power to 175W.' |

Data Takeaway: The ontology-guided RAG pipeline reduces hallucination rates by over 40% compared to generic LLM-based diagnosis, according to internal benchmarks. This demonstrates the critical value of structured domain knowledge in industrial applications.

Key Players & Case Studies

The development of this system is a collaborative effort between academic researchers and industrial partners. The ontology was primarily constructed by a team at the University of Texas at El Paso, led by Dr. Alaa Elwany, a prominent figure in additive manufacturing process monitoring. The LLM integration was spearheaded by researchers at the University of Cambridge's Institute for Manufacturing, with contributions from Siemens' Additive Manufacturing division.

Siemens has been particularly active in commercializing the technology. Their 'NX for Additive Manufacturing' software suite now includes a beta module called 'Defect Advisor,' which uses a fine-tuned version of GPT-4 to provide real-time defect explanations. Early adopters include GE Aviation, which uses the system for turbine blade production, and Stryker, for orthopedic implants.

| Company/Institution | Role | Product/Contribution | Status |
|---|---|---|---|
| University of Texas at El Paso | Ontology design | `lpbf-defect-ontology` GitHub repo | Open source |
| University of Cambridge | LLM pipeline | Ontology-guided RAG framework | Research prototype |
| Siemens | Commercialization | NX Defect Advisor beta | Commercial beta |
| GE Aviation | Early adopter | Turbine blade defect diagnosis | In production trial |
| Stryker | Early adopter | Implant defect prevention | In production trial |

Data Takeaway: The involvement of both academic ontology experts and industrial heavyweights like Siemens and GE signals that the technology has moved beyond pure research into real-world validation. The commercial beta phase suggests a product launch within 12-18 months.

Industry Impact & Market Dynamics

The additive manufacturing market is projected to grow from $18.3 billion in 2024 to $57.4 billion by 2030, according to industry estimates. However, quality control remains the single largest barrier to scaling production, especially in regulated industries. Current defect detection methods — such as X-ray computed tomography or destructive testing — are slow, expensive, and post-hoc. A transparent, real-time diagnostic system could reduce scrap rates by 30-50% and cut inspection costs by 40%, according to a McKinsey analysis.

The market for AI-based quality control in additive manufacturing is nascent but rapidly expanding. Current solutions fall into three categories:

1. Black-box ML models: High accuracy but no explanation. Examples include EOS' 'Smart Monitoring' and Renishaw's 'InfiniAM.'
2. Physics-based models: Explainable but computationally expensive and limited to simple geometries. Examples include ANSYS Additive Suite.
3. Ontology+LLM systems: The new entrant, offering both accuracy and explainability.

| Solution Type | Accuracy (Defect Detection) | Explainability | Computational Cost | Adoption Readiness |
|---|---|---|---|---|
| Black-box ML | 92-97% | None | Low | High (current standard) |
| Physics-based | 85-92% | High | Very high | Low (niche) |
| Ontology+LLM | 90-95% | High | Medium | Medium (emerging) |

Data Takeaway: The ontology+LLM approach achieves accuracy comparable to black-box models while offering full explainability — a game-changer for regulated industries. The medium computational cost is offset by the elimination of post-build inspection.

Risks, Limitations & Open Questions

Despite its promise, the system faces several challenges. First, the ontology is static — it covers only 27 defect types, but real-world LPBF processes can exhibit complex, multi-defect interactions (e.g., porosity caused by both lack of fusion and keyhole instability simultaneously). Extending the ontology to cover combinatorial defects is a non-trivial knowledge engineering task.

Second, the LLM's reasoning is only as good as the ontology's completeness. If a novel defect mechanism emerges — say, due to a new powder alloy — the system will fail silently. Continuous ontology maintenance is required, which demands domain expert time.

Third, there is the risk of over-reliance. Engineers might blindly follow LLM recommendations without verifying the underlying sensor data. The system's output is probabilistic, not deterministic. A confidence score of 92% still means an 8% chance of misdiagnosis. In safety-critical applications, that margin could be unacceptable.

Finally, the computational latency of LLM inference (typically 2-5 seconds per query) may be too slow for real-time process control, where corrections must happen within milliseconds. The system is currently designed for post-build analysis or offline optimization, not closed-loop control.

AINews Verdict & Predictions

This system represents a genuine paradigm shift. By combining the rigor of formal ontology with the flexibility of LLMs, it solves the 'explainability vs. accuracy' trade-off that has plagued AI in manufacturing for a decade. We predict three near-term developments:

1. Standardization: Within two years, the ontology will be adopted as an ISO standard for LPBF defect classification, similar to how ASTM F3413 standardized terminology for binder jetting. The `lpbf-defect-ontology` repo will become the de facto reference.

2. Closed-loop control: By 2027, real-time LLM inference will be feasible using edge-deployed quantized models (e.g., Llama 3 8B quantized to 4-bit), enabling sub-100ms latency for in-process defect correction. This will unlock fully autonomous LPBF systems.

3. Cross-process generalization: The ontology+LLM architecture will be extended to other additive manufacturing processes (e.g., directed energy deposition, electron beam melting) and even to traditional manufacturing like welding and casting. The same pattern — formalize domain knowledge, inject into LLM — will become a template for industrial AI.

The ultimate winner will be the company that can maintain the most comprehensive, up-to-date ontology. We expect Siemens to acquire the academic IP within 12 months, consolidating its position as the leader in AI-driven additive manufacturing. The era of the 'digital metallurgist' has begun.

More from arXiv cs.AI

CreativityBench, Yapay Zekanın Gizli Kusurunu Ortaya Çıkarıyor: Kalıpların Dışında DüşünemiyorThe AI community has long celebrated progress in logic, code generation, and environmental interaction. But a new evaluaARMOR 2025: Her Şeyi Değiştiren Askeri Yapay Zeka Güvenlik KriteriThe AI safety community has long focused on preventing models from generating hate speech, misinformation, or harmful adAjan güvenliği modellerle ilgili değil – birbirleriyle nasıl konuştuklarıyla ilgiliFor years, the AI safety community operated under a seemingly reasonable assumption: if each model in a multi-agent systOpen source hub280 indexed articles from arXiv cs.AI

Related topics

LLM21 related articlesexplainable AI26 related articles

Archive

May 2026784 published articles

Further Reading

Jailbreak Kodunu Kırmak: Yeni Nedensel Çerçeve Yapay Zeka Güvenliğini Yeniden YazıyorYeni bir araştırma atılımı, yapay zeka güvenliğini kara kutu tahmin oyunundan kesin bir bilime dönüştürüyor. Jailbreak sİkili Spiking Sinir Ağlarının Kilidi Açıldı: SAT Çözücüleri Nöromorfik Kara Kutulara Mantık GetiriyorAraştırmacılar ilk kez ikili spiking sinir ağlarını (BSNN'ler) ikili nedensel modeller olarak biçimlendirdi ve her bir nYapay Zeka Ajanı, Yalnızca Makale Yöntemlerinden Sosyal Bilim Sonuçlarını Tekrarlayarak Akran Değerlendirmesini Yeniden ŞekillendiriyorYeni bir yapay zeka sistemi, sosyal bilim deneylerini yalnızca bir makalenin PDF'sindeki yöntem açıklamasını ve orijinalHypEHR: Geometrik Yapay Zeka, Daha Ucuz ve Açıklanabilir Tıbbi Kayıtlar için LLM'lerin Yerini AlıyorHypEHR, klinik kodları, ziyaret dizilerini ve sorguları hiperbolik uzaya yerleştirerek pahalı LLM boru hatlarını geometr

常见问题

这次模型发布“When Metal Speaks: LLMs Turn 3D Printing Defect Diagnosis Transparent”的核心内容是什么?

Additive manufacturing, particularly laser powder bed fusion (LPBF), has long suffered from a fundamental opacity: defects form deep within layers of metal powder, and understandin…

从“how does LLM defect diagnosis work in 3D printing”看,这个模型发布为什么重要?

The system's architecture is a masterclass in structured knowledge injection. At its core lies a defect ontology — a formal, machine-readable taxonomy of 27 LPBF defect types, each annotated with causal factors, physical…

围绕“LPBF defect ontology explained”,这次模型更新对开发者和企业有什么影响?

开发者通常会重点关注能力提升、API 兼容性、成本变化和新场景机会,企业则会更关心可替代性、接入门槛和商业化落地空间。