Giter Site home page Giter Site logo

suzy0223 / focusrectificationlogisticregression Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qd301/focusrectificationlogisticregression

0.0 1.0 0.0 12 KB

Single-Label Multi-Class Image Classification by Deep Logistic Regression

License: MIT License

Python 100.00%

focusrectificationlogisticregression's Introduction

Single-Label Multi-Class Image Classification by Deep Logistic Regression

Published on AAAI 2019 (Oral). Paper, Slides and Poster for your reference.

Abstract

The objective learning formulation is essential for the success of convolutional neural networks. In this work, we analyse thoroughly the standard learning objective functions for multi- class classification CNNs: softmax regression (SR) for single- label scenario and logistic regression (LR) for multi-label scenario. Our analyses lead to an inspiration of exploiting LR for single-label classification learning, and then the disclosing of the negative class distraction problem in LR. To address this problem, we develop two novel LR based objective functions that not only generalise the conventional LR but importantly turn out to be competitive alternatives to SR in single label classification. Extensive comparative evaluations demonstrate the model learning advantages of the proposed LR functions over the commonly adopted SR in single-label coarse-grained object categorisation and cross-class fine-grained person in- stance identification tasks. We also show the performance superiority of our method on clothing attribute classification in comparison to the vanilla LR function.

lossvar

How to use

Here are Focus Rectification Logistic Regression losses in both Tensorflow and Pytorch implementations for your reference. Apply the provided loss functions with any Deep Networks directly.

Some tips:

  • The inputs are the logits (outputs of last layer) and the groundtruth label (single label or multi-label).
  • Generally, the setting in training models are consistent to that for Deep Networks with Softmax Cross Entropy Loss.
  • Compared with Softmax Cross Entropy loss, Logistic regression optimisation prefers a smaller learning rate empirically.
  • For some specific applications, a weighting for the balance between Logistic Loss and Regularisation loss is recommended.

Citation

Please refer to the following if this repository is useful for your research.

@article{dong2018single,
  title={Single-Label Multi-Class Image Classification by Deep Logistic Regression},
  author={Dong, Qi and Zhu, Xiatian and Gong, Shaogang},
  journal={AAAI},
  year={2019}
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Contact

Feel free to contact Qi Dong for any question. Cheers.

focusrectificationlogisticregression's People

Contributors

qd301 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.