Unit 1 / 12

Introduction to Artificial Intelligence in Metallurgy: Boundaries, Validation, Responsibility and Ethics

Gains:

  • Ability to distinguish where AI saves real time in the metallurgical and materials workflow and where the safety-critical responsibility should remain with the engineer, based on the level of risk
  • Ability to implement a three-layer validation discipline that tests each AI output against standard, independent computation and laboratory experimentation
  • Ability to anonymize context and secure tool selection to protect confidential alloy recipe, process parameter and customer data

While the turbine blade of an aircraft engine rotates hundreds of times per second at 1400 °C, you are the person who decides which superalloy (a special alloy that maintains its strength at high temperatures) that blade will be made of, what heat treatment it will undergo and how many thousand hours it will last: the metallurgical or materials engineer. Every decision you make in this profession determines either the survival of a structure or its damage. Artificial intelligence (AI for short: software systems that process text, numbers and images and produce suggestions) can speed up these decisions; but he can never take responsibility for you. This unit teaches you where to use AI safely in metallurgy and materials work, where it is dangerous, and why you have to validate every AI output with laboratory, standard, and experiment.

The central principle you will use throughout this module is: AI is an assistant, not a decision maker. A material property, a limit value, a standard item or a heat treatment recipe does not become true just because "AI said so"; It is merely a hypothesis until verified by measurement, reference, and engineering judgment. You will see this sentence again in every unit of the module, because in metallurgy, a wrong number often means a broken part.

What is LLM, what does it do in metallurgy?

LLM (Large Language Model) is a software that learns patterns from very large chunks of text and predicts the "next word" based on probability. This is the engine of tools such as ChatGPT, Claude, Gemini. The point is this: LLM is a "language estimator", not a "knowledge base". Speaks metallurgical terminology fluently, but does not measure a number; produces the number that looks most likely. Therefore, he may give confident but incorrect answers about yield strength, melting temperature or the item number of a standard. This is called a hallucination (fabrication). Hallucination is not a malfunction, but an inherent feature of this technology; Therefore, verification is not an "additional step" but an integral part of the job.

Tasks where AI is strong in metallurgy:

  • Concept explanation and teaching: what is martensite transformation, why is it hard and brittle; What is the difference between eutectic and eutectoid?
  • Generating a hypothesis list: Creating a systematic list of why porosity (gas or shrinkage-induced voids) may have occurred in a casting.
  • Text production: damage analysis report draft, WPS (welding procedure specification) draft, presentation, email.
  • Coding: data cleaning, graphics, simple calculation scripts (Python).
  • Data summarization and table organization: turning messy test results into an organized table.
  • Brainstorming: candidate elements, experimental matrix ideas for alloy design.

Where AI is weak and risky:

  • Giving exact numerical value (property, limit value, chemical composition).
  • Current/specific standard clause and version information.
  • Diagnostics without actual measurement data of your facility.
  • Safety-critical decision: airworthiness/serviceability of a part.

Risk-based classification: the filter before using AI

Not every task is at the same level of risk. Classify the task by risk level before using AI. The table below provides a decision framework that you will use throughout this module.

Risk level

sample task

AI role

Mandatory verification

low

Concept explanation, draft text, code skeleton

free use

Review is enough

medium

Calculation setup, list of hypotheses, literature summary

Draft/co-author

Manual control + source confirmation

high

Material selection, heat treatment recipe, limit value

idea generator

Standard + laboratory test

critical

Serviceability/airworthiness, root cause of damage, certification

Draft only

Accredited testing + authorized engineer approval

Tip: If you've marked a task as "critical", the AI's output is never the final document. At most it can be a preliminary draft or checklist; The authorized engineer assumes the signature and responsibility.

End-to-end flow: embedding AI into your workflow

A typical problem-solving cycle in a metallurgical business goes something like this, with AI entering each step but closing none of them alone:

  1. Define the problem: What broke, what feature is targeted, what constraint is there? (AI: helps clarify the question.)
  2. Collect data: Composition analysis, mechanical testing, microstructure, field data. (AI: lists which test is required.)
  3. Generate hypotheses: Possible causes/solutions. (AI: powerful — produces systematic lists.)
  4. Analyze: Calculation, model, image processing. (AI: generates code and calculation fiction.)
  5. Validate: Standard, laboratory, retest. (AI: on the sidelines here; human and device decide.)
  6. Report and decide: The engineer takes responsibility. (AI: draft writer.)

Keep these six steps in mind; The rest of the module shows you how to use AI with concrete tasks in each of these steps.

three mini cases

Case 1 — Fitted yield strength. An intern asks the AI ​​about the yield strength of AISI 4140 steel quenched and tempered at 200 °C; AI says "about 1500 MPa". The intern puts this directly into a spindle design calculation. However, the actual value varies roughly between 900–1600 MPa, depending on heat treatment parameters and section thickness; The value taken in a thin sample does not hold true in a thick section. Result: the safety factor turns out to be lower than expected. The correct attitude is to take the value from the material data sheet (mill certificate) and, if necessary, from the tensile test according to ISO 6892.

Case 2 — Non-existent standard clause. An engineer asks the AI ​​about the inclusion limit of stainless steel. AI says "max 2.5 according to ASTM E45 Section 7.3". The engineer writes the report accordingly. During customer inspection, it is revealed that the article number is fake and the standard does not have such a clause. The correct attitude is to open the current version of the standard from the official source and confirm the article. The AI ​​may hallucinate the item number even if it knows the standard name correctly.

