Elamur Research

Class-Balanced Loss Based on Effective Number of Samples

Paper · 2019 · Yin Cui, Menglin Jia, Tsung-Yi Lin et al.

Summary

Training data rarely gives every category equal attention. Some categories appear repeatedly, while others have relatively few examples. A classifier trained on this uneven collection can become good at recognizing the common categories and remain weak on the rare ones. The paper studies how to change the contribution of each training example so that learning depends less strongly on these unequal counts. Its central question is how much compensation a rare category should receive. Giving every example equal weight can let common categories dominate, but weighting examples by the inverse of their category’s frequency can push the correction too far.

The authors approach this question through diminishing returns. An additional example can teach a network something useful, but its contribution depends on how much similar material the network has already encountered. A class with many examples need not contain an equally large amount of distinct information. To express this idea, the paper treats an example as covering a small region of possible appearances, including nearby instances and transformations that data augmentation could produce. Overlapping regions contribute less new coverage. Rather than counting examples directly, the effective sample number measures the coverage they are expected to provide. Under a simplified covering process, this quantity has a compact expression controlled by a parameter called β.

The proposed class-balanced loss multiplies an existing loss by a weight derived from that effective count. A category with a small effective count receives a larger weight; a category whose effective count is large receives a smaller one. The parameter β controls how strongly the weighting responds to differences in observed frequency. At one endpoint, the method leaves the original loss unchanged. Toward the other endpoint, it approaches inverse-frequency weighting. Between those cases, it provides a principled family of smoother corrections. The authors apply the same weighting idea to softmax cross-entropy, sigmoid cross-entropy, and focal loss. This separation matters: the class-balancing rule describes how much weight a category receives, while the underlying loss determines how prediction errors contribute to training.

The experiments examine deliberately imbalanced versions of CIFAR and the naturally uneven iNaturalist datasets, alongside ILSVRC 2012. The authors report improvements from suitable class-balanced settings, but their analysis also shows why the adjustment cannot be fixed without regard to the dataset. On CIFAR-10, the strongest tested weighting works best across their comparisons. On CIFAR-100, a smoother correction is preferable, and overly aggressive weighting can reduce performance. For the large-scale experiments, class-balanced focal loss performs better than the softmax cross-entropy baseline, including on ILSVRC 2012. The paper therefore offers both a practical loss multiplier and an explanation for why raw frequency can be an inadequate guide to balancing. Its theory establishes the formula within an idealized overlap process; its experiments test whether that formula provides useful training weights.

Interesting ideas

Diminishing returns before raw counts. The paper’s most reusable idea is to ask what additional observations contribute, rather than treating every observation as equally informative. A frequent category may contain substantial repetition, while a less frequent category may still introduce unfamiliar variation. The effective-count construction turns that distinction into a weighting rule without requiring a separate description of every example. Elsewhere, the same question can guide the design of training objectives: does a count represent independent variety, or does it partly reflect repeated coverage? The paper supplies a particular answer for class balancing, while the broader habit is to examine what a count is standing in for.

A correction with meaningful endpoints. Rather than presenting a single fixed weighting rule, the method connects unchanged training with inverse-frequency weighting through β. These endpoints give the parameter an interpretable role. A researcher can ask whether a task needs little correction, almost complete correction by frequency, or something between them. That is more informative than introducing an arbitrary coefficient whose consequences are difficult to describe. The pattern applies whenever an existing heuristic has useful behavior at one extreme but becomes too aggressive elsewhere: retain the recognizable endpoints and make the transition explicit.

Separate category frequency from example difficulty. A rare example and a difficult example are different kinds of training signal. The class-balanced factor depends on the label’s training count, whereas focal loss depends on the current prediction. Their combination preserves both distinctions. This is useful when an engineer wants to change how categories influence learning without discarding an existing mechanism for emphasizing mistakes. It also helps interpretation. An improvement from category weighting should not automatically be described as better hard-example selection, and an improvement from hard-example weighting does not establish that category imbalance has been adequately corrected.

Use an idealization that produces a testable rule. The covering process simplifies overlap drastically: a new region is either already covered or completely new. That simplification makes the expected coverage easy to calculate. The result is then useful because it becomes an operational loss multiplier that can be compared with ordinary training. The transferable practice is to keep the chain visible: state the simplifying assumption, derive what follows from it, and evaluate the resulting procedure. A compact theoretical argument becomes more valuable when readers can see exactly which part is proved and which part still depends on empirical evidence.

Treat label granularity as part of the problem. The authors interpret the different preferred settings on CIFAR-10 and CIFAR-100 through the variety contained within each category. A broad category can plausibly cover more distinct appearances than a narrowly defined one. This suggests that class counts should be interpreted together with the meaning of the labels. The same number of observations need not indicate the same degree of coverage under different annotation schemes. For other classification tasks, the useful question is whether a label collects many varied cases or divides a narrower family of cases into finer distinctions.

Keep the training procedure attached to the loss. The paper does not evaluate sigmoid-based objectives under an entirely untouched softmax training setup. It changes the final bias initialization, removes weight decay from that bias, and adjusts learning rates for focal loss in the large-scale experiments. These details explain how the objectives were made usable in practice. The general lesson is to report a loss together with the conditions under which it was trained. Otherwise, a comparison can confuse the merits of an objective with an initialization problem or a mismatch in optimization scale.

Deep dive: Class-Balanced Loss Based on Effective Number of Samples

Understand class-balanced loss through diminishing returns from repeated data, its effective sample count, and its training procedure. · about 79 minutes to read

How Mova uses it

For Mova, the small transparent language system implemented in Rust, the most direct potential use is a visible weighting component for a supervised classification objective. The paper supplies a rule that depends on class counts and a shared parameter. It does not require a larger architecture, an additional prediction network, or a learned description of every training example. That makes it a plausible component wherever Mova has a trainable objective with explicit labels. Its use would begin with a concrete inventory of those labels and their training frequencies.

This is a proposed application, rather than a claim that Mova already implements the paper. No implementation status, evaluation result, or existing Mova training component is established here. The relevant connection is architectural and methodological: the weighting rule can be expressed as a small calculation whose inputs and effect are inspectable. Whether it benefits Mova would depend on the task, the label distribution, the underlying loss, and the validation procedure.

An inspectable contribution to training

The method fits a transparent system because it keeps the reason for an example’s weight explicit. An example receives its class-balanced multiplier because of its label’s count and the chosen β. That explanation does not depend on an opaque assessment of the example’s importance. Mova could expose the raw count, the effective count, and the normalized multiplier together. A reader inspecting a training decision could then distinguish the category-level correction from the prediction error that the underlying loss assigns.

Such an inspection would be especially useful if Mova used more than one mechanism to weight training examples. The paper’s combination with focal loss shows why those mechanisms should remain conceptually separate. The class-balanced term responds to the training collection; the focal term responds to how well the current classifier handles an example. A transparent implementation could preserve that distinction in its reporting. It could show that a large contribution arose from rarity, prediction difficulty, or their combination, without treating those explanations as interchangeable.

A possible language application would be text classification with an uneven distribution of labels. If Mova were trained to distinguish categories whose examples occur at very different rates, the class-balanced term could adjust their relative influence. That is a conditional transfer of the method, not evidence of a language result in the paper. The reported experiments concern visual recognition. Their success supports considering the weighting rule elsewhere, but does not establish the outcome for a language system.

The shared-parameter design also suits an implementation that aims to make its assumptions easy to examine. In the paper’s practical procedure, all categories use the same β. Their weights differ because their observed counts differ, not because each category has an independently chosen hidden setting. Mova could therefore describe the correction with a short set of visible inputs. The cost of that simplicity would remain the same as in the original method: different labels might contain different amounts of internal variety, even when a shared parameter is used.

A hypothesis about repetition

The overlap interpretation offers Mova a useful question about its training material: how much of a frequent category represents new variation? Repeated wording, close alternatives, or transformations that preserve a task label might contribute less than their raw count suggests. The paper’s visual account motivates considering that issue, but it does not provide a tested definition of a language example’s neighborhood. A Mova application would need to avoid pretending that the effective-count formula had measured such overlap directly.

That distinction is essential. The practical formula uses the number of examples and β. It does not examine the similarity of the individual examples supplied to it. If Mova applied the formula to a category with substantial repetition, the resulting effective count would reflect an assumed saturation pattern. It would not certify that the repeated material had been detected. An explanation shown to users should therefore describe the quantity as an effective count under the selected weighting scheme.

The same caution applies to label granularity. Mova could use the paper’s CIFAR analysis as a reason to test different strengths of correction when labels change. A broad classification scheme and a more detailed scheme might warrant different settings. However, the paper does not establish a rule that maps linguistic labels to β. The reusable idea is to validate the correction in the actual label system, especially when a category’s meaning changes, instead of carrying a previously successful value across tasks without examination.

What a responsible application would establish

A concrete evaluation in Mova would compare the underlying objective with its class-balanced counterpart while keeping the distinction between the two visible. The paper makes unchanged weighting part of the same family, so the baseline has a natural interpretation. The comparison would ask whether the added correction helps the intended task, rather than assuming that rare labels always need the strongest possible amplification.

The normalization would also matter for transparency. The authors rescale the category weights so that their sum equals the number of categories. Mova could preserve and report that convention. Otherwise, a change described as “balancing” might also alter the overall magnitude of the training objective in a way that complicates interpretation. The paper’s normalization does not remove every optimization consideration, but it makes the intended change easier to identify.

The strongest connection to Mova is therefore a compact, inspectable hypothesis about how training examples should count. It could be implemented as a separate weighting calculation, applied to an existing loss, and evaluated under explicit conditions. There is no basis for claiming that it would improve Mova’s overall language abilities, solve data scarcity, or reveal which individual examples contain unique information. Its narrower promise is to make category weighting less dependent on raw frequency alone, while keeping the adjustment understandable.

The problem and its context

A long-tailed training distribution contains a small collection of common categories and many categories with fewer examples. The practical difficulty is not simply that the dataset is uneven. It is that the training objective receives evidence in the proportions supplied by that dataset. Frequent categories repeatedly contribute to parameter updates, while rare categories have fewer opportunities to shape the learned representation. The authors describe poor performance on underrepresented categories as an important consequence of training convolutional networks under these conditions.

This problem became especially relevant as visual recognition moved towards large collections gathered from the world. A large dataset can contain many examples in total and still offer limited evidence for a substantial part of its label space. Total size therefore gives an incomplete picture of the learning problem. A network may have abundant training material overall while seeing relatively little of the variation belonging to a particular category.

The paper places this issue within the success of deep convolutional networks. It cites systems such as ImageNet Classification with Deep Convolutional Neural Networks, Very Deep Convolutional Networks for Large-Scale Image Recognition, and residual networks as part of the visual-recognition setting. These systems benefited from substantial annotated collections. The imbalance problem concerns the distribution of those annotations across categories, rather than the mere availability of a large collection.

The contrast with familiar benchmark design helps explain the paper’s motivation. The authors describe CIFAR, the ILSVRC 2012 version of ImageNet, and CUB-200 Birds as having approximately even label distributions. Such datasets make it easier to evaluate recognition without the same degree of competition between dominant and weakly represented categories. Real collections can be much more skewed. A method that works well when category counts are similar may behave differently when the distribution develops a pronounced head and tail.

The paper’s response belongs to machine learning methods that change the training objective rather than the architecture. It asks how to make an existing classifier learn more appropriately from the available examples. This is a restricted but useful intervention. It leaves open questions about representation transfer, label design, and the acquisition of additional data, while focusing on the cost assigned to errors during training.

Changing which examples are seen

One established response to imbalance is re-sampling. Instead of accepting the original category frequencies, a training procedure changes how frequently examples from each category appear. Over-sampling increases the presence of rare categories. Under-sampling reduces the presence of common ones. Either can change the balance of evidence presented during optimization.

The attraction is straightforward. If a rare category contributes too little because it is encountered infrequently, repeating its examples gives it more opportunities to affect training. If a common category contributes too much, removing some of its examples reduces that influence. These methods operate on the stream of training data, making the balance visible in what the classifier sees.

The authors emphasize costs that matter for learning deep representations. Repeating a small set of rare examples can increase training time without adding corresponding variety. It can also make the classifier overly dependent on those particular observations. Removing common-category examples avoids repetition, but can discard useful variation. A category may be frequent precisely because the collection contains many different appearances that help the network learn a robust representation.

This makes imbalance correction more complicated than ensuring that every category contributes the same number of training presentations. The examples belonging to a common category are not automatically disposable. Likewise, repeated exposure to a rare category does not automatically create the diversity that its training set lacks. The amount of data and the amount of useful variation are related, but they are not identical.

