ArticleslgStudy

computer science

Co-training

Co-training is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Co-training rather than just read about it. In short: Co-training is a machine learning algorithm used when there are only small amounts of labeled data and large amounts of unlabeled data. One of its uses is in text mining for search engines.

Key takeaways

  • Co-training belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Co-training to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Co-training from memory before moving on to harder problems.

Reference excerpt

Co-training is a machine learning algorithm used when there are only small amounts of labeled data and large amounts of unlabeled data. One of its uses is in text mining for search engines. It was introduced by Avrim Blum and Tom Mitchell in 1998.

Algorithm design Co-training is a semi-supervised learning technique that requires two views of the data. It assumes that each example is described using two different sets of features that provide complementary information about the instance. Ideally, the two views are conditionally independent (i.e., the two feature sets of each instance are conditionally independent given the class) and each view is sufficient (i.e., the class of an instance can be accurately predicted from each view alone). Co-training first learns a separate classifier for each view using any labeled examples. The most confident predictions of each classifier on the unlabeled data are then used to iteratively construct additional labeled training data. The original co-training paper described experiments using co-training to classify web pages into "academic course home page" or not; the classifier correctly categorized 95% of 788 web pages with only 12 labeled web pages as examples. The paper has been cited over 1000 times, and received the 10 years Best Paper Award at the 25th International Conference on Machine Learning (ICML 2008), a renowned computer science conference. Krogel and Scheffer showed in 2004 that co-training is only beneficial if the data sets are independent; that is, if one of the classifiers correctly labels a data point that the other classifier previously misclassified. If the classifiers agree on all unlabeled data, i.e. they are dependent, labeling the data does not create new information. In an experiment where dependence of the classifiers was greater than 60%, results worsened.

Uses Co-training has been used to classify web pages using the text on the page as one view and the anchor text of hyperlinks on other pages that point to the page as the other view. Simply put, the text in a hyperlink on one page can give information about the page it links to. Co-training can work on "unlabeled" text that has not already been classified or tagged, which is typical for the text appearing on web pages and in emails. According to Tom Mitchell, "The features that describe a page are the words on the page and the links that point to that page. The co-training models utilize both classifiers to determine the likelihood that a page will contain data relevant to the search criteria." Text on websites can judge the relevance of link classifiers, hence the term "co-training". Mitchell claims that other search algorithms are 86% accurate, whereas co-training is 96% accurate. Co-training was used on FlipDog.com, a job search site, and by the U.S. Department of Labor, for a directory of continuing and distance education. It has been used in many other applications, including statistical parsing and visual detection.

References

Notes Chakrabarti, Soumen (2002). Mining the Web: Discovering Knowledge from Hypertext Data. Morgan-Kaufmann Publishers. p. 352. ISBN 978-1-55860-754-5. Nigam, Kamal; Rayid Ghani (2000). "Analyzing the Effectiveness and Applicability of Co-training". Proceedings of the Ninth International Conference on Information and Knowledge Management. NY, USA: ACM: 86–93. Abney, Steven (2007). Semisupervised Learning for Computational Linguistics. CRC Computer Science & Data Analysis. Chapman & Hall. p. 308. ISBN 978-1-58488-559-7. Wang, William Yang; Kapil Thadani; Kathleen McKeown (2011). Identifying Event Descriptions using Co-training with Online News Summaries (PDF). the 5th International Joint Conference on Natural Language Processing (IJCNLP 2011). AFNLP & ACL.

External links Lecture by Tom Mitchell introducing co-training and other semi-supervised machine learning for use on unlabeled data Lecture by Avrim Blum on semi-supervised learning, including co-training Co-Training group at Pittsburgh Science of Learning Center

Worked examples

Example 1 — a first encounter with Co-training

Start with the simplest possible case. Write down what Co-training claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Co-training before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Co-training ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Co-training

In research
Co-training appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Co-training in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Co-training is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classification algorithms, Machine learning, Machine learning algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Co-training outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Co-training” →

How to study Co-training in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Co-training means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Co-training out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Co-training in simple terms?

Co-training is a machine learning algorithm used when there are only small amounts of labeled data and large amounts of unlabeled data. One of its uses is in text mining for search engines.

Why does Co-training matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Co-training?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Co-training.

Tags

  • Classification algorithms
  • Machine learning
  • Machine learning algorithms

Keep exploring