Elamur Research

Label-Noise Robust Logistic Regression and Its Applications

Paper · 2012 · Jakramate Bootkrajang and Ata Kabán

Summary

A training label records what someone or something called an example. In supervised machine learning, that label usually supplies the answer the classifier is expected to learn. If some tumour tissues are recorded as normal, or an image search for bikes returns pictures whose main subject is something else, following the recorded answers can lead the classifier to learn the wrong distinction. Bootkrajang and Kabán develop a version of logistic regression that learns from such examples without first having to decide which ones to discard or relabel.

Their method distinguishes the class an example belongs to from the label attached to it. Logistic regression estimates the class from the example’s features. A separate table gives the probability of each recorded label for each possible true class. During training, the authors alternate between fitting the classifier and estimating this table. At prediction time, they use the estimated probabilities of the true classes. The same construction works for binary and multiclass problems. The paper derives multiplicative updates for the table and shows that the alternating updates improve or preserve the training objective. It also develops a sparsity-promoting extension for settings such as gene expression analysis, where the feature list can be much longer than the list of training examples and validation labels may themselves be unreliable.

On the UCI Boston, Liver and Iris datasets, the authors deliberately introduce asymmetric label errors so they can check both classification and the detection of examples whose labels were changed. The robust classifiers show better overall classification performance than the comparison methods in these experiments. In a separate experiment on bike images, both logistic classifiers train on labels derived from search queries and are tested against manual judgments. The robust version reports an average generalisation error of 15.67%, compared with 18.09% for ordinary logistic regression.

The applications also show what the fitted probabilities can reveal about a dataset. In colon cancer tissue data, the method flags samples for which gene expression and the recorded class disagree, with different initialisations bringing different suspects to attention. In a subset of Newsgroups, the estimated transitions give a directed view of which topics tend to be assigned to one another. These uses place different demands on the evidence. Deliberate label flips supply known answers for a detection test, manual image labels provide a separate test target, and the tissue and topic analyses support interpretations that depend on the available evidence about those datasets.

Deep dive: Label-Noise Robust Logistic Regression and Its Applications

Label-noise robust logistic regression learns to classify examples while estimating how often their training labels switch from one class to another. · about 38 minutes to read

The problem and its context

The recorded answer can distort the task

Supervised classification starts with examples described by features and tagged with class labels. The features are the measurements available to a classifier when it has to make a prediction. The tags indicate the class it should learn to assign. To train a tissue classifier, for example, a researcher can pair measurements of gene expression with a recorded tissue category. The classifier then estimates how those measurements relate to the categories. That relationship is useful only insofar as the training tags convey the distinction the researcher wants the classifier to learn.

An incorrect label can be attached to an example whose features are perfectly usable. A tissue sample may still have an informative expression profile, and an image returned by search still has visual content that could help a classifier. The error lies in the association between the example and its recorded category. Ordinary logistic regression uses that association as evidence when choosing its weights. If errors systematically occur more frequently in one direction, some examples exert pressure on the fit that is systematically different from the pressure exerted by correctly labelled examples.

The paper focuses on asymmetric noise, where the chance of a flip can differ according to the true class. In a tissue problem, this would mean that a normal tissue’s chance of being recorded as tumour could differ from a tumour tissue’s chance of being recorded as normal. For multiple classes, asymmetry can involve both the frequency of errors and their destinations. An example from a given class might frequently receive a particular neighbouring class’s label and rarely receive others. The authors cite earlier theoretical work for the observation that symmetric noise can be relatively harmless and choose asymmetric corruption for their controlled tests. That choice makes the direction of an error part of the learning problem.

Small datasets make the problem particularly consequential. The paper points to reported labelling problems in biomedical studies with only tens of examples. Removing an example in such a setting removes its features as well as its label. Relabelling preserves the measurements but introduces a new judgment that also needs justification. The authors want to retain the examples and account for uncertain labels when estimating the classification rule. They also want to do so with a single set of recorded labels, where each training example brings only its own potentially unreliable class assignment.

How earlier approaches used the labels

One line of earlier work treated label errors as something to address before fitting a classifier. A cleaning procedure might identify examples whose labels look suspicious and remove them, or change their labels to ones judged more plausible. The paper’s concern is the loss of useful information when the cleaner makes a mistake, especially with limited training data. A difficult example can be informative about the distinction between classes even if it resembles examples from another class. Depuration, the nearest-neighbour method used in the experiments, represents the family of approaches that draw on local relationships among examples to address label contamination.

Another line of work included the underlying class as an unobserved variable. The authors describe predecessors in epidemiology, econometrics and computer-aided diagnosis. In one predecessor, logistic regression allowed for uncertain labels when the probabilities of a flip were known. Estimating those probabilities from the same data was the difficulty the earlier work identified. The authors also describe an econometric specification with a similar structure, for which they say the earlier study gave no fitting algorithm. The contribution here concerns how to fit the classifier and the error probabilities together.

Earlier work on learning from crowds had used multiple noisy assignments for each example. Several people’s labels can provide evidence about disagreements on a particular item, and the study discussed in the paper reports a benefit from using multiple sets of such labels. Bootkrajang and Kabán formulate their problem for a single assignment per example. Their later image experiment illustrates the distinction. The training label comes from the query used to retrieve the image. A manual judgment is available for evaluation, while fitting proceeds from the query-derived labels alone.

The burden on the fitted classifier is therefore substantial. From the way features and recorded labels vary across the collection, it must estimate both the class distinction and the tendency for labels to depart from that distinction. The paper supplies a specific assumption to organize that evidence. For a given true class, every example shares the same probabilities of being recorded under the available labels. This allows examples to contribute jointly to an estimate of each transition, even when their individual class memberships remain uncertain.

A separate decision arises when there are many features and the fitting procedure needs to control how readily it uses them. Sparse estimation aims to concentrate the classifier on a subset of useful features by shrinking coefficients toward zero. The paper situates this idea in earlier work on the generalised lasso, relevance determination and Bayesian regularisation. Its concern is how to set the strength of the penalties. A conventional cross-validation procedure uses part of the available labelled data to judge settings chosen with the rest. If that validation part has the same labelling problem, the judgments it supplies may favour settings that reproduce the errors.

