arXiv:2610.27728cs.CVOct 2026

Manuscript Offprint

arXiv:2610.27728

CILA: Confusion-based Instance-wise Logit Adjustment for Long-Tailed Recognition

Jiyoung Lim, Jee-Hyong Lee

Abstract

Real-world datasets are inherently class-imbalanced, leading models to favor majority classes and struggle with minority ones. Existing logit adjustment methods address this by modifying logits based on class frequencies, but their class-wise adjustments ignore instance-wise confusion and often suppress informative signals from confusing non-target classes. This results in insufficient learning of such classes, increased prediction uncertainty, and limited generalization.

To address this, we propose two complementary methods. First, Confusion-based Instance-wise Logit Adjustment (CILA) adaptively adjusts logits based on instance-wise confusion between the target and non-target classes, restoring informative gradients that class-wise adjustment suppresses. Second, Batch-adaptation Noise-Injection (BNI) perturbs the target logit during training, extending the confusion-aware update to correctly classified but near-boundary samples that the penalty alone cannot reach. CILA is a loss-agnostic plug-in module that can be seamlessly integrated into existing long-tailed learning methods, and consistently improves performance across multiple benchmarks. Our code will be available at https://github.com/maya0395/CILA.

1. Introduction

Deep Neural Networks (DNNs) have achieved remarkable success, largely driven by the availability of well-curated and balanced datasets [17, 26]. However, real-world data often exhibit naturally imbalanced class distributions [9, 21, 32], where a few head classes contain abundant samples, while most tail classes have only limited data. Training models on such long-tailed datasets poses significant challenges, as models tend to focus heavily on head classes while overlooking tail classes. Consequently, they become overly biased toward head classes, struggle to generalize to tail classes, and suffer from degraded overall performance.

To address the challenges of long-tailed distributions, various strategies have been proposed. Data re-balancing techniques [2, 3, 5, 7, 11, 12, 18, 22, 27, 28, 31] mitigate class imbalance through resampling or reweighting. However, such methods often introduce instability and overfitting, especially under severe imbalance conditions[7, 14, 34]. In contrast, logit adjustment techniques [4, 16, 23, 25, 29, 31, 35] address the problem from a logit imbalance perspective by adding class-dependent adjustment terms to the logits. This suppresses head class logits and amplifies tail classes, alleviating logit imbalance.

While effective, existing LA methods have a fundamental limitation: they apply class-dependent adjustments uniformly to all logits. Such uniform adjustment reduces the logits of all classes, with tail classes experiencing a significantly larger reduction than head classes due to their lower frequency. For target logits, this relative difference helps mitigate logit imbalance by emphasizing the contribution of tail classes during training. However, when applied to non-target logits, the same adjustment uniformly suppresses their magnitudes according to class frequency, distorting the learning signals from confusing non-target classes. As a result, the model fails to capture meaningful distinctions among these confusing classes, making it difficult to learn precise and discriminative decision boundaries.

To further investigate this phenomenon, we analyze epoch-wise changes in the target and non-target probabilities of head, middle, and tail classes, as illustrated in Figure 1. The gray and orange lines represent values before and after logit adjustment, respectively. As shown in the left column, the adjustment increases target probabilities of head classes while decreasing those of tail classes, appropriately shifting the learning emphasis toward tail samples. However, in the non-target case (right column), the same adjustment uniformly suppresses the non-target probabilities of middle and tail classes throughout training, weakening the gradient signal from confusing non-target categories. We define this as the Non-Target Logit Over-Suppression (NTLOS) problem, where uniform logit adjustment excesses

∗^{*}Corresponding author.

Figure

Target Logit (Middle & Tail)

Non-Target Logit (Middle & Tail)

Reduced Target Logit increasing target loss

Non-Target Logit Over Suppression decreasing non-target loss

Figure 1. Visualization of the Non-Target Logit Over-Suppression Problem on CIFAR100-IF100. Logit adjustment increases head class target probabilities while reducing those of tail classes. However, it also excessively suppresses non-target probabilities of middle and tail classes, weakening informative gradients from confusing classes and hindering discrimination between confusing classes.

sively suppresses confusing non-target logits, reducing informative gradients and hindering fine-grained discrimination. Consequently, models trained under NTLOS exhibit higher prediction entropy on test data, as suppressed non-target representations fail to generalize to semantically similar classes.

To mitigate this issue, we propose two complementary methods. Confusion-based Instance-wise Logit Adjustment (CILA) dynamically adjusts each instance's logits through a confusion-based penalty, where confusion refers to cases in which one or more non-target logits exceed the target logit. This penalty preserves informative gradients from confusing non-target classes that uniform adjustment suppresses. However, the confusion penalty activates only for misclassified instances, leaving correctly classified but near-boundary samples unaddressed. To complement this, we propose Batch-adaptation Noise-Injection (BNI), which perturbs the target logit during training so that near-boundary correct samples become confusing after noise injection, making them eligible for the confusion-aware learning process. By simulating uncertainty in correct predictions, BNI encourages the model to maintain a wider decision margin, leading to more stable and flexible decision boundaries.

CILA is loss-agnostic and can be seamlessly integrated into various long-tailed learning frameworks. Extensive experiments demonstrate that CILA consistently improves classification accuracy and training stability across multiple benchmarks, including CIFAR-100-LT, ImageNet-LT, and iNaturalist 2018.

The key contributions of this paper are summarized as follows:

• We identify the Non-Target Logit Over-Suppression as a key limitation of existing logit adjustment methods.

• We propose CILA, which applies a confusion-based penalty to restore informative gradients from confusing non-target classes.

• We propose BNI, which extends the confusion-aware update to near-boundary samples via batch-adaptive noise injection.

References (38)