Skip to content

matsuo-shinnosuke/online-pseudo-labeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning from Label Proportion with Online Pseudo-Label Decision by Regret Minimization [S.Matsuo+, ICASSP2023]

Shinnosuke Matsuo, Ryoma Bise, Seiichi Uchida, Daiki Suehiro

Illustration

This paper proposes a novel and efficient method for Learning from Label Proportions (LLP), whose goal is to train a classifier only by using the class label proportions of instance sets, called bags. We propose a novel LLP method based on an online pseudo-labeling method with regret minimization. As opposed to the previous LLP methods, the proposed method effectively works even if the bag sizes are large. We demonstrate the effectiveness of the proposed method using some benchmark datasets.

Requirements

  • python >= 3.9
  • cuda && cudnn

We strongly recommend using a virtual environment like Anaconda or Docker. The following is how to build the virtual environment for this code using anaconda.

# pytorch install (https://pytorch.org/get-started/locally/)
$ pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
$ pip install -r requirements.txt

Dataset

You can create dataset by running following code. Dataset will be saved in ./data directory.

$ python src/make_dataset.py --dataset='cifar10' --num_classes=10 --num_instances=1024 --num_bags=100 --output_dir='result/'

Training & Test

$ python src/main.py --dataset='cifar10' --num_classes=10 --num_instances=1024 --num_bags=100 --output_dir='result/'

Arguments

You can set up any parameters at arguments.py

Citation

If you find this repository helpful, please consider citing:

@inproceedings{icassp2023matsuo,
  author={Matsuo, Shinnosuke and Bise, Ryoma and Uchida, Seiichi and Suehiro, Daiki},
  booktitle={International Conference on Acoustics, Speech and Signal Processing (ICASSP)}, 
  title={Learning From Label Proportion with Online Pseudo-Label Decision by Regret Minimization}, 
  year={2023}}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages