Model LEGO: Creating Models Like Disassembling and Assembling Building Blocks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Jiacong, Gao, Jing, Ye, Jingwen, Gao, Yang, Wang, Xingen, Feng, Zunlei, Song, Mingli
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909372818391040
author Hu, Jiacong
Gao, Jing
Ye, Jingwen
Gao, Yang
Wang, Xingen
Feng, Zunlei
Song, Mingli
author_facet Hu, Jiacong
Gao, Jing
Ye, Jingwen
Gao, Yang
Wang, Xingen
Feng, Zunlei
Song, Mingli
contents With the rapid development of deep learning, the increasing complexity and scale of parameters make training a new model increasingly resource-intensive. In this paper, we start from the classic convolutional neural network (CNN) and explore a paradigm that does not require training to obtain new models. Similar to the birth of CNN inspired by receptive fields in the biological visual system, we draw inspiration from the information subsystem pathways in the biological visual system and propose Model Disassembling and Assembling (MDA). During model disassembling, we introduce the concept of relative contribution and propose a component locating technique to extract task-aware components from trained CNN classifiers. For model assembling, we present the alignment padding strategy and parameter scaling strategy to construct a new model tailored for a specific task, utilizing the disassembled task-aware components. The entire process is akin to playing with LEGO bricks, enabling arbitrary assembly of new models, and providing a novel perspective for model creation and reuse. Extensive experiments showcase that task-aware components disassembled from CNN classifiers or new models assembled using these components closely match or even surpass the performance of the baseline, demonstrating its promising results for model reuse. Furthermore, MDA exhibits diverse potential applications, with comprehensive experiments exploring model decision route analysis, model compression, knowledge distillation, and more. The code is available at https://github.com/jiaconghu/Model-LEGO.
format Preprint
id arxiv_https___arxiv_org_abs_2203_13453
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Model LEGO: Creating Models Like Disassembling and Assembling Building Blocks
Hu, Jiacong
Gao, Jing
Ye, Jingwen
Gao, Yang
Wang, Xingen
Feng, Zunlei
Song, Mingli
Computer Vision and Pattern Recognition
With the rapid development of deep learning, the increasing complexity and scale of parameters make training a new model increasingly resource-intensive. In this paper, we start from the classic convolutional neural network (CNN) and explore a paradigm that does not require training to obtain new models. Similar to the birth of CNN inspired by receptive fields in the biological visual system, we draw inspiration from the information subsystem pathways in the biological visual system and propose Model Disassembling and Assembling (MDA). During model disassembling, we introduce the concept of relative contribution and propose a component locating technique to extract task-aware components from trained CNN classifiers. For model assembling, we present the alignment padding strategy and parameter scaling strategy to construct a new model tailored for a specific task, utilizing the disassembled task-aware components. The entire process is akin to playing with LEGO bricks, enabling arbitrary assembly of new models, and providing a novel perspective for model creation and reuse. Extensive experiments showcase that task-aware components disassembled from CNN classifiers or new models assembled using these components closely match or even surpass the performance of the baseline, demonstrating its promising results for model reuse. Furthermore, MDA exhibits diverse potential applications, with comprehensive experiments exploring model decision route analysis, model compression, knowledge distillation, and more. The code is available at https://github.com/jiaconghu/Model-LEGO.
title Model LEGO: Creating Models Like Disassembling and Assembling Building Blocks
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2203.13453