Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Two witnesses are better than one
If two witnesses saw an event from different places, each can confirm what the other is unsure about. Co-training gives a classifier two views of each example, for example the camera image and the lidar return of an object. One classifier is trained per view. Each labels the unlabelled examples it is surest of, and those labels teach the other classifier.
Many systems naturally record two descriptions of the same thing: images and spectra of a sample, vibration and acoustic signals of a bearing, the text of a fault report and the telemetry around it. When labels are scarce, co-training lets each sensor teach the other. It also shows clearly which assumptions make unlabelled data trustworthy.
- 1. Co-training needs…
- 2. In co-training, each view's classifier…
- 3. Co-training works best when the views are…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.The algorithm by hand
Algorithm (Blum and Mitchell, 1998).
- Split the features into two views, x = (x⁽¹⁾, x⁽²⁾), and start from a small labelled set L.
- Train f₁ on view 1 of L and f₂ on view 2 of L.
- From the unlabelled pool, f₁ picks its k most confident positives and k most confident negatives and labels them. f₂ does the same. All of these are added to L.
- Repeat for a fixed number of rounds, or until the pool is empty.
- To predict, combine the two classifiers.
Combining two views. If the views are independent given the class and the classes are equally likely, the odds multiply:
p = p₁p₂ / (p₁p₂ + (1 − p₁)(1 − p₂)).
Two views that each say 0.8 combine to 16/17 ≈ 0.941. Opposite views of 0.9 and 0.1 cancel to 0.5.
Checking the assumption. Views are always correlated overall, because both depend on the class. What matters is the correlation within each class. Suppose view features are a = s + e and b = s + 0.9e + noise, with s = ±1 the class signal. Then the overall correlation is about 0.95 and the within-class correlation is 0.9, so these views are not conditionally independent.
- 1. Two independent views each giving 0.8 combine to about…
- 2. Which correlation matters for co-training?
- 3. Each round, each classifier adds…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 30 minUndergraduate students and practising engineers.Why it can work
Assumptions.
- Sufficiency: each view alone could predict the class well, given enough labels.
- Conditional independence: given the class, the views are independent.
The key argument. Under conditional independence, the examples f₁ labels confidently are, from view 2’s point of view, a random sample of their class rather than a biased one. So they teach f₂ like genuinely new labelled data, plus some label noise from f₁’s errors. Learning with random label noise is still possible, whereas self-training’s errors sit exactly where its own boundary is wrong and are never challenged.
Exercise 1 (two 3-D views, independent given the class, 4 labelled and 796 unlabelled points, 10 datasets). Mean test accuracy:
| method | test accuracy | pseudo-label error |
|---|---|---|
| labelled only | 0.879 | – |
| self-training on both views (same budget) | 0.926 | 0.005 |
| co-training | 0.925 | 0.016 |
| all labelled | 0.926 | – |
Co-training made use of the unlabelled data, matching full supervision. However, it did not beat self-training here. For Gaussian views with a correct linear model, one classifier on both views is already well specified and strong. Each single-view classifier is weaker, so co-training’s pseudo-labels were three times as often wrong. Co-training earns its keep when one joint model is hard to build: views of different kinds (text and link structure, image and spectrum) or views that are poorly calibrated together.
- 1. Under conditional independence, view 1's confident examples look to view 2 like…
- 2. In exercise 1, co-training compared with self-training was…
- 3. Co-training's pseudo-labels had more errors because…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
PAC result. Blum and Mitchell (1998) showed that if the views are conditionally independent and the target concept is learnable with random classification noise in each view, then a weak initial predictor in one view can be boosted to arbitrary accuracy using unlabelled data alone. Dasgupta, Littman and McAllester (2001) bounded a classifier’s error by the rate at which the two views’ classifiers disagree, which makes agreement on unlabelled data a training signal. Balcan, Blum and Yang (2004) weakened independence to an expansion condition.
Relatives.
- Co-EM (Nigam and Ghani, 2000) uses soft labels for all of the pool each round.
- Tri-training (Zhou and Li, 2005) uses three classifiers on one view, made different by bootstrapping. An example is labelled for one classifier when the other two agree.
- Multi-view regularisation penalises disagreement between views (co-regularisation).
- Deep co-training trains two networks made to disagree on adversarial examples.
Without natural views, a random split of the features can work if the features are redundant (Nigam and Ghani, 2000). If information is concentrated in a few features, the split makes one view insufficient.
Interview questions.
- How do you check the views? Train each view alone on the labelled data: both should do well (sufficiency). Measure within-class correlation of their predictions or features (independence).
- Why can co-training fail? Correlated views make the same mistakes. An insufficient view adds noisy labels. Corrupted inputs look falsely confident.
- 1. Dasgupta et al. bound the error by…
- 2. Tri-training labels an example for one classifier when…
- 3. Expansion (Balcan et al.) replaces…
Level 4: Expert
★★★★★ Expert⏱ 25 minResearchers: original papers and open problems.When do the assumptions matter?
History.
- A. Blum and T. Mitchell (1998) introduced co-training for web-page classification.
- K. Nigam and R. Ghani (2000) analysed its effectiveness and introduced co-EM.
- S. Dasgupta, M. Littman and D. McAllester (2001) proved disagreement-based error bounds.
- Z.-H. Zhou and M. Li (2005) introduced tri-training.
Exercise 2. Two 3-D views with 4 labelled and 596 unlabelled points, 8 datasets per setting. Two violations are tested: correlated view noise, and a fraction of points with one view (chosen at random) replaced by loud noise, as if a sensor failed.
| setting | labelled only | self-training | co-training | all labelled | pseudo-label error: self / co |
|---|---|---|---|---|---|
| independent views | 0.848 | 0.931 | 0.929 | 0.932 | 0.005 / 0.015 |
| noise correlation 0.5 | 0.805 | 0.886 | 0.885 | 0.885 | 0.020 / 0.029 |
| noise correlation 0.9 | 0.760 | 0.848 | 0.852 | 0.858 | 0.040 / 0.035 |
| 30% one view failed | 0.711 | 0.793 | 0.729 | 0.839 | 0.157 / 0.275 |
| 60% one view failed | 0.644 | 0.679 | 0.578 | 0.745 | 0.302 / 0.450 |
- Correlated views reduced the absolute accuracy of every method, but not the gain from unlabelled data. Both methods still gained about 0.08–0.09 at correlation 0.9. With linear Gaussian views and a decent starting boundary, the errors stayed few, so the theoretical danger did not show.
- Failed views broke co-training. A failed view produces values far from its threshold, and that view’s classifier reads them as its most confident examples. They are labelled first, about half of them wrongly, and at 60% failures co-training ended below the labelled-only model. Self-training used both views together, so a failed view was partly outvoted by the healthy one. These results held on two further sets of seeds.
- Lesson. “Most confident” means “farthest from the boundary”, and corrupted inputs are often far from everything. Screen inputs for anomalies (D10) before letting a model label its own training data.
Co-training in AI, robotics and aerospace
- Multi-sensor perception: camera and lidar (or radar) views of the same object label each other, a common pattern for auto-labelling driving data.
- Remote sensing: spectral and spatial (texture) views of a pixel, or optical and radar images of the same field.
- Fault diagnosis: vibration and acoustic or thermal views of a machine. Screen for sensor faults first, as exercise 2 shows.
References
- A. Blum, T. Mitchell (1998). “Combining labeled and unlabeled data with co-training.” Proc. COLT.
- K. Nigam, R. Ghani (2000). “Analyzing the effectiveness and applicability of co-training.” Proc. CIKM.
- S. Dasgupta, M. L. Littman, D. McAllester (2001). “PAC generalization bounds for co-training.” Advances in NeurIPS 14.
- M.-F. Balcan, A. Blum, K. Yang (2004). “Co-training and expansion: towards bridging theory and practice.” Advances in NeurIPS 17.
- Z.-H. Zhou, M. Li (2005). “Tri-training: exploiting unlabeled data using three classifiers.” IEEE TKDE 17(11).