Cross-modal Transfer

A noisy sensor can learn from a clean one that will not be there at test time. Train with both, deploy with one, and watch the lone sensor get better.

Learn three ways to move knowledge between modalities: borrow a trained model, share what two modalities learn, or let two models teach each other.

Press Co-learn with B, then drag the noise of sensor A. Compare the deployed A-only model with and without the help of B. Then we build, piece by piece, transfer, fusion, alignment, translation, self-training and co-training.

You need a feel for what a classifier is (a rule that sorts examples into groups) and the idea of an average. We build the rest from zero.

Based on Lecture 10.2 of MIT Multimodal AI (Spring 2026), taught by Paul Liang of the MIT Multisensory Intelligence group. Lecture slides. Every idea is re-taught here in our own words and devices.

Teach sensor A with sensor B

1.10

Illustrative toy, computed live in your browser: two classes, 8 labeled pairs, 300 unlabeled pairs, 300 test samples, averaged over 24 seeded runs. Sensor A is noisy (you set it), sensor B is clean (noise 0.45). Co-learning here means B labels the unlabeled pairs and A learns from those labels (Chapter 9 builds it). The numbers are this toy’s, not the lecture’s.

Chapter 0

Why a Weak Modality Needs a Strong One

See why the sensor you must deploy is often the worst one you have, and meet three ways to lend it knowledge

Picture a night-time breathing monitor. A thin belt on a sleeper’s chest records one wiggly line for ten hours. A doctor wants to know from that line whether the sleeper has an early sign of Parkinson’s disease. The belt is cheap, comfortable and easy to put in a home. It is also a weak source: the answer hides in the wiggles, and only a handful of people have been labeled by a doctor.

Now picture a sleep lab. It records brain waves, heart rhythm, eye movement and breathing all night. That data is rich and clean, but it needs a bed, a technician and a day of setup. Nobody can run it in every home.

Here is the question of this lesson. Can the lab teach the belt? The lab exists only while we train the model. At test time, when the model meets a new sleeper, only the belt is there. Can a model that sees one modality at deployment still learn from two during training?

Modalities, primary and secondary

A modality is one kind of signal: text, an image, a sound, a force reading, a table of lab values. This lesson follows Lecture 10.2 of MIT’s Multimodal AI course (Spring 2026, taught by Paul Liang), and the lecture sorts modalities by their job. The primary modality is the one we must predict from at deployment. In our story it is the breathing belt. A secondary modality is a helper: the brain waves.

The lecture names the primary modality’s usual problem on its third slide: it “may be noisy or with limited resources”. Noisy means each reading is blurry. Limited resources means we have few labels (answers a person wrote down), or little data, or both.

The definition on that slide is one sentence. Transference (or cross-modal transfer) means moving knowledge between modalities, usually to help the primary one. Everything else in the lesson is a way to fill in that sentence.

Three sub-challenges

The slide splits the field into three. Each one differs in a single plain question: what is available, and when?

Transfer borrows a model that someone already trained on a different modality, usually with huge data. We take its learned numbers (its parameters) and adapt them to our modality. The helper is gone before we start. Chapters 1 and 2 cover it.

Co-learning trains with both modalities present and tests with only the primary one. The helper is there at training and gone at deployment. It reaches the primary model through a shared space the two modalities both live in, or through a generation target. Chapters 3 to 7 cover it, in three styles: fusion, alignment and translation.

Model induction keeps the models separate. Each modality keeps its own model, and the models push each other toward the same behaviour, for example by swapping labels. Chapters 8 and 9 cover it.

Use the device below to see which modality is present at which time. The grid has three phases: before our training (when someone else may have pretrained on a big dataset), our training, and the test. A filled cell means the modality is there. Try all three.

Who is in the room, and when

Rows are the two modalities. Columns are the three phases. Filled means the modality is available. The purple bar says how knowledge travels. Choose a kind of transfer.

A schematic of the three sub-challenges on slide 3, with no data in it. Which cells are filled follows the lecture: transfer reuses a model pretrained on B; co-learning uses B only in training; model induction keeps one model per modality and uses both at test.

Two things to notice. In every row, A is the modality we care about, and A is present when the model is used. And in co-learning, B is present in exactly one phase. That single filled cell is what makes the setting hard and useful: we get B’s help for free in the lab and never pay for it in the field.

Why not just use both at test time?

Sometimes you can, and then fusion (feeding both modalities into one model) is the simple answer. But a sensor may be too costly, too private, too slow or simply broken in the field. A video call may lose its camera. A robot may lose its touch sensor. A model that needs both modalities fails when one drops out. The lecture’s later slides (Chapters 3 and 5) come back to this: they want to “leverage information from visual modality while being robust to it during test-time”.

The hero at the top of the page is a tiny version of this story. Sensor A is noisy and has only 8 labeled examples. Sensor B is clean. A model that learns from A alone is right about three times in four. A model that lets B label extra examples for A does better, and it still needs only A at test time. You will rebuild that effect in Chapter 9.

The road

The lecture has four parts: the basics, then transfer through fusion, through alignment and through translation. This lesson follows the slides in order and spends a chapter on each idea.

  1. Transfer from a pretrained model: borrow parameters, then finetune.
  2. One model for many modalities: multitask learning and HighMMT.
  3. Co-learning by fusion: train on both, test on one.
  4. Co-learning by alignment: a shared space, and zero-shot labels.
  5. Co-learning by translation: generate the helper, and close the loop.
  6. What translation buys: language, pretraining and dense signals.
  7. Where co-learning stops helping: the limits.
  8. Self-training: a model that teaches itself.
  9. Co-training: two views that teach each other.
  10. The field guide: numbers, code and where to go next.
A hospital trains a model on chest scans plus doctors’ written reports. In the clinic, only the scan exists. Which setting is this?

Chapter 1

Borrow a Model That Already Learned

Start your small task from numbers someone else trained on a huge one, and learn when that head start helps or hurts

You have 6 labeled photos of rare skin conditions. Training a model from nothing on 6 photos is hopeless: it would memorise them. But a model that already studied millions of ordinary photos knows what edges, textures and colours look like. If you start from that model, six photos may be enough to point it in the right direction.

That is the first part of the lecture, transfer via pretrained models. Slide 4 defines it as moving knowledge from a large pretrained model to a downstream task on the primary modality. Here the knowledge is not a fact. It is a set of numbers.

Knowledge as parameters

A neural network is a function with many adjustable numbers, called its parameters (also weights). Training means nudging those numbers until the network gives good outputs. After training on a huge dataset, the numbers hold what the network learned. The slide calls them θ*: “knowledge in the form of network parameters”, with BERT as the example.

To finetune means to start from θ* instead of from random numbers, and train a little more on your own small dataset. The slide draws this as an orange box around the model for modality A: its parameters were adapted from the pretrained model that was built on modality B or on a larger dataset.

Take a concrete case: BERT, a language model that reads text. Its base size has about 110 million parameters. Feed it a sentence of T tokens (pieces of words). Inside, each token becomes a vector of 768 numbers, so the sentence is a table of shape [T, 768]. For a sentiment task you take the first vector, shape [768], and multiply it by a new small matrix of shape [768, 2] to score “positive” and “negative”. The small matrix starts random. Everything else starts at θ*. Training then adjusts both, usually with a small step size so the borrowed numbers move only a little.