The authors discuss prior work that assumes access to a trusted validation set. Such a set can be valuable when available. In the paper’s small-sample setting, securing it can be unrealistic, and holding it aside can leave fewer examples for the fit. Their sparse extension uses a separate penalty for each feature and integrates over the penalty parameters under a specified prior. This shifts the choice of penalties into the fitting procedure. It addresses the use of noisy labels for selection while retaining the noisy examples as evidence for the classifier.

The method, step by step

Learn which class would generate the features’ label probabilities

The easiest way to understand the procedure is to imagine two questions about each training item. Given the features of this item, which class is plausible? Given each plausible true class, how likely would the recorded label be? Ordinary logistic regression makes the first judgment and directly scores it against the record. The robust version uses both judgments when scoring the record. For example, a tumour-like expression profile with a normal label can receive some probability through the possibility that a tumour tissue was recorded as normal. It can also receive probability through the possibility that the tissue really is normal. The fit weighs these possibilities across the dataset.

The authors write the training collection as follows.

D = {(xₙ, ỹₙ) : n = 1, …, N},  xₙ ∈ ℝᵐ,  ỹₙ ∈ {0, 1}

D is the training collection, n indexes its examples and N is their total. Each xₙ is a vector of m real-valued features, with ℝᵐ denoting the space of those vectors. The symbol ỹₙ is the observed label. The values 0 and 1 name the two binary classes.

The ordinary logistic classifier uses the following log-likelihood for recorded labels.

ℓ = Σₙ₌₁ᴺ [ỹₙ log p(ỹ = 1 | xₙ, w) + (1 − ỹₙ) log p(ỹ = 0 | xₙ, w)]

Here ℓ is the sum of log probabilities assigned to the training records. The summation runs over examples n through N, and log is the natural logarithm. The notation p(ỹ = k | xₙ, w) gives the probability of a recorded label ỹ equal to class k given the feature vector xₙ and weights w. The factors ỹₙ and 1 − ỹₙ select the term for the recorded class. The vector w determines the orientation of the separating plane.

For a binary classifier, the logistic or sigmoid function turns a feature score into a probability. In the robust method it describes the true class, which the authors treat as latent, meaning that its value is hidden during training.

p(y = 1 | xₙ, w) = σ(wᵀxₙ) = 1 / (1 + exp(−wᵀxₙ))

The variable y denotes the true class. The function σ is the sigmoid, exp is the exponential function, and wᵀxₙ is the dot product of the weights with the example’s features, with ᵀ denoting transpose. The probability of true class 0 is the complement of the probability of true class 1. As the score rises, the assigned probability of class 1 rises.

A second set of parameters describes what is recorded given the true class.

γⱼₖ = p(ỹ = k | y = j)

The entry γⱼₖ is the probability that an example from true class j receives recorded class k. In the matrix Γ, rows are indexed by true class j and columns by recorded class k. A diagonal entry gives the probability of keeping the true label. An off-diagonal entry gives the probability of a flip in the indicated direction. The entries in any row sum to 1 because the possible recorded labels exhaust the outcomes for that true class.

Give the observed label all the ways it could have occurred

To score a recorded label, the method adds the contributions from each possible true class. Each contribution is a product. One factor measures how plausible that true class is given the features. The other measures how likely the observed label would be if the example belonged to that class.

Sₙₖ = p(ỹ = k | xₙ, w) = Σⱼ₌₀¹ γⱼₖ p(y = j | xₙ, w)

Sₙₖ is the probability of recording class k for example n. The sum uses the binary true classes j from 0 to 1, with γⱼₖ giving the transition probability and p(y = j | xₙ, w) giving the true-class probability. The notation for the recorded-label probability suppresses its dependence on Γ. The matrix is required to evaluate it.

The resulting training objective has the same outer shape as the ordinary binary log-likelihood. Its probabilities now include the label transitions.

L(w) = Σₙ₌₁ᴺ [ỹₙ log Sₙ₁ + (1 − ỹₙ) log Sₙ₀]

L(w) is the objective as a function of the weights with the matrix understood. The summation covers the N examples. The observed label ỹₙ selects either Sₙ₁ for recorded class 1 or Sₙ₀ for recorded class 0, and log takes the logarithm of that probability. If the transition matrix always preserves the true class, Sₙₖ is simply the logistic probability of class k and the objective reduces to ordinary logistic regression.

That limiting case helps explain how the robust fit uses a disagreement. If a flip is impossible, an example’s features must support its recorded class to give the record high probability. With a non-zero chance of flipping, the classifier can also explain some records through the other true class. How much that possibility matters depends on the fitted transition probabilities and the strength of the feature evidence. The paper calls this binary procedure rLR.

The class of a new example is predicted from the feature-based part of the fit. For a new feature vector x_q, the rule predicts class 1 when the sigmoid probability of true class 1 exceeds 0.5 and otherwise predicts class 0. The subscript q denotes the new example. The transition table enters during fitting because the training target is a record. The target at prediction time is the underlying class.

Fitting label-noise robust logistic regression

The steps in order.

Fitting label-noise robust logistic regressionStep 1: Start with features, recorded labels and initial parameters1. Start with features, recorded labels and initial parametersStep 2: Estimate true-class probabilities from the features2. Estimate true-class probabilities from the featuresStep 3: Mix them through the label transition matrix3. Mix them through the label transition matrixStep 4: Improve classifier weights with transitions fixed4. Improve classifier weights with transitions fixedStep 5: Reestimate transitions with classifier weights fixed5. Reestimate transitions with classifier weights fixedStep 6: Repeat the updates until convergence6. Repeat the updates until convergenceStep 7: Predict from the fitted true-class probabilities7. Predict from the fitted true-class probabilities

Adjust the classifier weights

The fitting procedure alternates between the weights and the transition matrix. Holding the matrix fixed turns the first part into an optimisation over the coefficients of the classifier. The paper uses conjugate gradients, which chooses a search direction using information from both the current gradient and the preceding direction. The gradient is the vector of derivatives of the objective with respect to the weights. Its components indicate which local changes in the weights increase or decrease the objective.

