Describe a smell in words. A language model returns 12 numbers, and a neck-worn device sprays them as pulses. People then picked the generated smell in 70.8% of trials. Guessing gives 33.3%.
Learn how a chat model can compose a smell it has never smelled, from 12 essential-oil channels, a table of human ratings, and a few spoken words of feedback.
Choose who composed the smell: the model alone, a human expert, or the full AromaGen. Each dot is one person choosing among three smells. Then we build, piece by piece, the smell space, the 12 odorants, the prompt, the pulses, the retrieval, the refinement and the study.
You need a rough idea of what a probability is and a little curiosity about how a chat model reads a prompt. We build the rest from zero.
Based on AromaGen: Interactive Generation of Rich Olfactory Experiences with Multimodal Language Models (arXiv 2604.01650) by Awu Chen, Silang Wang, Yunge Wen, Jianing Yu, Zinab Eisa, Ana Julia Santos Lopes, Jas Brooks, Hiroshi Ishii and Paul Pu Liang. It is a reading for MIT MMAI Lecture 19, AI for New Senses. Every idea is re-taught here in our own words and devices.
The counts are the paper’s (Section 4.3.1): 170, 167 and 153 correct trials out of 240 each, so 70.8%, 69.6% and 63.7%. Guessing among three smells gives one in three, 80 of 240. The paper finds no significant difference between the three conditions (p = .26 to .96), so read the ranking as a hint, not a result.
Chapter 0
See why a screen can show any colour from three numbers while a smell machine cannot, and meet the loop that AromaGen uses instead
Picture a candle shop. A customer says, “I want it to smell like my grandmother’s kitchen.” The clerk nods, then freezes. Where does she start? Warm bread, a little onion, something sweet, maybe a hint of smoke from the stove. She has no way to write that down as a recipe.
Now picture a screen. A designer says, “I want a warm orange.” The screen needs only three numbers: how much red, how much green, how much blue. Those three are the primaries of colour: a small set of ingredients that mix into almost any colour you can see. The eye has three kinds of colour sensor, and the three primaries match them.
Smell has no such set. The nose has many kinds of sensor, and nobody has found a short list of ingredients that mixes into every smell. The paper says it plainly: unlike colour or sound, smell has no established primaries from which arbitrary percepts can be composed. So a smell machine cannot just turn three dials.
The paper names the obstacles one by one. First, no primaries: you must choose a small palette of real materials and accept that some smells will fall outside it. AromaGen chooses 12 and says so openly. Chapters 1 and 2 show how.
Second, smell is hard to put into words. Scientists call this olfactory ineffability: most English speakers have few dedicated smell words, and even naming a familiar smell can be hard. The paper also notes that speakers of Jahai, a language of the Malay Peninsula, name smells as easily as colours. The paper reads this as culture and ecology shaping the gap, not biology.
Third, earlier machines needed a sample or a molecule. Older systems record a real fruit with a sensor array, then search for a mix that matches. Others start from a chemical analysis. None of them accepts what people actually have, which is a sentence such as “a cheeseburger with pickles”.
Here is the idea that holds the whole paper together. You may not be able to build a smell from oils. But if someone hands you a smell, you can often say how it differs from the one you wanted: “too sour”, “more beef”. The paper calls this an asymmetry: composing is hard, evaluating is easy, even for a novice.
So AromaGen splits the labour. The machine composes. The human smells and judges. A chat model does the composing, because it has read huge amounts of text about food, perfume and memory. The human then steers it in plain words. Think of a sculptor and an assistant: the assistant carves, the sculptor says “a little less nose”.
The system is one loop, which the paper calls describe, generate, smell, refine. Each stop passes along a specific piece of data, and you will meet each one in its own chapter. Step through the loop below. Notice that only two of the five stops need a person, and neither asks for chemistry.
Each row is one stop. The lit row is where you are. Press Next stop, or press a row, and read the data that leaves it.
The stops and their data are the paper’s (Sections 3.2 and 3.3, Figures 3 and 4). The example text is Figure 4’s cheeseburger request. R = 10 rounds is the paper’s current setting, and 0.5 s per pulse is its pulse length.
Three things are worth noticing. The model never touches hardware: it writes a list of 12 numbers, and a small controller turns that list into pulses. The human never sees chemistry: feedback is a sentence. And the loop closes, so a bad first guess is not the end.
The authors ask four questions. Do people recognise the generated smell as the target (RQ1)? Does the model match human experts (RQ2)? Does spoken feedback help (RQ3)? What do people do when they may ask for anything (RQ4)? The headline answers are modest and honest. People pick the generated smell 68.1% of the time over two unrelated smells, where guessing gives 33.3%. The model does about as well as experts. Feedback raises similarity ratings. The paper does not claim the smells are indistinguishable from real ones.
Chapter 1
Turn 92,120 sentences about smell into a two-axis map, and see why the map comes from language and not from chemistry
Suppose you ask ten thousand people to finish the sentence “It smelled of …”. You get words such as roses, smoke, fresh bread, rot, lemon. Some words come up together in similar sentences. Others never do. A pile of such words already has a shape. The authors want that shape, because it tells them which smells people can name at all.
They call it the describable olfactory space: the range of smells that people can express and tell apart in English words. AromaGen picks its 12 odorants from this space. It does not pick them from a chemistry table, because users will ask in words, not in molecules.
The paper adapts a method from the linguist Hörberg and colleagues. It starts from the UMBC WebBase corpus, a big pile of web text with 2.97 billion tokens. A token is one word or word piece.
The authors pull out every sentence that contains a smell or taste seed term: odor, smell, scent, fragrance, aroma and similar words. That gives 92,120 sentences. They keep every content word that lands within four words of a seed term and appears at least 10 times. Those are the candidate descriptors, and there are 3,558 of them.
Many candidates are not really about smell. The word “kitchen” sits near “smell” often, yet it is also everywhere else. So the authors score each word with the Olfactory Association Index (OAI). It measures how strongly a word clings to smell sentences, compared with how often the word appears in the whole corpus. High OAI means “mostly used about smell”. They keep the top 10%, which is 317 descriptors.
A computer cannot compare words as letters. It needs numbers. A word embedding gives each word a list of numbers, so that words used in similar sentences get similar lists. Think of it as a street address on a map of meaning: lemon lives near lime, far from tar.
The paper trains Word2Vec in its CBOW form, which learns each word’s list by predicting the word from its neighbours. Each list has 300 numbers. (Our word vectors lesson builds this from zero.) The training text is the 92,120 smell sentences.
Now the authors need one distance for every pair of descriptors. They use the Pearson correlation ρ of the two lists. It is +1 when the two lists rise and fall together, 0 when they are unrelated, and −1 when one rises as the other falls. Then they turn it into a distance.
Take two tiny made-up lists with four numbers instead of 300. Let rose = (2, 1, 0, 3) and lily = (2, 2, 0, 2). Subtract each mean (1.5) to get (0.5, −0.5, −1.5, 1.5) and (0.5, 0.5, −1.5, 0.5). Multiply and add: 3.0. Divide by the two lengths, 2.236 and 1.732: ρ = 0.775. So D = 0.5 × (1 − 0.775) = 0.113, a short distance. A third list, vomit = (0, 3, 2, 0), gives ρ = −0.775 with rose, so D = 0.887. The toy numbers are ours, but the formula is the paper’s.
Now there is a 317 by 317 table of distances, which is too much to look at. Principal component analysis (PCA) finds the directions along which the words spread out the most. The first direction is the line with the widest spread. The second is the widest line at a right angle to the first. (Our PCA lesson derives this.) Play with it below.
Each dot is a made-up smell word. Turn the line. The bar shows how much of the cloud’s spread the line keeps. PCA picks the angle with the biggest bar.
Toy data: 42 invented points drawn from a stretched cloud, the same on every visit. The spread kept is the variance along the line divided by the total variance. The paper’s own space comes from 317 real descriptors in 300 dimensions (Figure 2).
The paper reports that two directions stay stable, however the cut-off is chosen. The authors repeated the whole analysis keeping the top 5%, 10%, 15%, 20%, 25% and 30% of descriptors, and ran 200 bootstrap re-samples. The first direction separates pleasant from unpleasant words. The second separates concrete odour sources (rose, tobacco) from abstract or evaluative words (fresh, nice).
Two researchers placed the 317 descriptors on the map and grouped them by hand, then compared notes and settled disagreements. They ended with 12 clusters spread over the four quadrants: Floral, Citrus, Woody and Resinous, Herbal and Cooling, Spice, Sweet and Gourmand, Roasted and Smoky, Fermented and Sour, Putrid and Decay, Chemical and Solvent, Body and Animalic, and Perfumed and Clean.
Why twelve? The hardware has 12 channels. The paper says so directly: the number of odorants is constrained by the 12-channel display. The clusters then decide what goes in each channel. Chapter 2 shows how each cluster becomes a real oil, and why one cluster was later swapped out.
Chapter 2
Turn twelve regions of a language map into twelve real essential-oil channels, and see why six of them became blends
A painter at a market has twelve pots and one day to cover every colour of a fruit stall. She cannot buy a thousand pots. She must choose twelve that reach as far as possible: a red, a yellow, a green, a brown, and so on. If she picks twelve reds, the stall’s greens are lost.
AromaGen faces the same choice. The hardware has twelve channels. Chapter 1 gave twelve regions of the smell-word map. Now each region needs a base odorant: a real material loaded into one channel that stands for its whole region. A mixture of base odorants is what the model will compose with.
The authors asked two professional perfumers to pick one representative essential oil for each cluster. An essential oil is a plant extract that carries a plant’s characteristic smell, such as sandalwood or lavender. At this stage, each channel held a single oil chosen to capture its cluster’s typical quality.
Next the authors tested whether twelve oils could cover the map. From the 317 descriptors they picked 50 that have a physical referent, that is, something you can put in a cup and smell: jasmine, tobacco, fresh bread. Ten clusters got four descriptors and two clusters got five. Then they tried to build each one from the palette.
The test exposed a problem: a single oil can be too specific. The Roasted and Smoky cluster was at first only birch tar oil. It gave a strong smoky, charred note that suited some targets. But its barbecue-like edge made it a poor fit for coffee and fresh bread, which sit in the same cluster.
A third perfumer advised combining complementary oils where one oil gave poor coverage. The authors therefore turned six of the twelve channels into fixed composites of two or three oils. A composite is prepared once, by volume, in set proportions. Savoury and Umami, for example, is 40% seaweed, 40% fenugreek and 20% garlic. From then on the model sees it as one channel with one name.
The first taxonomy had a Body and Animalic cluster, with descriptors such as vomit, urine and feces. The evaluation needed participants to smell the real reference beside the generated smell. Bringing those into a lab raised hygiene and safety worries, so the authors dropped the cluster.
A chef in the internal tests then pointed out a gap: savoury and umami smells, the kind that come from the Maillard reaction (the browning of food in heat), were poorly covered. So the authors added a Savoury and Umami channel in place of the cut cluster. The finished palette is Table 1 of the paper. Explore it below.
Each wedge is one hardware channel. Press a wedge to see its cluster, its smell note and its recipe. Blends are drawn in the hardware colour, single oils in grey.
Table 1 of the paper, with its percentages by volume. The paper’s Table 1 labels channel 11 “Animal / Body” while its text and benchmark use “Putrid & Decay” for the same smells, so the naming is not fully consistent. Wedge order follows the table.
The device is a SCENTAC X-Scent 3.0: a neck-worn digital scent display with 12 independently controlled channels, powered at 5 volts, weighing under 380 grams. The authors replaced its cartridges with ones holding perfume test strips soaked in essential oil. Each channel has a small fan that pushes air across its strip and out toward the nose. A computer switches each channel through a Bluetooth Low Energy (BLE) command.
One rule of the hardware shapes everything that follows: only one channel can run at a time. The device cannot blow two odorants together. Chapter 4 shows how the controller works around this.
A palette of twelve can never be complete. The authors say so: some targets cannot be approximated whatever the model does, because the needed quality is not in the palette at all. They also admit their study cannot tell “the model weighted the right oils badly” from “the right oil is missing”. Keep this in mind when we read the results in Chapter 8.
There is also a small calibration check. Experts smelled each base odorant from a glass vial and then from its cartridge. All three said the vial smelled stronger but had the same quality. So the cartridges do reproduce each odorant’s character, only more softly.
Chapter 3
Ask a chat model to fill in a twelve-slice pie, and see the prompt, the rules and the JSON that make it dependable
Imagine you hand a chef twelve labelled jars and a note that says “cheeseburger”. You also hand over a form: twelve boxes, one per jar, and a rule that the amounts must add up to one whole. The chef reads the note, thinks about bread, beef, pickle and cheese, and writes a fraction in each box. That is exactly the job AromaGen gives the language model.
The paper calls this a structured prediction task. The model does not write a free essay. It must fill in a fixed form. The form is a ratio vector: a list of d = 12 numbers, one per base odorant, that are never negative and add up to 1.
A list with these two properties is a point on a simplex. You can ignore the word. What matters is the pie picture: the shares always fill the whole pie. If you turn up one slice and leave the others alone, you must scale everything down to keep the sum at one.
The paper trains no new model. A system prompt (a block of standing instructions placed before the user’s request) turns a general chat model into a scent composer. Appendix C prints it. It has five parts, and each does a different job.
pairs_well_with list and an avoid_with list. The catalog runs from pleasant to unpleasant on purpose, and the prompt says both ends are valid tools.The prompt also gives a tie-break order for conflicts: first a direct match to the descriptor, then emotional fit, then volatility placement, then precedent from past accepted compositions. That order matters in Chapter 5, where precedent enters.
The request is plain text. A typed sentence passes straight in. A spoken one is transcribed word for word first, then passed in the same way. The reply is a JSON object with a scent_sequence list and a justification string. Each list item has a scent_name, an integer scent_duration from 1 up to a set maximum, and a ratio between 0 and 1. The prompt says the duration is only a pacing hint: the real playback time is computed from the ratios (Chapter 4).
Why force JSON? Because a program reads the reply. If the model writes “Sure! Here is a lovely blend”, the parser breaks and the device stays silent. Every rule in the output section exists to stop one failure: a name that is not in the catalog, a seventh odorant, ratios that add up to 1.3, or a code fence around the JSON.
Try it. Drag the bars to set raw weights, then read what the form accepts. The device divides each weight by the total, which is how raw preferences become a pie.
Press and drag a column up or down to set its raw weight from 0 to 10. The percentage above it is its share of the pie. Or start from a preset.
The three presets are our illustrative guesses, not the paper’s numbers. The checks are the prompt’s rules (Appendix C): two to six active odorants unless one base fits exactly, ratios about one in total, two-decimal ratios. Which checks the real system enforces in code is not stated.
With only this prompt and the user’s sentence, the model works zero-shot: it has seen no solved examples for this palette. It relies on what it learned in pretraining about cheese, bread and perfume. The paper keeps this as a baseline. In the study (Chapter 7) the zero-shot condition uses the same model, the same prompt, the same temperature and the same output format as the full system. Only the retrieved examples differ.
Chapter 4
Turn twelve smooth fractions into a timed list of short puffs that one channel at a time can deliver
Imagine you must paint a picture of a sunset, but you own one brush and one pot at a time. You cannot mix orange on the palette. So you flick tiny dots of red, then yellow, then red, then yellow, and trust the viewer’s eye to blend them. That is how the AromaGen device works.
The model has produced a ratio vector r. The hardware, though, can switch on only one channel at a time. The odorants never meet inside the device. They meet in the air, and in your nose. So the controller needs a plan: a list of short bursts, each from one channel, whose counts follow the ratios.
Let A be the set of active odorants, those with a ratio above zero, and let m be how many there are. The controller picks a number of delivery rounds R, which is 10 in the current system. A round gives each active odorant one chance, on average. The total pulse budget is then:
Each pulse switches one channel on for δ = 0.5 s. So a presentation lasts P × 0.5 seconds. With two odorants that is 20 pulses and 10 s. With six it is 60 pulses and 30 s. A richer smell therefore takes longer to play. The paper says the duration varies with complexity, and it does not follow a fixed dispensing cycle.
Next, each odorant gets a share of the P pulses in proportion to its ratio:
Work one example by hand. Say the model returns r = (0.47, 0.33, 0.20) on three odorants. Then m = 3, so P = 10 × 3 = 30 pulses, or 15 s. The ideal shares are 0.47 × 30 = 14.1, 0.33 × 30 = 9.9 and 0.20 × 30 = 6.0. Round down: 14, 9 and 6, which add to 29. One pulse is missing. Give it to the odorant that lost the most in rounding, the second one (it lost 0.9). The final counts are 14, 10 and 6, which add to 30.
The paper only says “subject to integer allocation”. The rule I used, largest remainder, is one standard way. It is our choice for the example, and the real controller may differ.
Now order the 30 pulses. The simple way is one block per odorant: 14 pulses of the first, then 10 of the second, then 6 of the third. The paper rejects that. It interleaves: it spreads each odorant’s pulses about evenly through the whole sequence, so every constituent is present from start to finish. The result is a discrete approximation of the smooth ratio vector, with each constituent distributed through the experience.
One easy way to spread them is a pacing rule. At every time slot, pick the odorant that is furthest behind its target pace. Try it below, and flip between the two orders.
Pick a composition with 2, 4 or 6 active odorants. Each coloured cell is one 0.5 s pulse. Press Play to sweep a playhead across them. Switch the order to see blocks against interleaving.
The ratios are illustrative. R = 10 and 0.5 s are the paper’s values (Section 3.3.3). Counts use largest-remainder rounding and a furthest-behind pacing rule, which are ours: the paper says only that pulses are allocated approximately in proportion and distributed approximately evenly. Playback here is sped up.
Look at the bars under the grid. The share of pulses is close to the ratio but not equal, because pulses are whole. With only 20 pulses a ratio of 0.30 becomes 6 of 20, exactly 0.30. With 60 pulses it becomes 18, also exact. Odd ratios such as 0.47 move a little. That small drift is the price of discrete puffs.
Because P grows with m, the same ratio means a different amount of smell in different recipes. An odorant at ratio 0.5 gets 10 pulses when m = 2 (P = 20), but 25 pulses when m = 5 (P = 50). The ratio is relative, yet the exposure is absolute. The paper does not discuss this effect, but it follows from Equations 1 and 2.
Here is the whole planner as code, in a few lines.
pythondef plan(r, R=10): # r: 12 ratios, sum 1 active = [i for i, x in enumerate(r) if x > 0] m = len(active); P = R * m # Equation 1 raw = [r[i] * P for i in active] # Equation 2, ideal shares p = [int(x) for x in raw] for k in sorted(range(m), key=lambda k: raw[k] - p[k], reverse=True)[:P - sum(p)]: p[k] += 1 # largest remainder seq, done = [], [0] * m for s in range(1, P + 1): # interleave k = max((j for j in range(m) if done[j] < p[j]), key=lambda j: p[j] * s / P - done[j]) # furthest behind its pace seq.append(active[k]); done[k] += 1 return seq # each item = 0.5 s on that channel
Chapter 5
Show the model five rated notes from past sessions, and see how a table of human ratings steers it without changing a single weight
A young perfumer is asked for the smell of lemonade. She does not start from nothing. She opens her notebook and finds a page for lime soda: “recipe worked, rating 6”. Another page, for coffee, says “too harsh, rating 3, needs less smoke”. She borrows from the first and avoids the second. That habit is the idea of this chapter.
The zero-shot model of Chapter 3 knows a lot about words, but it has never seen how a mix of these twelve oils actually smells to a person. It can say “vinegar is sharp and sour”. It cannot know how a blend of vinegar and spice actually reads once a cartridge sprays it at a nose. Only human noses can supply that fact.
The authors built a retrieval database: a table of past attempts, each rated by a person. Three researchers took part. For each of the 50 benchmark smells, a researcher smelled the real thing, then smelled the composition AromaGen made, and rated their similarity from 1 to 7. They could also say in words how to change it. AromaGen revised, they smelled again, and the loop could repeat until they were satisfied.
Each database entry holds four things: the target smell, its 12-number ratio vector, the human similarity rating, and any feedback text. Think of it as a lab notebook that the model can read.
When a new request arrives, the system retrieves the top 5 semantically similar entries. To judge “similar”, the text of each target is turned into a list of numbers, an embedding (Chapter 1 met the idea for single words). Two requests are alike if their lists point in nearly the same direction. That is measured by cosine similarity: the cosine of the angle between the two lists. It is 1 when they point the same way, 0 at a right angle, and −1 when they point opposite ways.
A tiny example with two numbers: lemonade = (3, 1) and lime soda = (2, 1). The dot product is 3×2 + 1×1 = 7. The lengths are √10 = 3.162 and √5 = 2.236, so the cosine is 7 ÷ (3.162 × 2.236) = 0.990. A third item, coffee = (0, 4), gives 4 ÷ (3.162 × 4) = 0.316. Lime soda is close, coffee is far. The paper does not say which embedding model it uses, only that the retrieval is by semantic similarity and that each retrieved entry carries a score from 0 to 1.
One point is easy to miss. The retrieval picks the top 5 by similarity regardless of the rating. Bad notes come back too, on purpose, because the failures teach something.
Pick a new request. The bars show how close each past note is. The top five are coloured and labelled with the instruction the prompt gives for that rating.
Illustrative toy. The twelve note names are targets from the paper’s Table 2, but every rating and every similarity here is invented: each target is a six-number made-up taste profile (citrus, sweet, smoky, sour, herbal, floral) and the bar is the cosine of those profiles. The real system uses text embeddings and real ratings. The top-5 rule and the rating tiers are the paper’s (Section 3.2.2, Appendix C).
The retrieved notes are added to the same base prompt of Chapter 3, under a heading: “Precedent from prior live sessions”. Each note holds the target_smell, the best_ratio (the vector from the round that got the session’s highest rating), the best_similarity (1 to 7), the ordered feedback_history, and the similarity_to_current_request (0 to 1). The prompt then tells the model how to treat each tier.
Then the prompt adds a second dial: scale each note’s influence by its similarity to the current request. A loosely related note counts for less. The prompt also says to treat the examples as evidence, not as ground truth to copy. The tie-break order from Chapter 3 now makes sense: direct match first, precedent last.
This is in-context learning: the model improves because examples sit in its prompt, not because any weight changes. The database also grows. After a composition is rendered and rated, its target, ratios, rating and optional feedback are saved as a new entry. Later requests can use it. In the study the database “was incrementally updated with feedback collected during the study”, so a late participant benefited from earlier ones.
The cost of this design is stated in the limitations: the knowledge grows in the table but never in the model. It cannot improve its internal sense of smell across sessions. Treating ratings and feedback as training data is left as future work, and the study already holds 278 spoken refinement rounds with before and after ratings that could seed it.
Read the setup closely. The database was built from human evaluations of the same 50 benchmark smells that the study later used as targets. So for many study requests, the database may already hold a note about that very smell. The paper says retrieval does not just copy the nearest example. Even so, we cannot tell from the text how much of the full system’s edge over zero-shot (70.8% against 63.7%) would survive on targets the database has never seen. The free-form study is the nearest test of that, and Chapter 8 shows it scores lower.
Chapter 6
Turn a spoken “too sour” into new ratios, and see the rule that stops one small fix from rewriting the whole recipe
You are at a mixing desk, and the track sounds thin. You tell the engineer, “more bass”. You do not say “raise 80 hertz by three decibels”. A good engineer lifts the bass and leaves the vocals alone. If the vocals changed too, you would be annoyed. Refining a smell works the same way.
After the device sprays a composition, the person smells it and says what is off. “Less smoky.” “More like citrus.” The system must change what was criticised and keep what was not. This is the refine stop of the loop in Chapter 0.
At refinement round t, the model receives four things: the original target description, the current ratio vector r(t−1), the earlier conversation, and the newest feedback sentence. It returns a new vector. In symbols:
The key word is revise. The model is told to edit the existing formulation, not to generate a fresh one. Appendix C gives a separate “revision mode” prompt with five rules in priority order.
The message format is fixed: ORIGINAL REQUEST, CURRENT RATIOS, PRIOR FEEDBACK HISTORY, then >>> LATEST FEEDBACK <<< marked as the primary instruction. The reply must list all 12 odorants, even those at 0.00, with two decimals, plus a justification and a changes_made note saying what went up, down or was added.
Figure 4 shows one. The request was a cheeseburger. The first mix was Cumin 0.05, Onion 0.20, Cypress 0.10, Thyme 0.10, Isovaleric Acid 0.25 and Sage 0.30. The person said: “The smell of beef meat should be stronger. Currently, it’s too sour.” The model raised Onion from 0.20 to 0.25 for savoury depth, nudged Cumin and Thyme up a little, and cut Isovaleric Acid from 0.25 to 0.17 to tone down the sourness. All ratios still add to 1.00. (Note that this figure uses odorant names from an earlier palette than Table 1.)
Notice what happened in the arithmetic. Isovaleric Acid fell by 0.08. Four other ratios rose by 0.02 to 0.05 and Sage fell by 0.03. The sum stayed at one because the model moved weight from the sour odorant to the savoury ones. Now see why that matters.
Suppose a lazy system raised Onion by 0.10 and then fixed the sum by dividing every ratio by 1.10. Onion would rise, but everything else would shrink a little. The sour note you wanted to cut would barely move (0.25 becomes 0.23), and the notes you liked would all get quieter. A targeted edit takes the 0.10 from the odorant you named. Compare the two methods yourself.
Outlines are the first mix. Fills are the revised mix. Choose what to raise and what to lower, set the amount, then switch between the two ways of keeping the total at one.
The first mix is the paper’s Figure 4 starting vector (zero-shot cheeseburger; names from an earlier palette than Table 1). The paper’s own revision is Onion +0.05, Isovaleric Acid −0.08, and small moves elsewhere. The two editing rules shown here are our simple models of "anchored" and "naive", not the paper’s code. The real edit is written by the language model.
Under the anchored rule only two bars move. Under naive rescaling all six move, including odorants nobody mentioned. The prompt’s rule 2 and rule 3 exist to get the first behaviour from the model. Nothing in code forces it; the model follows the instruction. That is a soft guarantee, and the paper does not measure how often the model keeps to it.
The study logged the feedback. Three patterns stand out. People ask for direction, not recipe: “more” appeared 278 times and “less” only 60. Feedback was almost never purely negative, and often went both ways: “a little bit more grassy and less floral”. People also speak relationally: “more like”, “closer”. And they hedge: “I don’t know how to say, like it’s missing some earthy tones”.
That last one is a failure mode in waiting. Symptom: the person senses a gap but cannot name it. Measurement: the paper counts markers such as “don’t know” and “maybe”. Fix: the model must read the direction and the nearest quality words. The authors suggest in the limitations that future systems let people compare candidate mixes instead, so no one has to name the mismatch. Another limit is the palette: for one free-form request, seafood pasta, the smell stayed short on fishiness despite repeated attempts, because no channel is fishy.
Most people stopped after one round. Spoken feedback came on 163 of 240 AromaGen trials (68%), and the paper notes that nearly all of it was a single round.
Chapter 7
Design a fair test for a fake smell, and learn to read “70.8% against 33.3%” as a distance in standard deviations
You sit blindfolded. Someone holds a cup of orange peel under your nose, then names it: “orange”. Next you smell three unknown things, one after another. One is AromaGen’s orange. One is AromaGen’s attempt at something else. One is a real object that is not orange. You must say which of the three is closest to the orange you just smelled.
Why not ask, “Is this orange?” Because a yes or no can be fooled by the word. And the authors do not claim the fake smell is a perfect copy. They test a smaller, more honest thing: does the generated smell carry enough of the target to be picked out from unrelated smells?
This is the three-alternative forced choice (3-AFC) test. The paper adapted it from an earlier two-choice test of AI-made scents. Pilots showed that three choices balance two forces: two is too easy to guess, four loads memory too much.
Each person does 12 trials, one target from each smell cluster. They stay blindfolded in a ventilated room. They get a handheld fan between trials and may take breaks. The authors note that 12 trials is near the practical limit for careful smell comparison, because noses tire.
The study is between-subjects: each person sees exactly one condition, so nobody compares systems directly. There are 60 people in the analysis (62 were recruited and two did not finish).
| Condition | Starting mix comes from | Feedback? |
|---|---|---|
| AromaGen + Feedback | The model with retrieval (Chapter 5) | Yes |
| Human expert + Feedback | The best of three experts’ hand-made mixes | Yes |
| AromaGen zero-shot | The same model and prompt, no retrieval | No |
The zero-shot arm is an ablation: remove one part, retrieval, and see what changes. The expert arm needed its own study first. Three experts (a barista and taste researcher, a pastry chef and a perfumer) each composed all 50 targets with the same 12 odorants, taking 3.33 hours on average. They used the rating scale differently (means 4.22, 5.40 and 3.86), so the authors converted ratings to z-scores within each expert, meaning each rating is measured in standard deviations from that expert’s own average. For each target they kept the formulation with the highest z-score. The picks came from experts 1, 2 and 3 in 17, 16 and 17 cases, so no one expert dominated.
If a person guesses, each trial has a one-in-three chance of being right. Over n trials the expected number of correct picks is n/3. Luck makes the count wobble around that value. The wobble has a size, the standard deviation:
Worked example for AromaGen, n = 240. The average under guessing is 80. The wobble is σ = √(240 × 0.333 × 0.667) = √53.3 = 7.30. The observed count is k = 170. So z = (170 − 80) / 7.30 = 12.3. Play with the count below.
The bell is how often each count would happen by pure guessing over 240 trials. The marker is a count of correct trials. Pick a condition or drag the slider.
The counts 153, 167 and 170 are the paper’s. The bell is the normal approximation to a binomial with n = 240 and p = 1/3. The simple z here treats trials as independent. The paper uses a mixed-effects logistic model with random intercepts for person and for target, which is more careful, and so reports smaller z values: 8.00 for AromaGen, 7.86 for Expert, 7.16 for zero-shot, and 11.76 overall (490 of 720 correct).
Why is the paper’s z smaller than ours? The same person and the same smell appear in many trials, so trials are not fully independent. Some people are better noses. Some smells are easier. A mixed-effects model gives each person and each smell its own baseline and subtracts that variety from the evidence. The conclusion holds: all three conditions sit far above chance.
Now ask whether the conditions differ. AromaGen got 170, Expert 167 and zero-shot 153. The gaps are 3 and 17 trials, smaller than the wobble of about 7 trials in each count. The paper’s test agrees: AromaGen against Expert has z = 0.28, p = .96. AromaGen against zero-shot has z = 1.56, p = .26. No difference is significant. Read the hero again with that in mind: the ranking hints, it does not prove.
The authors say the same in their own words. They do not establish equivalence between AI and experts. They found no evidence that swapping hand-made compositions for AI ones lowered recognition. The value, they argue, may lie in making recognisable aromas easier to reach.
Chapter 8
Read which smells worked, what feedback bought, why one average hides a selection effect, and where the authors say the system stops
Back to the lab. The 60 people have finished. In total they made 720 picks, and 490 were right: 68.1%. The question now is where the wins and losses sit. A good reader of a paper looks past the headline average to the spread inside it.
Smell family changes the odds a lot. A statistical test finds that family predicts identification (χ2(11) = 30.19, p = .001). Chemical and solvent smells were right 83% of the time, citrus 80%, putrid and decay 78%, savoury and umami 78%. Sweet and gourmand was right 45% of the time, spice 52%, woody and resinous 57%. Every one of the 12 families still beat chance, which is 33%.
At the level of single smells, mint fluoride mouthwash was picked correctly by all 17 people who met it, and peony-and-rose shampoo by 16 of 17. The hardest were cinnamon roll (4 of 14) and incense (4 of 13). The authors link the hard families to complex mixtures or to qualities that no single cartridge carries.
The mistakes are tidy. Against a base rate of 16%, the most confused pairs were citrus with perfumed and clean (41.9%), sweet with woody (37.8%), putrid with roasted and smoky (35.0%), and fermented with spice (33.3%). The best-separated pairs were opposites: citrus with savoury (2.9%), floral with putrid (4.0%), herbal and cooling with savoury (4.4%).
Choose a view. The first shows accuracy for the seven families the text reports. The other two show mean similarity (1 to 7) before and after spoken feedback.
All numbers are the paper’s (Sections 4.3.3 and 4.3.5, Figure 12). Five families are not shown because the text does not give their percentages; Figure 12 plots all twelve. Accuracy pools the three conditions (720 trials). Similarity is the mean 7-point rating, before and after the optional feedback round.
In the two conditions with feedback, people could say how to change the smell and then rate it again. For AromaGen, the mean similarity over all 240 trials rose from 4.09 to 4.65 (+0.56, p < .001). For experts it rose from 3.79 to 4.05 (+0.26, p = .021). So feedback helped both.
Now look closely, because two averages hide a selection effect. People asked for a revision on 163 of 240 AromaGen trials (68%), but only 115 of 240 expert trials (48%). They skipped the revision when the smell already felt close. The 77 skipped AromaGen trials started at a high 5.35 and, by design, stayed there. Among the 163 trials where people did ask, the start was a low 3.50 and the gain a larger +0.82 (to 4.32). For experts the asked trials went from 3.48 to 4.02 (+0.54). Both groups asked for a change when the smell felt far off, near 3.5 on the 7-point scale.
So which gain is the “true” one? Both are true, for different questions. The all-trials number says what a typical trial gains. The asked-only number says what a revision does when someone wants one. The paper cannot say that feedback helped AromaGen more than experts: that test gives t = −1.90, p = .058.
Five experienced users asked for anything they liked: 50 requests, from the last meal they ate to “catharsis”. The first mix rated 3.42 on average, lower than on the benchmark. People asked for a revision on 32 of the 50 (64%), and ratings among those rose from 2.94 to 4.09 (+1.16). No refined target ended lower. One participant had tears welling at a generated “sister’s hug” (floral and sweet, rated 7). Others found “the beach” (1) and seafood pasta (2) out of reach. With five people the authors treat all this as pointers, not proof.
The paper is frank about its limits. Failure mode first, in the order symptom, measurement, fix.
Chapter 9
Keep the numbers, the checklist and the core code, and see where AromaGen sits among the other new senses
Smell has no primaries, so AromaGen builds its own: 12 channels chosen from a language map of 317 smell words, six of them fixed blends of essential oils. A chat model reads a system prompt that lists the 12 odorants and the rules, then turns a sentence into a ratio vector of 12 non-negative numbers that add to one. A controller plans P = R × m pulses of 0.5 s, spread evenly, because the device runs one channel at a time. Retrieval shows the model five rated precedents from past sessions, and spoken feedback revises the vector by anchored edits. In a blind three-choice test, people picked the generated smell in 68.1% of trials where guessing gives 33.3%, and the system matched experts and zero-shot within noise.
| What | Number | Why it matters |
|---|---|---|
| Smell-word corpus | 2.97 billion tokens; 92,120 sentences; 3,558 candidates; 317 kept (top 10% OAI); 300-number CBOW vectors | The map comes from language, not chemistry |
| Distance between words | D = 0.5 (1 − ρ) | Correlation becomes a 0 to 1 distance |
| Palette | 12 channels; 6 are blends of 2 or 3 oils; 50 benchmark smells | Twelve is a hardware limit; blends widen coverage |
| Ratio vector | 12 values, each ≥ 0, sum 1; 2 to 6 active | The model’s whole output |
| Retrieval | Top 5 notes; ratings 6 to 7 strong, 5 moderate, 1 to 4 weak | Human ratings steer the model with no training |
| Delivery | P = 10 × m pulses; 0.5 s each; 2 odorants = 10 s, 6 odorants = 30 s | Richer smells take longer |
| Study size | 60 people; 20 per condition; 12 trials each; 240 trials per condition | Between-subjects, so no one compares systems |
| 3-AFC accuracy | AromaGen 70.8% (170/240); expert 69.6% (167/240); zero-shot 63.7% (153/240); overall 68.1% (490/720), chance 33.3% | All above chance; no pairwise difference significant |
| Initial similarity | 4.09; 3.79; 3.77 of 7 | AromaGen slightly ahead, not significantly |
| Feedback gain | AromaGen 4.09 to 4.65 (163 of 240 asked, 3.50 to 4.32); expert 3.79 to 4.05 (115 of 240 asked, 3.48 to 4.02) | People revise what feels far off |
| Hardest and easiest families | Chemical 83%, citrus 80%; sweet 45%, spice 52% | Complex mixtures are hard to cover |
| Open-ended study | 5 people, 50 requests; first mix 3.42; refined 2.94 to 4.09; final 4.16 | Lower fidelity off the benchmark |
Tick the parts you could now write from this lesson alone. Be strict with yourself: a part counts only if you can name its inputs and outputs.
The eight parts are our summary of the paper’s Sections 3 and 4 and Appendix C. Your ticks are not saved.
This sketch strings the parts together. It is ours, not the authors’ code: llm, embed, person and device stand for your model API, your text embedder, the human and the hardware. plan is the function from Chapter 4.
pythonCATALOG = load_table_1() # 12 odorants: note, volatility, pairs_well_with, avoid_with def validate(reply): # the prompt's guardrails, enforced in code r = {s["scent_name"]: s["ratio"] for s in reply["scent_sequence"]} assert all(n in CATALOG for n in r) and len(r) <= 6 tot = sum(r.values()) return [r.get(n, 0) / tot for n in CATALOG] # 12 numbers, sum exactly 1 def compose(request, db=None): prompt = BASE_PROMPT # device + catalog + strategy + guardrails + JSON format if db: # retrieval-augmented: top 5 by text similarity prompt += precedent_block(db.nearest(embed(request), k=5)) return validate(llm(system=prompt, user=request, json=True)) def refine(request, r, history, feedback): msg = f"ORIGINAL REQUEST: {request}\nCURRENT RATIOS: {r}\n" \ f"PRIOR FEEDBACK HISTORY: {history}\n>>> LATEST FEEDBACK <<<: {feedback}" return validate(llm(system=REVISION_PROMPT, user=msg, json=True)) def session(request, db): r, history = compose(request, db), [] while True: device.play(plan(r)) # Chapter 4: P = R * m pulses of 0.5 s rating, feedback = person.judge(request) # 1 to 7, and optional words db.add(request, r, rating, feedback) # the table grows; the weights never change if not feedback: return r history.append(feedback); r = refine(request, r, history, feedback)
AromaGen is a case study for Lecture 19, AI for New Senses. Its recipe repeats beyond smell: pick a small physical basis, let a general model compose over it with a prompt, ground it with human ratings, and let people steer with plain words. The same structure drives retrieval-augmented generation and prompt engineering: the prompt carries the knowledge, and the weights stay still.
This lesson re-teaches “AromaGen: Interactive Generation of Rich Olfactory Experiences with Multimodal Language Models” by Awu Chen, Silang Wang, Yunge Wen, Jianing Yu, Zinab Eisa, Ana Julia Santos Lopes, Jas Brooks, Hiroshi Ishii and Paul Pu Liang (MIT Media Lab, MIT CSAIL, University of Washington, Harvard GSD and SEAS, Bowdoin College). Read the original at arXiv 2604.01650. All figures and counts here come from that paper. The toy numbers in the devices are marked as illustrative.
Now press Present or Teach and explain the loop out loud, from memory: why smell has no primaries, how 317 words became 12 channels, what the model returns, how the ratios become pulses, what retrieval adds, how feedback edits a mix, and what 70.8% against 33.3% does and does not prove. Then go back to the dots at the top, switch between the three conditions, and say why the gaps between them are within noise.