The related-work discussion includes attempts to make over-sampling more informative. SMOTE creates additional minority examples through interpolation among neighboring examples. Other cited approaches synthesize examples. The paper notes that generated or interpolated material can itself introduce noise. Replacing repetition with constructed data therefore changes the problem without removing every risk.

Class-balanced loss takes another route. It retains the available examples and changes their influence through the objective. The motivation is to avoid making duplication or deletion the primary balancing mechanism. This does not prove that re-sampling is always inferior. It explains why the authors choose to investigate weighting as their main intervention.

Changing the cost of an error

Cost-sensitive learning assigns different training costs to different examples or categories. In the imbalance setting, an error on an example from a rare category can receive a larger weight than an error on an example from a common category. The training stream need not be altered to make the rare category more consequential.

The paper relates this perspective to earlier statistical weighting methods and to work on adjusting decision boundaries for a desired target. Its own concern is the construction of a useful category weight. Once the underlying loss has measured a prediction error, the weighting rule determines how strongly that error contributes to optimization.

Inverse class frequency is a natural starting point. If a category appears less often, its individual examples receive more weight. If it appears more often, each example receives less. The attraction of this heuristic is its direct connection to the observed imbalance: the counts that create the imbalance also determine the correction.

The authors argue that this directness can be misleading. Earlier work on large, naturally imbalanced collections had found poor performance from inverse-frequency weighting. The paper points to smoothed alternatives in which the weights depend on the inverse square root of the count. It cites Distributed Representations of Words and Phrases and their Compositionality among the work motivating this discussion of softer frequency corrections.

A smoothed rule retains the direction of the correction but reduces its severity. Rare categories still receive more weight per example, yet the relationship between a very frequent category and a much rarer one becomes less extreme. The open question is why a particular amount of smoothing should be appropriate. A rule chosen because it works empirically may be useful without explaining what feature of the data makes it suitable.

The paper seeks an interpretation that can connect these behaviors. Its effective-count construction makes smoothing a consequence of assumed redundancy. When additional examples are expected to overlap substantially with what is already represented, raw counts grow faster than useful coverage. Weighting by effective count therefore changes the relationship between frequency and contribution.

Why difficulty is a separate question

Another family of methods emphasizes difficult examples. A classifier’s current loss can indicate which observations it handles poorly. Giving those observations more influence directs training toward unresolved mistakes. The paper discusses this line of work separately from category weighting because its input signal is different.

A rare-category example may be difficult because the network has learned a weak representation for that category. In that case, difficulty-based weighting can indirectly increase attention to the tail. But the connection is contingent. A common-category example can also be difficult, and a rare-category example can be easy. Frequency and current error do not identify the same property.

The distinction matters when interpreting an imbalance method. A procedure that concentrates on high-loss examples is not necessarily balancing categories. It is reacting to current prediction behavior. Its contribution can overlap with class balancing, but it can also diverge from it.

The authors also describe a risk of emphasizing difficulty: noisy or incorrectly labeled observations can produce high losses. A mechanism that repeatedly increases their importance may devote attention to examples that are harmful to learn from. The discussion cites Understanding Black-box Predictions via Influence Functions in connection with the influence of problematic training observations.

Focal Loss for Dense Object Detection is the difficulty-based objective used directly in the paper’s experiments. It reduces the relative contribution of predictions that are already handled well. Class-balanced focal loss adds a separate multiplier based on category counts. The resulting objective can respond both to the label distribution and to the current state of learning.

This combination is important evidence for the scope of the proposal. The authors are not presenting effective counts as a replacement for every existing way to shape a loss. They propose a category-level correction that can be attached to objectives with their own behavior. Its independence from prediction difficulty is part of why the combination is meaningful.

Other routes the paper leaves open

The related-work discussion also mentions transferring information from well-represented categories to weakly represented ones. Such methods address the shortage of useful representations for the tail more directly. Rather than only changing an example’s weight, they try to make information learned from the head useful elsewhere.

Metric-learning approaches provide another route. They alter the objective used to organize representations, instead of treating imbalance solely as a matter of category-level cost. The paper acknowledges these directions but does not attempt to combine all of them into its own method. Its experimental question remains whether an effective-count multiplier improves familiar classification losses.

This focus gives the contribution a clear boundary. The method does not generate new rare-category observations. It does not explicitly transfer a representation between related labels. It does not change the definition of the categories. It changes how strongly existing labeled examples contribute to the selected objective.

Within that boundary, the conceptual problem is substantial. Raw count is easy to measure, but usefulness is harder. A practical method must estimate something about redundancy without requiring a complete account of each category’s data distribution. The paper’s answer is deliberately simple: assume a particular form of diminishing returns and let a shared parameter control its strength.

From repeated observations to covered possibilities

The authors’ starting intuition is that data contains overlap. Two examples can differ as stored inputs while providing much of the same learning signal. In visual recognition, an image and an augmented version of that image can be treated as instances of the same underlying appearance. Nearby images may also be similar enough that the additional information is limited.

The paper expresses this through regions in a feature space. Instead of representing an example as an isolated point, it associates the example with a neighborhood. That neighborhood stands for nearby cases already represented by observing the example. As more examples are collected, their neighborhoods can overlap. The union grows, but not necessarily in proportion to the number of observations.

This is the bridge between the motivation and the mathematics. If the purpose of training examples is to cover relevant variation, then the size of the covered region can be a more meaningful quantity than the number of stored items. The effective number is the expected coverage expressed in units of an individual example’s region.

The construction draws on random covering, where small random sets progressively cover a larger set. The full geometric problem can depend on the shapes of the sets and the dimension of the space. The authors simplify it so that the expected coverage admits an explicit formula. The practical attraction is that the resulting quantity can be calculated from a class count and a parameter.

The term “effective number” should not be confused with the statistical effective sample size discussed in the paper. That statistical concept concerns variance when observations are correlated. Here, the object of interest is expected covered volume under a simplified sampling process. Both ideas question whether raw count tells the whole story, but they have different definitions and purposes.

This distinction prevents an overly strong reading of the method. The paper does not estimate a variance-corrected number of independent observations. It constructs a coverage-based quantity for designing category weights. Its usefulness is supported by the training comparisons, while its interpretation remains tied to the assumptions of the covering process.

The method, step by step

The method has a conceptual stage and a training stage. The conceptual stage derives an effective count from a simplified account of overlapping observations. The training stage calculates that count for each category and uses its inverse to scale an existing classification loss. The same examples and labels can remain in the training set; the change lies in how their errors contribute.

From class counts to a balanced training objective

The steps in order.

From class counts to a balanced training objectiveStep 1: Count training examples for each class1. Count training examples for each classStep 2: Choose a shared overlap parameter2. Choose a shared overlap parameterStep 3: Calculate each class's effective count3. Calculate each class's effective countStep 4: Invert and normalize the class weights4. Invert and normalize the class weightsStep 5: Compute the selected classification loss5. Compute the selected classification lossStep 6: Scale each example's loss by class weight6. Scale each example's loss by class weightStep 7: Train the classifier with the weighted objective7. Train the classifier with the weighted objective

A newcomer can understand the practical procedure before following its derivation. Start with the number of training examples assigned to each label. Choose β, which controls the assumed rate of diminishing returns. Convert each raw count into an effective count. Give examples from categories with smaller effective counts larger multipliers. Rescale the multipliers according to the paper’s normalization convention, and apply the multiplier belonging to an example’s ground-truth label.

The derivation explains why this is more than a renamed frequency weight. The effective count does not grow at a constant rate. Its increments shrink, so sufficiently common categories become less separated by their counts than they would under an unsmoothed frequency rule. The parameter determines how quickly this compression happens.

Define what an example covers

Consider a single class. The authors denote the set of its possible data by 𝒮. Its volume is N, with N at least 1. An observed example corresponds to a subset of this space with volume 1. This establishes a unit: the total space is measured relative to the neighborhood assigned to an individual example.

Neither volume should be read as the size of an image file or the literal area occupied by pixels. The construction concerns possible data in a feature space. Its purpose is to represent the variety that examples cover and the extent to which their contributions overlap.

The region attached to an example has an intuitive role in visual recognition. Cropping, changing scale, or flipping an image can produce training inputs that still express the same underlying case. The paper treats such related appearances as belonging within the example’s neighborhood. It also includes near-duplicate observations in this interpretation.

A new example can therefore add less than an entirely fresh unit of useful coverage. If its region overlaps heavily with what has already been sampled, much of its contribution is redundant. If it lies in an uncovered part of the class’s possible appearances, it extends coverage more substantially.

The total volume N acts as a limit on how much distinct coverage the class can supply under this construction. The authors interpret it as the number of unique prototypes. This is an intuitive description of the available variety, not a procedure that discovers and enumerates prototypes in the dataset.

The interpretation also depends on augmentation. If stronger transformations make more inputs equivalent to an existing example, the class can be represented through fewer distinct neighborhoods. The authors therefore suggest that stronger augmentation would correspond to a smaller N. They do not directly estimate this relationship in the training procedure.

This matters because the same raw collection can support different notions of novelty. A transformation that is considered meaningful variation in one setup may be treated as redundant in another. The paper captures that dependence through N rather than through a fixed claim that every stored image contributes the same amount.

Simplify overlap into an expected increment

Calculating the exact union of arbitrary random regions is difficult. Partial intersections can have many sizes, and the result depends on geometry. The authors remove that complexity by allowing only complete overlap or complete novelty for a newly sampled region.

Under this assumption, a new example either falls wholly within the previously covered region or contributes a full additional unit outside it. The probability of the first event is p. The complementary probability represents the second event. This is the decisive idealization that makes the calculation tractable.

The effective number after n examples is called Eₙ. It is the expected volume covered by those examples. The first observation contributes a complete unit because there are no earlier regions to overlap.

E₁ = 1

E₁ is the effective count after observing the first example. The right-hand side is the unit volume assigned to that example’s neighborhood. This starting condition anchors the later recurrence.

For the next observation, the authors make overlap probability depend on the fraction of the class’s total volume already covered.

p = Eₙ₋₁ / N

Here, p is the probability that the new region is already represented, Eₙ₋₁ is the expected coverage after the preceding examples, and N is the total volume available to the class. As coverage grows, the assumed probability of redundancy grows with it.

This expression contains the mechanism behind diminishing returns. Earlier observations have more room to fall outside existing coverage. Later observations are increasingly likely to revisit covered possibilities. The calculation does not identify which specific example will be redundant; it describes the average increment under the sampling assumption.

The expected coverage after adding the next observation combines the overlapping and non-overlapping cases.

Eₙ = pEₙ₋₁ + (1 − p)(Eₙ₋₁ + 1)

Eₙ is the new expected coverage. With probability p, the new observation adds nothing beyond Eₙ₋₁. With probability 1 − p, it contributes another unit. The two terms represent those alternative outcomes weighted by their probabilities.

Substituting the overlap probability gives a recurrence that no longer needs p as a separate quantity.

Eₙ = 1 + ((N − 1) / N)Eₙ₋₁

The symbols retain their earlier meanings. This equation describes how expected coverage changes when an observation is added. The coefficient multiplying the previous effective count depends only on N.

The recurrence is not an empirical measurement of how much a trained network learns from the next example. It is the result of the paper’s covering assumptions. That distinction keeps the argument precise: the theoretical quantity motivates a training rule, but it is not itself a direct observation of learning progress.

Derive the effective count

The authors introduce β to simplify the expression.

β = (N − 1) / N

β is the overlap-related parameter. N is the total volume of the class’s possible data. With N at least 1, β lies in the interval beginning at 0 and extending toward 1 without reaching it for finite N.

A larger N implies more available variety relative to an example’s unit neighborhood. The corresponding β is closer to 1. A smaller N means coverage saturates more quickly, and β is smaller. This relation gives the parameter a conceptual interpretation before it becomes a value selected for training.

The effective count has the following closed form.

Eₙ = (1 − βⁿ) / (1 − β)

Eₙ is the expected covered volume after n observations. The positive integer n is the raw sample count. β controls how quickly additional observations stop contributing much new coverage.

The proof proceeds by induction. The expression matches the initial condition for the first observation. If it holds for the preceding count, inserting that expression into the recurrence yields the same form for the next count.

Eₙ = 1 + β(1 − βⁿ⁻¹) / (1 − β) = (1 − βⁿ) / (1 − β)

Eₙ and β have the meanings already introduced. The exponent n − 1 refers to the preceding sample count. The equality shows the inductive step, connecting the recurrence to the compact formula.

