ptrckhmmr / learning-to-defer-with-limited-expert-predictions

Code for "Learning to Defer with Limited Expert Predictions" (AAAI 2023)
8 stars 3 forks source link
human-ai-teaming learning-to-defer semi-supervised-learning

Learning to Defer with Limited Expert Predictions

This repository includes the code to reproduce the experiments for our paper (paper-source).

Overview of the proposed framework

Contents

This repository is structured as follows:

Requirements

This code depends on the following packages:

torch
torchvision
torchtext
timm
scipy
seaborn
numpy
matplotlib
scikit-learn
tensorboard_logger

Execution

Follow these steps to reproduce our experiments:

  1. (NIH experiments only) Download and extract the NIH dataset to nih_images/
  2. (CIFAR experiments only) Generate the synthetic expert labels
  3. Execute the training of one of the proposed Embedding-Semi-Supervised approaches (or any baseline)
  4. Generate the artificial expert labels
  5. Execute the training of one of the learning to defer algorithms

Detailed instructions can be found in the respective subfolders.