Harnessing Hierarchical Label Distribution Variations in Test Agnostic Long-tail Recognition

13 May 2024  ยท  Zhiyong Yang, Qianqian Xu, Zitai Wang, Sicong Li, Boyu Han, Shilong Bao, Xiaochun Cao, Qingming Huang ยท

This paper explores test-agnostic long-tail recognition, a challenging long-tail task where the test label distributions are unknown and arbitrarily imbalanced. We argue that the variation in these distributions can be broken down hierarchically into global and local levels. The global ones reflect a broad range of diversity, while the local ones typically arise from milder changes, often focused on a particular neighbor. Traditional methods predominantly use a Mixture-of-Expert (MoE) approach, targeting a few fixed test label distributions that exhibit substantial global variations. However, the local variations are left unconsidered. To address this issue, we propose a new MoE strategy, $\mathsf{DirMixE}$, which assigns experts to different Dirichlet meta-distributions of the label distribution, each targeting a specific aspect of local variations. Additionally, the diversity among these Dirichlet meta-distributions inherently captures global variations. This dual-level approach also leads to a more stable objective function, allowing us to sample different test distributions better to quantify the mean and variance of performance outcomes. Theoretically, we show that our proposed objective benefits from enhanced generalization by virtue of the variance-based regularization. Comprehensive experiments across multiple benchmarks confirm the effectiveness of $\mathsf{DirMixE}$. The code is available at \url{https://github.com/scongl/DirMixE}.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Test Agnostic Long-Tailed Learning CIFAR-100-LT DirMixE Average Top-1 Accuracy 52.54 # 1
Long-tail Learning CIFAR-100-LT (ฯ=100) DirMixE Error Rate 51.62 # 33
Test Agnostic Long-Tailed Learning CIFAR-10-LT DirMixE Average Top-1 Accuracy 86.76 # 1
Long-tail Learning CIFAR-10-LT (ฯ=100) DirMixE Error Rate 16.74 # 13
Test Agnostic Long-Tailed Learning ImageNet-LT DirMixE Average Top-1 Accuracy 60.46 # 1
Long-tail Learning ImageNet-LT DirMixE(ResNeXt-50) Top-1 Accuracy 58.61 # 19
Long-tail Learning iNaturalist 2018 DirMixE Top-1 Accuracy 73.21% # 22
Test Agnostic Long-Tailed Learning iNaturalist 2018 DirMixE Average Top-1 Accuracy 73.24 # 1

Methods