The formula is convenient because it avoids simulating a covering process. Once n and β are known, the effective count can be calculated directly. The practical training method therefore inherits an overlap interpretation without requiring the geometry of each class to be constructed.

The paper also expresses the same quantity as a geometric sum.

Eₙ = ∑ⱼ₌₁ⁿ βʲ⁻¹

The summation symbol means that the contributions are added as j runs from 1 through n. The index j identifies the position of an observation in the sequence. Its contribution is β raised to j − 1.

This version makes diminishing returns especially clear. Successive contributions decrease according to the same parameter. The first observation receives the full unit contribution, while later additions are discounted. The effective count records the accumulated discounted coverage.

The sequence is an expectation over sampling, so it should not be interpreted as a judgment that the last stored example is inherently less valuable than the first. The method does not inspect the examples and sort them by usefulness. It summarizes the expected growth of coverage as a collection becomes larger.

The eventual limit is determined by β.

N = limₙ→∞ ∑ⱼ₌₁ⁿ βʲ⁻¹ = 1 / (1 − β)

N is the total available volume. The limit describes what happens as the raw count grows without bound. Because β is below 1, the sum approaches a finite value, consistent with the assumption that coverage cannot exceed the class’s total space.

This provides an internal consistency check. The same N that defined the covering process is recovered as the saturation level of the effective count. The formula therefore connects the local rule for overlap with the global limit on distinct coverage.

Understand the endpoints before choosing a setting

At the smallest allowed value of β, every class has the same effective count once it has an observation.

Eₙ = 1 when β = 0

Eₙ is the effective count for any positive n in this setting. β = 0 corresponds to N = 1. The interpretation is that a single prototype can account for the class under the assumed transformations.

In the resulting loss, categories no longer receive different weights because of their training counts. The balancing term becomes constant. This is why the paper identifies this endpoint with the original, unweighted objective.

At the other extreme, the effective count approaches the raw count.

limᵦ→₁ Eₙ = n

The limit is taken as β approaches 1. Eₙ is the effective count, and n is the observed count. The corresponding total volume grows, so the finite collection behaves as though each observation covers a distinct region.

The paper verifies this endpoint through a limit argument. It defines functions for the numerator and denominator of the effective-count expression.

f(β) = 1 − βⁿ

f is the numerator function, β is the parameter, and n is held fixed while the limit is considered.

g(β) = 1 − β

g is the denominator function. Both f and g approach 0 as β approaches 1, which permits the derivative-based argument used by the authors.

limᵦ→₁ f′(β) / g′(β) = limᵦ→₁ (−nβⁿ⁻¹) / (−1) = n

The prime symbols indicate derivatives with respect to β. The expression shows that the ratio of derivatives approaches n, establishing the limit of the effective count through L’Hôpital’s rule.

The practical meaning is more important than the calculus. The family includes both the assumption that examples become redundant almost immediately and the assumption that the observed examples remain distinct. Intermediate settings represent intermediate rates of saturation.

This is also why the method does not prescribe maximum balancing for every dataset. If a category’s raw count substantially exceeds its effective coverage, inverse-frequency weighting can overstate how much more information that category contains than another one. A smaller β compresses that disparity before weights are assigned.

Move from a single class to a classification dataset

The derivation begins with one class, but training involves C classes. For a training input x, the ground-truth label is y. The classifier supplies predicted probabilities collected in a vector p. The selected loss, written ℒ(p, y), measures the prediction error.

The label y identifies the category whose training count determines the balancing factor. The paper assumes a single ground-truth label when deriving the objective. That assumption matters even though sigmoid outputs are discussed as compatible with broader label settings.

For class i, the raw training count is nᵢ. In the most general version of the covering interpretation, each class could have its own total volume Nᵢ and therefore its own βᵢ.

Eₙᵢ = (1 − βᵢⁿᵢ) / (1 − βᵢ)

Eₙᵢ is the effective count for class i. The class-specific parameter βᵢ controls that category’s saturation rate, while nᵢ is its observed number of training examples.

The theoretical motivation for class-specific parameters is clear: categories can contain different amounts of variation. A broad category and a narrow category need not have the same number of prototypes. However, the authors do not have enough information to choose a reliable separate total volume for every class.

Their practical procedure therefore uses a shared parameter across the dataset. Every category follows the same effective-count curve, and differences in weights arise from differences in the observed counts. This is a simplification that makes the rule usable with the available information.

The resulting calculation should be read accordingly. It does not estimate individual category diversity from the feature vectors. It assumes a common saturation pattern and uses frequency to place each class along that pattern. The hyper-parameter absorbs the overall choice of how strongly counts should be compressed.

Invert the effective counts and normalize the weights

The class weight is inversely related to effective count.

αᵢ ∝ 1 / Eₙᵢ

αᵢ is the multiplier associated with class i. The proportionality symbol indicates that the inverse effective counts will be rescaled by a common normalization factor. A class with a smaller effective count receives a larger weight.

This preserves the basic direction of frequency balancing. Weakly represented categories receive greater influence per example. The difference is that the quantity being inverted can grow more slowly than the raw count.

The authors normalize the weights across categories.

∑ᵢ₌₁ᶜ αᵢ = C

The summation adds αᵢ over all C categories. C is the number of classes. This convention is intended to keep the overall loss scale reasonably comparable when the weighting is applied.

Normalization preserves relative category weights while changing their common scale. It therefore does not undo the balancing rule. It helps distinguish the desired redistribution of influence from a uniform change to every example’s multiplier.

The paper’s later notation uses the inverse effective count to stand for the normalized weight as well. That shorthand is convenient for presenting the losses, but the implementation should still retain the normalization convention. Otherwise, the displayed fraction and the final applied multiplier can be mistaken for identical quantities in every respect.

Using that notation, the general class-balanced objective is written as follows.

CB(p, y) = (1 / Eₙᵧ)ℒ(p, y) = ((1 − β) / (1 − βⁿᵧ))ℒ(p, y)

CB is the class-balanced loss. The vector p contains predicted class probabilities, y is the ground-truth label, and ℒ is the underlying objective. The count nᵧ belongs to the true category. Eₙᵧ is its effective count, calculated using the shared β.

The multiplier does not depend on which incorrect class receives the highest score. It is selected from the true label’s count. Every example carrying that label receives the same category-level factor under a fixed dataset and parameter setting.

This point is easy to lose when reading the sigmoid and focal versions. Those losses include contributions from multiple output classes, but the class-balanced factor still belongs to the example’s ground-truth category. It scales the complete per-example loss.

The claimed generality follows from this separation. The weighting factor needs the count and β; it does not require a particular network architecture or a particular form of prediction probability. The paper demonstrates that separation through familiar objectives instead of introducing a new classifier structure.

Apply the factor to softmax cross-entropy

A classifier produces a vector of logits z. A logit is an output score before conversion to a probability. The component zᵢ belongs to class i, and the vector contains an output for every category.

Softmax converts those scores into a distribution across mutually exclusive classes.

pᵢ = exp(zᵢ) / ∑ⱼ₌₁ᶜ exp(zⱼ)

pᵢ is the probability assigned to class i. The function exp is the exponential function. The denominator adds exponentiated scores across all C classes, using j as the summation index.

Because the denominator is shared, increasing one class’s relative score changes the distribution over the others. This suits the single-label setting in which the classifier must choose among competing categories.

The ordinary softmax cross-entropy uses the probability assigned to the true label.

CE_softmax(z, y) = −log(exp(zᵧ) / ∑ⱼ₌₁ᶜ exp(zⱼ))

CE_softmax names the unweighted objective. The vector z contains logits, y identifies the correct class, and log is the logarithm. The fraction is the softmax probability of that correct class.

When the correct class receives little probability, the negative logarithm produces a larger loss. When it receives more probability, the loss is smaller. The class-balanced modification preserves this response and changes its magnitude according to category count.

CB_softmax(z, y) = −((1 − β) / (1 − βⁿᵧ)) log(exp(zᵧ) / ∑ⱼ₌₁ᶜ exp(zⱼ))

CB_softmax is the weighted softmax objective. β controls count compression, and nᵧ is the number of training examples with the correct label. The remaining symbols have the meanings established for the ordinary softmax loss.

The adjustment is therefore external to the softmax probability calculation. The method does not redefine the competition among logits. It changes how much the resulting error contributes when the example belongs to a particular category.

That distinction supports a clear comparison. Softmax cross-entropy and its class-balanced version can be understood as sharing the same per-example error measure while differing in category-level influence. Any practical comparison must still consider the selected β and the surrounding training procedure.

Apply the factor to sigmoid cross-entropy

The sigmoid alternative treats each output as a binary decision about whether its category is present. In the single-label derivation, the correct category is positive and the other categories are negative. The outputs are not constrained to form the same mutually exclusive distribution used by softmax.

The paper motivates this alternative through real visual data. Categories can be similar, especially under fine-grained labels, and data can carry more than one semantic description. Independent outputs provide a way to formulate those decisions without requiring the same softmax competition.

These are motivations for the objective, not evidence that the paper evaluates a separate multi-label benchmark. The derivation and reported recognition setting still use a true label y. Keeping that scope explicit avoids turning a compatibility argument into an experimental claim.

To write the loss compactly, the authors define a signed logit.

zᵢᵗ = zᵢ if i = y; otherwise zᵢᵗ = −zᵢ

zᵢᵗ is the logit with a sign chosen according to the target. The superscript t marks this target-aligned form; it is not an exponent. The correct category keeps its original score, while every other category uses the negated score.

This notation lets the same expression reward a high score for the true category and a low score for an incorrect one. A large positive target-aligned logit means that the corresponding binary decision agrees with its target.

The sigmoid probability for that target-aligned decision is:

sigmoid(zᵢᵗ) = 1 / (1 + exp(−zᵢᵗ))

The sigmoid function converts the signed score into a value between 0 and 1. The exponential function acts on the negated target-aligned logit. A larger target-aligned score produces greater probability for the desired binary outcome.

The unweighted sigmoid cross-entropy adds the losses from every output.

CE_sigmoid(z, y) = −∑ᵢ₌₁ᶜ log(1 / (1 + exp(−zᵢᵗ)))

CE_sigmoid is the ordinary sigmoid objective. The index i runs across C classes. Each logarithm evaluates the probability of the desired binary outcome at that output, using the sign convention just defined.

The sum is important. This loss accounts for the positive target and for the negative targets associated with the other categories. It is not simply the negative logarithm of the true class’s independent sigmoid output.

The class-balanced version scales the whole sum.

CB_sigmoid(z, y) = −((1 − β) / (1 − βⁿᵧ)) ∑ᵢ₌₁ᶜ log(1 / (1 + exp(−zᵢᵗ)))

CB_sigmoid denotes the weighted objective. Its multiplier comes from the true category’s count nᵧ and the shared parameter β. The sum retains the binary decisions used by ordinary sigmoid cross-entropy.

This makes the method’s structure consistent across the softmax and sigmoid cases. The underlying objective defines what error means. The effective-count term defines how much that example’s category should matter relative to others.

Combine class balancing with focal loss

Focal loss changes the treatment of easy and difficult binary decisions. It begins with the target-aligned sigmoid probability and multiplies the logarithmic loss by a factor that becomes smaller when the prediction is already good.

The paper introduces a shorter name for that probability.

pᵢᵗ = sigmoid(zᵢᵗ) = 1 / (1 + exp(−zᵢᵗ))

pᵢᵗ is the probability assigned to the desired binary outcome for output i. The signed logit zᵢᵗ uses the earlier definition. A high pᵢᵗ indicates that this output agrees well with its target.

The focal objective is:

FL(z, y) = −∑ᵢ₌₁ᶜ (1 − pᵢᵗ)ᵞ log(pᵢᵗ)

FL names focal loss. The exponent γ controls how strongly well-predicted outcomes are reduced in importance. The index i covers the C outputs, and pᵢᵗ is the target-aligned probability. Here, the superscript ᵞ represents γ as an exponent.

When the target-aligned probability is high, the factor based on its complement suppresses the corresponding contribution. The objective therefore gives less relative attention to decisions that are already handled well. This is a response to prediction behavior, not to label frequency.

The class-balanced focal objective adds the effective-count multiplier outside that sum.

CB_focal(z, y) = −((1 − β) / (1 − βⁿᵧ)) ∑ᵢ₌₁ᶜ (1 − pᵢᵗ)ᵞ log(pᵢᵗ)

CB_focal is the combined objective. β governs category weighting, nᵧ is the true category’s training count, and γ governs the focal modulation. The probabilities and logits retain their earlier definitions.