pythonimport torch
enc = pretrained_encoder()                 # starts at theta*, e.g. BERT: [B, T] token ids -> [B, T, 768]
head = torch.nn.Linear(768, 2)            # new, random: [B, 768] -> [B, 2]
opt = torch.optim.AdamW([{"params": enc.parameters(), "lr": 2e-5},   # small steps: keep what was learned
                         {"params": head.parameters(), "lr": 1e-3}])  # bigger steps: the head is new
for ids, y in small_labeled_set:
    h = enc(ids)[:, 0]                      # first token vector, [B, 768]
    loss = torch.nn.functional.cross_entropy(head(h), y)
    loss.backward(); opt.step(); opt.zero_grad()

The family of ways to learn

Slide 5 puts transfer in a family. Read it as a set of small drawings, one per way to train. Each drawing is a box with inputs on the left and outputs on the right.

In supervised learning one input X maps to one label y. In multimodal supervised learning two inputs X1 and X2 map to y together. In multitask learning one input maps to two labels y1 and y2 at once, so one model shares its insides across two jobs. In transfer learning you first train X to y1, then reuse that box for a second job X to y2. In cross-modal learning you first train X1 to y, then reuse the box for X2 to y: the task stays and the modality changes. In self-supervised pretraining the label is a piece of the input itself: X predicts a hidden part X′, with no human labels, and the same box is then used for y.

The lesson follows the lecture by growing from the first to the last. Transfer and multitask are about reusing. Co-learning (Chapters 3 to 7) is about sharing during training. Model induction (Chapters 8 and 9) is about agreeing.

See the head start, and the risk

The device below is a real tiny experiment in your browser. The data has 20 numbers per example. A target task has a hidden direction (a recipe: which of the 20 numbers to add up) that separates two classes. A pretrained model begins with a direction learned from a huge source task. A scratch model begins with all zeros. Both then train for 10 small steps on your labeled examples. The slider “relatedness” turns the source task away from the target, from identical (0°) to opposite (180°).

Start from borrowed numbers

Left: the source direction (blue) against the target direction (teal). Right: test accuracy as you add labels. Warm is the borrowed start, grey is the zero start. Drag both sliders.

4
30°

Illustrative toy, computed live: 20-dimensional data, class means at plus and minus 1.5 along the target direction, logistic regression, 10 gradient steps of size 0.3, average of 30 seeded runs, accuracy on 200 fresh test points. The best any classifier could do here is about 93%. These are this toy’s numbers, not the lecture’s.

Look at the curves. With 4 labels and a related source (30°), the borrowed start is far ahead of the zero start. With 40 labels both reach about the same place: the head start matters most when your data is scarce. Now turn the angle toward 135° with few labels. The borrowed start falls below the zero start. That is negative transfer: the borrowed numbers point the wrong way, and a few small steps cannot turn them around.

When borrowing hurts: symptom, measurement, fix

The symptom is a finetuned model that scores worse than expected, or worse than a plain model, on your own labeled test set. The measurement is easy and always worth doing: train the same architecture from scratch on the same labels and compare. If scratch wins, the borrowed numbers are hurting. The fixes are to choose a source closer to your task, to freeze fewer or more layers, to use a smaller step size so you stay near θ* when it is good, or to collect more labels so the data can overrule the start.

There is a second, quieter risk. A model pretrained on one modality carries that modality’s habits. The lecture’s later slides show that a language model finetuned to look at pictures does not always learn to use the pictures. Chapter 7 returns to this.

A reading: biomedical image and text data

The course lists “LLaVA-Med: Training a Large Language-and-Vision Assistant for Biomedicine in One Day” as reading for this session (arXiv 2303.00915). The PDF that link opens is the biomedical foundation model paper that shares the number, BiomedCLIP, from Microsoft Research. It builds PMC-15M, a dataset of 15 million biomedical image and text pairs from 4.4 million scientific articles, about two orders of magnitude larger than earlier biomedical sets such as MIMIC-CXR. It pretrains one model on those pairs and reports strong results on retrieval, classification and question answering. The lesson of the paper is the lesson of this chapter: build one big pretrained model for a domain, then transfer it to small tasks. Our lesson on the assistant itself is LLaVA-Med.

You finetune a pretrained model on 6 labeled examples and get 55% accuracy. The same model trained from zeros on the same 6 examples gets 70%. What is the most direct reading?

Chapter 2

One Model for Many Modalities

Train one network on tasks from different fields and see why a modality with few labels can gain from tasks that look nothing like it

A hospital has a table of lab values for each patient. A phone app has a video of a person speaking. A robot has force and position readings from its arm. A designer has a screenshot of an app and a set of buttons. Each field builds its own model, and each has its own small dataset. Is that the best we can do?

Humans do not work that way. A child who learns to read, to listen and to catch a ball reuses what she learned about each across the others. Slide 6 of the lecture shows five areas side by side: humans (language, speech, gestures), multimedia (image, language), robotics (force, proprioception), healthcare (tables, sensors) and design (image, a set of elements). Its message is one line: generalization across modalities and tasks matters most when some tasks are low-resource.

Two ways to build the model

Slide 7 draws two designs. In the first, each field gets its own unimodal transformer per modality, and a multimodal transformer joins them for that field only. Five fields give five separate models. Nothing is shared.

In the second, one multitask model serves all five fields. A multitask model is a single network trained on several tasks at once, so its inner numbers must work for all of them. The lecture’s two examples are Gato (the “Generalist Agent” of Reed and colleagues, 2022) and HighMMT, the High-Modality Multimodal Transformer of Liang and colleagues (2022).

How HighMMT is built

A transformer reads a sequence of vectors. So the first job is to turn each modality into a sequence. A video becomes a sequence of frame vectors. An audio clip becomes a sequence of short-window vectors. A table row becomes a short sequence with one vector per column. Each modality has its own small modality-specific embedding (a learned layer that maps its raw values to vectors of one common width, so they can enter the same network).

Then a shared transformer reads the vectors and combines the modalities that belong to the same example. Last, a small task head maps the result to the answer for that task: a class for video, a mood score for speech, a disease code for a patient. Slide 8 draws this as the HighMMT box with different inputs at the bottom (language, video, audio, time-series, table) and different outputs at the top (video classification, sentiment and emotion, robot dynamics, disease codes). The paper’s abstract says one such model reaches 10 modalities and 15 tasks from 5 research areas.

The data flow, for one example: raw input of shape (T, dm) for a modality with its own width dm, a modality-specific embedding to (T, d), a shared transformer over the joined sequence to a pooled vector of shape (d), and a task head from d to the number of classes of that task.

The surprising result: more tasks, better target

Slide 9 asks a clean question. Choose a target task that has little data. Then add source tasks, one at a time, from other modalities, other research areas and other tasks. Does the target improve? The lecture shows two targets. On MIMIC (a hospital record task) the accuracy is 67.7%, 68.3%, 68.5% and 68.5% with 0, 1, 2 and 3 source tasks. On UR-FUNNY (a task of spotting humour in video) it is 63.3%, 64.1%, 65.5% and 65.7%. The slide states the point: the model “achieves both multitask and transfer capabilities across modalities and tasks”.

Drag the number of source tasks in the device. The axis starts at 60% so the small steps are visible. Read the gain in points, not just the bar.

Add source tasks

Pick a target task, then add source tasks one at a time. Bars show the accuracy the lecture reports for each count. The solid bar is where you are.

0

Numbers are slide 9 of the lecture (from the HighMMT paper): MIMIC 67.7, 68.3, 68.5, 68.5 and UR-FUNNY 63.3, 64.1, 65.5, 65.7 percent. The source tasks come from different modalities, research areas and tasks. The vertical axis starts at 60%, not at zero.

