Code Monkey home page Code Monkey logo

closed-form-sample-probing's Introduction

Closed-form Sample Probing for Learning Generative Models in Zero-shot Learning

The official repository for the Closed-form Sample Probing for Learning Generative Models in Zero-shot Learning paper published at ICLR 2022.

Figure: Illustration of the proposed framework for the end-to-end sample probing of conditional generative models. At each training iteration, we take synthetic training examples for some subset of seen classes (probe-train classes) from the conditional generative models, train a closed-form solvable zero-shot learning model (sample probing ZSL model) over them and evaluate it on the real examples of a different subset of seen classes (probe-validation classes). The resulting cross-entropy loss of the probing model is used as a loss term for the generative model update.

Data

Proposed data splits for all datasets (all together with the finetuned features) can be found here. Please download and place data folder suchlike the directory structure after the placement looks like this:

.
├── data                    # Proposed data | ### Downloaded and placed here ###
├── images                  # Images used in README
├── src                     # Source files
├── LICENSE
└── README.md

P.S. In case of a problem of reaching data using link above, the exact same proposed splits can be found here (not including FLO and any finetuned features) and here (including all).

Installation

For the installation details, please see tfvaegan since the provided scripts (under scripts folder) train TF-VAEGAN models with and without sample probing.

Training logs of validation and test phases of the presented results in the paper can be found under logs folder.

Results

Table: Generalized zero-shot learning scores of sample probing with alternative closed-form models, based on TF-VAEGAN baseline.

Citation

If you find this code useful in your research, please consider citing as follows:

@inproceedings{
cetin2022closedform,
title={Closed-form Sample Probing for Learning Generative Models in Zero-shot Learning},
author={Samet Cetin and Orhun Bu{\u{g}}ra Baran and Ramazan Gokberk Cinbis},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=ljxWpdBl4V}
}

Acknowledgements

The parts of the code related to generative model (TF-VAEGAN) training is taken/adapted from tfvaegan repository.

The work in this research was supported in part by the TUBITAK Grant 119E597. The numerical calculations reported in this paper were partially performed at TUBITAK ULAKBIM, High Performance and Grid Computing Center (TRUBA resources).

closed-form-sample-probing's People

Contributors

cetinsamet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.