A laser melts metal powder layer by layer, and each sensor sees only part of what can go wrong. Switch sensors on and watch the confusion shrink as their views combine.
Learn why factories are hard for AI, how a printer that melts metal is watched by cameras, heat sensors and microphones, and how agents can share a company’s decisions.
Start with the heat sensor alone, then switch on the microphone and the camera. Raise the noise to make the sensors worse. Then we build, piece by piece, everything underneath: the data, the printer, the fusion and the agents.
You need a rough idea of what a sensor is (a device that turns heat, sound or light into numbers) and no factory experience. We build the rest from zero.
Based on the guest lecture AI for Design and Manufacturing, Part 1: Manufacturing by Prof. Sang-Gook Kim (MIT Mechanical Engineering), Week 11.1 of MIT MMAI: Multimodal AI (Spring 2026), taught by Paul Liang and the MIT Multisensory Intelligence group. Lecture slides (PDF). Three slides in the lecture come from Prof. Marvin Carl May (NTU Singapore) and one from Prof. Kruth (KU Leuven).
Toy: 900 made-up parts, 300 sound, 300 with keyhole pores, 300 with lack of fusion. Each sensor reads one number per part. The class averages are illustrative, but the directions follow the lecture: a keyhole means a deep melt pool and a lower sound frequency, and too little energy means a cooler pool. The classifier adds up the evidence from every sensor you switch on.
Chapter 0
See why a veteran of the 1985 expert systems says AI must be built around the factory, and what one printed part can show you
A plastic lid comes out of a molding machine with a bent edge. The machine ran the same recipe as the hundred lids before it. Something small changed, and no one saw it happen.
This is the daily puzzle of a factory. A factory is a place where machines turn materials into products, over and over, and the goal is to make every product the same. When one comes out wrong, someone must find out why. That someone used to be a veteran engineer with thirty years of feel for the machine.
The lecturer is Prof. Sang-Gook Kim of MIT Mechanical Engineering. He opens by saying he is not an AI scientist. He is a manufacturing engineer, and he argues that anyone who wants to apply AI must first understand the place where it will be applied.
His own story starts in 1985. His PhD thesis built a knowledge-based expert system for injection molding. Injection molding melts plastic and pushes it into a metal mold, where it cools into a part. An expert system is a program full of IF-THEN rules that a human expert wrote down. The slide traces the software lineage: C-Flow became Mold Flow, and Mold Flow became Autodesk Mold Flow.
In 1986 an international conference on intelligent manufacturing systems met in Budapest, led by Prof. Jozsef Hatvany. Between 1985 and 1995, the journals of the production-engineering community (CIRP) published papers on expert systems and neural networks. The topics will sound familiar: tool monitoring, process inspection, sensor fusion (combining several sensors into one judgment), design, process planning and production control.
Then the money left. The lecture calls these years AI winters: funding for AI research rose and fell in waves from the 1950s until the 2010s. The slide shows the waves as a hand-drawn line with a steep climb at the end.
Here is the key lesson of those years. A hand-written rule looks at a few numbers and draws a line. Real defects do not respect lines. Take ten toy parts, with the melt temperature in degrees Celsius written before each outcome.
Sound parts ran at 218, 224, 227, 231 and 233. Warped parts ran at 226, 229, 232, 236 and 240. The temperatures overlap. Try the rule “reject a part if the melt was above 230.” It rejects 231 and 233, which are sound parts, so there are two false alarms. It rejects 232, 236 and 240, which are warped. It misses 226 and 229. That is 4 mistakes in 10 parts.
Now add a second number, the packing pressure in bar. The sound parts had pressures of 66, 70, 64, 69 and 72. The warped parts had 51, 48, 53, 47 and 50. Rule two: “reject if the melt was above 225 and the pressure was below 60.” Check each part. All five sound parts pass, because their pressures are high. All five warped parts fail. That is 0 mistakes.
Neither sensor was enough alone. The pair was. This is the whole argument for the lecture: multimodal means more than one kind of signal, and in a factory the signals are temperature, pressure, sound, images and text.
Green dots are sound parts and red dots are warped parts. The warm area is where your rule says reject. Drag the thresholds, then press Let the data choose to see what learning does.
Toy data: 100 sound and 100 warped parts, made up and seeded so they are the same on every visit. Both axes are in units of one spread of the sound parts, so zero is a typical sound part. A yellow ring is a false alarm, a red ring is a missed defect. “Let the data choose” tries every pair of thresholds on a grid and keeps the one with the fewest mistakes.
Look at the device again after you have played with it. With one sensor, no threshold gets close to zero mistakes, because the two groups overlap on that axis. With both, a box in the right corner separates them well. When you press the button, the search finds the best box in a blink. In 1985 an engineer found that box by hand, one machine at a time. Learning from data does the search for every pair, and, with a neural network, every combination of hundreds of signals.
Kim frames the whole talk with one question: how can AI do for us what is beyond the capability of others? He also asks a national question: is the United States still leading world manufacturing? We will meet it again in Chapter 10. For now, hold the plain version. A factory is a place with many sensors, many experts and many decisions. AI helps where those pieces need to be combined.
This is a guest lecture in week 11 of the MIT course, given on 14 April. The course schedule links the deck under a wrong filename, so the slides are linked from the hero and the Field Guide instead. We follow the deck in order, explain each slide in our own words, and build our own toys. The lecture also shows slides from two other professors, and we credit them where they appear.
Chapter 1
Follow four industrial revolutions and an S-curve to see what separates faster factories from smart ones
Imagine you have spent decades building tiny machines, smaller than a grain of sand. Then, in one autumn, computers start beating doctors and champions at their own games. You must now ask: what does this mean for my field?
That is where Kim stood in 2016. His slide on earlier work is a collage: micro mirrors, energy harvesters that turn vibration into electricity, solar absorbers, printed ultrasound arrays, and carbon nanotubes placed one at a time. Underneath runs a timeline. The line starts with his 1985 thesis, passes through years in industry and a post as associate professor at MIT in the early 2000s, and ends in 2016 at a new arrow labeled AI for design and manufacturing.
The next slide lists the events that moved him. In October 2016 the CBS show 60 Minutes covered IBM’s cancer-consulting system. In December 2016 the New York Times published “The Great AI Awakening.” In 2017 the Nature paper “Mastering the game of Go without human knowledge” showed a program learning by playing itself, from the DeepMind group led by Demis Hassabis.
MIT then reorganized. It launched the Quest for Intelligence in February 2018 and a new college of computing in 2019. In 2019 the Turing Award went to LeCun, Hinton and Bengio, the three pioneers of deep learning: neural networks with many layers that learn their own features from data. In 2024 the Nobel Prizes went to Hinton (Physics) and to Hassabis (Chemistry, shared with colleagues).
One small diagram on that slide matters more than the headlines. It shows two boxes. In a traditional algorithm, you feed in data and rules, and out come answers. In machine learning, you feed in data and answers, and out come the rules. You met this in Chapter 0: “Let the data choose” wrote the reject rule for you.
Kim then asks: is deep learning a game changer in manufacturing, or only a better tool? Is it a true digital transformation, a change in how a company works because of data, and not only a change of paper into screens?
He answers with an S-curve. The horizontal axis has three stages. First, AI amplifies current functions: it does today’s jobs better. The slide lists them as yield improvement, defect detection and classification, variation control, unsupervised anomaly detection and inventory management. Second, applications of AI spread. Third, AI brings novel functions, things a factory could not do before. The top of the curve carries a question mark: smart manufacturing?
The curve is the slide’s sketch of impact against the kind of use. Pick a stage and the marker moves there. Watch how steep the curve is at each stage.
A sketch, not data: the lecture draws the S-curve with no numbers. The steepness shown is the slope of a standard S-shaped curve at each marker, as a share of its steepest point.
Why an S? At the start, each new tool adds a little, because the factory is not yet arranged around it. In the middle, tools reinforce each other and impact climbs fast. At the end, the gains flatten again. The lecture’s bet is that AI is entering the steep middle, but the novel functions at the top are still a question.
Slide 7 makes four blunt points. Digitalization alone does not give a company an edge over its rivals. The entry barrier to digitalization is not high, so rivals can copy it. Industry 4.0 (the name for a factory tied together by networks, sensors and software) is not a hoax, but it is still unfinished. And AI will bring a real revolution only by bringing human decision makers into the cyber-physical system loop. A cyber-physical system is a set of machines and computers that sense, compute and act in one loop. Multimodal modeling helps the factory get smarter.
The slide after it asks the big question: what is an industrial revolution? The deck gives the list. The first used the steam engine, mechanized production and the factory system. The second used electrification, transport, mass production and the combustion engine. The third used chips, digitalization, communication and automation. The fourth is marked with three question marks.
The deck adds a definition worth keeping. Industrial revolutions are step changes in production that new technology powers. They also reshape daily life: where people live, how they work and what a normal family looks like.
The ninth slide shows a photo of early Silicon Valley engineers and a chart of the number of transistors on a chip (Moore’s law). Its caption says a factor of 20 million in 50 years. That is the third revolution in one number.
Work it out. A doubling every d years over 50 years gives 250/d. Set that equal to 20,000,000. Taking logs in base 2, log2(20,000,000) is about 24.25. So 50 / d = 24.25, and d is about 2.06 years. The number of transistors doubled about every two years, for fifty years in a row.
The line is the lecture’s factor of 20 million, drawn on a log scale, where each gridline is ten times higher. Drag the year to see the growth so far.
The factor of 20 million in 50 years is the slide’s. The steady rate in between is our assumption: the same growth every year, which is what a straight line on a log scale means.
A straight line on a log scale means the same percentage growth every year. At that rate, ten years gives a factor of about 29, twenty years about 800, and thirty years about 24,000. The lesson for manufacturing is that digital tools compound. The lecture’s open question is what happens when the decisions in a factory ride the same curve.
Chapter 2
Count how few failures a factory archive holds, and see why a rare failure is the hardest thing to learn
A plant manager has run the same line for eleven years. In that time a gearbox failed three times. Each time, the line stopped, a technician swapped the part, and a short note went into a folder. Now a vendor says: “Give us your data and our AI will predict the next failure.” What data, exactly?
This chapter is about the gap between having records and having examples. The lecture lists it as the reason manufacturing has been slower to adopt AI than you might expect.
Slide 10 asks which industry is the most ready for AI. It defines an AI maturity score from five ingredients: how much data an industry has, how digital its infrastructure is, how many people have the skills, how much money flows in, and how friendly the rules are. The slide places technology and telecommunications first, with 48% adoption of agentic AI. Healthcare and financial services follow. Manufacturing gets a question mark.
The slide also defines an AI agent: a system that can perceive its environment, make decisions and take actions to reach a goal. Keep that definition. A model that only answers a question is not yet an agent. A model that reads a sensor, picks an action and acts is.
The slide then narrows to one ingredient, quality data availability, and compares three fields.
In law, adoption is rapid and wide for low-value tasks. It is much slower for high-value tasks such as negotiation, strategy and appearing in court. Privacy, ethics and the risk of malpractice hold it back.
In healthcare, multimodal models already work: they read charts, scans and notes together. Privacy, ethics and malpractice are again the brakes. But healthcare has a strength: open medical journals. Doctors write up their findings and publish them.
Manufacturing has four separate problems, and each one is human or structural before it is technical.
Think about the third problem more closely. A part is made on Monday. It fails in a customer’s hands in June, and the failure report arrives in July. To train a model, you must link that report back to the sensor traces from Monday, through lot numbers that nobody logged. The label exists, but the link to the data does not.
The slide ends with a bright spot. The data may not travel, but the decision rationale will: the reasons behind a decision still help the next company. Chapter 10 builds on this idea.
The third problem is the hardest, so let us put numbers on it. The term is class imbalance: one class (sound parts) is far larger than the other (failures). Suppose one part in 1,000 fails. A model that says “sound” every time is right 99.9% of the time, and learns nothing.
Now ask about an actual detector. Say it has a sensitivity of 90%, meaning it flags 90% of real failures. Say it has a false alarm rate of 1%, meaning it wrongly flags 1% of sound parts. Those are good numbers. Run them on an archive of 100,000 parts.
So a detector with great-sounding numbers is wrong 11 times out of 12 when it raises an alarm. The cause is the base rate, the share of parts that fail at all. This is Bayes’ rule at work, and the lesson Bayes’ rule builds it from zero.
The grid is a sample of 400 parts from the archive. Red dots are failures. Drag the failure rate and the archive size. The bars show how many alarms a good detector raises, and how many are real.
Illustrative: the detector’s 90% sensitivity and 1% false alarm rate are our round numbers, not the lecture’s. The grid shows a random 400-part sample, so a rare failure often does not appear in it at all, which is the point.
Slide the failure rate toward 1 in 10,000 and the archive toward 10,000 parts. The archive now holds one failure, or none. You cannot train, or even test, a model on that. Factories fight this in three ways: they simulate failures, they pool data across machines, and they keep the reasons for decisions. The next chapters show each one.
Chapter 3
Tour the uses that work today, then test the five questions that decide if a second sensor pays for itself
It is 2 a.m. in a warehouse. A conveyor belt hums. A vibration sensor on its motor reads a little higher than usual. Nobody is near it. A week ago a technician wrote, “bearing sounds rough,” in a maintenance note. Each clue alone is weak. Together, they say: fix it Thursday, not in a month.
This is predictive maintenance: use signals to fix a machine just before it fails, not after, and not on a fixed calendar. Slide 12 lists companies that do it with several kinds of data at once.
Each example on the slide takes a stream of numbers from sensors and a body of text or images written by people. Then it fuses them.
Slide 13 widens the list to what the lecture calls high readiness in manufacturing. It names predictive maintenance and visual quality inspection. It names process optimization, meaning real-time tuning of settings and drift detection. It names worker assistance and training, with AR instructions, hands-free voice and performance-based coaching. And it names safety monitoring, which spots unsafe behavior and signs of fatigue.
Slide 14 reaches further. A digital twin is a virtual, dynamic copy of a physical asset, process or system, kept up to date with data from the real one. Beyond twins, the slide names supply chains and root-cause analysis (with physics-informed AI, physical AI and autonomous robots) and system-of-systems integration, where many agents, sometimes in conflict, must be orchestrated together.
Take the Rolls-Royce and GE pattern and give it numbers. Every number below is illustrative.
Run it. With both signals, z = −4 + 2.4 + 1.5 = −0.1, so p = 0.475. With the anomaly alone (severity 0), z = −1.6 and p = 0.168. With the note alone (anomaly 0), z = −2.5 and p = 0.076. The fused probability, 47.5%, is far higher than either clue would suggest by itself. That is what fusion is for.
pythonimport math def fusion_layer(anomaly, severity, w=(-4.0, 3.0, 2.5)): z = w[0] + w[1] * anomaly + w[2] * severity # weighted sum of the two branch scores p = 1 / (1 + math.exp(-z)) # logistic: a score becomes a probability action = "inspect this week" if p > 0.4 else "keep watching" return {"p_fail": round(p, 3), "action": action} print(fusion_layer(0.80, 0.60)) # {'p_fail': 0.475, 'action': 'inspect this week'} print(fusion_layer(0.80, 0.00)) # {'p_fail': 0.168, 'action': 'keep watching'}
In a real system the two branches are neural networks and the weights are learned from labeled failures. The shape of the pipeline stays the same. This is late fusion: each branch decides first, and the layer combines the decisions. The fusion lesson of this course compares it with early and joint fusion.
Slide 15 turns the list into a checklist. Before you add a modality, ask:
Question three deserves a toy, because it is the one that bites first. Sensors run on separate clocks. A vibration sensor logs at 1,000 samples per second. A camera logs 30 frames per second. If the camera clock runs 230 ms behind, the spike you see in the vibration trace shows in the video seven frames later, since 230 ms ÷ 33.3 ms per frame = 6.9 frames. A model trained on mismatched pairs learns the wrong link.
The top track shows thumps from a vibration sensor. The bottom track shows when a camera saw the same events, on a clock that is off by an unknown amount. Slide the camera clock until the lines turn green.
Toy: ten events over four seconds, with a hidden camera delay of 230 ms and a few milliseconds of jitter. A pair counts as lined up when its two times differ by 50 ms or less. The best shift is found by trying every shift in 5 ms steps.
When the match is perfect, the fusion layer sees the same event through two senses. When it is off by one frame or two, it still looks plausible, and the model quietly learns noise. This is why the lecture lists alignment as a test and not a detail.
Chapter 4
Place each AI use on the ladder from one machine to a whole supply chain, and see why higher means harder
A single milling machine has one job: cut metal to a shape. A plant has hundreds of machines, shifts, orders and trucks. A supply chain links many plants. Ask an AI to help each one, and you ask for very different things.
Slide 16 gives the lecture’s map of that range. It borrows a standard, ISA-95 (also written ANSI/ISA-95 or IEC 62264). It is an international standard for joining a company’s business systems, such as orders and accounting, to its manufacturing and control systems, such as machines and sensors.
ISA-95 describes the company as a ladder with five rungs. Level 0 is closest to the metal, and Level 4 is closest to the boardroom.
| Level | Name | What happens there |
|---|---|---|
| 0 | Physical production process | The machines, equipment and materials themselves. |
| 1 | Sensing and manipulation | Sensors measure, actuators (parts that move things) act. |
| 2 | Monitoring and supervision | Real-time control and supervision of Levels 0 and 1. |
| 3 | Manufacturing operations management | Scheduling, dispatching, quality, maintenance and inventory. |
| 4 | Business planning and logistics | Long-term planning, orders, supply chain and finance. |
The picture on the slide plots a second idea on top. The horizontal axis is the degree of integration: one machine or process on the left, then clusters and whole factories, then supply chains on the right. The vertical axis is AI readiness: how ready that use is today. The slide places eight uses along a falling curve.
The curve falls for a reason. Near the machine, the data is plentiful and the question is narrow. At the top of the ladder, the data is scattered across divisions, and one decision affects many things.
Each dot is one of the slide’s eight uses. The vertical position is its readiness rank. Pick a level to light up the uses that live there.
The order of readiness and the left-to-right order follow the slide. The exact dot positions are our sketch, not measurements, and the mapping of each use to a level is our reading of the slide. Typical decision times per level are common ISA-95 practice, not from the lecture.
The levels also run on different clocks. A Level 1 loop may decide every 10 ms. A Level 3 schedule may be rebuilt once per 8-hour shift. Eight hours is 28,800 seconds, which is 2,880,000 times longer than 10 ms. These numbers are illustrative, but the gap is real. A fast loop needs a small, quick model. A schedule can use a slow, wide model that reads many sources. One AI design does not fit both.
Slide 17 names the challenges at each size of system. Think of two zones.
Near the machines and processes (the control zone), the worries are practical. Vendors sell AI solutions that may not last. The industry needs a foundational framework or foundation models to build on. And the modeling should be pluggable: you can swap a model without rebuilding the data and process underneath it, because those stay stable.
At the level of clusters and factories, the worries change. Data quality is poor and fragmented. The system needs a foundational framework for retrieving knowledge, and another for reasoning across the whole system. Data security matters across divisions and supply chains. And one line is a warning: do not design functionally coupled agents. Chapter 9 explains what “coupled” means and how to avoid it.
The chart on that slide adds a third axis, impact. Moving from a unit system, to clusters, to a system of systems, impact grows and readiness falls. The lecture’s bet is that the largest payoff sits where readiness is lowest.
Overall equipment effectiveness (OEE) is a standard factory score. It is the product of three shares: availability (the machine is running when it should be), performance (it runs at full speed) and quality (the parts are good). Suppose a line is available 90% of the time, runs at 95% of its top speed, and makes 98% good parts. Step one: 0.90 × 0.95 = 0.855. Step two: 0.855 × 0.98 = 0.838. The OEE is about 83.8%.
“Cross-line OEE” asks the same question across many lines at once. A fix on one line may lower the score on its neighbor, so no single sensor can answer it. That is the kind of use where fusing many sources, and many decision makers, pays most.
Chapter 5
Trace one question through an agent platform that reasons, retrieves and keeps a company's knowledge private
Suppose the best process engineer in your plant retires next spring. She never wrote down why the furnace is set to that exact schedule. Her reasons are in her head. When she leaves, the plant keeps the settings and loses the reasons.
The project in this chapter is built to catch those reasons. Slides 18 to 20 describe it, and it is the lecture’s own research.
The MIT Initiative for New Manufacturing (INM) is an MIT-wide effort that joins research, teaching and industry partners. Its aim is a manufacturing future that is more productive, more sustainable, more resilient, and a source of good jobs. The slide quotes MIT President Sally Kornbluth from May 2025: “I’m convinced that there is no more important work we can do to meet the moment and serve the nation now.”
The slide also points back to the 1989 book Made in America: Regaining the Productive Edge. It names three faculty co-directors, John Hart, Suzanne Berger and Chris Love. It lists founding members of the industry consortium: Amgen, Autodesk, Flex, GE Vernova, PTC, Sanofi and Siemens. And it lists the fields: semiconductors, electronics, defense, aviation, space, biomanufacturing, materials, the built environment, AI for manufacturing, and machinery and automation.
Slide 19 is a funding summary. The title is Multimodal Agentic AI for Smarter Digital Twin Clusters. The two principal investigators are Paul Liang (the instructor of this course, from the MIT Media Lab and EECS) and Sang-Gook Kim. A collaborator, Marvin Carl May of NTU Singapore, works on planning and control. A digital twin cluster is a group of digital twins (Chapter 3) joined together.
The problem has two halves. The company wants a true shift to intelligent manufacturing. And it wants to retrieve past decision reasonings and heuristic knowledge in multimodal form, and to put the flood of real-time sensor data in context.
Two aims follow.
The expected outputs are a data loader and simulation platform for the Intel MiniFab industrial benchmark (a simulated chip-making line), and open-source software for a multisensory LLM. The long-term hope: an agent that grows a self-improving knowledge base from validated operations.
Slide 20 is a diagram of the platform. Read it as six parts.
The slide lists the real systems it will serve: interest-group systems, remote machines and factories, 3D metal additive manufacturing, grid-level storage and a blast furnace.
Below, you can follow one made-up question through that architecture. A decision maker asks why a printed part has pores. The reasoning agent proposes causes, the retrieval agent finds past cases, the multimodal model reads current sensors, and the answer, with its reasons, goes back into the locker.
Press Next step. The lit boxes do the work in that step, and the panel shows what goes in and what comes out.
The six boxes and their roles come from slide 20, in our own layout. The question, the three past cases and the sensor numbers are invented for illustration, and the platform’s real interfaces are not described in the lecture.
Notice what the locker stores at step 6. It stores the decision and the reasons, not only the settings. The next time a similar part shows pores, the retrieval agent finds both. Over time the knowledge base grows from validated operations, which is exactly the long-term goal on slide 19.
Here is the shape of step 3 as code. This is a sketch: locker, embed and llm stand for whatever store, embedding model and local model you use.
pythondef retrieve_cases(question, locker, k=3): q = embed(question) # text to a vector, shape [768] hits = locker.search(q, top_k=k) # nearest past cases by cosine similarity return [{"case": h.id, "reason": h.reason, "score": round(h.score, 2)} for h in hits] def answer(question, sensors, locker): cases = retrieve_cases(question, locker) prompt = f"Question: {question}\nSensors: {sensors}\nPast cases: {cases}\nGive the cause, the fix, and why." reply = llm(prompt) # the local model: data never leaves the company locker.add({"question": question, "decision": reply}) # keep the reasons, not only the settings return reply
Chapter 6
Compute the energy density of a laser pass and see why one number cannot guarantee a good part
Imagine a pile of fine metal dust on a flat plate. A roller smooths it into a layer thinner than a hair. A laser traces a shape on it and melts a thin slice into solid metal. The plate drops a hair’s width, the roller lays another layer, and the laser traces the next slice. After thousands of layers, a metal part emerges from the dust.
That is the printer behind most of this lecture. Before we watch it with sensors, we need to know how it works.
Slide 21 starts at MIT. In 1993 Prof. Emanuel Sachs brought the term “3D printing” into use for what had been called rapid prototyping. His method was binder jetting: spread a layer of dry powder, then spray a liquid glue onto the parts of the layer that should stay. The slide shows the MIT alpha printer, a 3D print of the Hagia Sophia from 1995 to 1996, and a model of MIT’s Building 10 dome, printed after the invention by Sachs and Michael Cima.
Slide 22 borrows a chart from Prof. Kruth of KU Leuven. It sorts the ways powder can be bound into a solid. There are four families: solid-state sintering (grains fuse below melting, like sugar cubes pressed together), liquid-phase sintering or partial melting (one ingredient melts and glues the rest), full melting, and chemically induced binding. Our printer belongs to the third family.
Laser powder bed fusion (LPBF) is a metal printing process. A high-power laser selectively melts and fuses metal powder, layer by layer, to build a complex part. The slide lists the equipment: an inert gas chamber (so the hot metal does not burn), a melt pool camera, a pyrometer (a sensor that reads temperature from a distance, by the light a hot spot gives off) and an acoustic sensor (a microphone). These are the three sensors from the hero of this page.
Four settings control each pass of the laser.
The slide folds these four into one number, the volumetric energy density:
Why this shape? Power over speed is the energy given to each millimeter of line. Dividing by hatch and layer thickness spreads it over the area and depth of powder each line must melt. Check the units. Watts are joules per second. The denominator is mm/s × mm × mm = mm3/s. So (J/s) / (mm3/s) = J/mm3. The seconds cancel.
Work one case. Let P = 200 W, v = 1,000 mm/s, h = 0.10 mm and t = 0.03 mm. First, the denominator: 1,000 × 0.10 × 0.03 = 3 mm3/s. Then VED = 200 / 3 = 66.7 J/mm3. Now double the speed to 2,000 mm/s. The denominator becomes 6, and VED falls to 33.3 J/mm3. The beam rushes, and each speck of powder gets half the energy.
The map shows laser power across and scan speed up. The color shows the energy density at the hatch spacing and layer thickness you set. The dashed line is every setting with the same energy density as yours.
The formula is the lecture’s. The zone limits (below 50 and above 100 J/mm3) are illustrative round numbers: the true window depends on the alloy and the machine.
Slide along the dashed line. Every point on it has the same energy density, yet the settings differ a lot: high power at high speed, or low power at low speed. They do not melt the powder in the same way. A fast, strong beam digs a deep, narrow pool, while a slow, weak beam makes a shallow, wide one. One number cannot hold all that. This is why the lecture lists the four settings separately, and why a model that watches the melt itself is attractive.
Slide 24 says metal printing makes shapes you cannot machine. It prints aluminum alloys, steels, titanium and nickel alloys. If it is processed right, these parts are stiff enough to carry loads. The slide expects AI and machine-learning-driven design and control to reduce defect rates and the time it takes to qualify a part. Its examples are a GE Aviation fuel nozzle and Siemens gas turbine blades.
Slide 25 gives the numbers. A fuel nozzle tip for the GE LEAP engine used to be about 20 pieces, welded and brazed together. Now it is one printed piece. The slide reports 16,000 engines built, each with 18 or 19 nozzles. That is 16,000 × 18 = 288,000 to 16,000 × 19 = 304,000 nozzles. Each one must be free of keyholes and thermal distortion, so the process must be controlled. The slide lists what matters: melt pool temperature, cooling rate, laser power and speed, geometry and hatching, and material properties. It adds that cobalt-chromium alloys change crystal phase under fast cooling and reheating, so the melt pool’s history matters.
Chapter 7
Match each defect to its cause, then fuse sensors at three depths and move a model between machines
You stand next to a metal printer. The chamber is sealed and dark. A bright speck the size of a hair, the melt pool, sweeps across the powder. You cannot see inside it. Yet in the next fraction of a second it decides whether this spot becomes solid metal or a hidden hole.
Slide 26 lists the defects of laser powder bed fusion. Each has a cause you can read as a story about energy.
The slide ends with the lecture’s question: how can AI-enabled multimodal modeling agents give process repeatability, quality and a faster build rate?
Slide 27 gives the scale. A melt pool is 50 to 200 µm wide and 50 to 300 µm deep. Temperatures change by 105 to 106 kelvin per meter, so the metal freezes very fast. Three forces shape the pool. Marangoni flow is the circulation of liquid driven by differences in surface tension. Recoil pressure is the push of metal vapor boiling off the surface, which presses the pool down. Together with the laser’s heat they set its shape.
The Argonne National Laboratory study cited on the slide measures the pool in three ways. First, synchrotron X-ray imaging shows the pool, the keyhole cavity and the pores directly. Second, a high-speed infrared camera runs at tens of kilohertz, at about 30 µm per pixel. Third, a sharper infrared camera sees about 3.6 µm per pixel at about 1 kHz. These tools see inside, but they are lab tools. A real printer needs cheap sensors that stand in for them.
Slide 28 shows that sound can be one such stand-in. A 2025 paper by L. Galiègue and colleagues (Scientific Reports) found that the acoustic emission, the sound a process gives off, links to the kind of melting: gentle conduction melting, or deep keyhole melting with its risk of pores. The key fact: the sound’s frequency is inversely related to melt pool depth. A deeper pool gives a lower tone.
Why? The edge of the cavity and the plume above it oscillate, like a plucked string. Competing forces set the beat: laser energy and vapor pressure push, while surface tension and the liquid’s inertia pull back. A deeper cavity is a longer, slower oscillator.
Raise the laser power. The cross-section shows the pool. The wave below shows its sound: the deeper the pool, the longer the wave and the lower the tone.
Toy model, not the paper’s data. Width grows steadily with power. Depth is half the width until a keyhole threshold (260 W), then grows three times faster. Tone is 900 divided by depth in micrometers, in kilohertz, which gives the inverse relation the paper reports. Sizes stay inside the lecture’s ranges: 50 to 200 µm wide, 50 to 300 µm deep.
Slide 29 lists the steps of multimodal fusion for this printer. Read them as a recipe.
The three depths differ in where the signals meet. Here are the tensor shapes for the toy printer: a camera patch, a pyrometer trace and an acoustic spectrogram.
pythoncam = encoder_cam(patch) # patch [3,64,64] -> vector [128] heat = encoder_heat(trace) # trace [1,1000] -> vector [128] sound = encoder_sound(spec) # spectrogram [1,64,50] -> vector [128] # representation level: keep three tokens, let a small transformer mix them tokens = stack([cam, heat, sound]) # [3,128] logits = head(mix(tokens).mean(0)) # [3] # feature level: concatenate into one joint vector, one classifier joint = concat([cam, heat, sound]) # [384] logits = mlp(joint) # [3] sound, keyhole, lack of fusion # decision level: each sensor decides alone, then average the probabilities probs = mean([softmax(h(v)) for h, v in zip(heads, [cam, heat, sound])]) # [3]
Separate encoders let each sensor keep its own shape. The hero used the decision-level kind in its simplest form: it added up each sensor’s evidence. If one sensor dies, decision-level fusion degrades gracefully, since the others still vote. Feature-level fusion can learn how sensors interact, but it needs aligned data and breaks if an input is missing. The fusion lesson and the interactions lesson go deeper.
The last bullet on slide 29 is the most practical. A model trained on one machine and one set of process parameters will meet other machines. Their sensors drift, their calibration differs. The slide says fused features and unsupervised or semi-supervised learning let the model adapt, with little new labeling. This is domain adaptation: adjusting a model to a new setting where labels are scarce. The transfer learning lesson builds the general idea.
The simplest version is a re-centering. Each sensor on the new machine reads, say, 1.5 noise widths too high. You have no labels there, but you have a pile of readings. Compute the average of each sensor on the new machine, compare it with the old machine’s average, and subtract the gap. With a balanced batch, the drift cancels.
The classifier was set up on machine A. On machine B the heat sensor and the microphone read too high by the amounts you choose. Compare three bars.
Illustrative: the same 900 toy parts as the hero, all three sensors on, noise 1.00. Drift is in noise widths. Re-centering uses no labels: it subtracts each sensor’s gap in average between the two machines. It works here because both batches hold the three kinds in equal shares. Real adaptation needs more care.
Slide 30 is a title card only, “On going project, INM,” and it hands over to the project talks that follow.
Chapter 8
Follow a remote operator's job through cameras, error codes and manuals, and pick the camera that sees a fault
A laser cutting machine in a factory far away stops with an error light. Its owner calls the maker. A remote operator at the maker’s service desk watches camera feeds, reads error codes and walks the owner through a fix. That operator needs years of training. Could the machine fix itself?
Slides 31 to 34 take us to a company that asks exactly this. Slides 32 to 34 come from the talk of Prof. Marvin Carl May of NTU Singapore, the collaborator from Chapter 5, and we credit them to him.
TRUMPF is a German family-owned firm, founded in 1923, with about 18,000 employees in more than 80 countries. It makes machine tools, which are machines that shape and cut metal: laser cutting machines, punching machines and bending systems. It also makes industrial lasers for cutting and welding, for making chips, and for medical devices. The slide appears in the lecture as one of the INM interest-group systems.
Slide 32 sets the goal as a contrast. Today, a remote operator needs extensive skills and thorough training. The vision is a machine that removes its own faults. The path starts with the human: record what the operator looks at and decides, then teach a model to do it.
Slide 33 describes the data. Real machining operations and breakdowns were captured with three kinds of input.
The slide also quotes a very large archive of videos and machine data available for training. Its count is printed with an unclear unit, so we do not repeat the number.
The aim is to adapt on its own to disturbances during production. The model must do two things at once: select the best camera to view the error and propose a resolution based on best practice. Two jobs are underway. The static job turns the PDFs into graph knowledge for pretraining and querying a multimodal LLM. The dynamic job reads the video, using the OpenCV library with a vision-language model such as Qwen 2.5 (the VLM lesson explains how such a model reads images).
The expected outputs are a fast fault report with three parts: a ranking of camera views, the likely fault cause, and recovery and mitigation steps. The slide asks one pointed question: which camera lets us analyze the fault and find a solution fastest?
The question is not only about quality. It is about cost. Take a clip of 90 seconds from each of 14 cameras. Sample 5 frames per second. That is 90 × 5 = 450 frames per camera, and 450 × 14 = 6,300 frames in all. Say a vision-language model spends 256 tokens on each frame. Reading everything costs 6,300 × 256 = 1,612,800 tokens. Reading only the best camera costs 450 × 256 = 115,200 tokens, one fourteenth as much. These are illustrative numbers, but the shape is real: a good camera choice saves nearly all the work, and a bad one wastes it.
A camera is a good choice when it has a clear line of sight to the fault, is close enough to see detail, and points the right way. The toy below lets you test that on a made-up machine cell.
Tap anywhere inside the cell to place a fault, or use a preset. Green lines are cameras that see it. Dashed red lines are blocked or looking the wrong way. The ring marks the best three.
Toy cell, 6 m by 4 m, with a made-up block in the middle and 14 cameras on the walls, each aimed at the cell center with a 40 degree half-angle. The score is zero if the block or the angle prevents the view, and otherwise falls with distance. The real system ranks views with a learned model, not this rule.
Slide 34 shows the target design as a diagram of a multi-agent system, a set of cooperating models. At the top, a user interface or web application talks to a manager agent, the orchestrator. It calls a knowledge graph agent and a camera agent. The camera agent in turn manages specific camera agents, one per view. Under them is a unified data and control interface that connects a digital twin system (Chapter 3) with the physical automation system, with monitoring flowing back.
The slide poses two questions to the class. Is this a functional view or a physical view? How could we design AI agents? Chapters 9 and 10 answer them.
Chapter 9
Split a job into functions, give each function one agent, and test whether your design is coupled
Ask a child to design a flying machine, and she draws wings that flap. That is a sensible guess: birds fly. The first flying machines of history copied birds. The airplane that works has fixed wings for lift and engines for thrust. Those are two separate jobs with two separate parts.
Slide 36 makes this point with a row of early flying contraptions and a row of modern aircraft, under two headings: physical thinking and functional thinking. Physical thinking starts from the parts you can see. Functional thinking starts from what the system must do.
Slide 35 draws a good university in the physical domain. High schools feed colleges. An admission step lets students in, and they pass through freshman, sophomore, junior and senior years. Graduation sends them on to graduate schools, industry, government and society. Faculty, staff, programs and administration surround it all. The same diagram, in the manufacturing version, shows suppliers, a manufacturing system and customers. Slide 36 then asks the same question in the functional domain: what functions must a good university serve? Teach fundamental knowledge, teach hands-on knowledge, send people out into society. The buildings and offices are just one answer to those questions.
For an AI team, this matters because the usual way to build an agent is physical. You pick a model, give it tools and watch what happens. Kim argues for the other way: write down the functions first.
The method comes from axiomatic design, a design theory by Nam Suh that Kim uses in his work (the slide cites Akay and Kim, Design transcription, CIRP Annals, 2020). It has two kinds of boxes. A functional requirement (FR) says what the system must do. A design parameter (DP) says how, by naming the thing that does it. The slide gives five steps.
Slide 38 applies the recipe to Chapter 8’s service desk. On the function side, the top FR is remote troubleshooting. It splits into three: trouble detection, trouble cause finding and troubleshooting solution reasoning. Detection itself has three channels: controller error detection, video detection and operator detection.
On the physical side, the top DP is a remote service agent. It splits into a trouble detection agent, a trouble cause finding agent and a solution reasoning agent. They draw on three kinds of input: controller error codes, video and images, and operator alerts and chats. Each function now has one agent that owns it.
Axiomatic design says a good design keeps the functions independent: each DP should change only the FR it is meant for. Write it as a table. Rows are FRs, columns are DPs, and a mark means “this DP affects this FR.” This is the design matrix.
Work an example with three agents. Suppose the cause-finding agent also sorts the incoming alarms, so DP2 affects FR1 (detect) and FR2 (find cause). And suppose the detection agent reads the cause-finding agent’s output to decide what to flag, so DP1 affects FR2 too. The marks are: row 1 has DP1 and DP2; row 2 has DP1 and DP2; row 3 has DP3. The top-left 2 by 2 block is full, and no reordering can make it triangular. The design is coupled. Change the video model inside DP2, and both detection and cause finding shift. You must retest both, together.
This is the meaning of slide 17’s warning, “do not design functionally coupled agents.” Coupled agents are fragile. In a plant with many agents and many owners, one update ripples out. The device below lets you build matrices and see the verdict.
Rows are functions, columns are agents. Tap a cell to say that an agent affects a function. Or pick a preset. The picture below the table draws every link.
The three functions and three agents follow the troubleshooting tree on slide 38, in our wording. The matrices are our examples. The verdict tries every reordering of rows and columns, as axiomatic design allows.
Try the chain preset. Detection feeds cause finding, and cause finding feeds the solution. The matrix is triangular, so it is decoupled: fix the detector first, then the cause finder, then the solver. Now add a mark that goes backward, from the solution agent into detection. The verdict flips to coupled, because a loop has formed. A loop is the sign to split an agent, or to move a duty, until the loop is gone.
pythonfrom itertools import permutations def classify(A): # A[i][j] = 1 if design parameter j affects function i n = len(A) for rows in permutations(range(n)): for cols in permutations(range(n)): B = [[A[rows[i]][cols[j]] for j in range(n)] for i in range(n)] diag = all(B[i][i] for i in range(n)) # each function has its own agent if diag and all(not B[i][j] for i in range(n) for j in range(n) if i != j): return "uncoupled" for rows in permutations(range(n)): for cols in permutations(range(n)): B = [[A[rows[i]][cols[j]] for j in range(n)] for i in range(n)] if all(B[i][i] for i in range(n)) and all(not B[i][j] for i in range(n) for j in range(i + 1, n)): return "decoupled" # lower triangular: change agents in this order return "coupled"
Chapter 10
Compare pushing specifications with pulling reasons, and see why a digital factory is not yet a smart one
A buyer calls a service desk. The seal on a pump keeps leaking, and the supplier wants to loosen the part’s tolerance from five micrometers to twenty to cut cost. The service engineer has the drawing. The drawing says five. It does not say why five. The designer moved to another company two years ago.
That missing reason is the thread the rest of the lecture pulls. First, a primer, because the lecture’s last slides assume you know what manufacturing is.
Slide 40 draws the manufacturing helix: three words, market, design and manufacturing, wound around a rising spiral. A product starts from a market need, becomes a design, becomes a made thing, and the made thing teaches the market what to want next. An upward turn is a business spiral that grows. A downward turn, the slide says, is a charity spiral that bleeds money.
Slide 41 asks what manufacturing is, and how it differs from fabrication. Its definition: the transformation of materials and information into goods for the satisfaction of human needs. Fabrication, in the usual sense, makes one thing. Manufacturing runs a whole system that makes many things for customers. Then the slide asks what makes manufacturing good, and compares it to a good restaurant. A restaurant is good on four counts: quality, rate, cost and flexibility. Those four lead to three business results: profit, productivity and competitiveness.
Slide 42 lists times when a new technology reshuffled an industry. Sony’s analog lost to Samsung’s digital. IBM’s mainframes lost to Microsoft and Apple’s personal computers. General Motors and Ford lost ground to Toyota, then to Tesla and Hyundai, and the slide asks who is next in electric vehicles. The last line sets up the bet of the talk: low-cost-labor manufacturing against smart manufacturing, with AI as the question.
Slide 43 puts the lecture’s central question in one line: how can AI achieve for us what is currently beyond the capability of others? Beneath it are two old photographs, a building at 640 Memorial Drive and the Ford factory of the 1920s in Cambridgeport. Manufacturing has lived next to MIT for a long time.
Slide 44 lines up the technologies by decade. Read it left to right.
Now the core idea. Slide 45 says smart manufacturing needs knowledge threading among decision makers. The slide draws five stations in a ring: concept, design, manufacturing, operation and service. Each has its own database. Two kinds of flow join them.
The slide gives five properties for this knowledge base: bidirectional (it flows both ways), decentralized, self-governed, transparent and semantically searchable (you search by meaning, not exact words). In the middle sits a domain-specific semantic knowledge-base node, holding decision reasoning as linked data. The source is Akay, Lee and Kim, CIRP Annals, 2023.
Run the opening story through it. With push only, the drawing carries the number 5 and nothing else. The service engineer must ask back through the chain, one handoff at a time, and if the designer has left, the answer is gone. With a pull, the tolerance is stored with its reason, “the seal must hold 200 bar,” and the question is answered at once.
Pick who asks, choose whether the company keeps reasons in a knowledge node, then press Ask why. Watch the question travel.
Illustrative story: a seal tolerance of 5 µm, kept so that the seal holds at 200 bar. The 3 days per handoff is our made-up number. The five stations and the push and pull flows come from slide 45.
Slide 46 explains why fully digital factories are not automatically smart. Picture two layers. The lower layer is a planar cyber-physical system: machines, sensors and networks, connected side by side on one flat plane. The upper layer is vertical, siloed decision makers: design in one tower, production planning in another, supply chain in a third. Data flows across the plane, but decisions stay in their towers. Full integration is therefore hard.
Slide 47 repeats the platform of Chapter 5, now listing a TRUMPF machine among its systems. Slide 48 shows the hoped-for future. Each decision maker gets a cyber meister, the AI helper, linking the engineering design cloud, enterprise resource planning, digital twins, CAD, CAE, process planning, manufacturing, product lifecycle management, maintenance, quality control, purchasing and supply chains. The helpers talk to each other, and so the towers talk.
Slide 49 closes with a timeline of terms. Smart manufacturing was used by Prof. Hatvany at the 1985 CIRP conference, Industry 4.0 in the 2000s, digitalization, digital twins and cyber-physical systems in the 2010s. The next step is digital transformation of both manufacturing and management, from digitalized operations today to a digital enterprise tomorrow.
Chapter 11
Review the numbers, the code and the terms, then follow the links onward
You can now retell the lecture from memory. It moves from a veteran’s 1985 expert system to a map of what AI can do in a factory, to one hard process, metal printing, where several sensors must be fused, and then to agents that share the reasons behind decisions.
A factory holds records, not examples: data sits in silos, failures are rare, and labels come late (Chapter 2). The uses that work today fuse a sensor stream with text or images, for maintenance, inspection and control, and five questions decide whether a second modality pays off (Chapter 3). Uses get harder as they climb the ISA-95 levels from one machine to a supply chain (Chapter 4). In laser powder bed fusion, four settings fold into one energy density, but the melt pool decides the outcome, and camera, heat and sound sensors each see a different part of it (Chapters 6 and 7). Fusion can happen at the representation, feature or decision level, and a model must travel between machines (Chapter 7). Agents should be designed by function, one agent per function, without coupling (Chapter 9). And a smart factory needs knowledge threading: a pull of reasons, not only a push of specifications (Chapter 10).
| What | Number | Why it matters |
|---|---|---|
| Transistors in 50 years | 20 million times, about one doubling every 2.06 years | Digital tools compound |
| Agentic AI adoption, lead group | 48% (tech and telecom, slide 10) | Manufacturing is the open question |
| Rare failures (illustrative) | 1 in 1,000, 100,000 parts: 100 failures, 1,089 alarms, 8.3% real | Base rates break good-sounding detectors |
| Fused maintenance score (illustrative) | anomaly 0.80 + note 0.60 gives 47.5%; either alone, 16.8% and 7.6% | Two weak clues can make one strong one |
| Clock skew | 230 ms is about 6.9 frames at 30 fps | Misaligned pairs teach noise |
| OEE (standard formula) | 0.90 × 0.95 × 0.98 = 83.8% | Three shares make one score |
| Energy density | 200 / (1,000 × 0.10 × 0.03) = 66.7 J/mm3 | Four settings in one number, but not enough alone |
| GE LEAP fuel nozzle | 20 pieces to 1; 16,000 engines, 18 to 19 nozzles each | Printing consolidates parts at scale |
| Melt pool | 50 to 200 µm wide, 50 to 300 µm deep; 105 to 106 K/m | Tiny, fast and hard to see |
| Toy printer, hero (seed 11, noise 1.00) | one sensor 55% to 63%; heat + microphone 83%; all three 90% | Sensors that err differently fuse well |
| Camera choice (illustrative) | 6,300 frames, 1,612,800 tokens against 115,200 for the best view | Ranking views saves nearly all the cost |
| Quality, rate, cost, flexibility | four measures of good manufacturing | What AI must improve |
| Term | Plain meaning | Chapter |
|---|---|---|
| Expert system | A program of IF-THEN rules written by a human expert. | 0 |
| Class imbalance | One kind of example is far rarer than the other. | 2 |
| Predictive maintenance | Fix a machine just before it fails, guided by signals. | 3 |
| Digital twin | A virtual copy of a machine or process, kept current with its data. | 3 |
| ISA-95 | A standard that joins business systems to machine control in five levels. | 4 |
| Volumetric energy density | Laser energy given to each cubic millimeter of powder. | 6 |
| Melt pool, keyhole | The small liquid spot under the laser; a deep vapor cavity in it. | 7 |
| Domain adaptation | Adjust a model to a new machine where labels are scarce. | 7 |
| Functional requirement, design parameter | What the system must do; the part that does it. | 9 |
| Coupled design | One part affects several functions, so changes ripple. | 9 |
| Push and pull | Send specifications forward; ask for the reasons behind them. | 10 |
The hero’s classifier is only a few lines. It adds up each switched-on sensor’s evidence for each kind of part and picks the largest. This sketch assumes known class averages and a common noise width.
pythonimport numpy as np MU = { # class averages for [sound, keyhole, lack of fusion] (illustrative) "heat": np.array([0.0, 0.3, -2.2]), "mic": np.array([0.0, -2.2, 0.3]), "cam": np.array([-1.0, 1.0, 1.0]), } def fuse_and_classify(readings, sensors, sigma=1.0): # readings: {"heat": 0.4, "mic": -1.9, ...}, one number per sensor score = np.zeros(3) # evidence for each of the three classes for s in sensors: # only the sensors you switched on score -= (readings[s] - MU[s]) ** 2 / (2 * sigma ** 2) # log-likelihood under Gaussian noise return ["sound", "keyhole", "lack of fusion"][int(score.argmax())] print(fuse_and_classify({"heat": 0.2, "mic": -1.9}, ["heat", "mic"])) # keyhole: heat is unsure, mic is not
This lecture is the course’s tour of one industry. The earlier weeks gave the tools: fusion, alignment, cross-modal transfer and large multimodal models. Manufacturing is where those tools meet hard facts: rare labels, noisy clocks and many owners. Other lectures of the course apply the same tools to domains where several senses must work together, such as cities and transportation.
This lesson follows the guest lecture AI for Design and Manufacturing, Part 1: Manufacturing by Prof. Sang-Gook Kim (MIT Mechanical Engineering), Week 11.1 of MIT MMAI: Multimodal AI, Spring 2026, taught by Paul Liang and the MIT Multisensory Intelligence group. The lecture slides are the course’s own. Slides on the remote-troubleshooting project come from Prof. Marvin Carl May (NTU Singapore), and the binding-mechanism chart from Prof. Kruth (KU Leuven). Papers cited on the slides include Wang et al., Scientific Reports 12, 13716 (2022), on in situ melt pool measurement, and Galiègue et al., Scientific Reports (2025), on acoustic emission and keyholes. The pictures, toys and numbers marked illustrative are our own.
Now press Present or Teach and explain, from memory, how a laser printer’s defects can be caught by fusing three sensors, and why a factory needs the reasons behind its decisions. Then go back to the printer at the top, switch on one sensor at a time, and say which pair of states each one confuses.