Two details deserve care. The gains are small: 0.8 points on MIMIC and 2.4 on UR-FUNNY. And they are not even: MIMIC stops improving after the second source task. Transfer helps, but with diminishing returns.

The hidden assumptions

Slide 10 lists what such a model quietly assumes. These are the assumptions that can break.

  1. Every modality can be written as a sequence without losing information. A table is not naturally a sequence. A set of buttons has no order. Forcing an order adds a fake pattern.
  2. A modality-specific embedding can capture how that modality differs from others. Differences in noise, sampling rate, scale and structure must all fit in a small embedding layer.
  3. The links between modalities are shared across modalities and tasks. The way audio and video combine for humour may differ from the way a table and a time series combine for a diagnosis.

The paper’s answer is to measure the differences before deciding what to share. It defines modality heterogeneity, how much information can be transferred from one modality to another, and interaction heterogeneity, how similarly two pairs of modalities interact. Pairs with low heterogeneity can share parameters. Pairs with high heterogeneity get their own. It is like deciding which people can share a taxi: you group travellers whose routes overlap.

When sharing hurts: symptom, measurement, fix

The symptom: after you join a new task to the shared model, an older task gets worse. The measurement: compare each task’s score in the shared model with its score in a model trained only for that task. A drop means the tasks fight over the shared numbers. The fix: share less. Give the quarrelling modalities their own layers, as heterogeneity measures suggest, or add a modality-specific embedding.

The open challenges, and two readings

Slide 11 names what is still hard: low-resource settings (little data, few paired examples, little robustness), modalities beyond language and vision, settings where the best unimodal encoder is not a deep network (tabular data is the example), complexity in data, modelling and training, and interpretability. The next sections of the lecture take up low-resource learning and interpretability.

The reading for this slide is the HighMMT paper. It supplies the two heterogeneity measures, the 10 modalities and 15 tasks, and the finding that performance keeps improving with each modality added and transfers to entirely new modalities during finetuning.

A second reading, PaLM-E (arXiv 2303.03378), shows the same idea from the robot side. It feeds a pretrained language model multimodal sentences that interleave text with images and with the robot’s own state estimates, each encoded into the language model’s embedding space and trained end to end. The paper reports positive transfer: training on internet-scale language, vision and vision-language data together with robot tasks helps the robot tasks. Its largest model has 562 billion parameters.

A shared model is trained on a new sensor task, and its old table task drops from 71% to 66%. What does the lecture’s view of heterogeneity suggest?

Chapter 3

Co-learning by Fusion: Train on Both, Test on One

Feed both modalities to one model while it learns, then take one away and see what the model still knows

A student prepares for an oral exam by reading the textbook and watching the lecture video. On exam day she gets a printed question and no video. Her notes mix the two sources, and some of what she knows came from the video alone. Will she answer well?

That is co-learning, the second part of the lecture. Slide 12 defines it: transfer information from a secondary modality to the primary one by sharing a representation space between them. The secondary modality is “only available during training”. The slide draws an enriched Modality A, the primary one, fed by Modality B, with a dashed arrow that exists only while the model learns.

The lecture then gives three ways to build the shared space. The first is fusion: combine the two modalities into one representation. Alignment (Chapter 4) and translation (Chapter 5) follow.

The recipe, with its trick

Slide 13 compares two systems. On the right is plain unimodal learning: the model sees only Modality A (say text) in training and in testing. On the left is multimodal co-learning. In training the model sees A and B together. It fuses them (joins their vectors into one) and predicts the label ŷ. In testing it receives only text.

But the model expects two inputs. So we hand it the second input with zeros. The slide says so in four words: “Fill rest by 0s”. Its conclusion: “Multimodal co-learning > language-only training”, citing the survey of Zadeh and colleagues (2020).

Follow the shapes. Say A is a vector of dimension dA and B a vector of dimension dB. The fusion model first maps each to a hidden vector, then joins them (for example by concatenation, giving 2h numbers) and passes them to a classifier that outputs one score per class. At test time, xB is replaced by a vector of dB zeros. The network still runs. The question is whether its answer is still good.

Why the zeros are dangerous

If B is always present in training, the model learns to lean on B. That is the sensible thing to do when B is clean: B explains the label so well that A hardly needs to. Then at test time B is a blank, and the part of the model that did most of the work gets no signal. The decision is made by the weak part alone, which has had little practice.

Slide 15 cites the earliest large study of this, Ngiam and colleagues (2011), with a plan: “train on some subset of modalities and test on another”. In their diagram, a shared representation is learned from audio and video together, then a linear classifier is trained and tested on audio alone or on video alone. The slide pairs this with a photograph of the McGurk effect: when you hear the sound “ba” while watching a mouth that shapes “ga”, you perceive “da”. Hearing and seeing are fused in your head. That is the human version of a shared multimodal representation.

Try it: what happens when B goes dark

The device below trains a real small fusion model, a small classifier (logistic regression: a weighted sum of the readings, turned into a probability) over the two sensors of the hero (A is noisy, B is clean). It uses 40 labeled pairs. During training, with a chance you choose, B is replaced by zeros for an example. Then it tests the model two ways: with B present, and with B zero-filled. A grey tick marks a model trained on A alone.

Hide B while training

The flow on top shows what the model reads at test time. The bars show accuracy. Drag the chance that B is hidden during training from 0 to 100%.

0%

Illustrative toy, computed live: noise of A is 1.1, noise of B is 0.45, 40 labeled pairs, logistic regression trained for 300 steps, 300 fresh test samples, average of 30 seeded runs. Hiding B in training is the idea behind training on a subset of modalities (Ngiam et al., slide 15). These numbers are this toy’s, not the lecture’s.

At 0% hiding, the model reads 99% when B is present, and falls to 78% when B is zeroed. That is below the 80% of a model that never saw B. This is the symptom. The measurement is the gap between the two test conditions. At 25% hiding the gap closes: the model keeps its 99% with B and holds 80% without it. At 100% hiding it is just the A-alone model.

Notice what this toy does and does not show. It shows that fusion is fragile without a plan for missing modalities, and that a simple plan (train with some modalities missing) makes it robust. It does not show a gain over the A-alone model, because a plain classifier has no place to store what B taught it. For a real gain the model needs a shared representation that B shapes. The next papers on the slides do that.

A generative shared space

Slide 14 shows an older and elegant answer. Srivastava and Salakhutdinov (2014) trained a deep Boltzmann machine (DBM), a generative network that learns a joint representation of images and their text tags, and can fill in missing text from an image. The slide table scores image retrieval by mean average precision (MAP, higher is better): an image-only DBN 0.463, an image-only DBM 0.469, and the multimodal DBM using text it generated itself 0.531. In precision at 50, the three score 0.801, 0.803 and 0.832. The multimodal model was trained with both modalities, yet at test time the image alone was given and the missing text was inferred. The slide’s sentence says it: learning multimodal features helps even when some modalities are absent at test time.

Fusion in one picture

If you remember one thing: fusion co-learning trains a model that can use both, then asks it to run on one. The two risks are over-reliance on B (fixed by training with B sometimes hidden) and a representation that has no room to keep what B knew (fixed by making the shared space itself carry B’s structure, which is what alignment and translation do).

A fusion model trained always with both modalities scores 99% with both and 78% when B is zero-filled. A model that never saw B scores 80%. What is the simplest first fix?

