This is an official Pytorch implementation of "Accuracy-Preserving Calibration via Statistical Modeling on Probability Simplex". This study was presented at AISTATS 2024 (acceptance rate: 27.6%). [arXiv|PMLR]
-
Git clone this repository.
git clone https://github.com/ToyotaCRDL/SimplexTS.git
-
Build a Docker image using
Dockerfileandrequrements.txt.docker build --build-arg USER=${USER} --build-arg GROUP=$(id -gn) \ --build-arg UID=$(id -u) --build-arg GID=$(id -g) \ --tag simplex-ts SimplexTS
-
Launch a container.
docker run -it --rm --gpus all \ --mount type=bind,source=$(pwd)/SimplexTS,target=${HOME}/SimplexTS \ --workdir ${HOME}/SimplexTS simplex-ts
We conducted our experiments on a NVIDIA A100 GPU.
The following is a demonstration of FashionMNIST.
-
Train a model for classification. This is Step 1, as described in Section 4.1 of this paper.
bash scripts/classification.sh
-
Calibrate a model using Simplex Temperature Scaling (STS). This is Step 2, as described in Section 4.1 of this paper.
bash scripts/calibration.sh
To cite our work, you can use the following:
@inproceedings{SimplexTS,
title = {Accuracy-Preserving Calibration via Statistical Modeling on Probability Simplex},
author = {Esaki, Yasushi and Nakamura, Akihiro and Kawano, Keisuke and Tokuhisa, Ryoko and Kutsuna, Takuro},
booktitle = {Proceedings of The 27th International Conference on Artificial Intelligence and Statistics},
pages = {1666--1674},
year = {2024},
volume = {238},
series = {PMLR}
}Copyright (C) 2025 TOYOTA CENTRAL R&D LABS., INC. All Rights Reserved.
