ArticleslgStudy

computer science

CoBoosting

CoBoosting 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 CoBoosting rather than just read about it. In short: CoBoost is a semi-supervised training algorithm proposed by Collins and Singer in 1999. The original application for the algorithm was the task of named-entity recognition using very weak learners, but it can be used for performing semi-supervised learning in cases where data features may be redundant.

Key takeaways

  • CoBoosting 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 CoBoosting to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of CoBoosting from memory before moving on to harder problems.

Reference excerpt

CoBoost is a semi-supervised training algorithm proposed by Collins and Singer in 1999. The original application for the algorithm was the task of named-entity recognition using very weak learners, but it can be used for performing semi-supervised learning in cases where data features may be redundant. It may be seen as a combination of co-training and boosting. Each example is available in two views (subsections of the feature set), and boosting is applied iteratively in alternation with each view using predicted labels produced in the alternate view on the previous iteration. CoBoosting is not a valid boosting algorithm in the PAC learning sense.

Motivation CoBoosting was an attempt by Collins and Singer to improve on previous attempts to leverage redundancy in features for training classifiers in a semi-supervised fashion. CoTraining, a seminal work by Blum and Mitchell, was shown to be a powerful framework for learning classifiers given a small number of seed examples by iteratively inducing rules in a decision list. The advantage of CoBoosting to CoTraining is that it generalizes the CoTraining pattern so that it could be used with any classifier. CoBoosting accomplishes this feat by borrowing concepts from AdaBoost. In both CoTrain and CoBoost the training and testing example sets must follow two properties. The first is that the feature space of the examples can separated into two feature spaces (or views) such that each view is sufficiently expressive for classification. Formally, there exist two functions f1(x1) and f2(x2) such that for all examples x=(x1,x2), f1(x1)=f2(x2)=f(x). While ideal, this constraint is in fact too strong due to noise and other factors, and both algorithms instead seek to maximize the agreement between the two functions. The second property is that the two views must not be highly correlated.

Algorithm Input: {(x1,i,x2,i)}i=1n, {yi}i=1m Initialize: ∀i,j:gj0(𝒙𝒊)=0. For t=1,...,T and for j=1,2: Set pseudo-labels: yî={yi,1≤i≤msign(g3−jt−1(𝒙3−𝒋,𝒊)),m<i≤n Set virtual distribution: Dtj(i)=1Ztje−yîgjt−1(𝒙𝒋,𝒊) where Ztj=∑i=1ne−yîgjt−1(𝒙𝒋,𝒊) Find the weak hypothesis htj that minimizes expanded training error. Choose value for αt that minimizes expanded training error. Update the value for current strong non-thresholded classifier: ∀i:gjt(𝒙𝒋,𝒊)=gjt−1(𝒙𝒋,𝒊)+αthtj(𝒙𝒋,𝒊) The final strong classifier output is f(𝒙)=sign(∑j=12gjT(𝒙𝒋))

Setting up AdaBoost CoBoosting builds on the AdaBoost algorithm, which gives CoBoosting its generalization ability since AdaBoost can be used in conjunction with many other learning algorithms. This build up assumes a two class classification task, although it can be adapted to multiple class classification. In the AdaBoost framework, weak classifiers are generated in series as well as a distribution over examples in the training set. Each weak classifier is given a weight and the final strong classifier is defined as the sign of the sum of the weak classifiers weighted by their assigned weight. (See AdaBoost Wikipedia page for notation). In the AdaBoost framework Schapire and Singer have shown that the training error is bounded by the following equation: 1m∑i=1me(−yi(∑t=1Tαtht(𝒙𝒊)))=∏tZt Where Zt is the normalizing factor for the distribution Dt+1. Solving for Zt in the equation for Dt(i) we get: Zt=∑i:xt∉xiDt(i)+∑i:xt∈xiDt(i)e−yiαiht(𝒙𝒊) Where xt is the feature selected in the current weak hypothesis. Three equations are defined describing the sum of the distributions for in which the current hypothesis has selected either correct or incorrect label. Note that it is possible for the classifier to abstain from selecting a label for an example, in which the label provided is 0. The two labels are selected to be either -1 or 1. W0=∑i:ht(xi)=0Dt(i) W+=∑i:ht(xi)=yiDt(i) W−=∑i:ht(xi)=−yiDt(i) Schapire and Singer have shown that the value Zt can be minimized (and thus the training error) by selecting αt to be as follows: αt=12ln⁡(W+W−) Providing confidence values for the current hypothesized classifier based on the number of correctly classified vs. the number of incorrectly classified examples weighted by the distribution over examples. This equation can be smoothed to compensate for cases in which W− is too small. Deriving Zt from this equation we get: Zt=W0+2W+W− The training error thus is minimized by selecting the weak hypothesis at every iteration that minimizes the previous equation.

AdaBoost with two views CoBoosting extends this framework in the case where one has a labeled training set (examples from 1...m) and an unlabeled training set (from m1...n), as well as satisfy the conditions of redundancy in features in the form of xi=(x1,i,x2,i). The algorithm trains two classifiers in the same fashion as AdaBoost that agree on the labeled training sets correct labels and maximizes the agreement between the two classifiers on the unlabeled training set. The final classifier is the sign of the sum of the two strong classifiers. The bounded training error on CoBoost is extended as follows, where ZCO is the extension of Zt: ZCO=∑i=1me−yig1(𝒙1,𝒊)+∑i=1me−yig2(𝒙2,𝒊)+∑i=m+1ne−f2(𝒙2,𝒊)g1(𝒙1,𝒊)+∑i=m+1ne−f1(𝒙1,𝒊)g2(𝒙2,𝒊) Where gj is the summation of hypotheses weight by their confidence values for the jth view (j = 1 or 2). fj is the sign of gj. At each iteration of CoBoost both classifiers are updated iteratively. If gjt−1 is the strong classifier output for the jth view up to the t−1 iteration we can set the pseudo-labels for the jth update to be: yî={yi1≤i≤msign(g3−jt−1(𝒙3−𝒋,𝒊))m<i≤n In which 3−j selects the other view to the one currently being updated. ZCO is split into two such that ZCO=ZCO1+ZCO2. Where ZCOj=∑i=1ne−yî(gjt−1(𝒙𝒊)+αtjgtj(𝒙𝒋,𝒊)) The distribution over examples for each view j at iteration t is defined as follows: Dtj(i)=1Ztje−yîgjt−1(𝒙𝒋,𝒊) At which point ZCOj can be rewritten as ZCOj=∑i=1nDtje−yîαtjgtj(𝒙𝒋,𝒊) Which is identical to the equation in AdaBoost. Thus the same process can be used to update the values of αtj as in AdaBoost using yî and Dtj. By alternating this, the minimization of ZCO1 and ZCO2 in this fashion ZCO is minimized in a greedy fashion.

References

Footnotes

Worked examples

Example 1 — a first encounter with CoBoosting

Start with the simplest possible case. Write down what CoBoosting 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 CoBoosting 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 CoBoosting 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 CoBoosting

In research
CoBoosting 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 CoBoosting 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
CoBoosting is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classification algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for CoBoosting 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 “CoBoosting” →

How to study CoBoosting in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what CoBoosting 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 CoBoosting out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is CoBoosting in simple terms?

CoBoost is a semi-supervised training algorithm proposed by Collins and Singer in 1999. The original application for the algorithm was the task of named-entity recognition using very weak learners, but it can be used for performing semi-supervised learning in cases where data features may be redund…

Why does CoBoosting 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 CoBoosting?

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 CoBoosting.

Tags

  • Classification algorithms

Keep exploring