Chapter 4

Co-learning by Alignment: Put Both in One Space

Map pictures and words to the same map, then name a picture of something your classifier never saw

A child has a picture book with a horse, a dog, a truck and a car. She learns the four words. One day she sees a cat for the first time. Nobody has shown her a cat and nobody has told her the word. A grown-up says “that is a cat”. Next week she sees another cat and says the word on her own. She has met one cat in her life.

How did one meeting suffice? Because words and pictures already lived in her head on one shared map. “Cat” sat near “dog”, a furry animal word. A new furry picture landed in that neighbourhood, and the word was waiting there.

This is the second style of co-learning in the lecture, co-learning via alignment. Slide 16 repeats the definition and changes one word from the fusion slide: the shared space is made by aligning the two modalities, not by fusing them.

Representation alignment in plain words

An encoder is a network that turns a raw input into a vector. Slide 17 draws two encoders, fA for modality A and fB for modality B. Each ends in a vector (zA and zB). A function g(zA, zB) measures how close the two vectors are. Training aligns them: it pushes zA and zB together for pairs that belong together, such as a photo and its caption, and pulls them apart for pairs that do not. The slide says “recall representation alignment!”, pointing back to the lecture on alignment.

For concrete shapes, take a photo of shape (3, 224, 224) and the word “cat”. The image encoder returns a vector zA of, say, 512 numbers. The text encoder returns zB, also 512 numbers. The model scores the pair by the dot product of the two vectors after scaling each to length 1, a number between −1 and 1. Training raises that score for the true pair and lowers it for the others in the batch.

The trick: only one modality at test time

Here is why this is co-learning and not just alignment. Slide 17 follows Socher and colleagues (2013), who put images into a word-embedding space. During training, images of the seen classes (truck, auto, horse, dog) are tied to their word vectors. Slide 18 then adds a red box: a new image of an unknown class, a cat. At test time “only images [are] used”, and the model “enables zero-shot image classification”.

Zero-shot classification means naming a class that had zero training images. It works because the answer is not a fixed output slot. The model maps the image to the shared space and then looks for the nearest word vector. If “cat” has a word vector (from text alone), the cat image can land near it, even though no cat image trained the model. Words, the secondary modality here, were needed in training. At test time the image is the only input and the words only serve as the list of names to choose from.

Worked example

Use a 2-number map. Say the word vectors sit at truck (−2.4, 1.4), auto (−1.4, 2.0), horse (1.4, 1.8), dog (1.9, 0.2) and cat (1.0, −1.0). A cat photo is encoded to the point (1.2, −0.7). The distances to each word are: cat 0.36, dog 1.14, horse 2.51, auto 3.75, truck 4.17. The nearest is “cat”, so the model says cat. If “cat” were not in the list of names, the nearest word would be “dog”, wrongly.

The device lets you do this at scale. It draws 300 cat images around the cat word, with the spread you choose. Switch the “names allowed” between the four seen words only and all five.

Name a class you never trained on

Squares are word vectors. Dots are 300 images of a cat, coloured by the nearest allowed word. Choose which names the model may use, then raise the blur of the image encoder.

0.6

Illustrative toy: the five word positions are made up to echo slide 17’s map (cat near dog, trucks and cars far away), and every image is placed at its word plus random blur, as if the encoder had already generalised to cat. A real encoder is learned and does not generalise this perfectly. The 300 cat points use a fixed seed.

With four names only, the model is right 0% of the time on cats, because the right answer is not on the list. It calls every one of them “dog”. With five names and a blur of 0.6, it is right on about 90%. That jump is the whole point: the shared space lets the word list, not the training images, decide what the model can name.

Alignment at scale

Slide 19 scales this up. Jia and colleagues (2021) trained image and text encoders on a very large collection of image and noisy alt-text pairs from the web with a contrastive loss (the same idea: pull matched pairs together). The slide figure shows the one trained pair of encoders then used on zero-shot visual tasks such as ImageNet classification, and on retrieval of images from text and text from images. The recipe is the one you just saw. More data and a better encoder make the map finer; the nearest-word rule stays the same.

Alignment between vision and touch

Slides 20 and 21 move to robotics. Li and colleagues (2019) align vision and touch: a robot arm with a tactile sensor presses on objects while a camera watches. The slide shows camera views next to the dotted patterns of the touch sensor. The model learns to predict what the touch sensor would feel from a picture, and a picture from touch. Slide 21 draws it as two ResNet encoders (one for the vision reference, one for a sequence of vision frames), a decoder that predicts a touch image, and a discriminator that decides whether a touch image is real or fake. Here the two modalities are not words and photos, but they still share one space: seeing a rough edge predicts feeling a rough edge.

When alignment misleads: symptom, measurement, fix

The symptom: the model names new things with a neighbouring name (a lynx called “cat”, a cat called “dog”). The measurement: a confusion table of true class against nearest word, which shows which classes sit too close together in the space. Raise the blur in the device and watch cat images leak to “dog” and “horse”. The fixes: train on more and more varied pairs so the map spreads out, make the word vectors themselves richer (the text encoder, not a fixed list), and check the unseen classes separately, because accuracy on seen classes tells you nothing about them.

In Socher’s zero-shot setup, what is used at test time to classify a photo of a never-seen class?

Chapter 5

Co-learning by Translation: Make B From A

Ask the model to write the missing modality, then close the loop so it cannot skip the work

You read the sentence “Today was a great day!” and imagine the face of the person who wrote it: wide eyes, a smile. Your guess is not magic. You know how words and faces go together. Now suppose a model must tell whether a speaker feels positive or negative. It has the words. In the lab it also has video of the speaker’s face. At the user’s phone it may have only the words.

The third style in the lecture is co-learning via translation. Slide 22 defines it: transfer information from the secondary modality to the primary one by using the secondary modality as a generation target. The model is not given the video as input. It is asked to produce the video (or its features) from the words, and in learning to do so, its internal vector learns what faces have to do with words.

Translate during training, drop at test time

Slide 23 shows the first design, from Pham and colleagues, “Found in Translation” (AAAI 2019). Language and visual modalities go into one representation, which feeds a sentiment prediction. The slide marks the problem in red: both modalities are required at test time, and the model is sensitive to a noisy or missing visual modality. The authors want to “leverage information from visual modality while being robust to it during test-time”.

Slide 24 gives the fix. Draw an arrow from the language to a representation, and a second arrow from that representation to the visual modality. This is forward translation. The visual modality is no longer an input. It is the thing the model must reproduce. “Cross-modal translation during training. Only language modality required at test time!”

Follow the data. The words become a sequence of token vectors. An encoder turns them into one representation z of shape (h). A decoder reads z and writes the visual features, a sequence of vectors of shape (Tv, dv). The loss compares the written features with the real recorded features. The sentiment head reads z too. At test time you run the encoder and the sentiment head, and never the decoder or the camera.

The trap: the model can be lazy

Slide 25 asks the sharp question in red: “how do you ensure that both modalities are being used?” If faces are hard to predict from words, the cheapest way to lower the translation loss is to ignore the words and always write the average face. The loss goes down to the same level as a careful model whose faces are only slightly better. The encoder then gets almost no push to put visual knowledge into z. The visual modality is nominally in the loss and practically unused.

The fix: translate there and back

Slide 26 shows the solution. Add a backward translation from the generated visual modality back to language. Together the two steps form a cycle: words to face to words. The cycle loss compares the words at the end with the words at the start. A lazy translator that always writes the average face cannot reproduce the original words from it, so the cycle loss is large. A careful translator keeps the information, and the cycle loss is small.