The placement of the factors expresses their separate purposes. The class-balanced multiplier applies to the example because of its label. The focal factors apply within the loss because of the current target-aligned probabilities. A difficult example from a rare category can be affected by both mechanisms.

The paper also connects this construction to the α-balanced form of focal loss.

αₜ = (1 − β) / (1 − βⁿᵧ)

αₜ is the balancing coefficient in that focal-loss formulation. The subscript t refers to its target-related role. The paper’s effective-count expression provides a specific way to set the coefficient from class counts, subject to the normalization convention described earlier.

This relationship clarifies what is new in the combination. The contribution is not the existence of a multiplier in focal loss. It is an explicit rule for choosing a category-related multiplier through the effective-number framework.

Construct controlled long-tailed training sets

The experimental procedure needs datasets whose degree of imbalance can be changed deliberately. For CIFAR, the authors reduce the available training examples per category according to an exponential rule. They retain the original test set.

n = nᵢμⁱ

In this dataset-construction formula, n is the retained training count, nᵢ is the original number of images for the class, and i is the class index beginning at 0. The parameter μ lies between 0 and 1 and controls the decline across classes.

The notation serves a different local purpose from the earlier use of nᵢ for a class’s final training count. Here, it describes the original count before reduction. The important procedural point is that the class index determines a systematic decrease in retained examples.

The authors define imbalance factor as the largest training-category count divided by the smallest. Their CIFAR studies use factors of 10, 20, 50, 100, and 200. These settings provide controlled training distributions while leaving evaluation on the original test data.

That unchanged test set matters. The experiment alters what the classifier learns from, rather than simultaneously making the evaluation distribution follow the constructed tail. It therefore examines the effect of imbalanced training under a fixed CIFAR test collection.

The main CIFAR experiments use CIFAR-10 and CIFAR-100. The appendix adds CIFAR-20, which uses the same images as CIFAR-100 with 20 broader labels. This supplies another setting for examining how the label scheme relates to the preferred strength of weighting.

The method does not require artificial tails in ordinary use. They are an experimental device. Real-world iNaturalist data supplies a complementary test because its unevenness comes from the collection itself rather than from the authors’ controlled removal procedure.

Initialize sigmoid outputs for the objective being trained

Changing the objective can change the behavior at the beginning of optimization. The paper highlights a problem with the conventional choice of a zero bias in the final classification layer. Under sigmoid outputs, that choice puts every category’s initial probability near 0.5.

For a classification problem with many outputs, those probabilities can produce a large initial loss. The paper therefore adopts a different initialization for sigmoid cross-entropy and focal loss. It begins with a uniform prior over categories.

π = 1 / C

π is the initial class prior, and C is the number of categories. This is a uniform prior used for initialization. It should not be confused with the empirical frequencies of an imbalanced training collection.

The final-layer bias is set to match that prior through the sigmoid function.

b = −log((1 − π) / π)

b is the bias of the final linear classification layer. π is the selected prior, and log is the logarithm. The expression places the initial sigmoid probability at the intended prior rather than near the value produced by a zero bias.

The authors also exclude this final bias from L₂ regularization. That detail belongs to the same training treatment: the chosen initialization is part of making sigmoid-based objectives behave appropriately at the start of learning.

This example usefully illustrates that the conditions of an implementation can affect a comparison of losses. If sigmoid training begins under an unsuitable output prior, its early behavior can obscure the value of the objective. The paper’s comparisons include the initialization changes rather than assuming that the ordinary softmax setup transfers unchanged.

Train the networks under the stated optimization setup

The experiments use residual networks, following Deep Residual Learning for Image Recognition. The authors vary network depth in the large-scale studies and use ResNet-32 for CIFAR. All networks begin training from scratch, so the reported procedure does not rely on a pretrained starting representation.

The implementation uses TensorFlow. Optimization is stochastic gradient descent with momentum. The authors also identify a particular training instability in the CIFAR setting: following a learning-rate reduction, both loss and validation error could rise, especially when imbalance was severe.

Their remedy is a stronger reduction in learning rate. They use a decay multiplier of 0.01 in place of 0.1. This is an optimization choice surrounding the proposed weighting, and it should remain visible when describing how the experiments were conducted.

For CIFAR, the batch size is 128, and training lasts 200 epochs. The initial learning rate is 0.1. A reduction using 0.01 occurs at epoch 160; another reduction uses that multiplier at epoch 180. The opening 5 epochs use a linear learning-rate warm-up.

A single Titan X from NVIDIA supplies the computing hardware for the CIFAR runs. That hardware detail identifies the reported setup without suggesting that the class-balanced calculation requires a particular device. The extra weighting operation is defined independently of that choice.

For the larger datasets, the authors follow the large-minibatch training approach cited in the paper. Their iNaturalist and ILSVRC 2012 runs use batches containing 1024 examples, with computation performed on one cloud TPU.

Focal loss has a smaller numerical scale than the softmax and sigmoid cross-entropy objectives in their setup. The authors respond by changing the learning rate in the large-scale experiments. On ILSVRC 2012, the focal-loss learning rate is 2 × the comparison setting. On iNaturalist, the corresponding multiplier is 4 ×.

These changes are part of the actual procedure, not incidental details. They mean the large-scale comparison evaluates objectives under the authors’ selected training conditions. The effective-count factor remains a simple mathematical addition, but successful training also depends on how its underlying loss is optimized.

The paper identifies an official repository containing implementation code, data, and trained network checkpoints. That release accompanies the mathematical description and experimental procedure. The core method itself remains the same sequence: calculate class counts, transform them into effective counts, normalize inverse-count weights, and apply those weights to the chosen per-example objective.

Select the strength of balancing

For CIFAR, the authors search over the underlying loss and its relevant parameters. The loss choices are softmax cross-entropy, sigmoid cross-entropy, and focal loss. Their tested β values are 0.9, 0.99, 0.999, and 0.9999. For focal loss, the tested γ values are 0.5, 1.0, and 2.0.

The reported best class-balanced CIFAR settings are chosen through cross-validation. This is important because the paper’s practical proposal is a family of weighting rules. The theoretical derivation does not identify a universally optimal β for every dataset.

The parameter has a meaningful interpretation, but that does not make selection unnecessary. A larger β assumes that coverage continues growing for longer before saturation becomes important. A smaller β assumes stronger redundancy at lower counts. The appropriate choice is therefore connected to the dataset and its category structure.

The authors’ analysis of CIFAR connects this selection problem to granularity. The broader CIFAR-10 categories favor stronger frequency correction in their tested settings. CIFAR-100 requires smoother weights, and the appendix’s CIFAR-20 analysis reinforces the need to consider the label organization rather than simply copy a setting.

This interpretation is a reason to examine β, rather than a formula for deriving it from a category name. The training procedure does not count prototypes or estimate geometric volume from images. It chooses among parameter settings whose implied saturation behavior is then interpreted in light of the data.

For the large-scale experiments, the selected class-balanced focal configuration uses β = 0.999 and γ = 0.5. The authors describe this pair as giving reasonably good performance across their evaluated large datasets. It represents a shared practical choice for those experiments, not a claim that all future tasks should use the same values.

The distinction between β and γ remains useful during selection. Changing β changes the relative influence of categories through their training counts. Changing γ changes the emphasis placed on predictions that are already handled well. Their effects can interact during optimization, but the quantities respond to different information.

Read the complete procedure at the right level

The method is simple to apply because its practical inputs are limited. It needs category counts, a selected overlap parameter, and an existing loss. It does not need to reconstruct the feature-space regions used in the explanation. This is the source of both its convenience and its interpretive limit.

The convenience is that effective-count weighting can be attached to an established training objective with little conceptual disruption. The classifier still produces logits, the underlying objective still evaluates prediction errors, and stochastic optimization still updates the same trainable parameters. The added term changes the distribution of influence across labels.

The limit is that the resulting weights embody an assumption about coverage. They do not reveal the actual overlap among individual training examples. A category containing diverse observations and another containing close repetitions can receive the same effective count if their raw counts match under the shared parameter.

The paper deliberately accepts that simplification. Without reliable class-specific information about possible data variation, it uses a dataset-level setting. Its later discussion points toward better estimation through assumptions about the data distribution or adaptive learning, but those possibilities are beyond the procedure evaluated here.

Understanding the method therefore requires keeping its layers distinct. The covering argument explains the shape of the effective-count formula. The inverse effective count defines a category weight. The chosen base objective determines the response to prediction errors. Initialization and optimization choices make the complete training setup workable.

Together, those layers turn a broad intuition about repeated data into a concrete experiment. Additional observations can still help, but their contribution need not grow in direct proportion to their count. Class-balanced loss uses that idea to soften the relationship between category frequency and training influence, with β making the strength of the correction explicit.

Experiments and results

The experiments ask whether effective-count weighting improves recognition when training examples are distributed unevenly across categories. They also ask a broader question: can the same weighting principle remain useful when the dataset is large, when categories are narrowly defined, and when the underlying classification loss changes? The answers are encouraging, but conditional. The authors report gains from appropriate settings, alongside cases where stronger correction makes performance worse. The empirical contribution is therefore a useful family of weighting rules and an analysis of when its members behave differently.

The evaluation combines deliberately constructed imbalance with naturally occurring imbalance. The CIFAR experiments provide control over the training distribution: examples are removed according to a specified pattern while the test collection stays fixed. The iNaturalist experiments test the approach on species-recognition data whose uneven category frequencies arise from the collection itself. ILSVRC 2012 supplies a further comparison on a recognition benchmark that the authors describe as approximately balanced. Together, these settings test more than whether a single configuration succeeds on a single artificial tail.

There is an important boundary on numerical reporting. The discussion identifies the metrics, datasets, parameter settings, and directions of the comparisons, but does not state the error values contained in the results tables. Consequently, the findings support statements about which configurations perform better and under what conditions, without supporting an exact numerical account of the improvement. The numbers that can be reported precisely concern dataset size, imbalance, optimization, and selected settings. An exact error reduction should not be inferred from language such as “comparable” or from the depth of a competing network.

What the evaluation measures

For CIFAR, the reported outcome is classification error on the test set. This measures how frequently the trained classifier assigns the wrong category to a test image. The comparison is between losses trained on the same constructed distribution, with the original test collection retained. Lower error is preferable. Because the evaluation data is unchanged as the training tail becomes more severe, a performance change reflects a different learning situation instead of a simultaneous redesign of the test distribution.

For the larger datasets, the authors report validation error under top-1 and top-5 criteria. Top-1 concerns the classifier’s highest-ranked category. Top-5 concerns whether the correct category falls within its leading predictions. These metrics describe related but distinct recognition behavior. A network can fail to place the correct label first while still ranking it among plausible alternatives. Reporting both gives a broader picture than a single winning-label measure, although neither by itself explains which categories benefit.

The distinction between overall recognition error and category-specific performance matters throughout the paper. The motivation is that weakly represented classes are disadvantaged during training. The principal comparisons, however, are stated through aggregate recognition metrics. An improvement in overall error supports the practical usefulness of the objective under the tested evaluation distribution. It does not, without more detailed measurements, establish the size of the gain for every rare category or demonstrate equal performance across the label space.

The underlying comparisons also need to be separated. Adding the effective-count multiplier to a fixed loss asks whether category weighting helps that objective. Replacing softmax cross-entropy with class-balanced focal loss changes both category weighting and the treatment of prediction difficulty. Comparing networks of different depths adds architectural capacity to the picture. All these comparisons are informative, but they answer different questions and should not be presented as interchangeable evidence.

Controlled imbalance on CIFAR

The main controlled studies use CIFAR-10 and CIFAR-100. For each, the authors construct training distributions with imbalance factors of 10, 20, 50, 100, and 200. The factor describes the relationship between the largest and smallest training classes. It is a property of the retained training collection, not a score achieved by a classifier. Across these settings, the learning task becomes progressively more uneven while the testing procedure stays attached to the original dataset.

This construction is useful because it gives frequency imbalance a clear experimental role. Naturally gathered datasets contain many interacting properties: category difficulty, image quality, label ambiguity, and differences in the variety of observations. Removing examples according to a controlled rule does not eliminate those properties, but it allows the authors to vary the severity of the tail within a familiar recognition setting. A successful configuration must then cope with more than a particular naturally occurring frequency pattern.

All main CIFAR comparisons use ResNet-32. Holding this architecture fixed makes the loss comparison easier to interpret. The paper is not attributing its CIFAR findings to a larger recognition network or a pretrained representation. The networks are trained from scratch under the stated optimization procedure. Their differences arise from the selected objective, its class-balancing parameter, the focal parameter where relevant, and the corresponding training treatment.

