sid-devic / OpAL

Open Active Learning for Deep Models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpAL: Open Active Learning

From wikipedia: "There are situations in which unlabeled data is abundant but manually labeling is expensive. In such a scenario, learning algorithms can actively query the user/teacher for labels. This type of iterative supervised learning is called active learning."

We found that most deep active learning is done only experimentally, and that there are no open source frameworks for groups looking to actively use and deploy current SoTA active learning methods on deep models. OpAL is our attempt at remedying this problem.

Forked from discriminative active learning, which implemented all the methods used.

Dependencies

In order to run our code, you'll need these main packages:

Possible Method Names

These are the possible names of methods that can be used in the experiments:

  • "Random": random sampling
  • "CoreSet": the greedy core set approach
  • "CoreSetMIP": the core set with the MIP formulation
  • "Uncertainty": uncertainty sampling with minimal top confidence
  • "UncertaintyEntropy": uncertainty sampling with maximal entropy
  • "Bayesian": Bayesian uncertainty sampling with minimal top confidence
  • "BayesianEntropy": Bayesian uncertainty sampling with maximal entropy
  • "EGL": estimated gradient length
  • "Adversarial": adversarial active learning using DeepFool

TODO

  • Multi active-learning experiment support simultaneously

About

Open Active Learning for Deep Models

License:MIT License


Languages

Language:Python 100.0%