The full training loss adds three terms, each with a weight:

pythonz      = enc_text(words)                 # [B, h]
v_hat  = dec_visual(z)                   # forward translation, [B, T_v, d_v]
w_hat  = dec_text(enc_visual(v_hat))     # backward translation, back to word logits [B, T, vocab]
loss = ce(head(z), sentiment)            # the real task \
     + a * mse(v_hat, visual)            # forward: write the face \
     + b * ce(w_hat, words)              # cycle: recover the words from the written face
# test time: head(enc_text(words)) only. No camera, no decoders.

The cycle keeps the visual modality honest in a second way. Since the backward step starts from the generated face, the generated face must carry whatever the words contained, so z must keep it.

See why the forward loss alone cannot catch the lazy model

The device uses a tiny linear world. A language vector has 2 numbers. The true visual vector is a fixed mixing of them plus noise that you set (faces are hard to predict from words when this noise is large). A careful translator writes the mixing exactly. A lazy translator writes zero (the average face). It then measures both losses over 200 seeded samples.

Catch the lazy translator

Choose a translator and raise the visual noise. The top pair of bars is the forward loss (can the written face match the real one). The bottom pair is the cycle loss (can the words be recovered). Turn the cycle on to see which model it flags.

2.0

Illustrative toy, computed live over 200 seeded samples: language vector with 2 numbers, true visual vector equal to a fixed 2 by 2 mixing (rows 1 and 0.5, and minus 0.5 and 1) of it plus noise of the size you set, mean squared error per sample. The careful translator’s backward step has a small fixed error of 0.05. The pattern, not the numbers, is the lesson’s.

Set the noise to 2. The forward loss of the careful translator is about 8.0, and the lazy one about 10.6: a gap of only 33%. A reader of forward loss alone would see two similar models. The cycle loss tells them apart: about 0.00 against about 1.9. Turn the cycle on and the lazy model is flagged. At noise 0 the forward loss already separates them (about 0 against 2.3), because the faces are perfectly predictable. The hard cases are the noisy ones, and these are the ones that matter in real video.

When the cycle misleads: symptom, measurement, fix

The cycle has its own failure. A model could hide the words inside the generated face in a way no human would see, passing a secret message to the backward step. The symptom: the cycle loss is tiny, but the generated visuals look wrong, or the sentiment score does not improve. The measurement: check the sentiment score with the translation modules removed against a language-only baseline, and inspect generated samples. The fix: weigh the forward term higher so the face stays honest, and keep the sentiment loss in the mix.

Why does Pham et al. add a backward translation from the generated visual modality to language?

Chapter 6

What Translation Buys: Words, Pretraining and Dense Signals

See three jobs for an auxiliary target that you throw away at test time: describe, predict a picture, or fill a sparse signal

Imagine teaching a child to spot rare birds. You can say “this is a hoopoe” and show a photo. That is one label per photo. Or you can say “a hoopoe has a crest, a long curved beak and black and white wings”. The second sentence carries much more. It tells the child what to look for, and it works on the next bird too.

The last chapter used translation to make a representation robust. Slides 27 to 30 show what else an auxiliary generation target is good for. In each case the secondary modality is a training target only. It is thrown away at test time.

Words as a training aid: compositionality

Slide 27 is titled “Co-learning for Compositionality” and shows image to text translation. Compositionality is the ability to build new ideas from known parts: you know “red”, “cross” and “below”, so you can understand “a red cross below a square” without ever seeing it. Language is made of such parts.

The slide gathers three papers (Mu et al. 2019, Andreas et al. 2017, Sharma et al. 2021) on few-shot learning with latent language (language the model writes to itself). In the figure, a few support images show a concept, and the model must label a query image. One variant adds an auxiliary training step: a small decoder must write a sentence about each support image, for example “a red cross is below a square”. The sentence is “discard[ed] at test”. Because the image encoder must produce something from which a sentence can be written, it learns to separate colours, shapes and positions, the parts that compose. With so little labeled data, that structure is worth more than another few pictures.

Pictures as a pretraining target: vokens

Slide 28 turns the direction around. A masked language model such as BERT hides a few words in a sentence and learns to guess them. “Humans [mask] language by [mask] speaking” has two blanks, and the answers are “learn” and “listening” in the slide’s picture. Tan and Bansal (2020) add a second job. Each token also gets a voken, a “visual token”: an image fetched to match the token in its sentence context. The model must also say which image belongs to each token, a classification over a large set of images. The slide’s summary is that only text is used at test time, and multimodal co-learning beats language-only training.

The data flow, per sentence: token ids of shape (T), a language encoder giving (T, 768) vectors, then two heads on each vector. One head returns word probabilities over the vocabulary (the usual BERT job). The other returns probabilities over the voken set. The total loss is the sum of the two prediction errors, one per head. After pretraining, the voken head is deleted.

A reading: understanding and creating images together

Translation can also be the point. DreamLLM (arXiv 2309.11499) trains one multimodal language model both to read images and to write them. It learns to generate by sampling directly in the raw image space. It adds dream queries, learnable embeddings that carry what the model wants to draw, and hands them to a Stable Diffusion decoder that paints the picture. Documents mix text and images, and the model writes either. The paper’s claim is that comprehension and creation help each other: it reports a zero-shot FID (lower is better) of 8.46 on MS-COCO for its 7B model, 3.20 better than Emu-13B. The link to this chapter: a modality used as a generation target improves the representation used for understanding.

A signal that is too sparse: dense supervision

Slides 29 and 30 give the most striking use. Yang and colleagues (Nature Medicine, 2022) detect Parkinson’s disease from a person’s breathing during sleep. The slide puts it plainly: 10 hours of breathing data to detect Parkinson’s disease: a sparse 1-bit signal. The whole night’s breathing line gets one label: sick or not.

A network that must learn from one bit per night has a hard job. It cannot tell which minute of breathing mattered. Slide 30 gives the trick. The same person also wore an EEG (a recording of brain activity) during the night. An auxiliary head predicts the EEG activity from the breathing signal, throughout the night. The slide calls this dense supervision: the auxiliary task gives a training signal at every moment, not just at the end. At deployment only breathing is needed.

The device counts the training signals the model gets from one night. A signal here is one number the model can be graded on. Drag the hours and switch the EEG target on and off.

How much does one night teach?

The wiggly line is breathing. Below it, each mark is one thing the model is graded on. Switch the paired EEG target on and drag the hours.

10

The 10 hours and the one-bit label are from slide 29. The EEG target comes from slide 30. How often the EEG target is scored is illustrative: this toy assumes one target per 30-second window, so 120 per hour. The breathing line is drawn from a seeded random pattern, not real data.

With 10 hours and no EEG target, the night gives 1 signal. With the target on, it gives 1,201. The same recording now teaches the model at 1,201 points instead of one. Each point says “at this moment, the breathing should lead to this brain pattern”. The breathing encoder learns the features that carry information about the brain, and the Parkinson’s head reads those features.

When an auxiliary target backfires: symptom, measurement, fix

The symptom: the main task gets worse after you add the auxiliary one. The measurement: a main-task score with the auxiliary head, and without it, on the same held-out people. The fix: lower the auxiliary weight, choose a target closer to the main task, or train the auxiliary head first and then switch it off. An auxiliary target is a helper, not a goal. Chapter 7 shows a case where the helper did little.