g = Σₙ₌₁ᴺ [ỹₙ(γ₁₁ − γ₀₁)/Sₙ₁ + (1 − ỹₙ)(γ₁₀ − γ₀₀)/Sₙ₀] σ(wᵀxₙ)[1 − σ(wᵀxₙ)]xₙ

Here g is the gradient of L with respect to w. The recorded label ỹₙ selects a transition difference and a recorded-label probability Sₙ₁ or Sₙ₀ for instance n. The γ entries are the probabilities for the indicated true and recorded classes. The two sigmoid factors give the derivative of σ at score wᵀxₙ. Multiplying by xₙ gives the contribution across feature coefficients. The sum runs over all N training examples.

The transition differences appear because raising the true probability of one class reduces the probability of the other. For a record in class 1, raising the true probability of class 1 increases the predicted probability of that record in proportion to γ₁₁ and reduces the contribution from true class 0 in proportion to γ₀₁. The effect is their difference. The second transition difference applies the same reasoning to a recorded 0. The matrix therefore affects how strongly the weights respond to evidence in each part of the training data. When the matrix preserves both labels with certainty, the paper notes that the expression becomes the gradient of classical logistic regression.

u = g − βu_old

The vector u is the current search direction, g is the current gradient, and u_old is the previous search direction. The scalar β determines the amount of that previous direction used in the current step.

β = [gᵀ(g − g_old)] / [u_oldᵀ(g − g_old)]

This is the paper’s Hestenes–Stiefel choice for β. The vector g_old is the previous gradient. As above, g is its current counterpart, u_old is the preceding search direction, and ᵀ turns the products of vectors into dot products.

w_new = w_old − [(gᵀu)/(uᵀHu)]u

The vector w_old contains the weights before the step and w_new contains them afterwards. The vector u gives the direction of movement, g gives the gradient, and H is the Hessian, the matrix of second derivatives of the objective. The product gᵀu gives the slope along the direction, while uᵀHu expresses the curvature in that direction. The paper describes this as a Newton update along the chosen direction.

Reestimate how labels change

With the weights fixed, the next step uses the current feature-based estimates to revise the transition table. An example with recorded class 0 contributes to the estimates for the column corresponding to recorded 0. Its contribution can be shared across the rows for true classes 0 and 1. The share depends on the feature-based probabilities and on how likely each true class was to produce the record under the current transitions. The normalization compares each possible recorded outcome with the total assigned evidence for its true class.

For the binary case, the paper gives updates for the diagonal entries. The companion entry in each row is then determined by the row’s sum constraint. The arrows below distinguish the value being updated from the values used to calculate it.

γ₀₀ ← [γ₀₀ Σₙ₌₁ᴺ (1 − ỹₙ)[1 − σ(wᵀxₙ)]/Sₙ₀] / [γ₀₀ Σₙ₌₁ᴺ (1 − ỹₙ)[1 − σ(wᵀxₙ)]/Sₙ₀ + γ₀₁ Σₙ₌₁ᴺ ỹₙ[1 − σ(wᵀxₙ)]/Sₙ₁]

The symbol ← indicates replacement by the calculated value. The entry γ₀₀ is the probability of keeping true class 0 and γ₀₁ is the probability of recording it as 1. The sums run over examples n through N. The terms 1 − ỹₙ and ỹₙ select the records in classes 0 and 1, respectively. The complementary sigmoid 1 − σ(wᵀxₙ) is the probability of true class 0 from weights w and features xₙ. The denominators Sₙ₀ and Sₙ₁ give the corresponding probabilities of the recorded outcomes.

γ₁₁ ← [γ₁₁ Σₙ₌₁ᴺ ỹₙσ(wᵀxₙ)/Sₙ₁] / [γ₁₀ Σₙ₌₁ᴺ (1 − ỹₙ)σ(wᵀxₙ)/Sₙ₀ + γ₁₁ Σₙ₌₁ᴺ ỹₙσ(wᵀxₙ)/Sₙ₁]

Here γ₁₁ is the probability of keeping true class 1 and γ₁₀ is the probability of recording it as 0. The other quantities have the same roles as in the update for the first row, with σ(wᵀxₙ) now giving the probability of true class 1. The denominator pools evidence for the two ways that true class can be recorded. In both updates, multiplying by the current γ entry and normalizing yield a new transition probability.

These expressions show how an example can inform the error estimates even when its true class is uncertain. Suppose a recorded 1 has high feature-based probability of belonging to class 0. It can contribute to the category of examples whose true class is 0 and whose recorded class is 1. The size of that contribution also depends on the current chance of such a flip and the overall probability of recording 1 for that example. No hard decision about its true class is needed to take the update.

Extend the same construction to several classes

For the multiclass version, rmLR, there is a separate weight vector for each class. The sigmoid is replaced by the softmax, which assigns a probability to each class by exponentiating its score and dividing by the sum of all the exponentiated scores.

pₙⱼ = exp(wⱼᵀxₙ) / Σₗ₌₀ᴷ⁻¹ exp(wₗᵀxₙ)

The symbol pₙⱼ abbreviates the probability that example n truly belongs to class j given its features. K is the number of classes, with indices running from 0 through K − 1. The vector wⱼ contains the weights for class j, while l indexes the competing class weight vectors wₗ in the denominator. The feature vector xₙ and the transpose symbol ᵀ form each class score. The function exp exponentiates that score. The shared denominator makes the class probabilities sum to 1.

Sₙₖ = Σⱼ₌₀ᴷ⁻¹ γⱼₖpₙⱼ

Sₙₖ is the probability that example n is recorded in class k. The sum covers every possible true class j, multiplying the true-class probability pₙⱼ by the transition probability γⱼₖ. A row of Γ can now assign its probability to several destinations in addition to its diagonal entry.

L(w) = Σₙ₌₁ᴺ Σₖ₌₀ᴷ⁻¹ δ(ỹₙ = k) log Sₙₖ

The objective L uses w for the collection of all class weight vectors. The outer sum covers N examples and the inner sum covers K possible recorded classes. The indicator δ(ỹₙ = k) returns 1 when the record for instance n is k and 0 otherwise. The log is therefore taken for the probability Sₙₖ of the actual record, with only that term contributing for each example.

For the weight update, the same search procedure can use the gradient with respect to each class vector.