The base objectives are softmax cross-entropy, sigmoid cross-entropy, and focal loss. Their class-balanced counterparts use the same effective-count principle. For focal loss, the authors examine γ settings of 0.5, 1.0, and 2.0. For the balancing parameter, they examine β settings of 0.9, 0.99, 0.999, and 0.9999. This matters because the results are not an evaluation of an unspecified balancing heuristic. The range of candidate behavior is explicit, from relatively smooth correction to weighting that more closely follows inverse frequency.

The best class-balanced CIFAR results are selected through cross-validation. That makes the reported performance evidence for a selectable family rather than evidence that a single predetermined β is optimal everywhere. A reader should distinguish the claim that an appropriate member of the family improves performance from the stronger claim that any class-balanced setting does so. The paper’s analysis directly rejects the stronger claim on CIFAR-100.

The central CIFAR finding is that appropriately chosen class-balanced objectives improve the corresponding ordinary losses on the long-tailed training sets. The authors also observe that sigmoid cross-entropy and focal loss often outperform the commonly used softmax objective under their training procedure. That second observation gives context to the first. Category balancing is not the only decision affecting recognition quality; the way prediction error is expressed also matters.

The dataset-dependent parameter pattern is particularly informative. On CIFAR-10, β = 0.9999 is the preferred tested value throughout the authors’ reported best-setting comparisons. On CIFAR-100, the preferred value is smaller and varies with the imbalance setting. These are not merely different numerical optima. They show that categories with different granularity can require different relationships between observed frequency and training influence.

The paper interprets this contrast through prototype diversity. A broad label can encompass more distinct appearances than a narrowly specified label. Under that interpretation, a broad category can continue gaining coverage from additional examples for longer, corresponding to a larger β. More narrowly defined categories may reach substantial overlap sooner and therefore benefit from smoother weighting. The results are consistent with that explanation, although they do not directly measure the number of prototypes.

Optimization conditions behind the comparisons

The CIFAR results depend on a training procedure that the authors adjust after observing instability. With their initial decay treatment, loss and validation error could rise after a scheduled learning-rate reduction. They report this behavior as particularly troublesome when the training distribution is highly uneven. The adopted remedy is to use a smaller decay multiplier.

Learning-rate decay settings in the CIFAR training procedure

The authors report that the smaller multiplier resolved the observed rise in loss and validation error.

Learning-rate decay settings in the CIFAR training procedureInitial decay setting: 0.1Initial decay setting0.1Adopted class-balanced training setting (this paper): 0.01Adopted class-balanced training setting(this paper)0.01
The numbers
System or settinglearning-rate decay multiplier
Initial decay setting0.1
Adopted class-balanced training setting (this paper)0.01

This chart compares optimization settings associated with the reported stability finding. It does not display classification errors, and its ordering should not be interpreted as a general rule that a smaller multiplier always gives better recognition. The paper identifies this particular change as the solution to the instability encountered in its CIFAR runs. No numerical error reduction is attached to the comparison.

The surrounding schedule is also part of the experimental conditions. CIFAR training uses a batch size of 128 and lasts 200 epochs. The learning rate begins at 0.1, with scheduled reductions at 160 and 180 epochs. A linear warm-up is used during the opening 5 epochs. These settings establish the optimization context in which the loss comparisons were obtained. They should not be mistaken for consequences of the effective-number derivation.

Sigmoid-based objectives receive another important treatment: the final classifier bias is initialized according to a uniform class prior rather than left at the conventional zero setting. The authors also remove weight decay from that bias. This reduces the large initial loss associated with treating every independent output as initially close to an even binary decision. The reported success of sigmoid cross-entropy and focal loss therefore belongs to a procedure that addresses their initialization needs.

These choices sharpen the interpretation of the results. The paper demonstrates that effective-count weighting can be useful within a carefully specified training setup. It does not establish that changing only the loss expression in an arbitrary existing run will reproduce the reported behavior. The weighting rule is independent of architecture in its mathematical definition, but the complete empirical procedure still includes architecture, initialization, batch size, learning rate, and training duration.

Naturally imbalanced species recognition

The iNaturalist experiments test the proposal outside artificially thinned CIFAR collections. The 2017 version contains 579,184 training images distributed across 5,089 categories. The 2018 version contains 437,513 training images and 8,142 categories. These are training-set sizes and label counts. The authors use the official training and validation partitions, preserving the benchmark’s established separation between learning and evaluation.

These datasets extend the evaluation in several ways. They are larger collections, they involve many species labels, and their imbalance is not produced by the authors’ exponential removal procedure. Their category structure also fits the paper’s discussion of fine-grained recognition. Distinguishing a particular species requires a more specific label decision than recognizing a broad visual category, making the relation between frequency and within-class variety especially relevant to the proposed interpretation.

The large-scale experiments use residual networks of different depths, trained from scratch. For their class-balanced focal configuration, the authors choose β = 0.999 and γ = 0.5. They describe this combination as performing reasonably well across the large datasets they examine. This is a practical cross-dataset choice within the reported evaluation, rather than a theoretical prescription derived from the number of images or categories.

On iNaturalist, class-balanced focal loss outperforms the softmax cross-entropy baseline by what the authors characterize as a substantial margin. The exact top-1 and top-5 error values are not stated in the accompanying discussion. The defensible conclusion is therefore directional and conditional: under the authors’ setup, the combined objective improves validation recognition compared with the conventional softmax objective. A precise percentage-point gain cannot be supplied without the numerical results.

A notable comparison concerns network depth. With class-balanced focal loss, ResNet-50 reaches performance described as comparable to that of ResNet-152 trained with softmax cross-entropy on iNaturalist. This gives the objective change practical significance beyond a narrow comparison between otherwise identical losses. It suggests that the training criterion can be consequential enough to alter how a shallower network compares with a deeper baseline.

That comparison should nonetheless remain within its reported scope. “Comparable” does not specify equality, and network depth alone is not a complete measure of training cost, memory use, or deployment speed. The paper’s statement concerns recognition performance under the tested conditions. It does not quantify an efficiency gain or establish that the smaller network is preferable for every operational constraint.

The species-recognition results strengthen the case that the method is useful beyond synthetic imbalance. They do not isolate every mechanism behind the gain. The main large-scale comparison combines focal modulation with class balancing, and focal training also uses a changed learning-rate scale. The result supports the combined training recipe. The controlled CIFAR comparisons provide the clearer evidence about adding the class-balanced factor to a particular base objective.

Recognition on ILSVRC 2012

The ILSVRC 2012 experiments use 1,281,167 training images and 50,000 validation images. These counts identify the scale of the learning and evaluation collections. The benchmark serves a different purpose from iNaturalist in the argument. The authors introduce it as a commonly used recognition dataset with approximately uniform category frequencies, so success there tests whether the proposed training objective can be useful outside a strongly long-tailed setting.

Class-balanced focal loss improves on softmax cross-entropy in the reported validation comparison. This broadens the practical claim, but its interpretation requires care. In a nearly balanced collection, the effective-count factors have less opportunity to redistribute influence between classes than in a severely uneven collection. A gain from the combined objective cannot automatically be attributed entirely to correcting a long tail. The change from softmax to focal loss remains part of the comparison.

The architecture comparison again gives a sense of practical relevance without supplying an exact error difference. ResNet-50 trained with the class-balanced focal objective is described as reaching performance comparable to ResNet-101 under the softmax baseline. As with iNaturalist, this concerns the reported recognition outcome. It is not a measurement of computational savings and should not be converted into one from the architecture names.

The large-scale runs use batches of 1024 examples on a cloud TPU. Because the focal objective has a smaller scale in the authors’ setup, its learning rate is increased relative to the comparison setting. For ILSVRC 2012, the multiplier is 2 ×. For iNaturalist, it is 4 ×. These adjustments mean that the reported comparison evaluates an objective with an accompanying optimization choice, rather than a loss substitution under an otherwise numerically identical schedule.

This is not a defect in itself. Different objectives can require different optimization treatment to be evaluated usefully. It does, however, limit causal attribution. If a reader asks how much of the large-scale gain comes specifically from the effective-count multiplier, the comparison with softmax cross-entropy is not sufficient by itself to answer that question. It shows that the complete class-balanced focal procedure is competitive under the stated conditions.

What the training curves add

The authors present training curves for ResNet-50 on ILSVRC 2012 and iNaturalist 2018. In both cases, the class-balanced focal configuration uses β = 0.999 and γ = 0.5. Its advantage over softmax cross-entropy becomes apparent after 60 epochs. This is a temporal observation about the compared training runs, not a universal convergence threshold.

The delayed separation matters because a loss that looks unremarkable early in training can still produce a better eventual recognition outcome. Early behavior is shaped by initialization, easy distinctions, and the initial scale of the objective. The paper’s curves show that the relative performance of the compared procedures is not fully revealed at the beginning. They therefore support assessing the completed training trajectory rather than judging the objective from its opening phase alone.

The curves do not establish why the advantage appears at that point. They do not directly measure prototype coverage, identify a transition in rare-category learning, or show that overlap has been estimated more accurately. They display recognition behavior over training. Their role is to demonstrate when the reported improvement emerges under the chosen procedure, while the coverage explanation remains a conceptual account of the weighting rule.

Taken together, the experiments support a practical but bounded conclusion. Effective-count weighting improves familiar objectives on controlled long-tailed recognition tasks when its strength is selected appropriately. The combined class-balanced focal procedure also performs well on large, naturally imbalanced species data and on ILSVRC 2012. The strongest evidence is not that all imbalance should receive the same correction, but that a tunable correction can outperform both leaving category influence unchanged and pushing it too close to inverse-frequency weighting.

What the ablations show

The paper offers several controlled comparisons that help explain its empirical behavior. The most informative vary the balancing parameter, hold a constructed imbalance setting fixed, compare ordinary losses with their weighted counterparts, and examine different label granularities. The appendix widens these comparisons across additional parameter combinations. These analyses are valuable because the proposed method contains a meaningful choice: the effective-number formula supplies a family of corrections, and the experiments must reveal which parts of that family are useful.

The central distinction is between evidence that weighting helps and evidence about why a particular weighting shape helps. Comparing a loss with and without its class-balanced term addresses the first question. Comparing β settings addresses the second more directly. The authors also interpret differences across datasets through the prototype account. That interpretation connects the empirical pattern to the theory, although it remains less direct than the observed performance comparisons themselves.

Hold imbalance fixed and vary the correction

The detailed main-text analysis uses a CIFAR imbalance factor of 50. Fixing this factor keeps the severity of the constructed tail constant while the weighting strength changes. This is a cleaner way to study β than comparing a preferred setting from one distribution with a preferred setting from another. The count pattern stays attached to the same experimental problem, so the comparison focuses on how the objective responds to it.

On CIFAR-10, adding the class-balanced term improves the original objectives across the examined β settings. Increasing β produces larger gains in that analysis. Within the tested range, the correction becomes more useful as it approaches the behavior of inverse-frequency weighting. This supports the authors’ choice of a large β for the broader CIFAR-10 results.

The conclusion is limited to the examined settings. It does not imply that β can be increased without limit under every training procedure, nor does it establish a universal relationship between coarse labels and maximum correction. What the comparison shows is that, for this dataset and constructed distribution, the stronger tested balancing settings are favorable. The interpretation must remain connected to the experiment rather than turned into an unrestricted design rule.

CIFAR-100 produces the contrasting pattern. Settings such as β = 0.99 and β = 0.999 improve the unweighted objectives, while a larger setting can reduce recognition quality. This result is especially important because it prevents the effective-number construction from being read as a theoretical justification for inverse frequency in all circumstances. Its useful behavior includes the ability to stop short of that extreme.

A method that merely proposed stronger treatment of rare classes would have difficulty explaining this reversal. Here, the reversal is consistent with the motivation for smoothing. If raw count exaggerates the difference in distinct coverage between common and rare categories, using that count too directly can distort their relative training influence. A smaller β compresses effective counts and produces a less severe adjustment.

The experiment does not directly observe this distortion as covered volume in a feature space. It observes the outcome of training under different weights. The coverage argument supplies a possible explanation for why smoother correction helps. Keeping those levels separate makes the analysis stronger: the empirical pattern is clear even though the underlying geometry has not been measured.

Compare frequency with effective coverage

The paper visualizes effective counts for different β settings on the long-tailed CIFAR datasets. These plots show the consequences of the formula before any claim about recognition performance is made. When β is close to 1, the effective counts track raw counts more closely. When β is smaller, the differences between classes are compressed because their effective counts approach saturation sooner.

