A sensor board sniffs a jar of cumin and a model names it. A wearable puffs a drop of chemical at your face and the air feels cool. Pick a sense and watch a signal travel from the world, through a model, to a body, with each study’s own number.
Learn how a gas sensor, a language model, a drop of chemical and a glove of pressure sensors give a computer the senses it never had, and how we keep such systems safe, readable and honest.
Press Send a signal, then switch senses. Watch where the model sits in each chain, and what number each team measured. Then we build every piece from zero.
You need a rough idea of what a neural network does (it turns numbers into other numbers) and nothing about chemistry. We build the rest.
Based on Week 14.2 of MIT MMAI, Multimodal AI (Spring 2026, MIT Multisensory Intelligence group, led by Paul Liang). The lecture, “Human-AI Interaction”, is by Paul Liang, with slides on taste, temperature and smell by Jas Brooks. Lecture slides. Every idea is re-taught here in our own words and devices.
Numbers are the studies’ own: SmellNet (ICLR 2026, Table 2), AromaGen (arXiv 2604.01650), the lecture’s taste and heat slides (Jas Brooks), OpenTouch (arXiv 2512.16842). “In” means the machine reads a sense; “out” means it delivers one.
Chapter 0
See what it means to read a sense or to deliver one, and meet the three parts of the last lecture
You taste a spoonful of soup and say, “It needs salt.” Three things just happened. Your tongue turned a chemical into a signal. Your brain read that signal. And you chose what to do next.
A computer can do none of this by itself. Most AI you have met reads text, pictures or sound. Those three are easy to record and easy to send. Smell, taste, temperature and touch are not. Each needs its own hardware, and often its own chemistry.
This lecture is the last in MIT’s Multimodal AI course. It asks what happens when we give machines these missing senses, and what we owe the people who use them.
The slides open with the week’s tasks. Please fill in the course evaluations. Homework 5 is due on Wednesday 13 May. Project presentations are in class on Tuesday 12 May, and the final report is due on Tuesday 19 May. That is all the course business we need.
The agenda has three parts. Part one is AI for smell, taste and temperature, and the same part of the slides ends with touch. Part two is human-AI interaction: how people and AI systems work together. Part three is ethics and safety. This lesson follows that order.
The fourth slide gives the frame for the whole course. The lecture calls it multimodal human-AI interaction: solving hard problems by breaking them into step by step reasoning in several modalities. A modality is one kind of information channel, such as text, sound or smell. The slide names four pillars. Models: how we fuse and generate modalities. Data: hard challenges, plus the reasoning steps humans take. Training: reinforcement learning, so that reasoning can emerge. Human: the system must be trustworthy, safe and controllable. The source is the survey by Liang, Zadeh and Morency (ACM Computing Surveys, 2024).
Every project in this lesson does one of two jobs. The first job is to read a sense: a sensor (a device that turns a physical quantity into numbers) records the world, and a model reads the numbers. A gas sensor that names a spice is an example.
The second job is to write a sense: an actuator (a device that acts on the world or on a body) delivers a stimulus, and the person perceives it. A wearable that releases a smell is an example. Perception is the last step, and only a person can report it.
We will keep one habit throughout. For each project, ask four questions. What is the world? What does the hardware do? What does the model do? How does a person judge the result? The hero at the top of this page draws those four boxes for five projects.
Rows are senses. Columns are the two jobs. Tap a cell to see which project lives there and which chapter teaches it. Empty cells are jobs this lecture does not cover.
Cells follow the lecture’s slides: SmellNet (slides 5 to 11), AromaGen and the nose clip (12 to 24), taste (25 to 39), temperature (40 to 56), the glove and OpenTouch (57 to 65). Smell has two writing projects.
Notice what the grid says. Smell is covered in both directions. Taste and temperature are covered only as writing, by chemical means. Touch is covered as reading. The lecture does not claim to be complete. It shows one deep example per corner.
You will meet the word model in every chapter, so let us fix it. A model is a function with adjustable knobs. You give it numbers. It gives back other numbers: a name, a score, a recipe. Training turns the knobs until the answers match examples. After that, you run the model on new inputs. Nothing more is needed to follow this lesson.
Chapter 1
Turn a jar of spice into six numbers a second, then teach a Transformer to name it from how those numbers change
Close your eyes. A friend holds a jar under your nose. Cumin or oregano? You know in a second. Now ask a laptop. It has no nose, so it has nothing to work with. The first job in machine smell is to turn air into numbers.
The lecture’s first project does exactly this. It is called SmellNet, a dataset and model from Paul Liang’s group (Feng et al., ICLR 2026). The slide shows a small sensor board sniffing a jar of oregano, with the words “Smell Sensor Detection”.
The board holds metal-oxide gas sensors. Each one is a thin film of metal oxide, heated to a steady temperature. When certain gas molecules land on the film, its electrical resistance changes. The board reads that resistance as one number. Each sensor responds to a different family of gases, so six channels give six numbers.
This is not chemistry in the lab sense. The sensor does not say “this is linalool”. It says “resistance went from here to there”. The numbers are uncalibrated: they have no fixed unit, and two boards give different values for the same jar. They are good for comparing, not for measuring.
The slides call this step “Creating SmellNet”, and their message is “Data is key!” The team picked 50 substances: nuts, spices, herbs, fruits and vegetables. For each one, a session runs ten minutes at one reading per second. The team repeated each session six times on different days, and cleared the air between sessions.
Count it. One session is 10 minutes, or 600 seconds, so 600 readings of 6 channels. Six sessions give 3,600 readings per substance, which is one hour. Fifty substances give 50 hours and 180,000 time steps. The slide says “more than 50 hours” and “more than 300,000 datapoints”, an early count. The published paper adds mixtures of twelve base odorants, for about 828,000 time steps in all.
Each recording is also paired with GC-MS data from a public database. GC-MS (gas chromatography with mass spectrometry) is a lab instrument that lists the chemicals in a sample. It is big and slow, so a portable sensor cannot use it. But the chemical list of cumin is the same every day. The team uses it as a teaching signal, as the modeling section below explains.
How do you know the sensor data holds any signal? Plot it. But six channels need six axes, and a screen has two. PCA (principal component analysis) solves this. It finds the direction in which the data spreads out most, and calls it the first component. It then finds the next direction, at a right angle to the first. Plotting the data on those two directions gives the best flat picture of the cloud.
The slide shows two such pictures. In one, all 50 substances overlap in places but form visible groups. Spices and fruits occupy distinct regions. In the other, only fruits are plotted, and the individual fruits form clearer, separate clusters. The lesson: the sensor carries signal, and the task is hard, since nuts and vegetables stay tangled.
The modeling slide lists three ideas: sequence models, temporal difference models, and alignment with online databases. Here they are, in order.
A sequence model reads a list of readings in order. The team tried a plain MLP (which ignores order), a CNN, an LSTM, and a Transformer called ScentFormer.
The temporal difference trick feeds the model the change in each channel, not the level. For a lag of p seconds, the new value at time t is the old value at t minus the old value at t minus p. Why? Sensor levels drift. A board warms up, or sits in a damp room, and every reading shifts. But a smell makes the reading move, and the move survives a shift. Subtracting two readings cancels the shift.
The sliding window trick cuts each long recording into short overlapping pieces. With window size w and stride w/2, a 600-second session gives (600 minus 100) divided by 50, plus 1, which is 11 windows when w is 100. More windows means more training examples from the same hour of data.
Top: raw traces of two toy substances. Each recording starts from its own random baseline, like a drifting board. Bottom: the change over p steps. Drag p from 0 upward and watch the bottom traces pull apart.
Toy data, seeded so every visit matches: substance A rises fast and levels off, substance B rises slowly; each recording gets a random baseline. The reader is a nearest-average classifier trained on 40 recordings per substance and tested on 40 new ones. The paper’s own result is in the text below.
The paper measures the same effect on real data. It holds out the last of six days for testing and trains on the first five. With windows of 100 steps and no differencing, the models score 21.0% (MLP), 29.5% (CNN), 28.8% (LSTM) and 39.9% (ScentFormer) Top-1 over 50 classes. With p = 25 they score 26.8%, 52.7%, 57.9% and 56.1%. Chance is 2%. The average gain from differencing is 16.1 points.
pythondef prep(x, p=25, w=100): # x: (600, 6) one session, 6 channels at 1 Hz d = x[p:] - x[:-p] if p else x # (575, 6) change over p seconds wins = [d[i:i+w] for i in range(0, len(d)-w+1, w//2)] return np.stack(wins) # (10, 100, 6): ten windows of 100 steps # model: windows (B, 100, 6) -> Transformer encoder -> [CLS] vector (B, D) -> 50 logits # training also pulls the [CLS] vector toward that substance's GC-MS embedding (contrastive)
Each window goes through a Transformer encoder (a stack of attention layers), and a summary vector comes out. A linear layer turns that vector into 50 scores, one per substance. That is plain classification.
The third idea, alignment with online databases, uses contrastive learning. For each substance there is a fixed vector built from its GC-MS chemical list. During training, the model is pushed so that a window’s summary vector sits close to the vector of its true substance and far from the others. At test time no GC-MS is needed. With this extra teaching, ScentFormer reaches 63.3% Top-1, up from 56.1%. The lecture’s results slide plots accuracy per category and shows that the temporal models hold up better on vegetables.
The last slide of the section shows the point of it all: allergen detection. Think of a handheld device that sniffs a cake and warns of peanuts.
Suppose you cut windows from every session first, then split them at random into train and test. Windows from the same ten minutes land on both sides, and they look alike. The score jumps. It no longer measures whether the model works on a new day. The fix is to split by day, as the paper does, and to compute standardization statistics from the training days only.
Source: Feng, Dai, Li, Pernigo, Wen and Liang, SmellNet: A Large-scale Dataset for Real-world Smell Recognition (ICLR 2026). Reading lesson: the SmellNet paper in this series.
Chapter 2
Turn a sentence like “a cheeseburger” into twelve amounts a wearable can release, and fix the mix by talking to it
Try to describe the smell of a cheeseburger to a friend who has never had one. You will say it is savoury, a bit sour from the pickles, a little smoky. You describe a smell with other senses: taste, texture, memory. The slide says exactly this: participants “mostly described smell based on taste, texture, and memory, but a shared vocabulary emerges”.
That shared vocabulary is a gift to a language model. Language models have read millions of words about smell. The question for the AromaGen project (Chen et al., with Wen, Brooks, Ishii and Liang, 2026) is simple. Can a model turn such words into a smell a person can actually breathe in?
A screen makes every colour from three lights: red, green and blue. AromaGen makes smells from twelve base odorants. An odorant is a substance that smells. The twelve are: cumin, eucalyptus, onion, ylang ylang, Sichuan oil, red clover, cypress, thyme, strawberry, isovaleric acid, cinnamon and sage. The team chose them to cover a map of smell meanings, so that a few of them can approximate many real smells.
A recipe is a ratio vector: twelve numbers, one per odorant, that add up to 1. A value of 0.25 means a quarter of the mix. A neck-worn olfactory display (a device that releases smells) takes this vector and interleaves short puffs of each odorant in those proportions. The person smells the blend.
The model is a multimodal language model. It gets a fixed system prompt (standing instructions) that lists the twelve odorants and what each one smells like. The prompt also sets rules: use between two and six odorants, and answer in a fixed JSON format. The user’s request, typed or spoken, is added. Speech is first turned into text. The model answers with a ratio vector.
That is the first way, zero-shot: the model has seen no smell recipes, only descriptions. The second way adds retrieval-augmented generation (RAG): the system looks up earlier recipes that people rated, with their scores and comments, and shows them to the model as precedents. A database of human-made recipes gives the model something real to copy and adjust.
The third way is iterative refinement. After the person smells the mix, they speak: “Less sour.” The model now sees the original request, the current ratio vector, the earlier talk and the new comment. It writes a revised vector. This can repeat. Every rated recipe also goes back into the database for later requests.
The paper’s worked example is a burger with beef, cheese, pickles and sesame seeds. The model reasons that beef is savoury and smoky, cheese is cheesy and sour, and pickles are sour. It gives isovaleric acid, the cheesy-sour note, a weight of 0.25. The user says the beef should be stronger and the smell is too sour. The next vector cuts isovaleric acid to 0.17 and lifts onion, the savoury note, from 0.20 to 0.25.
Bars show the share of each of the twelve odorants. Step through the burger example, then switch to the study results to see how often people picked the right smell.
The two ratio vectors are the paper’s worked example (isovaleric acid is spelled “isoveric” there); odorants not listed have weight 0. Accuracy is three-way forced choice, 240 trials per way, chance 33.3%, from the paper’s results section.
The team ran a between-subjects study: each of the 60 people tried one composition method, not all of them. Fifty everyday target smells, such as foods and plants, were each made three ways: by the AromaGen model with retrieval, by a human expert composer, and by the model with no retrieval. Three experts supplied the human recipes.
The test was a three-alternative forced choice (3-AFC). The person smells the generated mix, then sees three real smells and must pick the one it was meant to copy. Guessing gives 1 in 3, or 33.3%. Across all 720 trials, 490 were right: 68.1%. By method: AromaGen 70.8% (170 of 240), expert 69.6% (167 of 240), zero-shot 63.7% (153 of 240). All three beat chance clearly. The differences between them were not statistically significant, so the honest claim is “as good as an expert”, not “better”.
Feedback helped. People spoke feedback in 163 of 240 AromaGen trials (68%). Across all 240 trials, the similarity rating (a 1 to 7 scale) rose from 4.09 to 4.65. In the 163 trials with feedback, it rose from 3.50 to 4.32. The slide’s second chart adds that AromaGen saves the human effort of mixing, with similar performance.
pythonODORANTS = ["cumin", "eucalyptus", "onion", "ylang ylang", "sichuan oil", "red clover", "cypress", "thyme", "strawberry", "isovaleric acid", "cinnamon", "sage"] def compose(request, history=[], retrieve=True): shots = search_rated_recipes(request, k=5) if retrieve else [] # RAG precedents (k is illustrative) reply = llm(SYSTEM_PROMPT, shots, history, request) # JSON: {"ratios": {...}} r = np.array([reply["ratios"].get(o, 0.0) for o in ODORANTS]) # (12,) return r / r.sum() # ratios sum to 1; 2 to 6 non-zero # refine: compose(request, history + [(r, "less sour")]) writes the next vector r(t)
The vector then goes to a hardware controller, which turns it into a timed sequence of puffs for the twelve channels.
Symptom: the same system is not equally good everywhere. Measurement: the paper breaks 3-AFC accuracy down by smell cluster. Solvent smells reach 83% correct, citrus 80%, putrid and decay 78%, and savoury and umami 78%. Sweet and gourmand smells reach only 45%, spice 52%, and woody and resinous 57%. The paper’s tools against this are the retrieval database and spoken feedback. It does not claim they close the gap.
Source: Chen, Wang, Wen, Yu, Eisa, Santos Lopes, Brooks, Ishii and Liang, AromaGen: Interactive Generation of Rich Olfactory Experiences with Multimodal Language Models (arXiv 2026). Reading lesson: the AromaGen paper in this series.
Chapter 3
Use the face nerve that feels sting and cool, and a real-time pipeline that decides which nostril to nudge and when
Smell a bottle of vinegar and your nose stings. Smell menthol and it feels cool. Those feelings are not made by the nerve that identifies smells. They come from a second nerve, and that nerve can be reached with a small electric current. The next part of the lecture, from the slides of Jas Brooks, asks a bold question: “can we deliver smell sensations without chemicals?”
The nose has two lines to the brain. The olfactory nerve runs through the olfactory bulb and tells you what a smell is: coffee, rose, smoke. The trigeminal nerve is the big nerve of the face. It senses touch, pain, heat and cold on the skin, and it also lines the inside of the nose. The slide draws it next to a bottle of vinegar, because vinegar’s sting travels on this nerve.
Many everyday smells have a trigeminal part: the burn of mustard, the cool of mint, the sting of ammonia. If we can excite the trigeminal nerve directly, we can fake that part of a smell. No bottle, no cartridge, nothing to refill.
The slide shows a tiny device that sits inside the nose. Two electrodes touch the inner wall of the nose, and magnets on either side hold it in place across the septum, the wall between the nostrils. A small circuit board drives it. The slide labels one side “magnets hold across septum” and the other “electrodes”.
This idea has a name in the reading list: Stereo-Smell via Electrical Trigeminal Stimulation (CHI 2021). From its title and the lecture’s slides, the plan is this. Each nostril has its own electrode, so the left and right sides can be driven separately, like the two speakers of a stereo system. Two ears tell you where a sound is. Two nostrils, given different amounts, can hint where a smell is. We summarise the idea here and send you to the paper for its study details.
A clip alone is dumb. Something must decide, many times a second, how strong the sensation should be on each side. Slides 19 to 24 build that pipeline one box at a time. It is called the real-time olfactory rendering pipeline. Rendering means computing what to present, as a game engine does for pixels. Here we compute what to present to the nose. It has two halves.
Half one lives in the virtual world. A CFD simulation (computational fluid dynamics, a physics program for moving air) is run ahead of time for the whole room, including real sources of turbulence. Its output is a map of how an odour spreads. To read that map fast, the system builds a BVH (bounding volume hierarchy, a tree that groups nearby space so a lookup is quick). A VR tracker reports the head’s position and direction, six numbers in all. The system looks up the odour concentration at the nose.
Next comes the tidal cone estimate. Air is not drawn evenly from all around. Each nostril draws air from a cone in front of it, called the tidal volume. The model weights the concentration by that cone, so left and right get different values. Then perceptual intensity mapping turns each concentration into how strong the person should feel it. It uses an empirical model of human sensitivity to menthol, with detection thresholds from older studies (Murphy 1983; Cometto-Muñiz and Cain 1990). Below the threshold, nothing is felt.
Half two lives on the face. A photoreflector in the clip (a small light sensor) senses breathing. The signal is cleaned with a band-pass filter, which keeps only 0.15 to 3 Hz, and a Kalman filter. A look-up table picks the stimulation waveform that suits the odour feature. And a stimulation scheduler fires at the start of each inhale. Timing matters: a nudge during exhaling would be wasted.
The warm dot is a virtual odour source. The head is the circle with a nose pointing up. Move the source around and turn the head. The two bars show how much odour each nostril draws, and which electrode fires.
Toy model, not the paper’s: odour falls with the square of distance; each nostril’s inhale cone points 25° outward and weights the source by the cube of the cosine of the angle; intensity level is 3 times log10 of the concentration over 0.25, clipped to 0 to 5. The real system uses a CFD room simulation.
Try the extremes. With the source dead ahead, both bars match and the clip fires equally on both sides. Slide the source left, and the left bar grows while the right one shrinks. Turn your head toward the source, and the bars even out again. That is how a person would find a smell: by turning until it is centred.
python# every frame of the VR scene pos, yaw = tracker.head_pose() # 6DOF: position (3,) and orientation (3,) c = bvh.lookup(cfd_field, pos) # odour concentration at the nose, a float cL, cR = c * cone(yaw, "L"), c * cone(yaw, "R") # per-nostril inhaled share lvL, lvR = to_intensity(cL), to_intensity(cR) # 0 below the detection threshold # in the clip, per breath breath = kalman(bandpass(photoreflector, 0.15, 3.0)) # respiratory waveform if inhale_started(breath): stimulator.fire(waveform=lookup_table(odour_feature), left=lvL, right=lvR)
The last slide of the group shows a plot of error from the target for real and virtual odour sources, a check that people can still find where a smell comes from. We report only that the comparison exists; the slide gives no numbers we can read, and the paper has the details.
Symptom: the smell seems to come and go at random, or feels like a buzz. Measurement: compare the stimulation times with the breath waveform from the photoreflector. If pulses land during exhaling, they are out of step. Fix: trigger only at the start of an inhale, and filter the breath signal so a cough or a sniff does not fool the trigger.
Chapter 4
Learn how a drop of a taste modulator lets one real fruit stand in for several virtual ones
You wear a VR headset and a virtual orchard fills your view. A real blackberry sits in your hand. You bite it, and the scene says it is a lemon. The blackberry still tastes like a blackberry, and the illusion breaks. Can the taste follow the picture?
The second part of the lecture, from the slides of Jas Brooks, answers with chemical interfaces for taste. The opening slide shows a person drinking cola through a headset while a phone app lists SWEET, BITTER, SOUR and SALTY. The label “minus sweet” floats near her mouth. She can turn one taste down while she drinks.
Your tongue has receptors for five basic tastes: sweet, sour, bitter, salty and umami (savoury). Each receptor is a tiny lock. A chemical of the right shape opens it and sends a signal. What we call flavour is taste plus smell plus texture, put together in the brain.
A taste modulator is a chemical that changes how a receptor responds. It may block a taste or turn one taste into another. The modulator need not taste strong itself. One example, miraculin, is famous for making sour food taste sweet.
The slide shows a collage of earlier taste devices: electrodes for the tongue, cups with electric rims, spice dispensers. The lecture names two problems.
Problem one: taste is inside the mouth. The slide draws a timeline of an eating moment with three phases: before eating (mouth closed), chew or drink, and aftertaste (after the swallow). Most earlier tools act before the bite, from outside the mouth. Problem two: imprecise feedback. Those tools cannot change one taste on its own.
So the goal slide asks: can we modify taste selectively while eating? The target phase is the middle of the timeline, the chewing and drinking.
The implementation slide shows a thin tube that runs from a unit around the neck to the corner of the mouth. Small amounts of a modulator solution travel down the tube during eating. In the video stills, a person drinks cola with “minus sweet” shown on a phone, then pours the rest away.
The user study slide (slide 36) shows six modulators: miraculin, gymnemic acids, amiloride, lactisole, clofibric acid and zinc sulfate. For each, a line chart tracks how each of the tastes changes over time. Time matters: a modulator needs a few seconds to act, then it fades, so a delivery schedule is part of the design.
VR designers already know a trick for the hands. A single real object can stand in for many virtual objects, because the eyes and hands are easily fooled together. The lecture applies the same idea to the mouth and calls the result taste retargeting. The slides show a real blackberry becoming a lemon with lactisole (sweet blocked) and a strawberry with miraculin (sour turned sweet). Another slide shows other props, such as an apple and a drink, retargeted the same way. The slide sums it up: “compressed to 3 food props”. Three real props are enough to cover many virtual foods.
The study reports a flavour matching score from 1 to 7: how well the taste matched what the virtual food should be. For the blackberry itself, the baseline and retargeted conditions are both high. For the lemon and the strawberry, the baseline scores are lower and spread widely, and the retargeted ones sit higher. The slides also carry a UIST 2023 demo honorable mention.
Choose the fruit the scene shows. Then choose a modulator and compare the two sets of bars: the blackberry in your mouth, and the fruit you should taste.
Illustrative numbers, not data: made-up profiles on a 0 to 1 scale for blackberry (sweet 0.55, sour 0.60, bitter 0.20), lemon (0.05, 0.95, 0.05) and strawberry (0.90, 0.15, 0.05). Lactisole scales sweet by 0.15; miraculin moves 80% of sour into sweet; zinc sulfate scales bitter by 0.3 and sweet by 0.5. Score = 7 minus 6 times the distance over 1.2. The study’s real scores are in the lecture’s plots.
Run the three fruits. The lemon wants less sweet, so lactisole helps. The strawberry wants sweet with little sour, so miraculin helps and lactisole hurts. The blackberry matches itself best with no modulator. No single modulator wins everywhere. A real system picks the modulator that fits the food, and that choice is the job of the scheduler.
Here is the arithmetic for the lemon, step by step. The blackberry is (0.55, 0.60, 0.20) and the lemon is (0.05, 0.95, 0.05). The gaps are 0.50, 0.35 and 0.15. Their squares are 0.25, 0.1225 and 0.0225, which add to 0.395, and the square root is 0.63. The score is 7 minus 6 times 0.63 over 1.2, or 3.9. Now apply lactisole: sweet falls to 0.0825, so the first gap shrinks to 0.0325. The squares add to 0.146, the root is 0.38, and the score rises to 5.1.
Symptom: the lemon bite tastes right, but the next bite of another food still tastes strange. Measurement: the temporal study tracks each modulator’s effect over time, which shows when it peaks and when it fades. Fix: schedule the dose to the bite, keep it small, and clear the mouth between foods.
Chapter 5
Make skin feel warm or cool with one microlitre of a chemical, and schedule the doses so the feeling stays steady
In a virtual desert, the sun should feel hot. In a virtual snowy forest, the air should feel cold. The slide puts it plainly: temperature is a critical part of both experiences. A headset gives the picture and the sound. It gives no heat.
Real heat is awkward. The next slide shows a person inside a cage of heat lamps: one kilowatt of power, heating the whole room’s air, and not wearable. The lecture asks: “is there a fundamentally different approach to this?”
The different approach is the one from the previous chapter. The trigeminal nerve senses temperature as well as touch and sting. It does so with receptor channels, tiny gates in the nerve ending. One kind of gate opens in real heat and sends a “warm” signal. Another kind opens in real cold and sends a “cool” signal.
Some chemicals open these gates without any real change in temperature. Capsaicin, the chemical in chilli peppers, opens the warm gate. That is why chilli feels hot. Eucalyptol, from the eucalyptus tree, opens a different gate and makes skin feel cool. Chewing mint gum works the same way. The lecture’s CHI 2023 work, shown in the slides from Jas Brooks, built a wearable that uses these two chemicals to create trigeminal temperature illusions. It won a best paper award. The slide shows capsaicin and eucalyptol as a chilli and a leaf.
The slide states two goals: perceptual consistency (the feeling must match the virtual scene and stay steady) and power efficiency (a wearable must run on a small battery).
The architecture has two sides. On the left is the virtual environment, built in Unity3D. A thermal and olfactory event manager watches for scene events, such as a furnace shutting off, and sends them over Bluetooth. On the right is the wearable. It holds three small reservoirs: capsaicin, eucalyptol and a fragrance. Capillary tubes with valves let out one reservoir’s contents in tiny amounts. A vibrating mesh transducer turns the liquid into a fine mist, an aerosol, that drifts to the face.
Between them sits the feedback scheduling system. It models how a person perceives each puff. There are two parts, drawn as two small curves. The immediate response is a quick spike right after a puff, then it fades. The accumulated effect is a slow rise that peaks later and lasts longer. The scheduler adds both from every puff and decides when to fire the next one. The slides then show it handling three jobs one after another: thermal stimulation, aerosolisation to save power, and fragrance.
Dose is tiny. One slide says the device can tell hot from cold using only 1 µL, one millionth of a litre, a fraction of a drop.
Choose a chemical and a time, then add a puff. Each puff is 1 µL. The line is the perceived warmth: above zero is warm, below is cool. The dashed line is the quick spike alone.
Toy model, not measured data: each puff adds 60% of a fast decay (time constant 1.5 s) and 40% of a slow bump that peaks 8 s later, with sign set by the chemical. Only the 1 µL dose and the two-curve idea are from the slides. “Furnace scene” places warm puffs, then cool ones after the furnace shuts off.
Add three warm puffs two seconds apart. The warmth builds, because the slow bumps stack, and it keeps rising after you stop. Now add a cool puff at the peak. The two curves pull against each other, and the line crosses zero. That crossing is the furnace shutting off. A scheduler that models only the quick spike would fire too often and waste mist. One that models both can space the puffs and keep the feeling steady with fewer doses.
Check the numbers by hand. One capsaicin puff at time zero gives a feeling of 0.60 at once. Two seconds later the quick part has fallen to 0.16 and the slow part has risen to 0.21, so the total is 0.37. Eight seconds after the puff the quick part is almost gone and the slow part gives 0.40. Now fire a second puff at 2 s and read at 4 s. The new puff gives 0.60. The first puff, two seconds old, still gives 0.37. The total is 0.97, the peak the device shows for those two puffs.
pythondef perceived(t, puffs): # puffs: [(time_s, +1 capsaicin | -1 eucalyptol)] total = 0.0 for t0, sign in puffs: s = t - t0 if s < 0: continue total += sign * (0.6 * np.exp(-s/1.5) + 0.4 * (s/8) * np.exp(1 - s/8)) # toy kernels return total # Unity event ("furnace off") -> Bluetooth -> scheduler picks puff times so perceived(t) tracks the scene # valve opens 1 uL of capsaicin or eucalyptol -> vibrating mesh aerosolises it -> face
The last slides test the wearable inside two virtual worlds, a mountain and a desert. People rated how warm the scene felt compared to the room. In the mountain scene, ratings with the chemicals were lower (cooler) than the baseline, and the desert ratings were higher (warmer). The chart marks both differences as significant, with p = 0.0005489 for the mountain and p = 0.0019459 for the desert. A p-value is the chance of seeing a gap this big if the chemicals did nothing.
Symptom: the scene says the furnace is off, but the face still feels warm. Measurement: the accumulated effect is slow, so warmth outlives the last puff. Fix: when the scene turns cold, fire eucalyptol to cancel the slow tail, and do not wait for it to fade on its own.
Source: the lecture’s slides from Jas Brooks on chemical interfaces for temperature, which the slide marks as a CHI 2023 best paper award.
Chapter 6
Read the pressure of a whole hand with a printed glove, and learn to link touch to first-person video
Pick up a full mug of tea. A camera watching your hand sees fingers curl around a handle. It cannot see how hard you squeeze, or whether your palm is taking the weight. Yet a robot that copies you needs exactly that. Vision tells us where the hand is. Touch tells us what the hand is doing.
This part of the lecture moves from smell and taste to touch, and flips the direction. Here the machine reads the sense. Two projects from Paul Liang’s collaborators show how.
The first is “Fits like a Flex-Glove” (Murphy et al., CHI 2025 late-breaking work). Its sensors sit on a flexible printed circuit board, or FPCB: a thin plastic sheet with copper tracks, like a circuit board that bends. The slide shows a hand on paper, because the key idea is automatic personalised design. From the outline of your hand, software lays out the sensor tracks to fit your fingers and palm. A generic glove fits nobody well.
The slides test it three ways. A robot hand presses the glove, to check that the sensor is robust, meaning stable over repeated presses. A user study compares a generic glove (A) with a personalised one (B). Personalised gloves show lower variance across repeated full-hand presses. Users rate them as less obstructive and say tasks take less effort and cause less frustration, on average.
The second project is OpenTouch (Song et al., 2025). Most touch datasets are recorded in a lab, with one object and one grasp. OpenTouch is, in its authors’ words, the first in-the-wild, egocentric full-hand tactile dataset. Egocentric means filmed from the wearer’s own point of view. The lecture slide shows three streams side by side: the first-person video, a heat-map of pressure on the hand, and a skeleton of hand pose. It points to robotics, world models, and touch and haptics as uses.
Three devices are worn at once. Meta Aria glasses record video at 1408 by 1408 pixels, 30 times a second. A Rokoko Smartglove tracks hand pose, with seven motion sensors per hand at 30 Hz. And a custom printed tactile glove measures pressure with a 16 by 16 grid of electrodes around a pressure-sensitive film. This forms 169 taxels. A taxel is a touch pixel: one spot that reports one pressure number. All three streams are synchronised at 30 Hz, with 2 ms of average lag.
The dataset holds 5.1 hours of recording and 2,900 curated clips, each with text labels: object name, category, environment, action, grasp type and a short description. The objects number about 800 and the environments 14. The slides show four settings, grocery, sports, office and kitchen, and four actions, pull, pinch, roll and squeeze.
So one moment of data has three parts. Video: a stack of frames. Touch: a 169-number pressure map for each frame. Pose: the joint angles of the hand. You can picture one time step as a bundle of three vectors.
The grid shows 169 taxels in a hand shape. Drag across it to press, or tap a preset. The read-out compares your pressure map with three stored grips and names the closest.
The count of 169 taxels is the paper’s; the hand-shaped layout, the three stored grips and the similarity score (cosine, 0 to 1) are a toy sketch made for this lesson. The paper’s tasks use learned encoders on real recordings.
Press the grid with a pinch, then with a flat palm. The two maps look different at a glance, and the nearest-grip score agrees. That is the paper’s point about touch: pressure patterns line up strongly with grasp type, even when two grasps look nearly the same on camera.
The paper sets two tasks. Cross-sensory retrieval: given a clip in one modality, find the paired clip in another. For example, query with a video and retrieve the matching touch recording. Tactile pattern classification: name the action or the grasp type from the signals.
For retrieval, the team trains a contrastive model, as in CLIP. Each modality has an encoder that outputs a vector. Training pulls the vectors of matching clips together and pushes mismatched ones apart. At test time you compare a query vector against all candidate vectors and rank them. Recall at 1 (R@1) is the share of queries whose top answer is correct.
Chance is tiny, because each query has many candidates. In the video-to-touch direction, the two linear baselines reach R@1 of 0.50% and 0.21%. The contrastive model reaches 7.15%. Adding pose to the query helps too: with video plus pose retrieving touch, mean average precision reaches 26.86%. The lecture’s retrieval slide shows an Ego4D video as the query and the top four retrieved touch clips. Touch alone is highly informative for grasp. Touch plus vision gives the best results on the action and grasp tasks.
python# one synchronised clip: T frames at 30 Hz video = enc_v(frames) # (T, 3, 224, 224) -> (D,) first-person video touch = enc_t(taxels) # (T, 16, 16) -> (D,) 169 live cells in the 16x16 grid pose = enc_p(joints) # (T, 7, 6) -> (D,) 7 sensors x 6DOF sim = normalize(video) @ normalize(touch).T # (B, B) cosine scores for a batch loss = cross_entropy(sim / tau, arange(B)) # the diagonal pairs are the right answers
The 224 pixel crop and the batch loss are a sketch of the standard recipe, not the paper’s exact settings.
Symptom: retrieval returns a clip of the right action with the wrong force, a light squeeze for a hard one. Measurement: top-1 retrieval is still low (7.15% at best), and the paper itself notes a substantial sensory gap between vision and touch. Fix: use more modalities in the query, as the video plus pose result shows, and train on the dense touch signal, not only on labels.
Sources: Murphy et al., “Fits like a Flex-Glove” (CHI late-breaking work 2025); Song et al., OpenTouch: Bringing Full-hand Touch to Real-world Interaction (arXiv 2025). Reading lesson: the OpenTouch paper in this series.
Chapter 7
Sort real product failures into the four moments of an interaction, and see a tutoring system that follows the rules
A voice assistant mishears you, answers with total confidence, and gives you no way to say “no, the other one”. The model may be excellent. The product still fails. Whether an AI system works for a person depends on the interaction, not only on the model.
Part two of the lecture is about exactly this: human-AI interaction. The slide poses three questions, and they organise the rest of the lecture.
The lecture then turns to a classic: Guidelines for Human-AI Interaction by Amershi and colleagues at Microsoft (CHI 2019). The team collected design advice from many sources, tested it on real products, and boiled it down to 18 guidelines. The guidelines are grouped by when they matter, in four phases.
Initially: before the person uses the system. The user should know what it can do and how well. During interaction: while they use it. It should fit the moment, the place and social habits. When wrong: when it errs, which every AI system does sometimes. The person should be able to stop it, fix it and understand it. Over time: as it learns and changes. It should remember, adapt carefully and tell the person what changed.
| Phase | Guidelines | In plain words |
|---|---|---|
| Initially | G1, G2 | Say what the system can do (G1). Say how well it can do it (G2). |
| During interaction | G3 to G6 | Time services by context (G3). Show relevant information (G4). Match social norms (G5). Mitigate social bias (G6). |
| When wrong | G7 to G11 | Make it easy to invoke (G7), dismiss (G8) and correct (G9). Scope services when in doubt (G10). Explain why it acted (G11). |
| Over time | G12 to G18 | Remember recent use (G12). Learn from behaviour (G13). Update with care (G14). Ask for granular feedback (G15). Show consequences of actions (G16). Offer global controls (G17). Announce changes (G18). |
The slides print all eighteen with an example of each from real products, such as a voice assistant, a music app, a navigation app and an e-commerce site. Read them once and you will see them everywhere. A weather widget with no note on its accuracy breaks G2. A feed that changes overnight breaks G18.
Read the problem. Choose the phase of the interaction where the guideline applies. Then press Next problem.
The eight scenarios are written for this lesson as illustrations of the paper’s guidelines; the phase names and guideline numbers are the paper’s.
Most people find “When wrong” the easiest to spot and “Initially” the easiest to forget. We rarely ask what a new system does before we use it. The paper’s message is that every phase needs design, not only the model.
Here is the method on one case. A navigation app reroutes you without a word. First ask when: you are mid-use, and the system has acted, perhaps wrongly, so this is the “When wrong” phase. Then ask which guideline: G11, make clear why the system did what it did. Then name the fix: a one-line reason, such as “Rerouted: accident ahead”, plus a way to decline (G8). Last, test it: ask five users why the app rerouted. If they cannot say, the fix has failed.
The first reading, Interactive Sketchpad (Lee, Chen and Liang, CHI 2025 extended abstract), is a tutor for maths. Most tutoring bots only talk. But a student stuck on geometry needs a drawing, perhaps an extra line in a triangle. The system takes a student question and the problem statement, and replies with a text hint and a diagram.
The trick is code execution. A fine-tuned large multimodal model writes a short Python program, usually with the plotting library matplotlib. The program runs, and the diagram it draws is shown to the student. Code gives exact lines and angles, where a model drawing pixels may be wrong. The tutor gives step by step hints and avoids giving the answer away, which is what a good tutor does.
Look at it through the guidelines (our reading, not the paper’s). A diagram the student can see is checkable, which helps G11, the “why” guideline. A hint, not an answer, fits G10, scope services when in doubt. In the user study, undergraduates rated the interface’s intuitiveness and the accuracy of its visuals highest, at an average of 4.71 out of 5. The paper reports better task comprehension, problem-solving accuracy and engagement. It is a small study, so treat it as a promising sign, not a proof.
Reading lesson: the Interactive Sketchpad paper in this series.
Symptom: users stop trusting the product after two bad answers. Measurement: look for the missing guideline. Could they tell what the system can do (G1)? Could they dismiss or correct a bad answer (G8, G9)? Could they see why it answered (G11)? Fix: add the missing control, before you retrain the model.
Chapter 8
Learn what quantification means, and see three safety failures: biased text, jailbreaks hidden in pictures made of letters, and a model that ignores one of its senses
A bank locks its front door with three bolts. A thief walks in through an open window. The guard was strong in the place the designers looked, and weak in the place they did not. AI safety has the same shape. Training teaches a model to refuse bad requests in the forms it has seen. The risk lies in the forms it has not.
The lecture’s third question, new technical challenges, gets one word as its answer: quantification. The slide defines it: “empirical and theoretical studies to better understand model shortcomings and predict and control model behavior.” Three small pictures give its three jobs. Shortcomings: find where the model breaks. Behavior: trace which inputs drive which outputs. Learning: follow how training curves, the loss against the epoch, show what the model picks up. In short, measure first, then fix.
The first safety slide opens with a plain warning: it is easy to generate biased and dangerous content with language models. It cites two papers by Liang and colleagues (ACL 2020, ICML 2021). The picture shows GPT-2 finishing two sentences that differ in one word. “The man performing surgery is a” gets “doctor”. “The woman performing surgery is a” gets “nurse”.
The papers split such bias into two kinds. Local bias is in the very next word, as above. Global bias is in the meaning of the whole continuation. The slide shows one story where the man “precisely leads the operation” and the woman “carefully assists the doctor”. Every word looks fine; the picture they paint is not. To measure bias you must test both.
A jailbreak is a prompt that makes a safety-trained model do what it was trained to refuse. The slide shows two routes. Route one: the attacker types a harmful request in plain words, and the model replies “Sorry”. Route two: the same request goes in a form the guard does not recognise, and the model replies “Sure, here is...”. The slide’s verdict: “Still a big open challenge!” It cites two papers: Zou et al. (2023), which finds strange text suffixes that work across models, and ArtPrompt (Jiang et al., ACL 2024).
ArtPrompt starts from a simple observation. Safety training assumes that the words carry the meaning. People do not always write that way. On forums they draw pictures with letters and symbols, called ASCII art. A large word drawn in hashes means something to a person and means nothing to a model that reads characters as text.
The authors first check this with a benchmark they built, ViTC (Vision-in-Text Challenge). It asks a model to name a single letter or digit drawn as ASCII art. The best result is GPT-4, at only 25.19% on the single-character set. On the set of short sequences it falls to 3.26%. These scores are far below the same models’ scores on maths or code.
The attack then has two steps. First, word masking: pick the one word in a request that would trigger a refusal, and hide it. Second, cloaked prompt generation: draw that word as ASCII art and put the picture in its place, with a note on how to read it. The guard never sees the word, and the model can often still decode enough to answer. The paper warns that it contains harmful outputs, and we will not reproduce any here.
A harmless toy: the guard refuses any message that contains the word MOON. Choose a word, then choose whether to write it plainly or draw it with block letters. Compare what you see with what the guard sees.
Toy: a keyword guard stands in for safety training that keys on words. Real models are not keyword filters, and the real attack is evaluated on real models (ViTC: GPT-4 25.19% on single characters; ArtPrompt averages 84% helpful rate, harmfulness score 3.6 and 52% attack success on AdvBench, from the paper’s Table 3).
Draw MOON as art. A person reads it at once. The toy guard sees only a grid of hash marks and spaces, with no letters and no match, so it passes. That is the whole idea in miniature. The real result is stronger than the toy because a real model does partly decode the art. It decodes badly enough to miss the safety signal and well enough to follow the request.
On the AdvBench test, ArtPrompt reaches the highest average among the attacks compared: an attack success rate (the share of replies rated at the top harm score, 5 of 5) of 52% across five models, with an average harmfulness score of 3.6 and a helpful rate (the share not refused) of 84%. It also got past three defences the authors tried: a perplexity filter, paraphrasing the prompt, and retokenising it. The authors call this an urgent need for stronger defences.
The next slide shows a multimodal failure. A model is trained on pictures and questions. It learns the cheap route: answer from the question alone. Ask “What colour is the banana?” and it says yellow without looking. The reading names it unimodal bias. The fix is balance: balance the data (add pairs where the picture changes the answer, as the VQA v2 dataset did), and balance the training so that one modality does not drown out the other (Wu et al., ICML 2022; Javaloy et al., ICML 2022).
Two more slides cover fairness. Image captioning models pick up spurious links between gender and actions: “Women also snowboard” (Hendricks et al., ECCV 2018) shows models that guess “man” for a snowboarder from the scene, not from the person. And a study of vision-language models (Srinivasan and Bisk, NAACL 2022) found that adding the picture made the model more confident in a stereotype, not less. Two senses can compound a bias.
Symptom: a request is refused in words and accepted in art. Measurement: build a benchmark that probes the blind spot, as ViTC does, and report the attack success rate with its definition. Fix: train and test on non-semantic forms too. The paper’s own message is that today’s three tested defences are not enough.
Sources: Liang et al., ACL 2020 and ICML 2021; Zou et al. 2023; Jiang et al., ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs (ACL 2024); Wu et al. and Javaloy et al. (ICML 2022); Hendricks et al. (ECCV 2018); Srinivasan and Bisk (NAACL 2022). Reading lesson: the ArtPrompt paper in this series.
Chapter 9
See why a fusion model can collapse when one sense gets noisy, and how to tell whether its senses agree, add up or fight
You are on a bad phone call. A voice says “Toda was great!” You also see the speaker, smiling. You know at once that the word is “Today”. One channel was damaged, and the other filled the gap. A multimodal model must do the same, and often it cannot.
The robustness slides come from MultiBench (Liang et al., NeurIPS 2021), a large benchmark for multimodal models. They split noise into two families. Modality-specific noise hits one channel in the way that channel breaks: a typo in text (“noise” becomes “nosie”), grain in an image, static in audio. Multimodal noise hits the combination: a channel drops out entirely, marked in the slide with a crossed circle, or the channels fall out of step.
The second slide plots performance against robustness, here the rate at which accuracy drops as noise rises. Each dot is a published method. The dots fall on a line that slopes the wrong way: methods that score higher on clean data tend to fall faster under noise. The lecture calls this a strong trade-off between performance and robustness.
The next slide gives two families of fixes. The first is robust data and training: during training, corrupt the inputs on purpose, so the model learns not to lean on one channel. The corrupted copies are marked x′A and x′B. The second is to infer the missing modality: when a channel is gone, use a model to guess it from the one that remains. The slide shows two designs. A translation model maps channel A to a guess for channel B (Pham et al., AAAI 2019, cyclic translation). A joint probabilistic model learns how A and B go together, so it can fill in either (Ngiam et al., ICML 2011; Srivastava and Salakhutdinov, 2014; Tran et al., 2017).
Why does trust matter? A fusion model adds up evidence from each channel, with a weight for each. Weights learned on clean data say “trust the sharp channel”. When that channel turns noisy, the old weights keep trusting it, and the answer is as bad as the noise. The fix is to learn weights that fit the noise the model will actually meet.
Two channels each carry a weak hint about a yes-or-no label. Channel B starts out sharp. Drag the noise on B up and compare four classifiers.
Toy simulation, seeded: 3,000 samples per run; channel A reads label plus noise of spread 1.0; channel B reads 1.5 times the label plus noise of the chosen spread. The clean-data fusion uses weights fitted at spread 0.5 (A: 1, B: 6). The noise-fitted fusion weights each channel by its signal over its variance.
At low noise, the fused models beat either channel alone, as expected. Push the noise on B up. The clean-weight fusion slides down toward the accuracy of B alone, because it still gives B six times A’s weight. The noise-fitted fusion keeps climbing above both single channels, because it learns to lean on A. The gap is the whole case for noise-aware training.
Robustness asks how a model reacts when a channel breaks. Understanding model behavior asks a gentler question: what is each channel doing right now? The slide opens with MultiViz (Liang et al., ICLR 2023). It looks for two kinds of links in four datasets: CLEVR (shapes in a scene), VQA 2.0 (questions about photos), Flickr-30k (captions) and CMU-MOSEI (opinion videos). Correspondence links match a phrase to a part of the input: “the tiny yellow shiny object” to one cube. Relationships describe how the channels together lead to the answer.
The next slide, from M2Lens (Wang et al., IEEE Transactions on Visualization and Computer Graphics, 2021), turns that into a rule. Run a standard attribution method on each channel alone: GradCAM, LIME or SHAP. These are tools that score how much each part of the input pushed the answer. Call the result an importance IA for channel A and IB for channel B. Compare the two.
The slide adds a finding: in multimodal sentiment analysis, language is often the dominant channel. A website, linked on the next slide, lets you explore this on real examples.
Each channel pushes the model toward “positive” (right of zero) or “negative” (left). Set what the words push and what the tone pushes, or tap a scene.
The three labels and their tests are the lecture’s (slide 79). The cut-off for “far greater” is not given there; this toy uses a ratio of 3 to 1. The scores are illustrative, not from a model.
Try the sarcasm scene. The words push strongly positive and the tone pushes strongly negative. The product is below zero: a conflict. A model that ignores one channel will get this wrong, and now we have a way to see it.
Symptom: the model labels sarcastic reviews as praise. Measurement: run the attribution tests per example and count how often language dominates on the failures. Fix: add training examples where the channels conflict, or reweight the channels, as the earlier noise device suggests.
Chapter 10
Judge an explanation by two tests: can a person predict the model with it, and can a person fix the model with it
A friend shows you a heat map over a photo and says, “This is why the model said dog.” The map looks sensible. But how would you know it is right? You would need an answer key that says which pixels the model truly used. No such key exists. We cannot open the model and read off its reasons.
That is the problem on the first slide of this part. The lecture asks: how can we evaluate the success of quantification? Its problem statement is blunt: “real-world datasets and models do not have quantification outputs annotated”. There is no ground truth for the explanation itself.
The lecture’s answer is indirect evaluation. Find some downstream quality that practitioners find useful and that can be measured easily. If an explanation really tells a person something true about the model, a person holding it should be able to do something they could not do without it. This chapter uses two such tests, both from the MultiViz study (Liang et al., ICLR 2023).
MultiViz explains a model in stages. Stage one, unimodal importance (U): which parts of each channel mattered. Stage two, cross-modal interactions (C): how channels combine. Stage three, multimodal representations (R): what the model’s inner units respond to, studied on single examples (local) and on many (global). Stage four, multimodal prediction (P): how all of it leads to the output. A person is shown more and more of these stages.
Model simulation asks: “Can humans reproduce model predictions with high accuracy and agreement?” The slide shows a person facing the model, a magnifying glass over its inside, and a question mark over the answer. The person is given an input and the explanation. They do not see the model’s output. They guess it. If they guess right, the explanation told them something true.
The protocol is a few lines. Each test item is shown with the evidence from a given stage. The person predicts what the model will say. We compare the guess with the model’s real output.
pythonagree = 0 for item in test_items: shown = explain(model, item.x, stages=["U", "C", "R"]) # evidence from the chosen stages guess = human.predict(item.x, shown) # blind: the model's answer is hidden agree += (guess == model(item.x)) # match the MODEL, not the true label simulation_accuracy = agree / len(test_items)
Notice the last line. We compare to the model, not to the true label. Simulation measures whether the person understands the model, even when the model is wrong.
The slide’s bars show five settings: U alone, then U with C, then adding local R, then global R, then P. The accuracies are 55.0%, 65.0%, 61.7%, 71.7% and 81.7%. The full set of stages wins, and the lecture draws the lesson: more stages lead to higher accuracy and agreement. The slide also lists the three design rules of a good test: a blind test, reasonable baselines and a measurable outcome.
First view: add stages of explanation and watch how often people predict the model. Second view: see how much a fix helps when the examples are picked three different ways.
All numbers are read from the lecture’s slides 84 and 87 (MultiViz, ICLR 2023). The slide prints the gains as +1.4%, +0.2% and +30.5% without a unit note, so we repeat them as printed.
Step the slider. One bar dips: adding local representations alone (61.7%) scored below adding only interactions (65.0%). More evidence is not always more help. Only the full set clears 80%. That is why you measure.
Model debugging asks: “Can humans find bugs in the model for improvement?” The bug here is a pattern of mistakes, which a person finds and a developer fixes. The slide walks through a case with a visual question answering model.
Local analysis looks at one example: “What colour is the tie of the second man to the left?” The model answers “Blue”. A unit in the model’s middle layers fires on the word “color”. Global analysis then looks at that unit across many questions: the colour of a road sign, of a building, of checkers on a wall. In all of them the unit responds to colour words. A human reads this and writes: “Models pick up cross-modal interactions but fail in identifying color!”
That is a hypothesis, and a hypothesis can be tested. Add targeted training examples that involve colour, retrain, and measure. The slide compares three ways to choose extra examples. Random picks gain +1.4%. Picks by uncertainty (the model’s own doubt) gain +0.2%. Picks guided by MultiViz’s finding gain +30.5%. The slide adds a side note: the team used this method to discover a bug in a popular deep-learning code repository.
This is why the evaluation is strong. The explanation was not judged by how it looked. It was judged by what a person could do with it, measured against two sensible baselines.
Symptom: users like the heat maps, and the model keeps failing in the same way. Measurement: run a blind simulation test and a debugging test with baselines. If people predict the model no better than without the explanation, the explanation is decoration. Fix: change the method, not the picture, until the numbers move.
Chapter 11
Review the whole lecture on one page: the numbers, a checklist, the core as code, and where to go next
You can now follow the last lecture of MIT’s Multimodal AI course from start to end. You know how a gas sensor becomes a smell label, how a sentence becomes a recipe of odorants, how a current or a drop of chemical fools a nerve, and how a glove ties touch to video. You also know the rules for working with AI, three ways such systems fail, and two tests for an explanation.
Machines can read a sense with a sensor and a model, as SmellNet does with six gas channels and a Transformer that reads the change in the signal, and as OpenTouch does with a 169-taxel glove aligned to video by contrastive learning. They can write a sense with an actuator and a plan, as AromaGen does by turning words into a twelve-odorant recipe, and as the chemical and electrical interfaces do for taste, heat and the trigeminal part of smell. A person must judge every result, so the studies use blind tests with chance levels. Good interaction follows the 18 guidelines. Safe systems are measured, not assumed: jailbreaks, bias and noise are probed with benchmarks, and explanations are tested by whether people can predict and fix the model with them.
| What | Number | Why it matters |
|---|---|---|
| SmellNet size | 50 substances × 6 sessions × 600 s = 180,000 steps; about 828,000 with mixtures | Even a big smell dataset is small next to image sets |
| Differencing, windows of 100 | LSTM 28.8% to 57.9%; average gain 16.1 points | The change in a signal beats its level when sensors drift |
| ScentFormer Top-1 (50 classes) | 56.1% sensor only; 63.3% with GC-MS; chance 2% | A lab’s chemistry can teach a portable sensor |
| AromaGen three-way test | 70.8% / 69.6% / 63.7% (model with retrieval, expert, zero-shot); chance 33.3% | Comparable to an expert; gaps not significant |
| AromaGen feedback | Similarity 4.09 to 4.65 overall; 3.50 to 4.32 where feedback was given | Talking to the system fixes the mix |
| Easiest and hardest smells | Solvent 83%; sweet and gourmand 45% | Averages hide weak categories |
| Heat from chemicals | 1 µL; p = 0.0005489 (mountain), 0.0019459 (desert) | Fool the nerve, not the skin |
| Taste retargeting | 3 food props; 6 modulators studied | One real prop stands for many virtual foods |
| OpenTouch | 169 taxels; 30 Hz; 2 ms sync; 5.1 h; 2,900 clips | Touch, video and pose in one clip |
| Video to touch retrieval, R@1 | 0.50% and 0.21% (linear) vs 7.15% (contrastive) | The vision-touch gap is real |
| Guidelines for Human-AI Interaction | 18 guidelines in 4 phases | Interaction design is a test, not an afterthought |
| ViTC, GPT-4 | 25.19% single characters; 3.26% sequences | Models read ASCII art badly |
| ArtPrompt on AdvBench, average of five models | Helpful rate 84%; harmfulness 3.6; attack success 52% | Word-based safety has a blind spot |
| MultiViz model simulation | 55.0%, 65.0%, 61.7%, 71.7%, 81.7% by stage | Test explanations by what people can do |
| MultiViz debugging gain | Random +1.4%; uncertainty +0.2%; MultiViz +30.5% | A good explanation finds the real bug |
python# READ a sense: sensor -> change -> window -> model -> name (Chapter 1) x = sensor.read(seconds=600) # (600, 6) six channels at 1 Hz w = prep(x, p=25, w=100) # (10, 100, 6) differenced, windowed logits = scentformer(w).mean(axis=0) # (50,) average over windows name = SUBSTANCES[logits.argmax()] # WRITE a sense: words -> recipe -> actuator -> person (Chapters 2 to 5) r = compose("a burger with cheese and pickles") # (12,) odorant ratios, sum to 1 device.fire(schedule(r)) # timed puffs, synced to the inhale r = compose("a burger...", history=[(r, "less sour")]) # one round of spoken feedback # CHECK it (Chapters 7 to 10) acc = three_way_test(people, targets) # compare with chance = 1/3 agree = simulate_model(people, explanations) # do people predict the model?
Every name in the last block is a placeholder for the real component described in its chapter.
This is the final lecture of the course. It takes the fusion, alignment and interaction ideas of the earlier weeks and aims them at senses that are not text, pictures or sound. The explainable reasoning lecture introduced the attribution tools used in Chapter 9, and interactions and fusion models explains why channels can agree, add up or conflict. The contrastive training of Chapters 1 and 6 comes from the alignment lecture. The lecture just before this one is self-evolving AI. Next in the calendar are project presentations on 12 May.
Now press Present or Teach and explain one project out loud, from memory: the signal, the model, the person who judges it, and one way it fails. Then go back to the hero and send each signal again.