g_c = Σₙ₌₁ᴺ Σₖ₌₀ᴷ⁻¹ [δ(ỹₙ = k)/Sₙₖ] × [exp(w_cᵀxₙ)xₙ Σⱼ₌₀ᴷ⁻¹ (γ_ck − γⱼₖ)exp(wⱼᵀxₙ)] / [Σₗ₌₀ᴷ⁻¹ exp(wₗᵀxₙ)]²

The vector g_c is the derivative with respect to w_c, the weights for class c. The sums index training example n, recorded class k, possible true class j and the softmax denominator class l. The symbol δ still selects the observed class ỹₙ, and Sₙₖ is its predicted probability when that indicator is active. The entries γ_ck and γⱼₖ express how different true classes contribute to the same recorded outcome. The exponential factors come from softmax scores computed with xₙ, and the squared sum comes from differentiating their common normalization.

The multiclass table update expresses the same fractional allocation used in the binary case. A single normalization constant applies to every entry in the row being estimated.

γⱼₖ ← (γⱼₖ/Cⱼ) Σₙ₌₁ᴺ δ(ỹₙ = k)pₙⱼ/Sₙₖ

The revised entry γⱼₖ is obtained by multiplying its current value by the indicated sum and dividing by Cⱼ, the normalization for true class j. The indicator δ(ỹₙ = k) restricts the contribution to records of class k. The ratio compares the feature-based probability pₙⱼ of true class j with the probability Sₙₖ of the record. The sum runs over the N examples.

Cⱼ = Σᵣ₌₀ᴷ⁻¹ γⱼᵣ Σₙ₌₁ᴺ δ(ỹₙ = r)pₙⱼ/Sₙᵣ

Here Cⱼ is the total of the unnormalised updates across destinations r for true class j. The destination index r runs over the K recorded classes and n runs over the N examples. The entry γⱼᵣ, the indicator δ(ỹₙ = r), the true-class probability pₙⱼ and the recorded-label probability Sₙᵣ play the corresponding roles for destination r. Dividing by this sum yields a row that again sums to 1.

ŷ_q = arg maxₖ p_qₖ

The predicted class ŷ_q for the new example q is the class index k that maximizes p_qₖ, its softmax probability of true class k. The operator arg max returns the maximizing index. As in the binary case, training uses the transition matrix to explain the records, while the class decision uses the feature-based probabilities.

Why alternating the updates improves the objective

The convergence argument concerns the log-likelihood as the updates proceed. For the weights, the paper relies on monotone improvement by its conjugate-gradient optimisation. For the transition matrix, it constructs a simpler function that lies below the objective and agrees with it at the current matrix. Maximizing that simpler function then guarantees at least the current objective value.

G(h, h′) ≤ F(h),  with  G(h, h) = F(h)

The function F is the objective of interest. The auxiliary function G takes a candidate parameter h in its first argument and a reference parameter h′ in its second. The inequality makes G a lower bound. The equality says the bound touches F when the candidate and reference coincide.

hᵢ₊₁ = arg maxₕ G(h, hᵢ)

Here hᵢ is the current parameter at iteration i and hᵢ₊₁ is the next one. The maximum is over the candidate h with the reference held at hᵢ. Its objective value is at least the new bound value, which is at least the previous bound value. The previous bound value equals the previous objective. Consequently, the objective cannot decrease under this update.

The crucial step is to construct a bound that can be optimized row by row. With weights fixed, the transition objective is the sum over examples of the logarithm of a mixture. The authors use Jensen’s inequality for the concave logarithm. In notation that shows the example index explicitly, the per-record inequality is as follows.

log Σⱼ₌₀ᴷ⁻¹ γⱼₖpₙⱼ ≥ Σⱼ₌₀ᴷ⁻¹ aₙⱼₖ log[(γⱼₖpₙⱼ)/aₙⱼₖ]

The sum ranges over K possible true classes j for example n and recorded class k. The transition probability γⱼₖ and the true-class probability pₙⱼ form the mixture contribution. The quantities aₙⱼₖ are non-negative weights that sum to 1 across j for that record. The logarithm of the mixture on the left is bounded below by the weighted logarithms on the right.

aₙⱼₖ = (γ̃ⱼₖpₙⱼ) / Σₗ₌₀ᴷ⁻¹ γ̃ₗₖpₙₗ

The tilde on γ̃ indicates an entry of the reference matrix Γ̃. The denominator sums its mixture contributions over true classes l for instance n and recorded class k. The numerator is the corresponding contribution from class j. The resulting weight aₙⱼₖ allocates a share of the observed record to that true class at the reference matrix. This choice makes the inequality tight there.

G(Γ, Γ̃) = Σₙ₌₁ᴺ Σₖ₌₀ᴷ⁻¹ δ(ỹₙ = k) Σⱼ₌₀ᴷ⁻¹ aₙⱼₖ log[(γⱼₖpₙⱼ)/aₙⱼₖ]

Here G evaluates the lower bound at candidate matrix Γ, using allocation weights from reference matrix Γ̃. The sums cover N examples, K possible records k and K possible true classes j. The indicator δ selects the actual label ỹₙ. The true-class probability pₙⱼ stays fixed because the classifier weights are held fixed, while γⱼₖ varies with the candidate matrix. The bound separates the terms involving different entries apart from the requirement that each row sum to 1.

Σₙ₌₁ᴺ δ(ỹₙ = k)aₙⱼₖ/γⱼₖ − λⱼ = 0

This is the stationarity condition for transition entry γⱼₖ. The sum uses the allocation weights aₙⱼₖ for the examples with recorded class k, selected by δ(ỹₙ = k). The multiplier λⱼ enforces the normalization of the row for true class j. Solving for an entry makes it proportional to the sum of allocated evidence for its destination. Enforcing the row constraint sets the common denominator. Substituting the allocation weights recovers the multiplicative update.

The two blocks of updates thus act on the same observed-label objective. According to the theorem, the values generated by alternating them are nondecreasing. The individual recorded-label probabilities are bounded above by 1, so their log-likelihood has an upper bound. The argument covers the binary case through the multiclass construction. The paper describes the procedure as locally convergent and notes that the joint objective is non-convex. Accordingly, different initial weights or transitions can lead a run towards different solutions.

