Text-Guided Mixup Towards Long-Tailed Image Categorization

Richard Franklin, Jiawei Yao, Deyang Zhong, Qi Qian, Juhua Hu
9/5/2024
cs.CV

Official code: rsamf/text-guided-mixup (4 stars, last commit 2024-08-15).

Abstract

In many real-world applications, the frequency distribution of class labels for training data can exhibit a long-tailed distribution, which challenges traditional approaches of training deep neural networks that require heavy amounts of balanced data. Gathering and labeling data to balance out the class label distribution can be both costly and time-consuming. Many existing solutions that enable ensemble learning, re-balancing strategies, or fine-tuning applied to deep neural networks are limited by the inert problem of few class samples across a subset of classes. Recently, vision-language models like CLIP have been observed as effective solutions to zero-shot or few-shot learning by grasping a similarity between vision and language features for image and text pairs. Considering that large pre-trained vision-language models may contain valuable side textual information for minor classes, we propose to leverage text supervision to tackle the challenge of long-tailed learning. Concretely, we propose a novel text-guided mixup technique that takes advantage of the semantic relations between classes recognized by the pre-trained text encoder to help alleviate the long-tailed problem. Our empirical study on benchmark long-tailed tasks demonstrates the effectiveness of our proposal with a theoretical guarantee. Our code is available at https://github.com/rsamf/text-guided-mixup.

View on arXivView PDF

Code Implementations(1)

PyTorch implementation of paper "Text-Guided Mixup Towards Long-Tailed Image Categorization" (BMVC 2024)

40PythonMar 22, 20232 years ago

Similar Papers

Cite this paper

@article{franklin2024textguided,
  title  = {Text-Guided Mixup Towards Long-Tailed Image Categorization},
  author = {Richard Franklin and Jiawei Yao and Deyang Zhong and Qi Qian and Juhua Hu},
  year   = {2024},
  eprint = {2409.03583},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.03583v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.03583.svg)](https://codeofpaper.com/paper/2409.03583)

Discussion