IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v10y2022i19p3679-d936082.html
   My bibliography  Save this article

Structured Compression of Convolutional Neural Networks for Specialized Tasks

Author

Listed:
  • Freddy Gabbay

    (Engineering Faculty, Ruppin Academic Center, Emek Hefer 4025000, Israel)

  • Benjamin Salomon

    (Engineering Faculty, Ruppin Academic Center, Emek Hefer 4025000, Israel)

  • Gil Shomron

    (NVIDIA)

Abstract

Convolutional neural networks (CNNs) offer significant advantages when used in various image classification tasks and computer vision applications. CNNs are increasingly deployed in environments from edge and Internet of Things (IoT) devices to high-end computational infrastructures, such as supercomputers, cloud computing, and data centers. The growing amount of data and the growth in their model size and computational complexity, however, introduce major computational challenges. Such challenges present entry barriers for IoT and edge devices as well as increase the operational expenses of large-scale computing systems. Thus, it has become essential to optimize CNN algorithms. In this paper, we introduce the S-VELCRO compression algorithm, which exploits value locality to trim filters in CNN models utilized for specialized tasks. S-VELCRO uses structured compression, which can save costs and reduce overhead compared with unstructured compression. The algorithm runs in two steps: a preprocessing step identifies the filters with a high degree of value locality, and a compression step trims the selected filters. As a result, S-VELCRO reduces the computational load of the channel activation function and avoids the convolution computation of the corresponding trimmed filters. Compared with typical CNN compression algorithms that run heavy back-propagation training computations, S-VELCRO has significantly fewer computational requirements. Our experimental analysis shows that S-VELCRO achieves a compression-saving ratio between 6% and 30%, with no degradation in accuracy for ResNet-18, MobileNet-V2, and GoogLeNet when used for specialized tasks.

Suggested Citation

  • Freddy Gabbay & Benjamin Salomon & Gil Shomron, 2022. "Structured Compression of Convolutional Neural Networks for Specialized Tasks," Mathematics, MDPI, vol. 10(19), pages 1-19, October.
  • Handle: RePEc:gam:jmathe:v:10:y:2022:i:19:p:3679-:d:936082
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/10/19/3679/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/10/19/3679/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Freddy Gabbay & Gil Shomron, 2021. "Compression of Neural Networks for Specialized Tasks via Value Locality," Mathematics, MDPI, vol. 9(20), pages 1-34, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:10:y:2022:i:19:p:3679-:d:936082. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.