The connection with expectation maximisation

The paper compares the multiplicative calculation with expectation maximisation, or EM, adapted from the earlier work on multiple noisy labels. EM represents the true labels as hidden variables and uses their conditional probabilities to form an expected objective. The binary calculation makes the connection particularly clear. Each item receives a posterior probability of true class 1 after taking into account its features and its recorded label.

Pₙ = [γ₁₁^ỹₙ γ₁₀^(1 − ỹₙ) σ(wᵀxₙ)] / [γ₁₁^ỹₙ γ₁₀^(1 − ỹₙ) σ(wᵀxₙ) + γ₀₁^ỹₙ γ₀₀^(1 − ỹₙ)(1 − σ(wᵀxₙ))]

Pₙ is the posterior probability of true class 1 for instance n. The caret indicates exponentiation. Since the record ỹₙ is 0 or 1, the powers select the transition that matches that record for each true class. The numerator combines the selected transition for true class 1 with its sigmoid probability. The denominator adds the corresponding contribution for true class 0. The weights w, features xₙ and sigmoid σ specify the class probabilities before conditioning on the observed record.

Q(w, Γ) = Σₙ₌₁ᴺ [Pₙ log(γ₁₁^ỹₙ γ₁₀^(1 − ỹₙ) σ(wᵀxₙ)) + (1 − Pₙ) log(γ₀₁^ỹₙ γ₀₀^(1 − ỹₙ)(1 − σ(wᵀxₙ)))]

The function Q is the expected complete-data log-likelihood for weights w and matrix Γ. The sum covers the N examples. For the contribution under true class 1, the probability of the class and of its recorded transition appear inside the first logarithm and are weighted by Pₙ. Under true class 0, the complementary class probability and the appropriate entries of Γ appear in the second logarithm, weighted by 1 − Pₙ. The record ỹₙ selects each transition by its exponent.

γ₁₁ ← (Σₙ₌₁ᴺ Pₙỹₙ) / (Σₙ₌₁ᴺ Pₙ)

The updated γ₁₁ is the share of the estimated true-class-1 mass assigned to recorded class 1. The numerator counts that mass through Pₙ only where ỹₙ is 1. The denominator sums the posterior mass over all N examples. Substituting the expression for Pₙ into this ratio recovers the algebraic form of the multiplicative update.

The authors distinguish the approaches by when they evaluate the probabilities. In the EM procedure they describe, the posteriors are calculated from the preceding parameter values and held for the subsequent maximisation. Their multiplicative procedure uses the latest parameter values on which the update depends. It can also form the needed sums without storing a separate collection of posteriors between steps. The authors offer the update timing as a reason the method might take fewer iterations. Once a fit has been obtained, the final posterior probabilities remain available for interpretation.

Let each feature have its own amount of shrinkage

The sparse extension addresses datasets with more features than observations. A starting point is an absolute-value penalty on each coefficient. Increasing the penalty on a feature makes a large weight for that feature more costly. Giving each feature its own penalty allows the strength of shrinkage to differ across coefficients.

max_w [Σₙ₌₁ᴺ log p(ỹₙ | xₙ, w) − Σᵢ₌₁ᵐ αᵢ|wᵢ|]

The maximization is over the weight vector w. The first sum is the robust recorded-label log-likelihood over examples n through N, whose transition matrix is implicit. The second sum covers features i through m. The coefficient wᵢ belongs to feature i, |wᵢ| is its absolute value and αᵢ controls its penalty. This is the paper’s feature-wise L1 starting point.

|wᵢ| ≈ √(wᵢ² + γ)

The square root gives a smooth approximation to the absolute value of the coefficient wᵢ. The positive constant γ here is a smoothing term, separate from the indexed label-transition probabilities γⱼₖ. The authors set this constant to 10⁻⁸ in the reported experiments. Smoothing supplies a derivative at zero, which the unsmoothed absolute value lacks.

The prior formulation explains how the authors remove the need to choose the α values by cross-validation. With α held fixed, the independent Laplace priors over coefficients give the absolute-value penalties. The paper then places independent priors on the positive penalty parameters and integrates them out.

p(w | D, α) ∝ p(D | w)p(w | α)

Here p(w | D, α) is the posterior for the weights given training collection D and penalty vector α. The factor p(D | w) gives the data likelihood, again with the transition matrix understood, and p(w | α) gives the conditional prior over weights. The proportionality symbol indicates that a normalizing factor independent of w is omitted.

p(w | α) = ∏ᵢ₌₁ᵐ (αᵢ/2) exp(−αᵢ|wᵢ|)

The product combines independent Laplace densities over the m weight components. For each feature i, αᵢ is a positive penalty parameter and wᵢ is the coefficient. The exponential with argument −αᵢ|wᵢ| yields the corresponding absolute-value penalty after taking a negative logarithm. The factor αᵢ/2 is the coefficient in the Laplace density.

p(αᵢ) ∝ 1/αᵢ

The density p(αᵢ) expresses the Jeffreys prior the authors choose independently for each penalty parameter αᵢ. It is an improper prior, meaning it has no finite normalization over its full positive range. The proportionality specifies the form used in the derivation.

p(w) = ∫ p(w | α)p(α) dα

The integral marginalizes the vector of penalty parameters α. The factor p(α) is their joint prior, p(w | α) is the conditional weight prior and dα indicates integration over the penalty parameters. The output p(w) is the resulting weight prior expression in the paper’s regularisation argument.

p(w) ∝ ∏ᵢ₌₁ᵐ 1/[2√(wᵢ² + γ)]

The expression follows from the independent priors and the smoothed form of the coefficient penalty. The product runs over the m coefficients wᵢ, and γ is the smoothing constant. In each integral the reciprocal αᵢ from its prior cancels the αᵢ multiplying the exponential. Integrating the remaining decaying exponential gives the reciprocal of the smoothed coefficient magnitude, with the Laplace factor carried along. In this expression the proportionality sign reflects the unspecified constant of the improper prior.

−log p(w) = Σᵢ₌₁ᵐ log √(wᵢ² + γ) + constant

