Coder Social home page Coder Social logo

szrlee / distributed-multi-label-continual-learning Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 1.0 122.47 MB

This is a distributed training framework for continual and incremental learning for multi-label multi-class image tasks

Shell 0.72% Python 52.60% Jupyter Notebook 46.68%
continue-learning incremental-learning distributed-learning multi-class-classification online-learning

distributed-multi-label-continual-learning's Introduction

Distributed Framework for Incremental and Continual Learning

Suppot the Pascal VOC based partition tasks for the setting of incremental multi label continual learning. (Incremental Multi-Class Multi-Label)

Our new solution

Modern deep learning techniques are facing the {catastrophic forgetting} problem that when the deep network is trained on a new task without seeing the data in the old task, knowledge learned from the old task would be easily forgotten, i.e., test accuracy in old task drops tremendously.

To overcome catastrophic forgetting in a sequence of multi-label classification tasks, it requires multi-label continual learning. We first rethink continual learning problem in the framework of {multi-objective optimization}. Then, we develop the {Projection as Pareto Improvement} (PPI) method within the framework. PPI is a strategy for updating the hidden layer which could locally guarantee better performance on the new task and no-worse performance on the old tasks. For the case that only task-specific ground truth labels and data are available in the new task, we adopt the model distillation strategy to mimic pseudo soft labels that are related to previous tasks. We also developed a benchmark for the multi-label continual learning problem based on Pascal VOC from which we hope further research will benefit. The extensive empirical studies show the supremacy of our approaches.

The techical report can be found in here (Multi-label Continual Learning - Projection as Pareto Improvement.pdf).

How to run

Require pytorch 0.4.1 To replicate the experiments, execute

$ source source.sh
$ cd src/
$ ./train_{approach}.sh

Acknowlegement

  • Learning without Forgetting (LwF)
  • Memory based Parameter Adaptation (MbPA)
  • Memory Aware Synapses: Learning what (not) to forget (MAS)
  • Gradient Episodic Memory for Continual Learning (GEM)
  • Overcoming catastrophic forgetting with hard attention to the task (HAT)

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.