Why does predicting EEG from breathing help a model that only gets one Parkinson’s label per night?

Chapter 7

Where Co-learning Stops Helping

Learn to ask when a helper modality has anything left to teach, and test that claim before you build on it

Read this sentence from a cooking site: “After the apples are chopped, put them in the bowl.” Who is “them”? You know: the apples. You did not need a photo of apples. The sentence already holds the answer.

Now ask a different kind of question: “How do you remove gloss from furniture?” A good answer is “rub the furniture with steel wool or a cotton ball”. That is knowledge about the physical world. Surely a model trained on pictures of furniture and tools would know it better than one trained on text alone?

The lecture asks exactly this on slides 31 and 32, under the heading Limits of Co-learning. The honest answer, from Yun and colleagues (EMNLP 2021), is: often not.

What the experiment tests

Lexical grounding means tying words to what they refer to in the world: the word “carrot” to an orange root, “pureed” to a smooth texture. The idea behind vision-language pretraining is that seeing carrots makes the word “carrot” richer. Yun and colleagues compared text-only BERT with vision-language models (the slides name VideoBERT and VisualBERT, each also run in a text-only mode) on tasks where grounding should help.

Slide 31 shows sentence-level semantic tasks. In semantic role labeling the model marks who did what to whom: in “The carrots are then pureed in the food processor” the carrots are the thing being pureed. In entity coreference it links “them” to “the apples”. The slide’s verdict, in red: “Not much improvements with visual co-learning.”

Slide 32 shows physical commonsense QA, a task that seems multimodal because it asks about objects and actions. The question is “How to remove gloss from furniture?” and the answer is “Rub furniture with steel wool/cotton ball”. The verdict again: “Marginal improvements with visual co-learning.” Both slides cite the same paper, whose title asks the question: Does Vision-and-Language Pretraining Improve Lexical Grounding?

Why a helper can have nothing to teach

Think back to the toy of the hero. B helped sensor A because B knew something A did not (it was cleaner), and because labels for A were scarce. Three things must hold for co-learning to pay:

  1. The secondary modality has information the primary lacks. If the text already contains the answer (the apples), a picture of apples adds nothing.
  2. The primary modality is starved. With plenty of labels, A alone already learns everything it can.
  3. The transfer path works. The shared space must carry B’s knowledge into A’s encoder. If it does not, the gain is lost on the way.

Text-only BERT is trained on a vast amount of text, and text already describes the physical world well (“rub with steel wool” is a sentence people have written many times). So pairs of captions and images add little for these tasks. This is a finding about one set of tasks and models, not a law.

The device shows conditions 1 and 2 in the hero’s toy world. The primary sensor A has noise 1.1. You set how noisy the secondary sensor B is, and how many labeled pairs are available. It then measures the gain of co-learning (B labels extra unlabeled examples for A) over training on A alone, averaged over 24 seeded runs.

When does the helper still help?

Two bars: A alone and A co-learned with B. Make B noisier, then add labeled pairs. Watch the gain shrink.

0.5
8

Illustrative toy, computed live: sensor A has noise 1.1; co-learning means B labels 300 unlabeled pairs and A learns from them; test on 300 fresh samples of A alone. Labeled pairs run 4, 8, 20, 60 and 200. This is a toy of the three conditions, not a reproduction of Yun et al.

With a clean B (noise 0.5) and 8 labeled pairs, co-learning adds about 3 points. With 60 labeled pairs, it adds only 1: A already has enough data. And with B noisier than A (noise 1.6), co-learning loses about 2 points, because B’s labels are worse than what A alone could do.

Symptom, measurement, fix

The symptom: you add a modality and the score barely moves. The measurement, always: ablate. Train the same model once with the secondary modality and once without, with the same data and seeds, and compare on held-out examples with several seeds. Look at the gap relative to seed-to-seed spread. The fix has three forms. Choose tasks where the secondary modality has information the primary lacks (a chest scan for a note that omits the finding). Choose settings where the primary is scarce. Or accept that for this task the text is enough, and spend the effort elsewhere.

A team adds image pretraining to their text model and sees almost no gain on a commonsense QA task. What should they do first?

Chapter 8

Self-training: A Model That Teaches Itself

Let a model label the data it is surest about, learn from those labels, and see why it can only be as good as its first guess

A teacher has marked 6 exam papers and has 100 left to grade. She is short of time. So she picks the 10 papers whose answers she can mark with the most confidence, grades them, and adds them to her stack of examples. With her sharper sense of what a good answer looks like, she picks the next 10. By the end she has graded all 100 with one afternoon of real effort.

That is self-training. The lecture opens its last part, model induction, with it. Slide 33 defines model induction as keeping individual unimodal models separate but inducing common behaviour across them. The slide draws two models with outputs y1 and y2 and a dashed arrow between them. Co-learning shared a space. Model induction shares behaviour.

Self-training is the one-model warm-up. Slide 34 says so: “Warmup: a single view”. It needs two kinds of data: a small labeled set {X1L, Y} and a large unlabeled set {X1U}. The slide gives the recipe in three steps.

The loop

  1. Train a classifier f1 on the labeled set.
  2. Pseudo-label. Use f1 to label the most confident unlabeled examples. Add them, with the labels f1 gave, to the labeled set. These made-up labels are pseudo-labels.
  3. Repeat from step 1 until no unlabeled samples are left.

At test time you use f1 alone: for a new sample X1, output f1(X1).

Look at the data flow. The classifier takes a feature vector (say 2 numbers, or the 768 of a language model) and returns class scores. Confidence is how sure the model is. For a linear classifier it is the distance from the dividing line. For a neural network it is usually the highest class probability after softmax, a number between 0 and 1. You choose a rule: take the top k examples each round, or all with confidence above a threshold such as 0.9.

pythonf = fit(X_lab, y_lab)                          # step 1: X_lab [n, d], y_lab [n]
while len(X_unl) > 0:
    p = f.predict_proba(X_unl)                # [m, C] class probabilities
    conf, y_hat = p.max(axis=1), p.argmax(axis=1)
    keep = conf.argsort()[-k:]                 # the k most confident examples
    X_lab = concat(X_lab, X_unl[keep])        # step 2: pseudo-labels join the labeled set
    y_lab = concat(y_lab, y_hat[keep])
    X_unl = delete(X_unl, keep)
    f = fit(X_lab, y_lab)                      # step 3: retrain and repeat

Why it can work, and why it can fail

Slides 35 to 37 show it with two clouds of triangles, one red and one blue, and a dashed line between them. In slide 35 a single point is marked “wrongly labeled”: the first classifier put the line a little off, and one blue triangle ended up on the red side. Slide 36 shows the two arrows: pseudo-labeling (colour the unlabeled points by the line) and re-training (fit a new line to everything). Slide 37 shows the new line, and the same triangle now marked “correctly labeled”. The new line moved to the thinnest part of the data, between the two clouds, and the wrong point fixed itself.

That is why it can work. Unlabeled points reveal the shape of the data: two clumps with a gap between. A line fit to 6 labeled points may cut through a clump. Pseudo-labels from the confident points far from the line drag it toward the gap. The slide cites Wei and colleagues (ICLR 2021), a theoretical analysis of when self-training with deep networks succeeds.

It can fail for the opposite reason. If the first line is badly placed, the most “confident” points are confidently wrong, and retraining on them makes the error firmer. This is confirmation bias: the model believes its own labels because it wrote them.