The negative logarithm converts the product over weight coefficients into a sum of penalties. The constant is independent of w, and the other symbols retain their meanings from the marginal prior. Maximizing the data log-likelihood with the log prior is equivalent, for the coefficient fit, to subtracting this penalty from the data log-likelihood.

αᵢ = 1/√(wᵢ² + γ)

The replacement penalty weight αᵢ is determined by the current coefficient wᵢ and smoothing constant γ. Differentiating the marginal penalty gives a term equal to this weight times the derivative of the smoothed magnitude. This is the relationship the authors use to alternate coefficient updates with recalculation of the feature-wise penalties. It gives larger shrinkage weights to coefficients close to zero and smaller shrinkage weights to coefficients of larger magnitude. The fit also continues to update the label transitions. The paper describes the same regularisation idea as extendable to the multiclass coefficients.

Experiments and results

Deliberate flips in standard classification data

The first evaluation uses real feature data and introduces artificial errors into the labels. The authors use Boston and Liver for binary classification and Iris for multiclass classification, all from the UCI repository. The injected label noise is asymmetric, and the experiments vary its level. Because the changes are made deliberately, the original labels and the identity of altered examples are available for objective checks. This gives the authors separate ways to assess whether the classifier predicts the original classes and whether it recognizes that a particular training label has changed.

For classification error, the authors compare their procedures with Depuration and support vector machines. Depuration serves as a comparison with a method designed to address contaminated training labels using nearest neighbours. The support vector machine, or SVM, serves a different role. Its margin and slack variables allow some training examples to violate the preferred separation, so the authors use it to ask how far this ordinary tolerance of difficult examples can handle label errors. The paper also discusses the difficulty of selecting settings for comparison methods when validation labels may be unreliable. It says code for reproducing the experiments is available on request.

The classification-error plots support the authors’ conclusion that rLR and rmLR have better overall performance on the tested datasets. They describe Depuration as performing well at very high noise levels, identified as 50% upwards, with somewhat weaker performance in the lower range. The SVM results lead them to argue that an explicit treatment of labelling errors helps in these settings. The evidence pertains to the particular asymmetric corruptions tested on Boston, Liver and Iris.

The label-detection experiment fixes asymmetric noise at 30% and compares the robust procedures with traditional logistic classifiers. A receiver operating characteristic curve, or ROC curve, tracks how the detector behaves as its threshold changes. A false positive labels a correctly recorded item as suspicious. A false negative misses an item whose label was flipped. A threshold that flags more examples can catch more of the altered records and can also flag more correctly recorded items. The curve displays the true-positive rate against the false-positive rate across thresholds. Its area summarizes how well the scores rank a flipped example above a correctly recorded one.

The authors report visible separation between the robust and ordinary curves across the plotted cases. Ordinary logistic regression can still issue a suspicion score because it can assign little probability to a training label. The robust fit also has the ability to accommodate the possibility of a flip while learning its class probabilities. The ROC comparison tests whether that capacity yields better suspicion rankings at the specified noise level. The paper shows the curves for the logistic classifiers, and the displayed ROC evidence therefore pertains to that comparison.

Colon cancer tissue classification and suspicious records

The Colon Cancer dataset has expression measurements for 2000 genes from 40 tumour tissues and 22 normal tissues. The authors describe evidence from earlier biological work and analyses that some labels are inaccurate. The suspected corruption is unequal by direction. They report that approximately 20% of normal tissues had been labelled as tumour and approximately 10% of tumour tissues had been labelled as normal. Those figures describe the suspected labels in this dataset and motivate the use of separate transition probabilities.

For prediction, the authors use splits with 52 training points and 10 test points. They put every sample suspected on prior evidence into the training portion of every split. This creates a test set from the remaining examples while making the training procedure deal with the known concerns about labelling. Over 1000 training–test splits, the paper reports a test error of 2.08 ± 0.055 for rLR, 3.66 ± 0.064 for ordinary logistic regression, and 4.08 ± 0.063 for SVM. These values are the reported errors under the study’s split procedure, presented in the paper’s units.

Reported test error on Colon Cancer across the training–test splits

Robust logistic regression has the lowest reported test error.

Reported test error on Colon Cancer across the training–test splitsOrdinary logistic regression: 3.66Ordinary logistic regression3.66Support vector machine: 4.08Support vector machine4.08Robust logistic regression (this paper): 2.08Robust logistic regression (this paper)2.08
The numbers
System or settingreported test error
Ordinary logistic regression3.66
Support vector machine4.08
Robust logistic regression (this paper)2.08

The detection analysis is a separate use of the tissue data. The authors fit the regularised robust classifier to the whole dataset with 20 independent random initialisations. For each sample, they sum the feature-based probabilities of every true class different from the recorded one. In the binary dataset this is the probability of the single alternative class. In each run, the authors flag an example if that sum exceeds 0.5. The fraction of runs flagging a given sample then supplies a measure of how consistently it is selected under different initialisations.

A detection frequency of 1 means the sample crossed the threshold in all 20 runs. The paper gives 0.15 as the frequency for T2, corresponding to 3 of the 20 runs. The frequency concerns the fit’s stability under restarting. The underlying suspicion score concerns how strongly the fitted classifier favours the alternative class for that sample. These are distinct measurements even though one is constructed by thresholding the other.

Across the runs the procedure flags up to 8 distinct samples, covering all except one of the combined set of previously identified suspects. It flags no sample beyond that set. The complete set of 8 appears when detections are pooled across the restarts. The run selected by the fitting objective flags seven samples, T30, T33, T36, N8, N12, N34 and N36. The authors also report the unthresholded alternative-class scores for this selected run. For example, T36 has a score of 0.76 in the selected fit and a detection frequency of 1.00 across restarts. N8 scores 0.54 in that fit and has a detection frequency of 0.25. The tissue identifiers distinguish individual records in this analysis.

Comparing the fit to prior investigations gives the authors a basis for treating the output as a list of candidates for follow-up. Some expression profiles repeatedly lead the classifier to disagree with their attached labels. Others trigger the same judgment only in some local solutions. The reported tissue classification error and the list of detected suspects speak to different questions. The first measures prediction on the designated test samples, and the second records disagreements found by fitting the whole collection.

Topic relationships in Newsgroups

The next application uses rmLR for text classification. The original Newsgroups corpus contains postings in 20 classes. The authors work with a subset of 10 classes represented by term frequency counts. They preprocess the text with tokenization, remove stop words and use Porter stemming to reduce word endings before cosine normalization. The resulting document features allow the classifier to estimate topic probabilities, and the assignment of a posting to a newsgroup supplies its observed label.

The authors interpret the estimated transition matrix as the adjacency information for a directed graph. Each node represents a topic category, an edge’s length represents the strength of the relationship, and an arrow follows the direction of a fitted label transition. Direction matters to the display. If postings from one topic are often explained as having received another topic’s label, the reverse assignment has its own separate entry and can have a different strength.

The graph shows a relationship in both directions between atheism and religion and also suggests a connection between electronics and for-sale postings. Topics associated with politics appear near one another. To the authors, this suggests that the matrix can reveal relationships among the fitted classes, especially when several topics are plausible for a single post. The result here is a qualitative graph interpretation. The experiment’s purpose is to see what a transition estimated for classification can say about the collection’s categories.

Classification from image search labels

For the WebSearch dataset, the authors collect 520 images with the search keyword “bike” and 520 with “not bike.” The query used for retrieval supplies the inexpensive class label. The authors separately label an image as a bike when a bicycle or motorbike is its main object, assigning everything else to the other category. The paper reports that comparing the two sources yielded 83 switches from bike to not bike and 100 from not bike to bike. The manual labels serve as the test reference. The training procedure uses the labels derived from search. The authors say the image dataset, collected using Google image search, is available on request.

Before fitting, they derive visual information with SIFT and texture information with local binary patterns, or LBP. These processing steps produce a 10038-dimensional vector for each image. The image classifier therefore works on an encoded representation of visible content. Its training problem is to associate features with intended bike categories even though the query labels are imperfect indicators of the manual definition.

The main evaluation trains each logistic classifier on 90% of the full dataset with search-derived labels and tests on the remaining 10% against manual labels. The authors perform 100 independent bootstrap repetitions and report average generalisation errors and standard errors. The robust classifier has an error of 15.67% ± 0.04 and ordinary logistic regression has an error of 18.09% ± 0.04. The paper reports significance at the 5% level with a Wilcoxon rank-sum test.

Average generalisation error on the manually labelled WebSearch test splits

The classifier that estimates label transitions has the lower average error.

Average generalisation error on the manually labelled WebSearch test splitsOrdinary logistic regression: 18.09Ordinary logistic regression18.09Robust logistic regression (this paper): 15.67Robust logistic regression (this paper)15.67
The numbers
System or settingerror %
Ordinary logistic regression18.09
Robust logistic regression (this paper)15.67

The paper also displays a set of examples to illustrate detection. Among the top 30 test images ordered by posterior probability, the robust classifier makes 8 suspicious detections, of which 2 are false alarms under the manual labels. The ordinary logistic classifier produces 4 false alarms in the reported comparison. The marked images show where a prediction disagrees with the query label, with a separate marking for a disagreement that turns out to be a false alarm. The display helps explain what the two classifiers do on particular records. The repeated train–test procedure supplies the broader error comparison.

What the ablations show

The ordinary classifier serves as the closest comparison

The paper provides controlled comparisons and diagnostic analyses. It leaves the independent predictive contributions of particular fitting and regularisation choices unresolved because it evaluates the proposed procedures largely as complete systems. The clearest comparison of the central design is between robust and ordinary logistic regression. The two procedures use feature-based logistic classification, while the robust fit makes the observed label a probabilistic outcome of the true class. In the artificial-noise ROC comparison and the WebSearch error comparison, the reported outcomes favour the procedure with transitions.

The artificial corruption gives this comparison a particularly direct interpretation. The authors determine exactly which records changed, so a better ROC curve means that the scores distinguish the altered examples more effectively in those conditions. The comparison tests the success of a suspicion score built from a robust fit. It leaves open how much of that success is due to the accurate recovery of the individual transition entries, since the paper reports detection and classification instead of an entry-by-entry recovery analysis.

The image test supplies a related comparison with genuine discrepancies between two labelling procedures. The training records come from search queries for both classifiers, and the test target comes from the same standard of manual judgment. A lower held-out error shows that the improvement extends to the class decision under those conditions. The smaller number of false alarms in the displayed detection example is consistent with the broader result while measuring a different event. A false alarm concerns whether a suspicion about an existing label was justified. A classification error concerns whether the predicted class matches the manual judgment.

Noise levels and comparison methods test different explanations

Varying the severity of artificial noise checks whether the relative behaviour of the classifiers changes as the recorded labels become less reliable. The paper’s discussion of Depuration distinguishes performance at the highest levels from performance in the lower range. This matters because a procedure based on neighbouring examples may behave differently as contamination changes. The authors report the robust procedures’ overall advantage across their datasets while recognizing Depuration’s performance in the more heavily corrupted range.

The SVM comparison addresses the idea that an existing classifier’s tolerance for examples that violate its preferred separation might be enough. Within this study’s settings, the comparison favours a procedure that directly accounts for label transitions. It remains a comparison between different classifiers and fitting objectives. In contrast, the comparisons with ordinary logistic regression give a closer view of what changes when a logistic fit gives recorded labels a separate probability.

The fixed-noise ROC curves add evidence that goes beyond aggregate classification rates. At the reported setting, knowing exactly which labels were altered allows the authors to see whether the scores favour the examples that actually changed. A classifier can predict many original classes correctly while assigning weak suspicion scores to some altered records. Having both kinds of evaluation makes it possible to see an advantage in detection as well as in the final classification decision.

Restarts test the stability of the tissue detections

The tissue restarts vary a different ingredient, the initial parameter values. Every run uses the whole tissue collection. The comparison therefore concerns how the fitted solution varies when the data remain fixed. The paper uses the resulting frequencies to distinguish recurring disagreements from ones tied to particular initialisations. It then reports an unthresholded score from the solution selected by the objective, so a reader can see the strength of the disagreement in that fit as well.

Pooling over runs yields a broader set of suspects than the set produced by any one run. That finding supports the authors’ interpretation that several local solutions can expose different aspects of this particular sample collection. It also gives a practical meaning to the non-convex objective. Initialisation can affect which examples are flagged for follow-up even when the set of features, the labels and the fitting rule are unchanged. The study does not rank initialisation strategies by their ability to find a verified biological label.

The optimisation analysis is algebraic

The EM comparison isolates an algorithmic relationship. Replacing the stored posterior probability with its expression in terms of features and current transitions gives the multiplicative form. This establishes why the updates can look different in implementation while allocating the same kinds of fractional evidence. The authors’ discussion of fresher parameter values identifies a reason the number of iterations might differ. The comparison stays at the level of derivation and storage requirements.

The sparse extension likewise receives a derivation for how the feature penalties are obtained and an application in the tissue analysis. The reported results give evidence for the combined sparse, noise-aware fit in that setting. They leave separate effects, such as the value of feature-specific shrinkage holding the transitions fixed, for a comparison that changes one part of the fitting procedure at a time.

Limitations

Limits stated by the authors

The authors state that the objective is non-convex and that the result depends on the initial parameter values. They describe the algorithm’s convergence as local. Its proof explains why the objective can improve or stay level through an update. It gives no way to choose the best starting point for a particular dataset. The observed variability in the tissue detections shows that this qualification has consequences for the examples a researcher might examine.

The authors also qualify the comparison of their Colon Cancer error figures with results from other studies. Their split always places the suspected records in training. An evaluation that allows those records into its test portion answers a different question and can score the same predictions against a different mix of labels. The paper’s tissue errors are tied to a test set selected from records outside the group of known suspects. That design is suitable for the stated aim of evaluating against more reliable labels, and it defines the population to which the reported figures directly apply.

For suspected tissue labels, the paper presents detection as a step towards confirmation or further investigation by a domain expert. Its sample comparisons draw on previous work and existing biological evidence. The authors also recognize that topic labelling can be subjective, making the Newsgroups graph an interpretation of related classes. They close by identifying extension to nonlinear classifiers as future work. The fitted class scores here are linear in the chosen features, even when those features come from processing images, documents or expression measurements.

What follows from the assumptions and the evidence

The transition matrix treats the labelling process as conditional on the true class. Given that class, the same row applies across different examples. In the bike task, for example, the formulation allows bike examples to be assigned the other category at a different rate from the reverse assignment. It offers no feature-dependent account of why a particular bike image is more likely to receive a misleading query label. The topic graph similarly condenses each directed relationship into a class-level transition, although particular documents can be ambiguous for very different reasons.

The separation between underlying class probabilities and recorded-label transitions is inferred from their combined effect. Good prediction of the recorded labels establishes that their combination fits those labels well. Additional evidence is needed to establish that the two fitted parts recover the particular processes that generated a real dataset. The deliberate-flip experiments offer known changes for evaluation, and the manually labelled images provide a separate reference for the final predictions. Neither the objective monotonicity argument nor a qualitative graph establishes that every fitted transition is a true rate of error in the underlying collection.

The tissue detection score deserves particular care. In the tissue analysis, it is the feature-based probability of a class different from the record. The EM discussion gives a different quantity, the posterior true-class probability obtained after conditioning on the record as well as the features. The two can differ because the second quantity incorporates how plausible the recorded label would be under each class. Detection frequency supplies a further quantity, the proportion of restarts in which a score crosses a threshold. Each measurement is useful for its own purpose, and direct empirical calibration of those quantities against newly verified tissue labels remains outside the study.

The label-flip theorem directly examines the likelihood updates. The sparse extension introduces adaptive penalties and a smoothed approximation to the absolute value. Its derivation identifies how the regularisation weights arise and how to integrate them into the fitting scheme. With smoothing, the argument concerns shrinkage towards zero. The paper’s empirical comparisons give limited information about which individual features remain relevant across repeated fits or how stable that feature selection would be under a different sampling procedure.

The ROC and classification comparisons have different coverage. Artificial noise is deliberately asymmetric, and the detection curves are shown at a specified corruption level. The ROC comparison includes ordinary and robust logistic classifiers, so evidence that the robust method has stronger detection rankings applies directly to that comparison. In the image experiment, the held-out data come from the same search-based collection as the training images. The manual labels check performance under the paper’s definition of a bike image. Performance on a separately collected image population, or with a different definition of relevance, remains an open empirical question.

Finally, the graph shows qualitative agreement with recognizable relationships among particular topics. Its edges summarize assignments inferred under a specified subset of classes, document representation and classifier. The paper gives examples of how those edges can be read. It offers no independent reference graph or quantitative test of the recovered geometry. The strongest grounded interpretation is that a transition matrix estimated during classification can summarize plausible directions of confusion in that collection.

What came after

Ghosh and colleagues’ 2017 work takes up label-noise robustness in the setting of deep neural networks. Its stated focus is the loss function, the quantity used to score prediction errors during training. Bootkrajang and Kabán put the distinction between true and recorded classes into the probabilities used by their training objective. The later work’s title puts the choice of the loss itself at the centre of the robustness question. Robust Loss Functions under Label Noise for Deep Neural Networks

The connection is the role of an unreliable recorded label in determining what a classifier learns. Bootkrajang and Kabán’s construction asks how likely the record is after allowing for transitions from the underlying class. That gives their training procedure an intermediate quantity with an interpretation of its own, which they use in the topic graph and in discussing possible errors. The loss-focused direction takes the training criterion as the place to study robustness in a different classifier family. The citation connects these research questions. It leaves the reuse of the transition matrix, the multiplicative updates and the sparse extension unspecified.

Cite

Cite as Jakramate Bootkrajang and Ata Kabán. 2012. Label-Noise Robust Logistic Regression and Its Applications. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1007/978-3-642-33460-3_15

@inproceedings{bootkrajang2012label,
  title = {{Label-Noise Robust Logistic Regression and Its Applications}},
  author = {Jakramate Bootkrajang and Ata Kabán},
  booktitle = {Lecture notes in computer science},
  year = {2012},
  doi = {10.1007/978-3-642-33460-3\_15},
  url = {https://doi.org/10.1007/978-3-642-33460-3_15}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bootkrajang-2012-label-noise-robust-logistic-regression/