Home

Awesome

<div align="center"> <!-- <h1>SUMix: Mixup with Semantic and Uncertain Information</h1> --> <h2><a href="https://arxiv.org/abs/2312.11954">SUMix: Mixup with Semantic and Uncertain Information (ECCV 2024)</a></h2>

Huafeng Qin<sup>1,2,5*,†</sup>, Xin Jin<sup>1,2,*</sup>, Hongyu Zhu<sup>1,2,*</sup>, Hongchao Liao<sup>1,2</sup>, Mounim A. El-Yacoubi<sup>3</sup>, Xinbo Gao<sup>4</sup>

<sup>1</sup>Chongqing Technology and Business University

<sup>2</sup>National Research base of Intelligent Manufacturing Service

<sup>3</sup>Telecom SudParis, Institut Polytechnique de Paris

<sup>4</sup>Chongqing University of Posts and Telecommunications

<sup>5</sup>Chongqing Micro-Vein Intelligent Technology Co.

<sup>*</sup> Equal Contribution <sup>†</sup> Corresponding Author

</div> <p align="center"> <a href="https://arxiv.org/abs/2312.11954" alt="arXiv"> <img src="https://img.shields.io/badge/arXiv-2312.11954-b31b1b.svg?style=flat" /></a> <a href="https://github.com/JinXins/Adversarial-AutoMixup/blob/main/LICENSE" alt="license"> <img src="https://img.shields.io/badge/license-Apache--2.0-%23B7A800" /></a> <a herf="" alt="Github stars"> <img src="https://img.shields.io/github/stars/JinXins/SUMix?color=blue" /></a> </p> <p align="center"> <img src="https://github.com/JinXins/SUMix/assets/124172716/1725dfb7-ab1e-4429-a34b-0dfdd3bc2a6f" width=75% height=75% class="center"> </p>

We propose SUMix, which consists of a mix ratio learning module and an uncertain estimation module. The former focuses on computing the proportion of two images and the latter aims to learn the uncertainty information of mixed samples. Firstly, we design a function to compute the semantic distance between the mixed and original samples to determine the ratio lambda. Secondly, we present a method to learn the uncertainty of the mixed. This adapted feature vector effectively mitigates issues related to computing the loss function caused by discrepancies in semantic and uncertainty aspects.

πŸ“¬ You can contact me by email: 158398730@qq.com or WeChat: xinxinxinxin_j.

If you are interested in palm or finger vein research, please contact us!


πŸ›  Installation

πŸ’₯News! ! !πŸ’₯
2024-07-8: Please Wait for a while, we will release the code and checkpoints. I am busy in AAAI2025 submission, so please wait few days

πŸ”§How to install?πŸ”§
In fact, you can add our python file in OpenMixup.
There, you can see how to use it and the environment required. What you need to do is add or replace our files by folder inside OpenMixup, and then add the function names of the files in the __init__.py file.
You also can download or find other Mixup methods in OpenMixup("https://github.com/Westlake-AI/openmixup")
Thanks contributors: Siyuan Li(@Lupin1998), Zichen Liu(@pon7) and Zedong Wang(@Jacky1128).


Here are the commands to install OpenMixup

conda create -n openmixup python=3.8 pytorch=1.12 cudatoolkit=11.3 torchvision -c pytorch -y
conda activate openmixup
pip install openmim
mim install mmcv-full
git clone https://github.com/Westlake-AI/openmixup.git
cd openmixup
python setup.py develop

Here are the commands to git clone SUMix

git clone https://github.com/JinXins/SUMix.git

πŸ“Š Experiments

CIFAR-100

NamealphaConferenceResNet18ResNeXt50Wide-ResNet28DeiT-SmallSwin-Tiny
CutMix0.2ICCV201978.1778.3284.4574.1280.64
SaliencyMix0.2ICLR202179.1278.7784.3569.7880.40
FMix0.2ArXiv79.6979.0284.2170.4180.72
ResizeMix1.0CVMJ202380.0180.3584.8768.4580.16
CutMix+SUMix0.2-79.7879.9184.5675.2680.32
SaliencyMix+SUMix0.2-79.9179.3284.5870.3284.71
FMix+SUMix0.2-80.2080.7984.3270.6980.73
ResizeMix+SUMix1.0-80.3880.7284.9168.7880.59

Tiny-ImageNet & ImageNet-1K(denote *)

NamealphaConferenceResNet18ResNeXt50ResNet18
CutMix0.2ICCV201965.5366.4768.95
SaliencyMix0.2ICLR202164.6066.5569.16
FMix0.2ArXiv63.4765.0869.96
ResizeMix1.0CVMJ202363.7465.8769.50
CutMix+SUMix0.2-65.7168.7469.71
SaliencyMix+SUMix0.2-65.6868.9269.52
FMix+SUMix0.2-63.6967.1270.48
ResizeMix+SUMix1.0-65.3067.4969.76

CUB-200, FGVC-Aircraft and Standford Cars

NamealphaConfrenceCUB R18CUB RX50FGVC R18FGVC RX50
CutMix0.2ICCV201977.7083.6778.8484.55
SaliencyMix0.2ICLR202175.7782.8379.7884.31
FMix0.2ArXiv77.2884.0679.3684.10
ResizeMix1.0CVMJ202378.5084.1678.1084.08
CutMix+SUMix0.2-78.2083.7179.7285.84
SaliencyMix+SUMix0.2-76.9882.8479.9084.49
FMix+SUMix0.2-79.2484.3379.4884.64
ResizeMix+SUMix1.0-78.5684.2380.2985.12

πŸ˜‰ Citation

If you feel that our work has contributed to your research, please cite it, πŸ₯° and please don`t forget to cite OpenMixup if you use this project ! πŸ€— Thanks.

@article{qin2024sumix,
  title={SUMix: Mixup with Semantic and Uncertain Information},
  author={Qin, Huafeng and Jin, Xin and Zhu, Hongyu and Liao, Hongchao and El-Yacoubi, Moun{\^\i}m A and Gao, Xinbo},
  journal={arXiv preprint arXiv:2407.07805},
  year={2024}
}