Skip to content

Code release for REPAIR: REnormalizing Permuted Activations for Interpolation Repair

Notifications You must be signed in to change notification settings

KellerJordan/REPAIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REPAIR: REnormalizing Permuted Activations for Interpolation Repair

repair

Code release for REPAIR: REnormalizing Permuted Activations for Interpolation Repair.

  • The notebook Train-Merge-REPAIR-VGG11 is a self-contained, PyTorch-only script which trains two standard VGG11 networks on CIFAR-10. It then merges them in weight-space using neuron alignment. Finally, it applies REPAIR to reduce the merging penalty from ~20% to ~5%. The width of the VGG network can be scaled up to obtain zero-barrier connectivity.
  • The notebook Merge-ResNet50-ImageNet applies REPAIR to merging ResNet50s trained on ImageNet. It is less self-contained, depending on FFCV ImageNet files, and two pretrained ResNet50 checkpoints.

These two notebooks contain complete implementations of REPAIR from which further experiments can be derived. The remainder of the notebooks in ./notebooks contain assorted such experiments.

About

Code release for REPAIR: REnormalizing Permuted Activations for Interpolation Repair

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages