GithubHelp home page GithubHelp logo

hnurxn / deep-arc Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 25.68 MB

This repository has the source code for the ICSE2023 paper "DeepArc: Towards the modularization of neural networks for maintanence"

Jupyter Notebook 2.67% Python 3.06% PureBasic 94.28%

deep-arc's Introduction

DeepArc: Towards the modularization of neural networks for maintanence

Neural networks are an emerging data-driven programming paradigm widely used in many areas. Unlike traditional software systems consisting of decomposable modules, a neural network is usually delivered as a monolithic package, raising challenges for some maintenance tasks such as model restructure and retraining. we propose DeepArc, a novel modularization method for neural networks, to reduce the cost of model maintenance tasks such as model restructure and re-adaption. Specifically, DeepArc decomposes a neural network into several consecutive modules, each of which encapsulates consecutive layers with similar semantics. The network modularization facilitates practical tasks such as refactoring the model to preserve existing features (e.g., model compression) and enhancing the model with new features (e.g., fitting new samples). The modularization and encapsulation allow us to restructure or retrain the model by only pruning and tuning a few localized neurons and layers. (1) the architectural bad smell of a network model so that we can compress modules for effective model compression and (2) the cost-saving opportunities to boost the model performance by only retraining few module weights. Our experiments show that, (1) DeepArc can boost the runtime efficiency of the state-of-the-art model compression techniques by 14.8%;(2) compared to the traditional model retraining, DeepArc only needs to train less than 20% of the neurons to fit adversarial samples and repair under-performing models, leading to 32.85% faster training performance while achieving similar model prediction performance.

The more information can be found at https://sites.google.com/view/deep-arc.

The source code and the results can be found at https://github.com/hnurxn/Deep-Arc.

Contact Lists

If you have any question, please contact the authors:Ren Xiaoning [[email protected]]

DOI

DOI: 10.1109/ICSE48619.2023.00092

deep-arc's People

Contributors

hnurxn avatar

Stargazers

 avatar  avatar  avatar  avatar lindsey98 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.