snucml / LargeLossMatters

Large Loss Matters in Weakly Supervised Multi-Label Classification - CVPR2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Large Loss Matters in Weakly Supervised Multi-Label Classification (CVPR 2022) | Paper

Youngwook Kim1*, Jae Myung Kim2*, Zeynep Akata2,3,4, and Jungwoo Lee1,5

1 Seoul National Univeristy 2 University of Tübingen 3 Max Planck Institute for Intelligent Systems 4 Max Planck Institute for Informatics 5 HodooAI Lab

Primary contact : ywkim@cml.snu.ac.kr

Abstract

Weakly supervised multi-label classification (WSML) task, which is to learn a multi-label classification using partially observed labels per image, is becoming increasingly important due to its huge annotation cost. In this work, we first regard unobserved labels as negative labels, casting the WSML task into noisy multi-label classification. From this point of view, we empirically observe that memorization effect, which was first discovered in a noisy multi-class setting, also occurs in a multi-label setting. That is, the model first learns the representation of clean labels, and then starts memorizing noisy labels. Based on this finding, we propose novel methods for WSML which reject or correct the large loss samples to prevent model from memorizing the noisy label. Without heavy and complex components, our proposed methods outperform previous state-of-the-art WSML methods on several partial label settings including Pascal VOC 2012, MS COCO, NUSWIDE, CUB, and OpenImages V3 datasets. Various analysis also show that our methodology actually works well, validating that treating large loss properly matters in a weakly supervised multi-label classification.

News ( 2023/4/5 )

Please check out our follow-up paper, Bridging the Gap between Model Explanations in Partially Annotated Multi-label Classification, which is accepted in CVPR 2023.

Dataset Preparation

See the README.md file in the data directory for instructions on downloading and setting up the datasets.

(NEW) We added an instruction for downloading metadata and images for the OpenImages V3 dataset. Please check it.

Model Training & Evaluation

You can train and evaluate the models by

python main.py --dataset [dataset] \
               --mod_scheme [scheme] \
               --delta_rel [delta_rel] \
               --lr [learning_rate] \
               --optimizer [optimizer]

where [data_path] in {pascal, coco, nuswide, cub}, [scheme] in {LL-R, LL-Ct, LL-Cp}, and [delta_rel] in {0.1, 0.2, 0.3, 0.4, 0.5}.

Currently we only support ''End-to-end'' training setting.

Quantitative Results

Artificially generated partial label datasets Real partial label dataset (OpenImages V3)

Qualitative Results

How to cite

If our work is helpful, please consider citing our paper.

@InProceedings{Kim_2022_CVPR,
    author    = {Kim, Youngwook and Kim, Jae Myung and Akata, Zeynep and Lee, Jungwoo},
    title     = {Large Loss Matters in Weakly Supervised Multi-Label Classification},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2022},
    pages     = {14156-14165}
}

Acknowledgements

Our code is heavily built upon Multi-Label Learning from Single Positive Labels.

About

Large Loss Matters in Weakly Supervised Multi-Label Classification - CVPR2022


Languages

Language:Python 100.0%