GithubHelp home page GithubHelp logo

saraelshawa / fine-grained-zsl-with-dna Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbadirli/fine-grained-zsl-with-dna

0.0 1.0 0.0 14.22 MB

Jupyter Notebook 41.84% MATLAB 36.54% Python 21.62%

fine-grained-zsl-with-dna's Introduction

Fine-grained ZSL with DNA as Side Information.

GitHub repo for our paper "Fine-Grained Zero-Shot Learning with DNA as Side Information" (to appear in NeurIPS'21)

Preprint can be accessed at: Arxiv

Abstract

Fine-grained zero-shot learning task requires some form of side-information totransfer discriminative information from seen to unseen classes. As manually annotated visual attributes are extremely costly and often impractical to obtain fora large number of classes, in this study we use DNA as side information for the first time for fine-grained zero-shot classification of species. Mitochondrial DNA plays an important role as a genetic marker in evolutionary biology and has been used to achieve near perfect accuracy in species classification of living organisms. We implement a simple hierarchical Bayesian model that uses DNA informationto establish the hierarchy in the image space and employs local priors to define surrogate classes for unseen ones. On the benchmark CUB dataset we show that DNA can be equally promising, yet in general a more accessible alternative than word vectors as a side information. This is especially important as obtaining robustword representations for fine-grained species names is not a practicable goal wheninformation about these species in free-form text is limited. On a newly compiledfine-grained insect dataset that uses DNA information from over a thousand specieswe show that the Bayesian approach outperforms state-of-the-art by a wide margin.

INSECT Images

The raw (RGB) INSECT images (2.5GB) can be obtained from this One Drive. Each folder inside represents INSECT species with its scientific names. For the processed data to run the code, see the relevant folders.

Notes

Please check the BZSL-Python (Python code for Bayesian classifier) and BZSL (Matlab code for Bayesian classifier) to run experiments and reproduce the results from the paper. To check the CNN model for DNA embeddings, see DNA embeddings.

Results

Re-runnignthe code should give you the results as shown below.

INSECT

CUB

Contact

Feel free to drop me an email if you have any questions: [email protected]

Citation

If you use the data or code please cite our papers as below:

@inproceedings{badirli2021bzsl,
  title={Fine-Grained Zero-Shot Learning with DNA as Side Information},
  author={Badirli, Sarkhan and Akata, Zeynep and Mohler, George and Picard, Christine and Dundar, Murat},
  booktitle={Neural Information Processing Systems},
  year={2021}
}

fine-grained-zsl-with-dna's People

Contributors

sbadirli avatar

Watchers

 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.