Skip to content

Official code for Similarity Kernel Mixup from "Tailoring Mixup to Data for Calibration"

Notifications You must be signed in to change notification settings

qbouniot/sim_kernel_mixup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailoring Mixup to Data for Calibration

Official code for Similarity Kernel Mixup on classification tasks (see classification folder), and regression tasks (see regression folder). Each folder contains a separated README for information about setting up and running experiments. Code to reproduce experiments on toy dataset is included in the toy_datasets folder.

Taking into account similarity in Mixup

Taking into account similarity in Mixup

Introducing similarity into the interpolation is more efficient and provides more diversity than explicitly selecting the points to mix.

Similarity Kernel

Batch-normalized and centered Gaussian kernel

Similarity Kernel design

  • Amplitude $\tau_{max}$ governs the strength of the interpolation
  • Standard deviation $\tau_{std}$ governs the extent of mixing
  • Stronger interpolation between similar points and reduce interpolation otherwise

Avoiding Manifold Intrusion

Illustration on toy datasets

Reference

If you find this work interesting, or if this repository has been helpful to you, please consider citing our work as follows:

@article{bouniot2023tailoring,
  title={Tailoring Mixup to Data for Calibration},
  author={Bouniot, Quentin and Mozharovskyi, Pavlo and d'Alch{\'e}-Buc, Florence},
  journal={arXiv preprint arXiv:2311.01434},
  year={2023}
}

About

Official code for Similarity Kernel Mixup from "Tailoring Mixup to Data for Calibration"

Resources

Stars

Watchers

Forks

Languages