This visualization connects a numerical hyper-parameter to a change in the training objective. Without it, β might appear to be an arbitrary tuning knob. With it, the reader can see that selecting β changes the assumed relation between additional observations and additional useful coverage. The empirical question becomes whether that relation produces an appropriate balance for the task.

For CIFAR-10, the favorable β = 0.9999 setting makes the effective counts close to the observed counts. The authors therefore describe the preferred behavior as resembling inverse-frequency correction. The value is not useful because it is intrinsically large; it is useful because the corresponding weighting relationship works for the tested category structure and training distributions.

For CIFAR-100, the poor outcome from a larger β supports using a more compressed count scale. The conclusion is not that frequency should be ignored. The smaller β values still use observed frequency, and rare classes still receive greater weight per example. What changes is how sharply that weight declines as a class becomes more common.

This is the most consequential controlled finding in the paper. The same broad imbalance problem can call for different corrections. Raw counts identify which categories are common and rare, but they do not by themselves identify the appropriate strength of compensation. The effective-number family gives the authors a way to vary that strength while retaining an interpretation in terms of diminishing returns.

Label granularity as an explanatory variable

The authors explain the CIFAR contrast through the breadth of the labels. A general category can contain many visibly distinct forms, while a narrowly defined category represents a more specific slice of possible appearances. In the covering interpretation, the broader class can have more prototypes and a larger total volume. That would make a larger β plausible.

The bird example makes the reasoning concrete. A category that includes birds generally can cover more variation than a category restricted to a particular species. If both categories contain many observations, their counts need not correspond to the same degree of saturation. A narrowly defined category might revisit similar appearances more frequently, while a broad category continues introducing distinct cases.

This is an interpretation of what category structure could mean for the effective-count parameter. It is not a measurement of the number of prototypes in either dataset. The practical method does not inspect images to estimate that number. The authors reason backward from the preferred parameter pattern and the known distinction between coarse and fine labels.

The appendix contributes a useful additional comparison through CIFAR-20. It uses the images associated with CIFAR-100 but groups them under 20 broader categories. This makes the annotation scheme part of the analysis instead of treating the image collection as the only relevant unit. A training dataset includes both observations and a decision about how those observations are divided into labels.

The appendix reports that lower β settings are needed for good performance on CIFAR-20 and CIFAR-100, whereas CIFAR-10 generally benefits from higher settings. This supports the broader argument that the correction cannot be chosen from the imbalance factor alone. At the same time, it resists an overly simple monotonic story in which every move towards broader labels automatically produces the largest preferred β.

The useful inference is therefore modest. Label granularity is relevant to interpreting frequency and selecting weights. The paper does not establish a deterministic mapping from the number of labels to the correct β. Image diversity, category definitions, retained examples, and optimization can all matter, and the reported analyses do not separate every one of those influences.

Separate the class-balanced term from the base loss

The CIFAR comparisons apply effective-count weighting to softmax cross-entropy, sigmoid cross-entropy, and focal loss. This tests whether the proposal is tied to a particular form of classification error. Gains across the base objectives support the claim that the weighting component can be useful independently of the decision to use softmax or independent sigmoid outputs.

The comparison is especially informative for focal loss. Focal modulation already changes example influence according to current prediction behavior. If adding the class-balanced factor improves that objective, category frequency is contributing information that focal modulation does not fully replace. This supports the paper’s claim that balancing by count and emphasizing difficult predictions are complementary interventions.

Complementarity does not mean their effects are guaranteed to add without interaction. The category multiplier changes the gradient contribution of examples, and those updates change later predictions. Focal modulation then responds to those predictions. The factors depend on different quantities, but they participate in the same optimization process. The paper establishes practical compatibility in its experiments, instead of a general theorem about independent benefits.

The sigmoid comparisons also require their initialization context. The authors do not leave sigmoid outputs under the same default bias treatment used in ordinary softmax training. Their reported advantage over softmax in many CIFAR cases belongs to the adjusted initialization procedure. A reader should therefore credit the evaluated objective-and-training combination, rather than attribute every difference to output independence alone.

The paper motivates sigmoid outputs through similar categories and possible multi-label interpretation. The experiments do not separately verify those proposed advantages as mechanisms. A performance comparison between objectives shows which one works better in the tested setup. It does not reveal whether the gain came from reduced competition among related categories, different optimization geometry, or another consequence of the objective.

What the appendix broadens

The appendix evaluates the losses over imbalance factors of 200, 100, 50, 20, and 10. It includes ordinary and class-balanced objectives, the tested β settings, and the focal γ settings. Rather than presenting only a winning configuration, it exposes a wider response surface. This helps readers see whether the headline result depends on a narrow combination.

The displayed error comparisons are organized by training configuration and imbalance setting. Their purpose is to make favorable and unfavorable regions visible. The main-text best values correspond to the preferred configurations within this broader set of runs. This relation matters because a concise results table can hide how sensitive a method is to selection.

The appendix reinforces the main qualitative pattern: strong correction tends to suit CIFAR-10 better, while smoother alternatives are important for CIFAR-20 and CIFAR-100. It also shows why a statement such as “class balancing improves performance” needs a parameter condition. The family includes settings that are poorly matched to a dataset, and reporting only the existence of a gain would conceal that fact.

The broader sweep is still not a complete robustness study. It tests the values chosen by the authors, not every possible parameter or training regime. The discussion does not provide a statistical account of variation across repeated random runs. The appendix is most useful as evidence about sensitivity within the explored grid, rather than as a guarantee that each preference will remain unchanged under every repetition or implementation.

Analyses that are suggestive rather than isolating

The large-scale training curves show that the combined objective becomes favorable after 60 epochs, but they do not identify which part of the objective causes the timing. Class weighting, focal modulation, and the chosen learning rate all influence training. The curves are evidence about the behavior of the complete procedure over time.

Similarly, the comparisons across network depth establish that objective choice can materially affect recognition performance. They do not isolate a replacement rate between architectural depth and better weighting. There is no basis for turning “comparable” performance into a general equation between a loss modification and a particular increase in network capacity.

The prototype explanation remains an organizing hypothesis. It makes the preferred β patterns intelligible and connects them to the derivation. What would more directly test that explanation would be an independent account of within-class overlap and a comparison between that account and the selected weights. The reported procedure does not perform that measurement.

The strongest ablation conclusion is consequently about the shape and strength of correction. More attention to rare categories is not automatically better. The useful amount depends on the dataset and its labels, and effective-count weighting supplies a controlled way to vary it. The remaining analyses show that the same principle can coexist with different objectives and operate within large-scale recognition training.

Limitations

The paper’s appeal lies partly in its compactness: category counts and a shared parameter are enough to calculate the weights. That simplicity also defines its limits. The method does not inspect individual examples to determine whether they overlap, and the derivation does not establish that the calculated effective count equals a directly measurable amount of useful information in a trained classifier. Its theory and experiments support different parts of the argument.

The authors explicitly acknowledge several open issues, especially the difficulty of choosing class-specific diversity parameters and the possibility of improving effective-count estimation with more information. Other limitations follow from the experimental design. Distinguishing these sources matters. An acknowledged future direction is not the same thing as a failed experiment, and an untested application is not evidence that the method cannot work there.

Limits the authors identify

The practical weighting rule assumes that all classes in a dataset share the same saturation parameter. The authors adopt this because determining a suitable total volume for every category is difficult without additional information. This is an explicit compromise between a more expressive interpretation and an implementable method.

The compromise can matter when categories differ in diversity. A broad category with many distinct appearances and a narrow category with repetitive examples are both placed on the same effective-count curve. Their weights differ through frequency alone. The practical objective therefore does not fully realize the possibility of category-specific prototype counts introduced by the theoretical discussion.

The authors also state that better knowledge of the data distribution could improve the effective-number estimate. Their current rule avoids specifying that distribution, which contributes to its broad applicability. But avoiding a distributional description does not make every distribution behave identically. It means the weighting curve is selected without explicitly representing those differences.

Their proposed future directions include incorporating plausible distributional assumptions and developing adaptive, learning-based estimation. These suggestions identify a meaningful gap: the effective number is motivated by coverage, yet its practical calculation does not learn actual coverage from the observations. A more adaptive method might connect the weights more closely to the collection’s internal structure.

These possibilities remain proposals in the paper. No reported result demonstrates that class-specific estimation, a learned overlap measure, or a distribution-aware extension improves recognition. They should be treated as directions opened by the framework rather than features already present in the evaluated loss.

The coverage process is an idealization

A central limitation of the derivation is the treatment of overlap. A new sample region is assumed either to be fully covered already or to contribute an entirely fresh unit. Real neighborhoods can intersect partially and in different ways. The authors deliberately remove those possibilities to make expected coverage tractable.

The resulting formula is exact for the simplified process. Its exactness does not transfer automatically to the geometry of real visual data. Images, augmentations, and learned representations need not behave as unit regions sampled under the assumed rule. The practical weighting method can still work even if that geometry is only an analogy, but the theoretical claim should remain attached to its stated assumptions.

The probability of overlap is also described through expected covered volume relative to total volume. This produces a concise recurrence, but it does not capture all ways in which data collection can be structured. Repeated photographs, clustered observations, and systematic collection choices could yield overlap patterns that are not summarized by this rule. The paper does not individually analyze such sampling processes.

This is a limitation inferred from the construction, instead of a contradiction of the experimental findings. A useful training heuristic can arise from a simplified account of data. The relevant scientific question is whether that account predicts behavior reliably enough to guide choices. The CIFAR parameter comparisons provide some support, while leaving the geometric interpretation less directly tested.

The prototype language should therefore be read carefully. The method does not discover representative images, assign observations to prototype clusters, or verify a finite prototype inventory. N gives the saturation level within the theoretical construction. Calling it a number of prototypes helps explain its intended meaning, but does not turn it into an observed dataset statistic.

Frequency remains the practical input

Though the motivation emphasizes redundancy, the implemented weighting rule uses class frequency and a shared β. Two classes with the same training count receive the same effective count under that setting. This remains true even if their observations differ greatly in variety or repetition.

The limitation is not that frequency becomes irrelevant. Frequency is the information the method is designed to use. The issue is that effective count can sound like a measured property of the examples themselves. In the practical procedure, it is a transformation of count under an assumed diminishing-return pattern.

A careful interpretation therefore avoids saying that the method has detected duplicates or quantified semantic diversity. It has assigned weights according to a coverage-inspired curve. The experiments establish whether those weights improve recognition, not whether each category’s actual redundant content has been recovered.

The shared curve also cannot distinguish reliable rare examples from unreliable ones. A mislabeled observation in a rare category receives the same category factor as a correctly labeled observation carrying that label. The authors discuss the dangers of emphasizing noisy high-loss examples in related work, but the proposed frequency factor does not itself provide a label-quality test.

Combining the factor with focal loss adds sensitivity to current prediction difficulty. That combination can be useful, yet it does not remove the possibility that noisy observations are difficult. The paper reports gains from the combination on its benchmarks; it does not establish robustness to a controlled level or type of label corruption.

Parameter interpretation does not replace selection

β has a useful meaning, but the paper does not offer a direct estimator that identifies its best value from a dataset before training. The CIFAR results rely on cross-validation over candidate settings. The large-scale experiments use a configuration the authors find effective across their evaluated collections.

This means the method’s practical success includes a selection procedure. The derivation provides the form of the curve and meaningful endpoints. It does not prove that β = 0.999, β = 0.9999, or any other particular setting is optimal for a new task. The contrasting CIFAR results show why that distinction is necessary.

The same applies to γ in focal loss. It controls a different mechanism, but it still participates in choosing a favorable training objective. A reported class-balanced focal result represents a selected combination of category correction and difficulty modulation. It should not be interpreted as the inevitable outcome of applying the effective-number formula alone.

The paper’s explanation through granularity is useful guidance instead of a selection algorithm. Broad categories may plausibly support more prototypes, but the experiment does not derive a parameter from a label definition. It also does not establish that the number of categories is sufficient to choose the weighting strength.

This limitation is practical rather than fatal. Many useful training methods require validation. What matters is describing the claim correctly: the paper supplies an interpretable family that performs well with appropriate selection. It does not eliminate the need to test how much balancing a particular task needs.

Attribution in the large-scale comparisons

The large-scale headline comparison places class-balanced focal loss against softmax cross-entropy. Several properties change together. The output treatment differs, focal modulation changes the role of easy predictions, category weights are introduced, and the learning-rate scale is adjusted for focal training.

The comparison answers whether the authors’ combined procedure improves recognition over a familiar baseline. It is less decisive about how much improvement is caused by the class-balanced term specifically. That narrower question needs comparisons in which the base objective and relevant training treatment are held fixed.

The CIFAR studies move closer to that isolation by evaluating ordinary objectives and their class-balanced variants. They are therefore particularly important to the causal argument. The large-scale studies extend the practical reach of the recipe, but should not erase the distinction between evidence for a component and evidence for a combination.

The depth comparisons have a similar boundary. A shallower network reaching recognition performance comparable to a deeper baseline is a meaningful result. It does not establish a universal tradeoff between objective choice and architecture size. The paper does not supply a comprehensive analysis of computation, memory, latency, or training expenditure for those alternatives.

Aggregate metrics leave category behavior unresolved

The central motivation concerns underrepresented classes, yet aggregate error can conceal different distributions of gains and losses. A lower overall error does not demonstrate that every tail category improves. It can result from broad modest gains, concentrated changes in a subset of labels, or a mixture of improvements and regressions.

The reported discussion does not provide enough category-specific numerical evidence to distinguish those possibilities. This is a limit visible in the evaluation account, not an assertion that rare classes failed to benefit. The safe claim is that the objective improves the reported recognition metric under the tested label distribution.

The same caution applies to equality of treatment. Assigning larger weights to rare labels changes optimization, but it does not guarantee equal error rates, calibrated probabilities, or a particular decision policy. Those are separate outcomes that would need their own definitions and measurements.

An approximately balanced test collection and a naturally occurring test distribution can also reward different compromises. The CIFAR procedure deliberately holds its original test data fixed while changing training counts. That is a clear experiment, but its preferred weighting need not transfer unchanged to a deployment distribution with different category prevalence or different error costs.

The paper does not claim to solve every choice of target distribution. Its weights are motivated through effective training coverage. They are not derived from a specified application cost for each kind of mistake, and they do not replace the need to decide what performance a real system should optimize.

Scope beyond visual recognition

The weighting factor is mathematically compatible with many classification objectives, but the reported experiments concern visual recognition with residual networks. This distinction limits what can be claimed about transfer. Independence from a particular network definition does not constitute empirical evidence across all kinds of data or prediction tasks.

The single-label assumption is another boundary. The derivation uses one ground-truth category to choose the example’s multiplier. Sigmoid outputs are discussed as naturally compatible with multi-label prediction, but a multi-label example can raise additional questions about how its several labels should determine a class-balanced contribution. The paper’s recognition results do not settle those questions.

Similarly, the framework does not directly establish results for sequence prediction, retrieval, or structured annotation. Such applications might reuse the idea of saturating counts, but they would need a clear definition of the relevant class, observation, and weighting unit. Treating every possible transfer as already validated would overstate the evidence.

The work is strongest when read at its demonstrated scale: a coverage-inspired transformation of category counts can improve the training of visual classifiers. The theory explains why a saturating count is reasonable, the controlled experiments show that correction strength matters, and the larger experiments establish practical usefulness for the selected objective. Beyond that boundary, the paper supplies a hypothesis to test.

What came after

The later citation record spans language classification, visual reasoning, scientific question answering, speech, and evaluation. That breadth shows that the paper became relevant to discussions well beyond its original visual-recognition experiments. It does not, by itself, reveal the exact method used in each citing study. A citation can acknowledge background, motivate a baseline, identify an alternative, or support a component that is actually implemented.

The later-work descriptions identify titles and publication years, but do not explain the citation’s role within each study. That limits the historical account. It is possible to trace where the paper was cited and, where a title explicitly names class-balanced loss or normalization, identify that stated connection. It is not possible to supply missing implementation choices, performance figures, or claims about which effective-number settings were used.

A useful way to understand this record is to follow the kinds of problems in which the original distinction remains relevant. Category prevalence, example difficulty, label granularity, and the unit being balanced can all recur in other tasks. Those conceptual connections explain why the paper offers reusable language for later research. They should be kept separate from confirmed statements about what any particular citing work implemented.

Document classification and offensive-language detection

AraDIC provides the clearest title-level connection to the original objective. The 2020 work describes Arabic document classification using image-based character representations together with class-balanced loss. The loss is therefore part of its stated method, rather than merely an inferred concern from its application area.

This is a notable change in task framing. The original paper evaluates image recognition, while AraDIC’s target is a document category. Its title also retains an image-based route to character representation. The connection shows a later classification setting in which class balancing is explicitly brought together with a different representation of the input.

The available description does not establish which base loss AraDIC weights, how it selects its balancing parameter, or whether it reproduces the effective-number formula without modification. Nor does it state an ablation isolating the contribution of that loss. Those details matter if the question is not just whether the idea appears, but whether the later study confirms the original explanation.

Arabic Offensive Language Detection, also from 2020, cites the class-balanced-loss paper in a study whose title emphasizes attention-based deep networks. The confirmed connection is the citation within an offensive-language classification setting. The title does not specify the loss used or show that effective-count weighting is an implemented component.

The original paper is conceptually relevant to such a classification problem because an objective can respond separately to label prevalence and current prediction difficulty. That is a general methodological connection, not a reported result from the later study. Without a description of its experiments, one should not claim that class balancing improved offensive-language detection or identify a particular source of its performance.

Together, these entries illustrate different strengths of evidence in a citation record. AraDIC explicitly foregrounds a class-balanced objective. The offensive-language title identifies the task and architecture emphasis but leaves the role of the cited loss unspecified. Treating them identically would obscure the difference between named adoption and a citation whose purpose is not documented in the description.

Translation findings and diagram reasoning

The citation list includes WMT21 Findings, published in 2021. Its scope is machine translation, which differs from the single-label visual-recognition setting used to evaluate effective-count weighting. The citation therefore places the original work within a broader research conversation, but the title alone does not identify how the loss enters that conversation.

This distinction is especially important for a findings report. A broad account can discuss many systems and training choices. Its citation to class-balanced loss should not be converted into the claim that the entire report uses one shared objective, that a particular translation system adopts the effective-number formula, or that the formula improves translation quality. None of those details is established by the listed description.

IconQA is another 2021 citing work. It introduces a benchmark concerning abstract diagrams and visual-language reasoning. Its connection places the paper near a task in which visual recognition contributes to a more elaborate understanding problem, instead of serving only as an isolated category decision.

For the original method, this raises a question about the unit of balancing. In a benchmark involving diagrams and questions, relevant counts might be associated with answer categories, visual elements, or another defined training target. The citation description does not specify which, if any, is used. The methodological point is that moving to a richer task requires identifying what an “example count” means for the objective being balanced.

IconQA’s presence in the citation record therefore demonstrates topical reach, while leaving implementation and effectiveness open. It should not be presented as a replication of the CIFAR findings. A benchmark paper can cite an objective for reasons that do not amount to a controlled validation of its theoretical interpretation.

These entries are useful precisely because they expose a boundary of portability. Effective-count weighting is easy to write down once categories and counts are defined. In more complex tasks, defining those quantities is part of the scientific work. The later titles show new task contexts, but they do not supply the missing definition or establish a common adaptation.

Stance classification and dialogue acts

The 2022 citation record contains separate Stanceosaurus entries concerning stance towards multicultural misinformation and multilingual misinformation. Their titles identify stance classification as the target problem. They also indicate cultural and language scope as central features of the work.

The descriptions do not establish whether these entries use the same training procedure or how either cites the effective-number framework. They should therefore remain separate records rather than be merged into a single methodological claim. Both show that the original paper was cited in later stance research; neither title supplies a class-balanced-loss ablation.

Stance classification offers a clear conceptual reason to care about the distinction between category frequency and difficulty. A classifier’s current mistakes need not correspond exactly to the prevalence of its labels. That is the general distinction developed in the original paper. It can guide questions about a stance objective without implying that the later studies measured or resolved the issue in a particular way.

The multilingual scope also raises questions that the original visual experiments do not answer. A class count can be considered within a language or across an entire training collection, and those choices need not describe the same coverage. This is a possible extension of the original reasoning, not a confirmed feature of either Stanceosaurus entry.

Deferred Optimisation for Dialogue Acts places the citation in another 2022 setting. Its title combines meta-learning, deferred optimization, sentiment and emotion information, and multimodal dialogue-act classification. This situates the work within dialogue systems and the study of communicative categories rather than species recognition.

The original paper’s relevance here can be understood through training influence. A dialogue-act classifier may have a labeled objective, and a deferred optimization procedure concerns when or how training adjustments operate. But the title does not establish that effective-count weights are deferred, learned, or combined with a particular meta-learning rule. Those would be specific implementation claims requiring a description of the later method.

The citation record thus connects class-balanced loss with research on richer supervisory settings and optimization strategies. It does not show that the original fixed, dataset-level β was retained. One of the most interesting open historical questions is whether later work used the formula unchanged or treated it as a starting point for adaptation; the listed titles do not answer that question.

Hierarchical labels and vision-language composition

Hierarchical Guidance for Prompt Tuning cites the paper in 2023. Its title concerns parameter-efficient adaptation for implicit discourse relations organized across levels. The relevant application area is discourse analysis, where the structure of the label inventory is itself part of the problem.

This gives the original paper’s granularity discussion a useful conceptual connection. If labels exist at several levels, a count attached to a broad category and a count attached to a narrow category do not necessarily represent comparable coverage. The CIFAR analysis already warns against interpreting frequency without considering what a label groups together.

That connection should not be mistaken for a description of the later implementation. The title establishes hierarchical guidance and prompt tuning, but does not specify effective-number weights at different levels. It does not report whether class-balanced loss is a baseline, a component, or related background. The original idea helps formulate the question; the citation description does not supply the answer.

InternLM-XComposer is another 2023 citing work, focused on text-image comprehension and composition. Its scope belongs to vision and language, extending beyond the category-recognition tasks used in the class-balanced-loss experiments.

The presence of this citation should be interpreted conservatively. A system that handles images and text can involve several objectives and kinds of training data. The title does not identify which of those, if any, uses effective-count weighting. It would be unsupported to claim that the entire training collection is balanced through the original formula or that the formula explains the system’s capabilities.

The broader methodological issue is familiar: once an objective combines heterogeneous supervision, “class frequency” may no longer refer to an obvious single inventory. The original rule remains simple only after its weighting unit is defined. The later citation shows that the paper enters this wider area of research, but not how that definition is resolved.

Scientific question answering

ScholarChemQA appears in the 2024 citation record and concerns question answering for chemical research. Its title identifies a scientific application instead of a direct continuation of visual long-tail classification. The confirmed connection is that it cites the effective-number paper.

A question-answering study can have several distinct evaluation and training targets, so its relation to class balancing cannot be read directly from the task name. It might discuss classification components, data distributions, or alternative objectives, but the listed description does not establish any of these as the citation’s role.

The original paper’s contribution is nonetheless a useful point of reference for reasoning about uneven supervision. It asks whether many observations amount to equally many distinct contributions. In scientific tasks, that question could matter whenever a defined category appears repeatedly, but applying it would require a task-specific account of examples and labels. No such adaptation should be attributed to ScholarChemQA without evidence.

The important historical observation is therefore narrower than a success claim. By this point in the citation list, the paper is being referenced in scientific language applications as well as recognition and document classification. That is evidence of relevance across research settings, while remaining silent about the size or mechanism of any downstream benefit.

Multi-label detection and medical classification

MALTO at FadeIT is listed in 2026 with a focus on multi-label fallacy detection in Italian social media. Its task specification matters because the original class-balanced derivation selects a multiplier from a single ground-truth label. An example carrying several labels introduces an additional design question.

The later title does not state how that question is answered. It does not establish whether the cited loss is used independently for each label, aggregated across labels, or discussed only as related work. Any of those possibilities would lead to a different relationship between the original derivation and the later objective.

What can be carried forward conceptually is the separation between prevalence and prediction difficulty. A label can be rare without being uniformly difficult, and a difficult prediction can belong to a common label. In multi-label classification, that distinction remains meaningful, but the mechanics of weighting need to be specified. The citation alone does not provide them.

KvochurHegel at AbjadMed concerns Arabic medical question-answer classification in 2026. Its title explicitly emphasizes the combination of LDAM loss and adversarial training. The class-balanced-loss paper is a cited predecessor, but the named objective in the title is a different one.

This is a useful reminder that influence need not mean direct adoption. A later study can situate its choice of imbalance treatment in relation to the effective-number approach while selecting another method. The description does not establish whether class-balanced loss is tested as a baseline or how the comparison is conducted, so neither a defeat nor a confirmation of the original method can be claimed.

These later classification tasks also have application-specific considerations that the visual experiments do not measure. The original paper supplies a way to redistribute training influence; it does not determine how to evaluate the consequences of every medical or argumentative classification mistake. Citation in a new application does not remove that need for task-specific evaluation.