The device runs this on two clouds of points. You choose the start and how many pseudo-labels to take per round. Press Add one round and watch the line and the counts.

Teach yourself, round by round

Big marks with a thick outline are the 6 labeled points. Pink marks are pseudo-labels, ringed red if wrong. Grey points are unlabeled. The warm line is the classifier.

12

Illustrative toy, computed live: two classes with centres at minus and plus 1.1 and spread 0.9, 3 labeled points per class, 114 unlabeled, test accuracy on 400 fresh points, classifier is a nearest-centroid line and confidence is the distance from it. The unlucky start takes the 3 left-most points of the right-hand class, an extreme case chosen to show the failure. In most random worlds, the line recovers; here it does not. These numbers are for the one seeded world you see.

Try the typical start with 12 per round. The first line scores about 86% on fresh points. After the last round it reaches about 89%. Now switch to the unlucky start and run. The three labeled points of one class sit in the far tail, next to the other class, so the first line points the wrong way and scores about 27%. Pseudo-labels do not repair it. Each round the model labels points with confidence, and the labels follow its mistake. It ends near 12%. Most of the pink marks wear red rings: the model labeled them wrong, with high confidence, and learned from them anyway.

Symptom, measurement, fix

The symptom: accuracy on a held-out labeled set rises for a few rounds, then flattens or falls, while training confidence keeps rising. The measurement: keep a small set of true labels aside, never pseudo-labeled, and plot its accuracy each round. Also count how often the pseudo-labels disagree with the true labels where you have them. The fixes: raise the confidence bar so only very sure examples join, take fewer per round, retrain from scratch each round so that early errors do not stick, and start with a first model as good as you can make it. Note that you must have true labels to measure, even though you do not need them to train.

In self-training, why does the loop pick the most confident unlabeled examples to pseudo-label, rather than all of them at once?

Chapter 9

Co-training: Two Views That Teach Each Other

Give two models two different looks at the same examples, and let each one label the examples it is sure about for the other

Two doctors look at the same patients. One reads the X-ray. The other reads the blood test. Each has seen only a few patients with a confirmed diagnosis. Now a hundred new patients come in with no diagnosis yet. Doctor X is very sure about 5 of them from the X-ray. Doctor B is very sure about 5 other patients from the blood test. Each doctor tells the other: “patient 17 is certainly positive, learn from that”. Next week both are better, and neither of them saw a single new confirmed diagnosis.

This is co-training, from Blum and Mitchell (COLT 1998). Slide 38 introduces it as the step from self-training to two models. It needs three ingredients:

And one assumption, named on the slide: multi-view redundancy. Either view is enough to predict the label alone, given enough data. The X-ray alone can diagnose, the blood test alone can diagnose, and the two give different glimpses of the same truth.

The algorithm, slide by slide

Slides 39 to 41 build the algorithm one step at a time. Read the text of the last slide as the whole procedure.

  1. Train classifier f1 on the labeled x1 and f2 on the labeled x2, each with its own view only.
  2. Use f1 to label its most confident unlabeled examples. Add them, with f1’s labels, to the data that f2 learns from. (Slide 40.)
  3. Use f2 to label its most confident examples. Add them to the data of f1. (Slide 41.)
  4. Repeat until no unlabeled samples remain.

At test time, a new example arrives with both views. The two classifiers each give a score and the final answer ensembles them (combines their votes, for example by adding scores): f1(x1) and f2(x2).

Compare with self-training of Chapter 8. There, one model labels data for itself and so repeats its own blind spots. Here each model labels data for the other. An example that f1 finds easy may be a hard one for f2. So f2 gets a free, correct lesson about the kind of example it was missing. The data flow is a swap: in each round, k examples travel from f1 to f2’s training set, and k from f2 to f1’s.

pythonf1, f2 = fit(X1_lab, y_lab), fit(X2_lab, y_lab)   # each sees ONLY its own view
while unlabeled:
    i1 = top_k_confident(f1, X1_unl, k)              # f1’s surest picks (view 1)
    i2 = top_k_confident(f2, X2_unl, k)              # f2’s surest picks (view 2)
    X2_lab += X2_unl[i1]; y2_lab += f1.predict(X1_unl[i1])   # f1 teaches f2
    X1_lab += X1_unl[i2]; y1_lab += f2.predict(X2_unl[i2])   # f2 teaches f1
    f1, f2 = fit(X1_lab, y1_lab), fit(X2_lab, y2_lab)
# test: sign( f1.score(x1) / |w1| + f2.score(x2) / |w2| )

Try it: one view, or two views that swap

The device has two views of the same 120 examples. Each view has noise 1.2. Six examples have labels. Choose self-training on view 1 (Chapter 8’s loop, using only view 1) or co-training, then add rounds. The curve shows test accuracy of the final answer: view 1 alone for self-training, the two views together for co-training. Then flip the toggle that makes the two views share their noise.

Let two views swap labels

Left panel is view 1 and right panel is view 2. Each shows its own classifier line, the labeled points (big), the pseudo-labels it learned from (pink, red ring if wrong) and the unlabeled ones (grey).

Illustrative toy, computed live: 6 labeled and 114 unlabeled examples, 400 test examples, one seeded world, 6 pseudo-labels per view per round, a nearest-centroid line per view and confidence as distance from the line; co-training adds the two normalised scores. In the one seeded world you see, self-training goes from 79% to 81% and co-training from 77% to 90%; with shared noise both end at 79%. These are this toy’s numbers, not the lecture’s.

With independent noise, self-training on view 1 gains two points and stalls near 81%. Co-training climbs to 90% in this world. Why? One view is limited by its own noise: no line on view 1 can beat what view 1 can know. Two views with independent noise are two independent witnesses, and their ensemble knows more than either. Each view then learns from the other’s confident calls, so each gets sharper.

Now turn on The views share their noise. Both views make the same mistakes on the same examples. Co-training then collapses to the self-training curve, about 80%. This is the assumption underneath the method, and the symptom when it fails: the second view adds no new information, so each classifier teaches the other nothing it did not know.

Symptom, measurement, fix

The symptom: co-training gives no more than self-training on the stronger view. The measurement: check whether the two classifiers’ errors on a labeled set are different. If they err on the same examples, the views are not independent enough. The fix: pick views that really differ (different sensors, different representations, different augmentations) and, if you cannot, accept self-training’s smaller gain.

Co-training today

Slides 42 to 44 show the idea alive in modern systems.

Video: RGB and optical flow. Han and colleagues (NeurIPS 2020) train two representation learners for activity recognition. One sees the colours of the frames (RGB), and one sees how pixels move between frames (optical flow). The slide’s point: positive examples hard to find in RGB space (RGB is fooled by background differences) are easy to find in flow space, and the reverse. So each space supplies the other with positives, through two contrastive learning modules.

Language models: two ways to read a prompt. Lang and colleagues (ICML 2022) co-train a big prompted model (GPT-3, which outputs class probabilities from a prompt with examples) and a small finetuned model (BERT, with a classification layer). A label model merges their confident outputs, and each model is retrained on the other’s confident labels. The two views are two different ways to learn the same task.

