Git Product home page Git Product logo

alds-based-enhancement-of-iterative-magnitude-pruning's Introduction

ALDS-Based-Enhancement-of-Iterative-Magnitude-Pruning

Authors:

  • Meir Goldberg
  • Almog Hadad

A Novel Approach for Neural Network Compression. Using ALDS compression to improve IMP compression Maintain accuracy.

Automatic Layer-wise Decomposition Selector (ALDS):

Per layer compression:

  • Weight tensor is folded into a matrix

  • Uses an SVD to compress the weights

Global compression:

  • Ensure global compression rate across all layers

  • Maintain model accuracy

  • Demonstrated to achieve accurate compression of over 60% on known neural networks

Iterative Magnitude Pruning (IMP):

  • Based on the lottery ticket hypothesis: A dense randomly initialized feed-forward network contains subnetworks (known as winning tickets) that when trained in isolation reach a test accuracy comparable to the original network in a similar number of iterations.

Identify the winning ticket:

  • Train the network

  • Prune the smallest magnitude weights

  • Winning tickets can be less than 10-20% the size of the full network

Generic Compression Procedure:

image

Our Compression Procedure:

image

Our Model that we tested:

  • 6 convolutional layers

  • 3 FC layers

-Using CIFAR-10 as our dataset

Defining the ALDS Compression Rate:

  • Run compression with a fixed value

  • Reset the net

  • Repeat

image

Results:

image

Results Analysis:

Real understanding of the results โ€“ further analysis requires more resources Our assumption:

  • ALDS reduced the values of insignificant parameters

  • Maybe also increased the values of significant parameters

  • This assisted IMP in pruning the more insignificant parameters

  • also likely: ALDS prevented IMP from removing entire layers

alds-based-enhancement-of-iterative-magnitude-pruning's People

Contributors

almoghadad avatar

Stargazers

 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.