Case 3 — Correct use. A damage analysis team examines a photograph of the broken surface of a broken M20 bolt. They ask the AI, “list the typical differences in the fracture surface of a fatigue crack and a brittle fracture, and tell me what I should look for in a scanning electron microscope (SEM) for each.” AI systematically explains beach marks, striae (fatigue lines) and dimple/cleavage distinction. The team searches for these traces with SEM, finds the striae and makes the diagnosis with the device image. Here AI was used correctly: organized the information, the laboratory made the decision.

Copiable prompt templates

You can use the templates below by adapting them to your own business. In each of them, there is a conscious instruction to "give an exact number, indicate the source, explain the uncertainty".

ROLE AND BOUNDARY TEMPLATE "Role: You are an experienced metallurgical engineer assistant. Task: [write the subject]. Rules: When giving the exact numerical value, state the SOURCE; if you are not sure, say 'must be verified'. If you give the standard item, give it with the version, but remind that it should be confirmed from the official source. At the end of the answer, write item by item 'what needs to be verified by experiment'."

HYPOTHESIS GENERATION TEMPLATE"Produce a systematic list of possible root causes for the following problem: [describe the problem; material, process, observation]. For each hypothesis: (1) what evidence supports it, (2) what test should be done to confirm/disprove it. DO NOT MAKE a definitive diagnosis; just produce a research roadmap."

VERIFICATION CHECKLIST TEMPLATE"List EVERY numeric value and EVERY standard reference in the output/report draft below. For each, indicate from which source (mill certificate, standard text, test report) it should be verified. Collect those of uncertain origin under a separate 'not available until verified' heading. Text: [paste]."

ANONYMIZATION PRE-CHECK TEMPLATE "Before giving the following text to an AI tool, flag the parts that contain trade secrets or personal data: alloy recipe ratios, customer name, process temperature/time confidential parameters, personnel names. Suggest how I can anonymize these. Text:[paste]."

Weak prompt / Strong prompt

Asking the same question two ways will yield very different results.

WEAK PROMPT: "Tell me the properties of 4140 steel."

STRONG PROMPT: "Role: You are an assistant heat treatment engineer. Explain WHAT affects the yield strength when quenching + tempering is done for AISI 4140 steel (tempering temperature, section thickness/hardenability, austenitizing temperature). Do not give a single EXACT number; instead, in what range the value can vary and which test should I do according to which standard (e.g. ISO 6892 tensile test) to get the correct value Please state clearly where you are not sure."

The poor prompt usually returns a useless, superficial list and possibly made-up numbers. Powerful prompt; it assigns a role, sets limits (“giving an exact number”), requires a means of verification, and exposes uncertainty. Throughout this module, you will see the "strong prompt" pattern applied to each unit.

Ethics, privacy and responsibility

Metallurgical data is often confidential: customer alloy recipes, patented process parameters, damage analysis findings, defense industry specifications. Pasting them into a public AI service could be a trade secret and breach of contract; There is also a risk that data will interfere with training the model.

  • Do not enter the company/customer's compositions, recipes and drawings into the external service without approval.
  • Anonymize records containing personal data (operator names, registration numbers).
  • Comply with corporate policy and any on-premise or contracted enterprise AI tool.
  • Transparently state in the report that you are using AI; Make it clear that the final decision is based on your engineering judgment.
  • Signature and responsibility always remain with the authorized engineer; AI output is not justification.
Caution: "That's what the AI ​​said" is not an engineering justification. In a damage report, a material selection or a conformity decision, your basis should be standards, testing and calculation; AI is the tool that organizes these at most. For safety-critical work, AI output is not a substitute for qualified engineer approval.

Common mistakes

  • Using the numerical value (feature, limit, composition) given by AI without experimentation and reference.
  • Writing standard item numbers into the report without confirming them.
  • Entering confidential customer/firm data into public AI.
  • Asking the AI ​​"what is the malfunction" without giving the facility data and mistaking the general answer for a diagnosis.
  • Using AI output as the final document in critical decisions, bypassing engineer approval.
  • Ignoring uncertainty: Mistaking AI's confident tone for accuracy.

In summary

AI is a powerful accelerator in metallurgical and materials engineering: it explains concepts, generates hypotheses, drafts and writes code. But numerical value carries the risk of hallucination in standard matter and safety-critical decisions. Classify tasks by risk level, verify each output in the standard-lab-account triangle, maintain confidentiality and always keep responsibility with the authorized engineer. The rest of the module applies this principle to each concrete task.

Application task

Select five typical tasks from your own work (or a sample project): for example, "material selection", "damage report writing", "standards query", "microstructure interpretation", "calculation script". Classify each as Low/Medium/High/Critical according to the risk table above and write in one sentence how you will verify the AI ​​output for each (which standard, which test, whose approval). Then try adapting the "ROLE AND BOUNDARY" template to one of these tasks.

checklist

  • [ ] I have classified the mission by risk level (Low/Medium/High/Critical).
  • [ ] I gave the AI ​​the role, constraint, and “give exact number/specify source” instruction.
  • [ ] I have verified each numerical value and standard item from independent sources.
  • [ ] I have not entered confidential/personal data into an external service or anonymized it.
  • [ ] I based the final decision on measurement and standard, not using AI as justification.
  • [ ] I left the responsibility and signature to the authorized engineer.