Several language models: debate and MAPoRL2. Slide 44 ends on multi-agent LLMs, debate, co-training. In a multi-agent debate (Du et al., ICML 2024) several language-model instances write answers, read each other’s, and revise over rounds. The reading MAPoRL2 (Park et al., 2025) goes one step further and trains the agents together. Prompting alone does not make agents collaborate: more debate turns do not reliably improve answers, and copying debate transcripts by supervised finetuning does not teach cooperation. In MAPoRL, each agent first answers on its own, then they discuss over several turns. A verifier scores both the final answer and the discussion, giving extra credit to corrective and persuasive replies. That score is the reward, and every agent is trained by multi-agent reinforcement learning to maximise its own expected total reward, including the effect its reply has on other agents’ later answers. It is co-training with the labeller replaced by a verifier and the swap replaced by a conversation.

In co-training, what must be true of the two views for the swap of pseudo-labels to help?

Chapter 10

The Field Guide to Cross-modal Transfer

Keep the numbers, the three decisions and the core training recipe on one page, and find where to read next

The one-paragraph summary

A primary modality is the one you must predict from, and it is often noisy or short of labels. Cross-modal transfer moves knowledge from a secondary modality to help it, in three families. Transfer borrows the parameters of a model pretrained elsewhere, then finetunes them; it helps when labels are few and the source is related, and it hurts (negative transfer) when it is not. Co-learning trains with both modalities and deploys with one. It shares a representation by fusion (fragile when the helper vanishes unless training hides it sometimes), by alignment (a shared space, so a picture can be named by the nearest word, even a word never trained on) or by translation (the helper is a generation target, with a cycle so the model cannot ignore it). Co-learning gains fade when the helper adds no new information or labels are plentiful. Model induction keeps one model per modality: self-training pseudo-labels with one model and can lock in its own mistakes, while co-training swaps confident labels between two models on two independent views.

The three decisions

Slide 45 sums the lecture up as three questions to answer when you design a transfer.

  1. Decide on the secondary modalities. Which helper has information the primary lacks? Is it paired with the primary at training?
  2. Decide on auxiliary input or auxiliary output. Does the helper enter the model as an input (fusion, alignment) or leave it as something to predict (translation, dense supervision)?
  3. Decide on modifying the model or using APIs only. Can you change the model’s training (co-learning, finetuning) or only call it as a service (then pseudo-labels from outputs, as in co-training with prompted models)?

The numbers that matter

WhatNumberWhy it matters
HighMMT, MIMIC target (slide 9)67.7% with 0 source tasks, 68.5% with 3Source tasks from other fields help a low-resource target
HighMMT, UR-FUNNY target (slide 9)63.3% with 0 source tasks, 65.7% with 3Gains are small and uneven
HighMMT scale (paper)10 modalities, 15 tasks, 5 research areasOne model, measured heterogeneity decides what to share
Deep Boltzmann machine, retrieval MAP (slide 14)0.463 and 0.469 (image only), 0.531 (with generated text)Text helps even when absent at test time
Breathing and Parkinson’s (slide 29)10 hours of signal, a 1-bit labelSparse supervision; an EEG target makes it dense
PMC-15M (reading)15 million image-text pairs from 4.4 million articlesDomain pretraining data for transfer
PaLM-E (reading)562 billion parameters at the topPositive transfer from internet-scale data to robot tasks
DreamLLM zero-shot FID on MS-COCO (reading)8.46 for 7B, 3.20 better than Emu-13BCreation and comprehension in one model
Toy: B hidden in training (Ch 3)99% with B, 78% with B zeroed, 80% for A aloneIllustrative: fusion fragility
Toy: co-training vs self-training (Ch 9)about 90% against about 81% in the one world shownIllustrative: two independent views beat one

The terms, in one line each

TermMeaningWhere
Primary and secondary modalityThe one we deploy on, and the helperChapter 0
FinetuningStart from borrowed parameters, train a little moreChapter 1
Negative transferThe borrowed start is worse than noneChapter 1
Modality and interaction heterogeneityHow different two modalities, or two pairs, areChapter 2
Co-learningTrain with both, deploy with oneChapters 3 to 7
Zero-shot classificationName a class by the nearest word, with no images of itChapter 4
Cyclic translationTranslate there and back so no modality is ignoredChapter 5
Dense supervisionAn auxiliary target scored at every momentChapter 6
Pseudo-labelA label a model wrote, not a personChapters 8 and 9
Multi-view redundancyEach view alone could predict the labelChapter 9

A checklist before you rely on a transfer

  1. Train a primary-only baseline with the same labels and seeds. Every gain is measured against it.
  2. Test with the secondary modality missing, zeroed or noisy, if it may go missing in deployment.
  3. Ablate the helper: same model, with and without it, several seeds. Compare the gap with the seed spread.
  4. If you borrow parameters, compare with training from scratch on your labels, and check small step sizes.
  5. If you pseudo-label, keep a clean labeled set aside and plot its accuracy each round.
  6. If you use two views, check that their errors differ.
  7. Report accuracy for classes and cases the helper could not have seen.

The core as code

Every recipe in this lesson is one more term in the loss of a model that is deployed on A alone.

pythonzA = encA(xA)                                      # [B, h]  the only encoder used at deployment
loss  = ce(head(zA), y)                            # task loss on the few labeled A examples
# Chapter 1: start encA from pretrained parameters theta*, small learning rate
# Chapter 3: sometimes feed zeros for xB, so the model runs when B is gone
if paired_AB:
    zB = encB(xB)                                  # [B, h]  training only
    loss += lam_align * infonce(zA, zB)            # Chapter 4: pull matched pairs together
    xB_hat = dec(zA)                               # Chapter 5: write the helper from A
    loss += lam_trans * mse(xB_hat, xB)
    loss += lam_cyc * ce(back(xB_hat), xA_tokens)  # the cycle: recover A from the written B
    loss += lam_aux * mse(aux_head(zA), yB_dense)  # Chapter 6: dense auxiliary target
if unlabeled_A:                                    # Chapters 8 and 9: pseudo-labels
    y_hat, conf = labelB(xB_u) if have_B else self_model(xA_u)
    keep = conf > tau                              # only the surest examples
    loss += lam_pl * ce(head(encA(xA_u[keep])), y_hat[keep])
# deployment: head(encA(xA)). No encB, no decoders, no camera.

Where it sits in the field

Transfer by pretrained models is the daily practice behind almost every modern system. Alignment is the engine of contrastive image-text models. Translation and dense supervision are the idea behind many auxiliary losses. Self-training and co-training are the roots of today’s pseudo-labeling and multi-agent training. The lecture ends back on the agenda slide, with the four parts it covered: the basics, and transfer via fusion, alignment and translation.

The readings, in one place

Keep going

The takeaway. A weak modality does not have to stay weak. A helper that exists only in the lab can shape it through borrowed parameters, a shared space, a generation target or swapped pseudo-labels. Each way works only when the helper adds information the primary lacks, and each has a measurable failure: ablate, zero the helper at test time, and keep a clean labeled set.
You can only call a vendor’s text model as a service and cannot change its weights. You have a few labeled examples and many unlabeled ones with images. Which family fits the third decision of slide 45?

Now press Present or Teach and explain one example from memory: how a clean sensor can teach a noisy one it will not meet again, and which of the three families you would choose for your own problem. Then go back to the instrument at the top, set the noise of A to 0.5 and then to 1.6, and explain why co-learning adds 1 point in one case and 11 in the other.

Credit: this lesson re-teaches Lecture 10.2 of MIT Multimodal AI (Spring 2026), by Paul Liang and the MIT Multisensory Intelligence group. Read the original lecture slides and the course site. Every explanation, device and toy here is our own.

MIT MMAI Lecture 10.2: Cross-modal Transfer
The course site · Lecture slides · Back to Gleams