# Co-Training

> Source: https://aiwiki.ai/wiki/co-training
> Updated: 2026-12-01
> Fact-checked: 2026-12-01
> Categories: Machine Learning
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) - attribute to "AI Wiki (aiwiki.ai)"
> Cite as: AI Wiki. "Co-Training." aiwiki.ai, 1 Dec 2026. https://aiwiki.ai/wiki/co-training
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution.

Co-training is a [semi-supervised learning](https://aiwiki.ai/wiki/semi-supervised_learning) method in which two classifiers learn to predict the same label from different descriptions, or *views*, of each example. Starting with a small set of [labeled examples](https://aiwiki.ai/wiki/labeled_example), the classifiers assign [pseudo-labels](https://aiwiki.ai/wiki/pseudo_labeling) to selected [unlabeled examples](https://aiwiki.ai/wiki/unlabeled_example). A confident prediction in one view can then provide a training example for the other. [Avrim Blum](https://aiwiki.ai/wiki/avrim_blum) and [Tom Mitchell](https://aiwiki.ai/wiki/tom_mitchell) introduced the method in 1998 to study how paired views can help when labels are scarce.[1]

## Overview

Consider a university course page. Its syllabus might make the page easy to recognize even if an incoming link uses an unfamiliar course number. Once the page-text classifier assigns a course label, the link-text classifier can learn from that number. The information also flows the other way. An informative link can supply a label for a page whose own wording the first classifier has never seen. The pairing matters because both descriptions belong to the same page.[1]

| Property | Original co-training method |
|----------|-----------------------------|
| Introduced | Blum and Mitchell, Conference on Computational Learning Theory (COLT), 1998.[1][2] |
| Input | A labeled set and an unlabeled pool, with two views of each example.[1] |
| Base learners | One classifier for each view. The web experiment used two [naive Bayes](https://aiwiki.ai/wiki/naive_bayes) classifiers.[1] |
| Training signal | Both classifiers contribute predicted labels to a shared [training set](https://aiwiki.ai/wiki/training_set).[1] |
| Output evaluated | Predictions from either view alone and from a combination of the two.[1] |

## History and origin

Blum and Mitchell presented *Combining Labeled and Unlabeled Data with Co-Training* at the 11th Annual Conference on Computational Learning Theory. They gave a mathematical model of learning from two views and tested a practical algorithm on university web pages. The paper received a ten-year Test of Time Award at the 2008 ICML/COLT conferences. The joint award session identified it as a COLT 1998 paper.[1][2][3]

## Algorithm

Each labeled example contains both views and a known class. Each unlabeled example contains the paired views alone. The original binary classification algorithm draws a small working pool from the unlabeled examples. In each round, the classifiers train on the same labeled rows, each using its own columns. Each classifier selects its most confident positive and negative predictions in the pool. Both sets of selections join the shared labeled set, and fresh examples replenish the pool.[1]

### Pseudocode

The following describes a round of the original procedure. A selected example keeps both of its views when it enters the labeled set.[1]

~~~
Draw a working pool from the unlabeled examples.
Repeat for the chosen number of rounds:
    Fit the first classifier using the first view of the labeled set.
    Fit the second classifier using the second view of the labeled set.
    For each classifier, select its p strongest positive predictions
        and n strongest negative predictions from the working pool.
    Add the selected examples and their assigned labels to the shared set.
    Remove the selected examples from the pool and refill it at random
        from unused unlabeled examples.
~~~

### Hyperparameters and practical defaults

In the web experiment the pool held 75 examples. Each classifier chose one positive and three negative examples per round, and each run lasted 30 rounds. The authors chose the one-to-three quota to approximate the class proportions in their corpus. Other studies used different quotas. For instance, Nigam and Ghani took one document per class per classifier in a two-class text experiment.[1][4]

### Combining the two classifiers

Blum and Mitchell's combined classifier scored each class by multiplying the two classifiers' estimated probabilities. They also reported the results for each classifier separately.[1]

The distinction between this scoring rule and a joint probability matters when class frequencies differ. For two views that are independent given the class, Bayes' rule gives the following expression for a class $$y$$ with positive prior probability.[5]

$$
P(y\mid x_1,x_2)\ \propto\ \frac{P(y\mid x_1)\,P(y\mid x_2)}{P(y)}.
$$

Each single-view posterior already includes the class prior. Dividing once by that prior leaves one copy in the combined model. If all classes have equal priors, the division leaves the ranking unchanged.[5]

## Key assumptions

| Assumption | Meaning in the original analysis |
|------------|----------------------------------|
| Sufficiency | A target function exists for each view. In the idealized model, either view contains the information needed to determine the true label.[1] |
| Compatibility | The two **target functions** assign the same label to paired views with probability one. The fitted classifiers can still disagree while learning.[1] |
| Conditional independence | For the paper's noise-learning theorem, once the true label is known, observing one view provides no further information about the other.[1] |

Writing the paired views as $$X_1$$ and $$X_2$$ and the true label as $$Y$$, conditional independence means

$$
P(X_1=x_1,X_2=x_2\mid Y=y)
=P(X_1=x_1\mid Y=y)\,P(X_2=x_2\mid Y=y).
$$

These are distinct conditions. Two copies of the same noisy measurement can provide exactly the same clues while telling each classifier little beyond what it already knows. In the original web experiment, the authors also acknowledged that real pages could have inconsistent views.[1]

## Co-training vs. self-training

In [self-training](https://aiwiki.ai/wiki/self_training), a classifier adds its own confident predictions to its training data. Co-training gives each classifier access to labels selected using evidence it could not see. In the original shared-set implementation, the classifier also sees the examples it selected itself. A mistaken pseudo-label can therefore affect both learners.[1][4][6]

## Variants and extensions

Different extensions change the type of supervision, the number of learners or the source of their differences.

### Co-EM

Kamal Nigam and Rayid Ghani combined co-training with [expectation-maximization](https://aiwiki.ai/wiki/expectation_maximization) in 2000. In co-EM, one classifier assigns a probability distribution over classes to **every** unlabeled example. The classifier for the other view trains on those soft labels alongside the original labels, then returns its own updated distributions. Later rounds can revise the probability assigned to a document.[4]

### Tri-Training

Zhi-Hua Zhou and Ming Li's 2005 [tri-training](https://aiwiki.ai/wiki/tri_training) algorithm initializes three classifiers on bootstrap samples of the labeled data. Agreement between two classifiers makes an unlabeled example eligible to teach the third. The algorithm also estimates the pair's error and considers the number of proposed training examples before updating. All three classifiers can use the same features.[7]

### Democratic Co-Learning

Yan Zhou and Sally Goldman proposed democratic co-learning in 2004. Several learning algorithms operate on the same features. Their different inductive biases can produce different predictions, and the group uses voting to assign labels. Diversity thus comes from the choice of learners.[8]

### Single-view co-training

Nigam and Ghani investigated whether randomly partitioning a document vocabulary could substitute for a natural split. Their results depended on the dataset. On News5, which used five computer-related newsgroups, the incremental co-training algorithm with a random split had 28.0% error, compared with 27.0% for single-view self-training. Co-EM with a random split had 29.9% error, compared with 31.2% for single-view EM.[4]

### Multi-Head Co-Training

Mingcai Chen and colleagues published Multi-Head Co-Training at AAAI in **2022**. Several classification heads share part of one neural network. For each head, the other heads' predictions on weakly augmented images supply pseudo-labels, and the receiving head trains on a strongly augmented image. Table 1 reports 21.68% error on CIFAR-100 with 10,000 labels.[9]

### Deep Co-Training

Siyuan Qiao and colleagues' 2018 Deep Co-Training method uses multiple [deep neural networks](https://aiwiki.ai/wiki/deep_neural_network) for [image classification](https://aiwiki.ai/wiki/image_classification). The training objective encourages agreement on unlabeled images. A separate loss uses perturbed images to discourage the networks from learning identical decision functions. The authors evaluated the approach on SVHN, [CIFAR-10](https://aiwiki.ai/wiki/cifar_10), CIFAR-100 and [ImageNet](https://aiwiki.ai/wiki/imagenet).[10]

## Worked example: web page classification

Blum and Mitchell classified 1,051 pages collected from computer science departments at four universities. Course home pages made up 22% of the collection. The first view represented words on the page. The second represented the anchor text of links pointing to that page from other pages in the collection.[1]

Each of five random splits set aside 263 pages for testing. Training began with 12 labeled pages, three course pages and nine others. The remaining 776 pages supplied the unlabeled pool. Table 2 of the paper reports the following **mean test error across the five splits**.[1]

| Classifier | Using the 12 labels alone | With co-training |
|------------|---------------------------|------------------|
| Page text | 12.9% | 6.2% |
| Incoming link text | 12.4% | 11.6% |
| Combined | 11.1% | 5.0% |

The gain was uneven. The page classifier's error fell by 6.7 percentage points, while the link classifier's fell by 0.8 points. The authors suggested the shorter link descriptions might limit what that classifier could learn.[1]

## Co-training in NLP

| Task | How the study obtained different evidence |
|------|-------------------------------------------|
| [Named entity recognition](https://aiwiki.ai/wiki/named_entity_recognition) | Michael Collins and Yoram Singer classified extracted names as people, organizations or locations. One set of rules examined the name's spelling or words within it, while another examined its grammatical context.[11] |
| Statistical parsing | Anoop Sarkar used a lexicalized grammar, a corpus of sentences with annotated parse trees and additional unannotated sentences. The co-training procedure used a tagger and a parser to learn from those sentences.[12] |
| Cross-lingual [sentiment analysis](https://aiwiki.ai/wiki/sentiment_analysis) | Xiaojun Wan used machine translation to create Chinese and English versions of product reviews. The classifiers learned from labeled English reviews and unlabeled Chinese reviews, using the features of one language per classifier.[13] |

## Co-training and modern semi-supervised learning

Different algorithms make different uses of two representations of an image. [FixMatch](https://aiwiki.ai/wiki/fixmatch) takes a confident prediction from a weakly augmented image and trains the same model to reproduce it on a strongly augmented copy. Deep Co-Training maintains distinct predictors. Multi-Head Co-Training shares some weights but uses predictions from the other heads when supervising a given head.[9][10][14]

## When does co-training help?

A useful split lets one view identify examples that still teach the other view something. Nigam and Ghani tested this idea on News 2x2, an artificial dataset with independent, informative views built from newsgroup posts. Incremental co-training had 3.7% error using the designed split and 5.5% using a random split. The comparison isolates a property of that dataset. Its results need not carry over to an arbitrary division of features.[4]

### Failure modes

Confidence can outlast accuracy. In a study of base noun phrase identification, David Pierce and Claire Cardie found that co-training closed 36% of the error gap between systems trained with 500 and 211,000 labeled examples. Errors accumulating in the automatically labeled examples limited further improvement. Having a person correct selected labels gave the authors a way to study the effect of that noise.[6]

## Theoretical foundations

**Compatibility restricts the possible labels.** Blum and Mitchell represented pairs of views as a bipartite graph. Each distinct value in the first view is a vertex on the left, each distinct value in the second a vertex on the right, and each observed pair joins two vertices. Under full compatibility the label must be constant throughout a connected component. An unlabeled pair can therefore constrain possible classifiers even before the class of its component is known.[1]

**The original learnability theorem has additional conditions.** Under conditional independence, a weakly useful binary predictor in the first view can provide noisy labels for the second. If the second view's target class is learnable in the [PAC](https://aiwiki.ai/wiki/computational_learning_theory) model with random classification noise, Theorem 1 establishes learnability from that initial predictor and unlabeled data. The separately reported web experiment used an iterative selection heuristic.[1][15]

**Agreement and expansion give further results.** Under conditional independence, Sanjoy Dasgupta, Michael Littman and David McAllester derived bounds for rules that can abstain. Unlabeled data can establish agreement up to a permutation of the class names, and labeled examples can identify the permutation. Maria-Florina Balcan, Blum and Ke Yang later analyzed iterative co-training under a weaker distributional assumption called *expansion*. Roughly, when both learners cover some but not all positive examples, enough examples lie in the part covered by just one. Their guarantee also requires base learners with one-sided error.[15][16]

## Implementation considerations

The seed labels, unlabeled pairs and held-out evaluation data play different roles. Blum and Mitchell compared each view and the combined classifier against a baseline trained on the same 12 seed labels. Reporting those three comparisons showed that the incoming-link classifier improved much less than the page-text classifier, a difference concealed by the combined score alone.[1]

### Library support

The Python package *sslearn* provides a two-view CoTraining implementation as well as TriTraining and DemocraticCoLearning. Its estimators follow the [scikit-learn](https://aiwiki.ai/wiki/scikit_learn) fit and predict interface. The sslearn API identifies which wrappers require two input views and which accept different base learners.[17]

## Datasets and benchmarks

The original web collection and News 2x2 test different features of the algorithm. A web page and its incoming links are naturally paired. News 2x2 was constructed so the two parts of a document carry independently sampled evidence for the class. The image recognition studies use another setting again, in which distinct predictors or augmented versions of an image supply the views.[1][4][9][10]

## Connections to related ideas

Co-training is an example of [multi-view learning](https://aiwiki.ai/wiki/multi_view_learning). Other methods can also use paired observations with a different training objective. In [CLIP](https://aiwiki.ai/wiki/clip), for example, image and text encoders learn to identify which caption belongs with which image in a batch. The observed pair supplies the supervision for [contrastive learning](https://aiwiki.ai/wiki/contrastive_learning). Classical co-training instead needs a predicted class for an unlabeled example so that another view can learn from it.[1][18]

## Strengths and limitations

A co-trained classifier can use its own view at prediction time, even when the other view helped to train it. In a web collection, that makes it possible to measure separately how much the text and the links gained from the unlabeled pages. The same experiment illustrates a limitation. More examples give a classifier more training material, but a short or ambiguous link can still provide little evidence about the destination. The practical value depends on what each view reveals and the accuracy of the labels it supplies.[1][6]

## Frequently asked questions

### Is co-training the same as ensemble learning?

Combining classifiers at prediction time is optional in co-training. The defining interaction takes place during training, when a label inferred from one view becomes training data for the other. The original paper evaluated both individual and combined predictions.[1]

### Can co-training be used for regression?

Yes. In their 2005 COREG algorithm, Zhou and Li used two nearest-neighbor regressors with different distance metrics. Each regressor proposes a numeric label for the other. Its estimate of confidence depends on whether adding that example improves predictions on nearby labeled points. The final prediction averages the two regressors' estimates.[19]

### What if I cannot easily split my features into two views?

Tri-training can use bootstrap samples to create different learners from one set of features. Democratic co-learning uses different learning algorithms. The results of random vocabulary splits in text experiments depended on the dataset and the algorithm.[4][7][8]

### Why use two views instead of just self-training?

An example already obvious to one classifier can expose the other to new evidence about the same class. In name classification, for example, a familiar honorific can help label an instance whose surrounding context is new to the context classifier. That transfer depends on the inferred label being reliable.[6][11]

### Has deep learning made co-training obsolete?

Researchers have adapted co-training to neural networks. Deep Co-Training uses separate networks, and Multi-Head Co-Training places several predictors in one model. Both address the question of how to keep learners sufficiently different to learn from each other.[9][10]

## Explain like I'm 5 (ELI5)

Imagine two people sorting picture books about animals. One sees only the covers, the other only the titles. They start with a few books labeled "cat" or "dog." If the first person recognizes a cat on the cover, the second can use that book to learn a new word for cat. On another book, the title might be the clearer clue. If either person guesses wrong, the other can learn the wrong lesson. Co-training works the same way with two descriptions of an example.[1][6]

## See also

- [Semi-supervised learning](https://aiwiki.ai/wiki/semi-supervised_learning)
- [Self-training](https://aiwiki.ai/wiki/self_training)
- [Tri-training](https://aiwiki.ai/wiki/tri_training)
- [Pseudo-labeling](https://aiwiki.ai/wiki/pseudo_labeling)
- [FixMatch](https://aiwiki.ai/wiki/fixmatch)
- [MixMatch](https://aiwiki.ai/wiki/mixmatch)
- [Virtual Adversarial Training](https://aiwiki.ai/wiki/virtual_adversarial_training)
- [Multi-view learning](https://aiwiki.ai/wiki/multi_view_learning)
- [Contrastive learning](https://aiwiki.ai/wiki/contrastive_learning)
- [Active learning](https://aiwiki.ai/wiki/active_learning)
- [Knowledge distillation](https://aiwiki.ai/wiki/knowledge_distillation)

## References

1. Avrim Blum and Tom Mitchell. [Combining Labeled and Unlabeled Data with Co-Training](https://publications.ri.cmu.edu/storage/publications/pub_files/pub1/blum_a_1998_1/blum_a_1998_1.pdf). COLT, 1998, pp. 92-100.
2. Tom Mitchell. [Selected Publications](https://www.cs.cmu.edu/afs/cs/usr/mitchell/ftp/publications.html). Carnegie Mellon University. Entry for the 1998 COLT paper and the 2008 Test of Time Award.
3. ICML 2008. [Detailed Sessions](https://icml.cc/Conferences/2008/detailed_sessions.shtml.html). Joint award paper session, Helsinki, 2008.
4. Kamal Nigam and Rayid Ghani. [Analyzing the Effectiveness and Applicability of Co-training](https://faculty.washington.edu/fxia/courses/LING572/cotraining_nigam00.pdf). CIKM, 2000, pp. 86-93.
5. Josef Kittler, Mohamad Hatef, Robert P. W. Duin and Jiri Matas. [On Combining Classifiers](https://homes.cs.bilkent.edu.tr/~saksoy/courses/cs551-Spring2009/papers/kittler98_classcomb.pdf). IEEE Transactions on Pattern Analysis and Machine Intelligence, 1998, section 2.1.
6. David Pierce and Claire Cardie. [Limitations of Co-Training for Natural Language Learning from Large Datasets](https://aclanthology.org/W01-0501/). EMNLP, 2001.
7. Zhi-Hua Zhou and Ming Li. [Tri-Training: Exploiting Unlabeled Data Using Three Classifiers](https://www.lamda.nju.edu.cn/publication/tkde05.pdf). IEEE Transactions on Knowledge and Data Engineering, 2005.
8. Yan Zhou and Sally Goldman. [Democratic Co-Learning](https://doi.org/10.1109/ICTAI.2004.48). IEEE International Conference on Tools with Artificial Intelligence, 2004, pp. 594-602.
9. Mingcai Chen, Yuntao Du, Yi Zhang, Shuwei Qian and Chongjun Wang. [Semi-supervised Learning with Multi-Head Co-Training](https://cdn.aaai.org/ojs/20577/20577-13-24590-1-2-20220628.pdf). AAAI, 2022.
10. Siyuan Qiao, Wei Shen, Zhishuai Zhang, Bo Wang and Alan Yuille. [Deep Co-Training for Semi-Supervised Image Recognition](https://openaccess.thecvf.com/content_ECCV_2018/html/Siyuan_Qiao_Deep_Co-Training_for_ECCV_2018_paper.html). ECCV, 2018, pp. 135-152.
11. Michael Collins and Yoram Singer. [Unsupervised Models for Named Entity Classification](https://aclanthology.org/W99-0613/). EMNLP/VLC, 1999.
12. Anoop Sarkar. [Applying Co-Training Methods to Statistical Parsing](https://aclanthology.org/N01-1023/). NAACL, 2001.
13. Xiaojun Wan. [Co-Training for Cross-Lingual Sentiment Classification](https://aclanthology.org/P09-1027/). ACL-IJCNLP, 2009, pp. 235-243.
14. Kihyuk Sohn and colleagues. [FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence](https://papers.nips.cc/paper/2020/hash/06964dce9addb1c5cb5d6e3d9838f733-Abstract.html). NeurIPS, 2020.
15. Sanjoy Dasgupta, Michael L. Littman and David A. McAllester. [PAC Generalization Bounds for Co-training](https://proceedings.neurips.cc/paper_files/paper/2001/hash/4c144c47ecba6f8318128703ca9e2601-Abstract.html). NIPS, 2001.
16. Maria-Florina Balcan, Avrim Blum and Ke Yang. [Co-Training and Expansion: Towards Bridging Theory and Practice](https://proceedings.neurips.cc/paper/2004/file/9457fc28ceb408103e13533e4a5b6bd1-Paper.pdf). NIPS, 2004.
17. José L. Garrido-Labrador and contributors. [sslearn API documentation](https://jlgarridol.github.io/sslearn/sslearn.html). Wrapper estimators.
18. Alec Radford and colleagues. [Learning Transferable Visual Models From Natural Language Supervision](https://proceedings.mlr.press/v139/radford21a.html). ICML, 2021, pp. 8748-8763.
19. Zhi-Hua Zhou and Ming Li. [Semi-Supervised Regression with Co-Training](https://ijcai.org/proceedings/2005/66). IJCAI, 2005, pp. 908-915.

