PAC-Net: A Model Pruning Approach to Inductive Transfer Learning

Sanghoon Myung, In Huh, Wonik Jang, Jae Myung Choe, Jisu Ryu, Kee-Eung Kim, changwook jeong

Abstract

Inductive transfer learning aims to learn from a small amount of training data for the target task by utilizing a pre-trained model from the source task. Most strategies that involve large-scale deep learning models adopt initialization with the pre-trained model and fine-tuning for the target task. However, when using over-parameterized models, we can often prune the model without sacrificing the accuracy of the source task. This motivates us to adopt model pruning for transfer learning with deep learning models. In this paper, we propose PAC-Net, a simple yet effective approach for transfer learning based on pruning. PAC-Net consists of three steps: Prune, Allocate, and Calibrate (PAC). The main idea behind these steps is to identify essential weights for the source task, fine-tune on the source task by updating the essential weights, and then calibrate on the target task by updating the remaining redundant weights. Under the various and extensive set of inductive transfer learning experiments, we show that our method achieves state-of-the-art performance by a large margin.

Introduction

In inductive transfer learning, the goal is to leverage knowledge from a data-rich source task to improve performance on a data-scarce target task. While standard fine-tuning is the common practice, it often suffers from "catastrophic forgetting" and overfitting, especially when the model is over-parameterized. In scientific domains, this can lead to models that violate fundamental physical principles learned during the source task when they are exposed to noisy or limited target data.

The target task involves dissipative physics, such as a damped oscillator, where energy decreases over time.

For example, a model trained on ideal physics (source) might lose its understanding of energy conservation when fine-tuned on a damped system (target), leading to physically impossible predictions. PAC-Net addresses this by treating model redundancy as a resource rather than a burden.

The PAC-Net Framework

PAC-Net (Prune, Allocate, and Calibrate) introduces a structured approach to weight management during transfer:

  1. Prune: The method identifies "essential" weights in a pre-trained source model using magnitude-based pruning. These weights represent the core knowledge of the source task.
  2. Allocate: The model is re-trained on the source task using only these essential weights, concentrating the "soul" of the model into a specific sub-network.
  3. Calibrate: During transfer to the target task, the essential weights are frozen to prevent forgetting. The previously pruned "redundant" weights are then trained on the target dataset to capture task-specific nuances.

By using hard constraints instead of soft regularization (like $L^2$-SP), PAC-Net ensures that the foundational principles are preserved while allowing the model to adapt to new data.

Experimental Evaluation

The authors evaluated PAC-Net across several benchmarks, including synthetic regression (Friedman #1), computer vision (CelebA), and physics-informed learning (Duffing and Diffusion equations).

In the context of physical systems, PAC-Net demonstrated a unique ability to maintain physical plausibility. While standard fine-tuning often resulted in trajectories that diverged or gained energy erroneously, PAC-Net's predictions remained consistent with the underlying dynamics of the system.

Comparison of transfer learning methods on a spiral trajectory. PAC-Net ("This work") accurately captures the ground truth compared to baselines.

Key results include:

  • Regression: Consistently lower RMSE on Friedman #1, particularly with extremely small target samples (n=10).
  • Computer Vision: Outperformed state-of-the-art methods like DELTA on the CelebA dataset.
  • Real-World Application: In semiconductor process modeling, PAC-Net achieved an R-squared of 0.907 with only 40 target samples, significantly reducing the need for expensive experimental data.

Conclusion

PAC-Net offers a robust alternative to standard fine-tuning by leveraging model pruning to protect essential knowledge. While future work may explore more sophisticated pruning techniques or address the computational cost of the "Allocate" step, PAC-Net currently provides a powerful tool for high-stakes transfer learning where data is scarce and preserving fundamental principles is critical.

Summary updated

BibTeX
@misc{myung2022pac,
  author = {Sanghoon Myung and In Huh and Wonik Jang and Jae Myung Choe and Jisu Ryu and Kee-Eung Kim and changwook jeong},
  title = {{PAC-Net: A Model Pruning Approach to Inductive Transfer Learning}},
  year = {2022},
  eprint = {2206.05703},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05703},
}
Figure