How to Train Your Metamorphic Deep Neural Network

Thomas Sommariva, Simone Calderara, Angelo Porrello
5/7/2025
cs.NEcs.CVcs.LG

Official code: TSommariva/HTTY_NeuMeta (2 stars, last commit 2025-05-02).

Abstract

Neural Metamorphosis (NeuMeta) is a recent paradigm for generating neural networks of varying width and depth. Based on Implicit Neural Representation (INR), NeuMeta learns a continuous weight manifold, enabling the direct generation of compressed models, including those with configurations not seen during training. While promising, the original formulation of NeuMeta proves effective only for the final layers of the undelying model, limiting its broader applicability. In this work, we propose a training algorithm that extends the capabilities of NeuMeta to enable full-network metamorphosis with minimal accuracy degradation. Our approach follows a structured recipe comprising block-wise incremental training, INR initialization, and strategies for replacing batch normalization. The resulting metamorphic networks maintain competitive accuracy across a wide range of compression ratios, offering a scalable solution for adaptable and efficient deployment of deep models. The code is available at: https://github.com/TSommariva/HTTY_NeuMeta.

View on arXivView PDF

Code Implementations(1)

20PythonNov 21, 20241 years ago

Similar Papers

Cite this paper

@article{sommariva2025train,
  title  = {How to Train Your Metamorphic Deep Neural Network},
  author = {Thomas Sommariva and Simone Calderara and Angelo Porrello},
  year   = {2025},
  eprint = {2505.05510},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.05510v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.05510.svg)](https://codeofpaper.com/paper/2505.05510)

Discussion