Class-balanced normalization and general evaluation

SURGELLM is listed in 2026 with a title that combines multitask evaluation, task-aware feature gating, and class-balanced normalization. Unlike entries where the role of balancing is invisible, this title explicitly identifies a class-balanced component.

Even here, terminology needs care. Class-balanced normalization is not automatically the same operation as multiplying a classification loss by inverse effective count. The title does not give the normalization equation or establish that it preserves the original β-based form. It supports a connection at the level of an explicitly balanced mechanism, while leaving the mathematical relationship unspecified.

The move towards multitask evaluation is conceptually significant. The original paper balances categories within a training objective. A multitask system can also face choices about how evidence or scores from different tasks are combined. Those are related concerns about unequal influence, but they are not identical problems. A shared phrase should not collapse the distinction between training weights and evaluation normalization.

ltzGLUE, also listed in 2026, concerns general language-understanding evaluation for Luxembourgish. Its citation connects the paper with evaluation and benchmarks in a language setting. The title does not identify an effective-number component or a reported balancing result.

The connection is therefore best stated as part of the citation’s reach. A benchmark can bring together tasks with different label inventories and frequency patterns, making category-level evaluation relevant. But it would go beyond the description to claim that ltzGLUE standardizes class-balanced loss, recommends a particular β, or demonstrates its superiority.

Together, these entries show why the original distinction remains useful even when the mechanism changes. Counts, weights, and evaluation importance are different quantities. The effective-number paper offers one principled relationship between counts and training weights. Later work must still specify whether it borrows that relationship, adapts its intuition, or cites it as an alternative.

Code detection, meta-learning, and speech

Team Yuvan is listed in 2026 for task-adaptive ensembles in AI-generated code detection. The task belongs to code and programming languages, while the title emphasizes ensemble strategy. The role of class-balanced loss is not specified in the description.

An ensemble combines predictions or systems, whereas the original method changes the contribution of training examples. Those mechanisms can coexist, but they operate at different points. The citation should not be interpreted as evidence that the ensemble itself uses effective counts to combine its members. That would require a description of the weighting rule used in the later work.

Meta Learning for Class Imbalance Adaptation has the most explicit problem-level connection among these entries. Its 2026 title places class imbalance at the center and identifies meta-learning as its approach. It therefore addresses the same broad difficulty that motivates the original paper, although the method indicated by the title is different.

The conceptual link to the original discussion is adaptation. The class-balanced-loss authors identify learning-based estimation as a future possibility, while the later title concerns meta-learning for imbalance adaptation. That thematic continuity is worth recognizing. It does not establish that the later work implements the particular adaptive effective-count procedure envisioned in the original discussion.

The description does not state whether the later method learns category weights, adjusts another training component, or evaluates effective-number weighting as a comparator. Nor does it supply numerical results. The most precise account is that the paper is cited within a later study explicitly concerned with adapting to class imbalance.

MERaLiON-GR completes the listed record with a 2026 study of speech gender recognition covering English and SEA languages. This places the citation in speech, another input setting outside the visual experiments. The title identifies the recognition target and language scope, but does not explain the loss or balancing procedure.

A transfer to speech would still need to define the counted examples and category inventory. It would also need to distinguish category frequency from variation associated with recordings and languages. Those are implications of applying the original reasoning, not documented details of MERaLiON-GR. The listed citation supports acknowledging the connection without assigning it an unreported method.

Across these later works, the most securely traceable legacy is the question the paper made concrete: should training influence depend on raw frequency, or on a count that allows additional observations to contribute less? AraDIC explicitly names class-balanced loss, SURGELLM explicitly names class-balanced normalization, and other titles place the citation in a wide range of classification and evaluation settings. The record shows continued relevance. It does not supply a uniform account of adoption or a shared set of downstream results.

What remains distinctive about the original contribution is the combination of an interpretable curve and a testable intervention. It gives diminishing returns a mathematical form, turns that form into category weights, and demonstrates that the strength of correction changes recognition outcomes. Later citations can borrow the objective, the coverage intuition, or simply the warning against treating inverse frequency as universally appropriate. Establishing which of those occurred requires evidence from each later study; the citation list alone cannot decide it.

Cite

Cite as Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song and Serge Belongie. 2019. Class-Balanced Loss Based on Effective Number of Samples. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/cvpr.2019.00949 · arXiv 1901.05555

@inproceedings{cui2019class,
  title = {{Class-Balanced Loss Based on Effective Number of Samples}},
  author = {Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song and Serge Belongie},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2019},
  doi = {10.1109/cvpr.2019.00949},
  eprint = {1901.05555},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2019.00949}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cui-2019-class-balanced-loss-based-effective/

References

50 references, from the paper's own bibliography.

  1. The iNaturalist 2018 Competition Dataset. https://github.com/visipedia/inat_comp. OpenAlex ↗ · Scholar ↗
  2. M. Abadi, P. Barham, J. Chen, Z. Chen, A. Davis, J. Dean, M. Devin, S. Ghemawat, G. Irving, M. Isard, et al. Tensorflow: A system for large-scale machine learning. In OSDI, 2016. our card
  3. S. Bengio. Sharing representations for long tail computer vision problems. In ICMI, 2015. OpenAlex ↗ · Scholar ↗
  4. M. Buda, A. Maki, and M. A. Mazurowski. A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 2018. OpenAlex ↗ · Scholar ↗
  5. N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer. Smote: synthetic minority over-sampling technique. JAIR, 2002. our card
  6. Y. Cui, Y. Song, C. Sun, A. Howard, and S. Belongie. Large scale fine-grained categorization and domain-specific transfer learning. In CVPR, 2018. our card
  7. J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. OpenAlex ↗ · Scholar ↗
  8. Q. Dong, S. Gong, and X. Zhu. Class rectification hard mining for imbalanced deep learning. In ICCV, 2017. OpenAlex ↗ · Scholar ↗
  9. C. Drummond, R. C. Holte, et al. C4. 5, class imbalance, and cost sensitivity: why under-sampling beats over-sampling. In ICML Workshop, 2003. OpenAlex ↗ · Scholar ↗
  10. C. Elkan. The foundations of cost-sensitive learning. In IJCAI, 2001. OpenAlex ↗ · Scholar ↗
  11. Y. Freund and R. E. Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences, 1997. OpenAlex ↗ · Scholar ↗
  12. Y. Geifman and R. El-Yaniv. Deep active learning over the long tail. arXiv preprint arXiv:1711.00941, 2017. OpenAlex ↗ · Scholar ↗
  13. P. Goyal, P. Dollár, R. Girshick, P. Noordhuis, L. Wesolowski, A. Kyrola, A. Tulloch, Y. Jia, and K. He. Accurate, large minibatch sgd: training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. our card
  14. H. He, Y. Bai, E. A. Garcia, and S. Li. Adasyn: Adaptive synthetic sampling approach for imbalanced learning. In IEEE International Joint Conference on Neural Networks, 2008. OpenAlex ↗ · Scholar ↗
  15. H. He and E. A. Garcia. Learning from imbalanced data. IEEE Transactions on Knowledge & Data Engineering, 2008. OpenAlex ↗ · Scholar ↗
  16. K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016. our card
  17. C. Huang, Y. Li, C. Change Loy, and X. Tang. Learning deep representation for imbalanced classification. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
  18. S. Janson. Random coverings in several dimensions. Acta Mathematica, 1986. OpenAlex ↗ · Scholar ↗
  19. N. Japkowicz and S. Stephen. The class imbalance problem: A systematic study. Intelligent data analysis, 2002. OpenAlex ↗ · Scholar ↗
  20. H. Kahn and A. W. Marshall. Methods of reducing sample size in monte carlo computations. Journal of the Operations Research Society of America, 1953. OpenAlex ↗ · Scholar ↗
  21. M. G. Kendall et al. The advanced theory of statistics. The advanced theory of statistics., (2nd Ed), 1946. OpenAlex ↗ · Scholar ↗
  22. S. H. Khan, M. Hayat, M. Bennamoun, F. A. Sohel, and R. Togneri. Cost-sensitive learning of deep feature representations from imbalanced data. IEEE transactions on neural networks and learning systems, 2018. OpenAlex ↗ · Scholar ↗
  23. P. W. Koh and P. Liang. Understanding black-box predictions via influence functions. In ICML, 2017. our card
  24. A. Krizhevsky and G. Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. OpenAlex ↗ · Scholar ↗
  25. A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Neural Information Processing Systems, 2012. our card
  26. T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár. Focal loss for dense object detection. PAMI, 2018. our card
  27. T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. our card
  28. D. Mahajan, R. Girshick, V. Ramanathan, K. He, M. Paluri, Y. Li, A. Bharambe, and L. van der Maaten. Exploring the limits of weakly supervised pretraining. In ECCV, 2018. OpenAlex ↗ · Scholar ↗
  29. T. Malisiewicz, A. Gupta, and A. A. Efros. Ensemble of exemplar-svms for object detection and beyond. In ICCV, 2011. OpenAlex ↗ · Scholar ↗
  30. T. Mikolov, I. Sutskever, K. Chen, G. S. Corrado, and J. Dean. Distributed representations of words and phrases and their compositionality. In Neural Information Processing Systems, 2013. our card
  31. W. Ouyang, X. Wang, C. Zhang, and X. Yang. Factors in finetuning deep model for object detection with long-tail distribution. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
  32. M. Ren, W. Zeng, B. Yang, and R. Urtasun. Learning to reweight examples for robust deep learning. In ICML, 2018. OpenAlex ↗ · Scholar ↗
  33. O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, et al. Imagenet large scale visual recognition challenge. IJCV, 2015. our card
  34. N. Sarafianos, X. Xu, and I. A. Kakadiaris. Deep imbalanced attribute classification using visual attention aggregation. In ECCV, 2018. our card
  35. L. Shen, Z. Lin, and Q. Huang. Relay backpropagation for effective learning of deep convolutional neural networks. In ECCV, 2016. OpenAlex ↗ · Scholar ↗
  36. K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. our card
  37. C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In CVPR, 2015. OpenAlex ↗ · Scholar ↗
  38. K. M. Ting. A comparative study of cost-sensitive boosting algorithms. In ICML, 2000. OpenAlex ↗ · Scholar ↗
  39. A. Torralba, R. Fergus, and W. T. Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. PAMI, 2008. OpenAlex ↗ · Scholar ↗
  40. G. Van Horn, O. Mac Aodha, Y. Song, Y. Cui, C. Sun, A. Shepard, H. Adam, P. Perona, and S. Belongie. The inaturalist species classification and detection dataset. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
  41. G. Van Horn and P. Perona. The devil is in the tails: Fine-grained classification in the wild. arXiv preprint arXiv:1709.01450, 2017. OpenAlex ↗ · Scholar ↗
  42. C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie. The caltech-ucsd birds-200-2011 dataset. California Institute of Technology, 2011. OpenAlex ↗ · Scholar ↗
  43. Y.-X. Wang, D. Ramanan, and M. Hebert. Learning to model the tail. In Neural Information Processing Systems, 2017. OpenAlex ↗ · Scholar ↗
  44. X. Yin, X. Yu, K. Sohn, X. Liu, and M. Chandraker. Feature transfer learning for deep face recognition with long-tail data. arXiv preprint arXiv:1803.09014, 2018. OpenAlex ↗ · Scholar ↗
  45. C. You, C. Li, D. P. Robinson, and R. Vidal. A scalable exemplar-based subspace clustering algorithm for class-imbalanced data. In European Conference on Computer Vision, 2018. OpenAlex ↗ · Scholar ↗
  46. S. Zagoruyko and N. Komodakis. Wide residual networks. In BMVC, 2016. OpenAlex ↗ · Scholar ↗
  47. X. Zhang, Z. Fang, Y. Wen, Z. Li, and Y. Qiao. Range loss for deep face recognition with long-tailed training data. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
  48. B. Zhou, A. Lapedriza, A. Khosla, A. Oliva, and A. Torralba. Places: A 10 million image database for scene recognition. PAMI, 2017. OpenAlex ↗ · Scholar ↗
  49. Z.-H. Zhou and X.-Y. Liu. Training cost-sensitive neural networks with methods addressing the class imbalance problem. IEEE Transactions on Knowledge and Data Engineering, 2006. OpenAlex ↗ · Scholar ↗
  50. Y. Zou, Z. Yu, B. V. Kumar, and J. Wang. Unsupervised domain adaptation for semantic segmentation via class-balanced self-training. In ECCV, 2018. OpenAlex ↗ · Scholar ↗