Limits of Convergence-Rate Control for Open-Weight Safety
Organizations: Dalhousie University · Vector Institute · Indian Institute of Management Bangalore
Abstract
Open-weight foundation models can be fine-tuned for harmful purposes after release, yet no existing training resistance methods provide theoretical guarantees. Treating these interventions as convergence-rate control problems allows us to connect optimization speed to the spectral structure of model weights. We leverage this insight to develop a novel understanding of convergence rate control through spectral reparameterization and derive an algorithm, SpecDef, that can both provably and empirically slow first- and second-order optimization in non-adversarial settings. In adversarial settings, we establish a fundamental limit on a broad class of convergence rate control methods including our own: an attacker with sufficient knowledge can restore fast convergence at a linear increase in model size. In order to overcome this limitation, future works will need to investigate methods that are not equivalent to controlling convergence rate.
Figures & tables
| Start Acc | ||||||
|---|---|---|---|---|---|---|
| ELM | 0.204 | 120 (0.607 0.008) | 33 5 (0.635 0.004) | 30 (0.634 0.013) | 23 5 (0.621 0.027) | 20 (0.671 0.014) |
| RepNoise | 0.325 | 510 (0.468 0.044) | 40 (0.629 0.005) | 30 (0.616 0.007) | 30 (0.627 0.008) | 33 15 (0.650 0.023) |
| RMU | 0.259 | 510 (0.558 0.022) | 40 (0.625 0.009) | 33 5 (0.626 0.018) | 30 (0.634 0.022) | 23 5 (0.651 0.030) |
| RR | 0.251 | 300 181 (0.595 0.009) | 33 5 (0.609 0.013) | 30 (0.639 0.020) | 23 5 (0.610 0.010) | 23 5 (0.643 0.008) |
| TAR | 0.290 | 510 (0.307 0.008) | 126 20 (0.609 0.006) | 76 5 (0.620 0.014) | 66 5 (0.638 0.035) | 66 25 (0.618 0.010) |
| GradDiff-WMDP | 0.227 | 510 (0.444 0.030) | 223 248 (0.574 0.067) | 90 60 (0.618 0.022) | 70 26 (0.616 0.017) | 50 17 (0.624 0.020) |
| WMDP | PPL | MMLU | Winogrande | ARC | HellaSwag | |
|---|---|---|---|---|---|---|
| 1k | =-0.1 | =-0.01 | =+0.1 | =+0.0 | =+1.0 | =+0.3 |
| 100k | =-0.1 | =-0.01 | =+0.6 | =+0.3 | =+0.3 | =+0.0 |
| 1B | =+0.0 | =-0.02 | =+0.1 | =-1.0 | =+1.0 | =+0.0 |
| Unlearning with WMDP-Bio ( ELM -unlearned Llama-3.1-8B ) | |||||||
|---|---|---|---|---|---|---|---|
| Learning Rate | |||||||
| 120 10 (0.616 0.010) | 176 288 (0.424 0.098) † | 46 56 (0.305 0.051) ‡ | 16 10 (0.231 0.077) ‡ | 16 10 (0.222 0.078) ‡ | 13 5 (0.204 0.068) ‡ | 10 (0.216 0.062) ‡ | |
| 33 5 (0.644 0.054) | 26 28 (0.278 0.168) ‡ | 13 5 (0.243 0.095) ‡ | 10 (0.197 0.055) ‡ | 10 (0.187 0.032) ‡ | 10 (0.224 0.073) ‡ | 10 (0.182 0.047) ‡ | |
| 26 5 (0.637 0.022) | 20 17 (0.267 0.164) ‡ | 13 5 (0.222 0.101) ‡ | 10 (0.194 0.061) ‡ | 10 (0.303 0.125) ‡ | 10 (0.216 0.109) ‡ | 10 (0.179 0.036) ‡ | |
| 26 5 (0.658 0.030) | 16 11 (0.243 0.146) ‡ | 10 (0.221 0.087) ‡ | 10 (0.200 0.033) ‡ | 10 (0.195 0.026) ‡ | 10 (0.217 0.039) ‡ | 10 (0.201 0.069) ‡ | |
| 33 23 (0.651 0.027) | 10 (0.218 0.079) ‡ | 10 (0.174 0.033) ‡ | 10 (0.183 0.059) ‡ | 10 (0.217 0.059) ‡ | 10 (0.190 0.016) ‡ | 10 (0.184 0.030) ‡ | |
| Method | Nudity Counts | Images w/ Nudity | Img. Reduction | Nud. Reduction |
|---|---|---|---|---|
| Vanilla SD V1-4 | 346.0 | 205 / 205 | — | — |
| Nudity-Erased SD (ESD) | 59.0 | 32 / 205 | 84.4% | 82.9% |
| Unprotected ESD w/ LoRA | 311.0 ± 23.4 | 119.3 ± 2.9 / 205 | 41.8 ± 1.4% | 10.1 ± 6.8% |
| IMMA ( Zheng and Yeh, 2024 ) | 127.7 ± 42.7 | 62.3 ± 14.1 / 205 | 69.6 ± 6.9% | 63.1 ± 12.4% |
| SpecDef | 0.0 ± 0.0 | 0.0 ± 0.0 / 205 | 100.0 ± 0.0 % | 100.0 ± 0.0 % |
| LR = | LR = | LR = | |
|---|---|---|---|
| Baseline | 580 (0.61 0.00) | 236 37 (0.62 0.02) | 193 9 (0.62 0.02) |
| 16 4 (0.67 0.04) † | 10 (0.57 0.23) † | 10 (0.26 0.23) ‡ | |
| 10 (0.26 0.27) ‡ | 10 (0.00 0.00) ‡ | 10 (0.00 0.00) ‡ |
| Muon | |||
|---|---|---|---|
| 1 | 765 (0.29 0.05) | 765 (0.43 0.03) | 316 45 (0.61 0.01) |
| 1K | 335 375 (0.53 0.15) | 305 399 (0.54 0.11) | 140 156 (0.62 0.03) |
| 10K | 308 396 (0.50 0.13) † | 83 66 (0.48 0.11) ‡ | 36 11 (0.41 0.09) ‡ |
| 100K | 23 5 (0.40 0.10) ‡ | 20 10 (0.37 0.10) ‡ | 13 5 (0.33 0.11) ‡ |
| Sophia | |||
| Layers Added | ||||
|---|---|---|---|---|
| 0 ( ) | 80 (0.61) | 10 (0.16) † | 10 (0.15) † | 10 (0.18) † |
| 1 ( ) | 80 (0.62) | 130 (0.62) | 10 (0.21) † | 10 (0.17) † |
| 2 ( ) | 30 (0.64) | 80 (0.61) | 100 (0.60) | 10 (0.17) † |
| 3 ( ) | 80 (0.61) | 30 (0.61) | 30 (0.61) | 30 (0.61) |
Appendix figures & tables31 assets
Supplementary material from the paper’s appendix.
Appendix
| Example 2: 2D Matrices | Example 3: 3D Matrices | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Bound | Actual | Ratio | Bound | Actual | Ratio | ||||
| 0 | 0 | ||||||||
| 18 | 18 | ||||||||
| 36 | 36 | ||||||||
| 54 | 54 | ||||||||
| 72 | 72 | ||||||||
| Bound | Actual | Ratio | |||
|---|---|---|---|---|---|
| 1 | 1 | ||||
| 2 | 1 | ||||
| 2 | 2 | ||||
| 3 | 1 | ||||
| 3 | 2 | ||||
| 3 | 3 |
| Network | ||||||||
|---|---|---|---|---|---|---|---|---|
| MLP | 1 | 1.75 ±0.71 | 0.93 ±0.25 | 0.43 ±0.27 | 0.46 ±0.25 | 0.32 ±0.34 | 0.94 ±0.60 | 1.47 ±0.71 |
| MLP | 10 | 1.59 ±0.83 | 0.83 ±0.38 | 0.52 ±0.31 | 0.45 ±0.23 | 3.36 ±3.33 | 7.75 ±6.23 | 7.82 ±6.23 |
| MLP | 100 | 1.72 ±0.80 | 0.87 ±0.35 | 0.55 ±0.26 | 0.44 ±0.22 | 37.07 ±42.33 | 74.81 ±66.88 | 74.83 ±66.88 |
| MLP | 1000 | 1.56 ±0.79 | 0.80 ±0.41 | 0.51 ±0.30 | 0.46 ±0.26 | 309.38 ±358.77 | 580.02 ±581.07 | 580.02 ±581.07 |
| MLP | 5000 | 1.74 ±0.94 | 0.80 ±0.41 | 0.48 ±0.31 | 0.46 ±0.20 | 1469.93 ±1472.48 | 3518.09 ±3196.12 | 3518.09 ±3196.12 |
| MLP w/ GELU | 1 | 1.73 ±0.84 | 0.60 ±0.11 | 0.45 ±0.20 | 0.47 ±0.23 | 0.24 ±0.25 | 0.60 ±0.35 | 1.06 ±0.73 |
| Method | Reference |
|---|---|
| ELM | Gandikota et al. (2024) |
| RepNoise | Rosati et al. (2024a) |
| RMU | Li et al. (2024) |
| RR | Zou et al. (2023) |
| TAR | Tamirisa et al. (2025) |
| GradDiff | Liu et al. (2022) |
| Learning Rate | |||||||
|---|---|---|---|---|---|---|---|
| 510 (0.467 0.035) | 20 17 (0.180 0.035) ‡ | 13 5 (0.158 0.007) ‡ | 13 5 (0.154 0.002) ‡ | 13 5 (0.165 0.021) ‡ | 10 (0.175 0.022) ‡ | 10 (0.221 0.122) ‡ | |
| 126 30 (0.608 0.010) | 13 5 (0.182 0.019) ‡ | 10 (0.204 0.040) ‡ | 10 (0.175 0.023) ‡ | 10 (0.213 0.044) ‡ | 10 (0.214 0.079) ‡ | 10 (0.210 0.078) ‡ | |
| 73 11 (0.626 0.029) | 10 (0.199 0.019) ‡ | 10 (0.175 0.035) ‡ | 10 (0.199 0.048) ‡ | 10 (0.196 0.056) ‡ | 10 (0.195 0.081) ‡ | 10 (0.217 0.094) ‡ | |
| 73 5 (0.618 0.014) | 10 (0.192 0.024) ‡ | 10 (0.171 0.008) ‡ | 10 (0.220 0.052) ‡ | 10 (0.166 0.025) ‡ | 10 (0.197 0.079) ‡ | 10 (0.200 0.080) ‡ | |
| 53 11 (0.631 0.024) | 10 (0.191 0.024) ‡ | 10 (0.241 0.078) ‡ | 10 (0.178 0.021) ‡ | 10 (0.192 0.046) ‡ | 10 (0.165 0.024) ‡ | 10 (0.217 0.118) ‡ |
| Learning Rate | |||||||
|---|---|---|---|---|---|---|---|
| 93 25 (0.607 0.006) | 43 57 (0.452 0.157) † | 50 54 (0.428 0.146) ‡ | 26 25 (0.281 0.152) ‡ | 18 10 (0.300 0.156) ‡ | 16 11 (0.244 0.172) ‡ | 10 (0.212 0.050) ‡ | |
| 26 5 (0.617 0.023) | 20 17 (0.290 0.170) ‡ | 16 10 (0.255 0.128) ‡ | 12 4 (0.219 0.123) ‡ | 10 (0.237 0.093) ‡ | 10 (0.216 0.099) ‡ | 10 (0.246 0.080) ‡ | |
| 26 5 (0.667 0.024) | 16 11 (0.264 0.172) ‡ | 14 5 (0.182 0.020) ‡ | 10 (0.226 0.099) ‡ | 10 (0.247 0.072) ‡ | 10 (0.233 0.069) ‡ | 10 (0.259 0.075) ‡ | |
| 20 (0.659 0.082) | 16 11 (0.269 0.165) ‡ | 10 (0.227 0.064) ‡ | 10 (0.277 0.093) ‡ | 10 (0.207 0.030) ‡ | 10 (0.214 0.089) ‡ | 10 (0.200 0.042) ‡ | |
| 16 5 (0.633 0.033) | 10 (0.222 0.100) ‡ | 10 (0.201 0.057) ‡ | 10 (0.201 0.045) ‡ | 10 (0.202 0.048) ‡ | 10 (0.175 0.011) ‡ | 10 (0.220 0.062) ‡ |
| Learning Rate | ||||||||
|---|---|---|---|---|---|---|---|---|
| 2597 (0.098 0.001) | 40 10 (0.705 0.065) | 23 5 (0.644 0.035) | 20 (0.641 0.173) † | 13 5 (0.589 0.255) † | 16 11 (0.584 0.304) ‡ | 10 (0.024 0.037) ‡ | 10 (0.011 0.011) ‡ | |
| 216 5 (0.610 0.013) | 20 (0.626 0.206) † | 10 (0.537 0.246) † | 10 (0.481 0.331) † | 10 (0.552 0.319) † | 10 (0.482 0.282) † | 10 (0.019 0.031) ‡ | 10 (0.004 0.003) ‡ | |
| 143 5 (0.650 0.034) | 13 5 (0.585 0.291) † | 10 (0.629 0.146) † | 10 (0.566 0.260) † | 10 (0.375 0.319) ‡ | 10 (0.048 0.049) ‡ | 10 (0.014 0.022) ‡ | 10 (0.016 0.025) ‡ | |
| 130 (0.697 0.006) | 13 5 (0.561 0.296) † | 10 (0.443 0.328) † | 10 (0.414 0.380) ‡ | 10 (0.256 0.439) ‡ | 10 (0.118 0.139) ‡ | 10 (0.002 0.000) ‡ | 10 (0.016 0.024) ‡ | |
| 63 5 (0.653 0.054) | 10 (0.573 0.270) † | 10 (0.247 0.415) ‡ | 10 (0.005 0.006) ‡ | 10 (0.147 0.224) ‡ | 10 (0.136 0.230) ‡ | 10 (0.003 0.002) ‡ | 10 (0.002 0.001) ‡ |
| Learning Rate | ||||||||
|---|---|---|---|---|---|---|---|---|
| 2597 (0.581 0.003) | 43 49 (0.396 0.250) † | 33 40 (0.356 0.218) † | 30 34 (0.266 0.081) ‡ | 30 34 (0.320 0.126) ‡ | 26 28 (0.255 0.173) ‡ | 13 5 (0.055 0.055) ‡ | 10 (0.017 0.005) ‡ | |
| 103 5 (0.615 0.002) | 40 51 (0.364 0.235) † | 23 23 (0.178 0.157) ‡ | 16 11 (0.179 0.239) ‡ | 16 11 (0.151 0.231) ‡ | 13 5 (0.137 0.219) ‡ | 10 (0.002 0.001) ‡ | 10 (0.072 0.061) ‡ | |
| 76 11 (0.626 0.031) | 30 34 (0.347 0.252) ‡ | 16 11 (0.243 0.263) ‡ | 16 11 (0.152 0.228) ‡ | 13 5 (0.130 0.212) ‡ | 13 5 (0.010 0.006) ‡ | 10 (0.003 0.003) ‡ | 10 (0.051 0.083) ‡ | |
| 76 11 (0.646 0.030) | 30 34 (0.317 0.273) ‡ | 16 11 (0.202 0.289) ‡ | 13 5 (0.136 0.207) ‡ | 13 5 (0.088 0.119) ‡ | 13 5 (0.116 0.172) ‡ | 10 (0.033 0.028) ‡ | 10 (0.011 0.008) ‡ | |
| 46 5 (0.660 0.047) | 16 11 (0.159 0.215) ‡ | 13 5 (0.131 0.192) ‡ | 10 (0.126 0.146) ‡ | 10 (0.104 0.118) ‡ | 10 (0.039 0.044) ‡ | 10 (0.089 0.083) ‡ | 10 (0.027 0.019) ‡ |
| Method | Nudity Counts | Images w/ Nudity | Img. Reduction | Nud. Reduction |
|---|---|---|---|---|
| SpecDef | ||||
| random 1 layer | 371.3 ± 58.0 | 117.0 ± 7.8 / 205 | 42.9 ± 3.8% | -7.3 ± 16.8% |
| random 5 layers | 419.7 ± 146.1 | 122.7 ± 19.7/ 205 | 40.2 ± 9.6% | -21.3 ± 42.2% |
| random 25 layers | 331.7 ± 79.1 | 109.3 ± 4.0 / 205 | 46.7 ± 2.0% | 4.1 ± 22.9% |
| all 48 cross-attention layers | 335.3 ± 84.5 | 123.0 ± 12.0 / 205 | 40.0 ± 5.9% | 3.1 ± 24.4% |
| SpecDef |
| Method | SGR C (CLIP) | SGR D (DINO) | SGR L (LPIPS) | Resistance Time |
|---|---|---|---|---|
| Reference Images | 0% | 0% | 0% | — |
| IMMA ( Zheng and Yeh, 2024 ) | 3.34 ± 3.18% | 7.47 ± 14.94% | 1.77 ± 15.08% | 343.32 ± 3.47s |
| SpecDef | 10.81 ± 2.23% | 44.08 ± 4.08% | 42.11 ± 21.96% | 20.27 ± 0.00s |
| Method | SGR C (CLIP) | SGR D (DINO) | SGR L (LPIPS) | Resistance Time |
|---|---|---|---|---|
| SpecDef | ||||
| random 1 layer | 0.67 ± 0.73% | -4.54 ± 6.92% | -0.99 ± 11.58% | 0.46 ± 0.34s |
| random 5 layers | 1.34 ± 2.53% | -6.45 ± 3.97% | -4.96 ± 2.83% | 1.50 ± 0.23s |
| random 25 layers | 1.62 ± 3.51% | -7.03 ± 4.40% | -5.78 ± 6.65% | 10.65 ± 1.15s |
| all 48 cross-attention layers | 0.23 ± 2.61% | -9.15 ± 4.80% | -5.90 ± 3.54% | 20.27 ± 0.01s |
| SpecDef |
| Method | SGR C (CLIP) | SGR D (DINO) | SGR L (LPIPS) |
|---|---|---|---|
| Reference Images | 0% | 0% | 0% |
| IMMA ( Zheng and Yeh, 2024 ) | |||
| 0.65 ± 0.10% | -5.74 ± 5.05% | -0.32 ± 6.21% | |
| 3.34 ± 3.18% | 7.47 ± 14.94% | 1.77 ± 15.08% | |
| 11.94 ± 1.51% | 60.55 ± 3.03% | 38.37 ± 8.56% | |
| 10.89 ± 2.90% | 52.49 ± 10.75% | 35.14 ± 18.60% |
| Method | SGR C (CLIP) | SGR D (DINO) | SGR L (LPIPS) |
|---|---|---|---|
| Reference Images | 0% | 0% | 0% |
| SpecDef , LoRA Learning Rate = | |||
| 0.84 ± 1.07% | -3.39 ± 3.18% | -2.67 ± 9.03% | |
| -0.36 ± 1.67% | -9.83 ± 2.88% | -9.99 ± 5.84% | |
| 2.99 ± 3.89% | 9.11 ± 8.97% | 1.37 ± 3.05% | |
| 0.88 ± 1.17% | -5.96 ± 7.00% | -8.05 ± 10.54% |
| Layers | |||||||
|---|---|---|---|---|---|---|---|
| 1000 | 1 | 120 132 (0.53 0.16) † | 66 60 (0.54 0.12) † | 53 40 (0.56 0.10) † | 43 30 (0.64 0.19) † | 40 26 (0.62 0.14) † | 23 15 (0.63 0.13) † |
| 2 | 26 5 (0.62 0.24) † | 16 5 (0.59 0.16) † | 10 (0.58 0.13) † | 10 (0.55 0.16) † | 10 (0.59 0.14) † | 10 (0.42 0.39) † | |
| 5 | 20 (0.69 0.10) † | 13 5 (0.64 0.15) † | 10 (0.60 0.06) ‡ | 10 (0.59 0.12) ‡ | 10 (0.47 0.39) ‡ | 10 (0.25 0.27) ‡ | |
| 10 | 16 5 (0.72 0.05) † | 13 5 (0.68 0.18) ‡ | 10 (0.67 0.05) ‡ | 10 (0.44 0.38) ‡ | 10 (0.43 0.37) ‡ | 10 (0.03 0.05) ‡ | |
| 5000 | 1 | 83 110 (0.55 0.10) † | 60 62 (0.58 0.12) † | 40 36 (0.60 0.12) † | 36 30 (0.64 0.17) † | 30 26 (0.64 0.15) † | 23 15 (0.59 0.21) † |
| 2 | 10 (0.58 0.13) † | 10 (0.56 0.16) † | 10 (0.48 0.28) † | 10 (0.41 0.40) † | 10 (0.42 0.41) † | 10 (0.41 0.41) † |
| lr= | lr= | lr= | lr= | |
|---|---|---|---|---|
| 1 | 330 180 (0.573) | 50 0 (0.616) | 30 0 (0.614) | 20 10 (0.514) † |
| 2 | 350 160 (0.578) | 55 5 (0.602) † | 30 0 (0.590) † | 10 0 (0.433) ‡ |
| 5 | 400 110 (0.594) | 45 5 (0.594) † | 30 0 (0.592) † | 25 15 (0.443) ‡ |
| 10 | 325 185 (0.571) | 45 5 (0.594) † | 35 5 (0.576) † | 15 5 (0.475) ‡ |
| 25 | 340 170 (0.588) | 50 20 (0.541) † | 30 10 (0.531) ‡ | 15 5 (0.455) ‡ |
| all | 325 185 (0.573) | 30 0 (0.451) ‡ | 20 0 (0.439) ‡ | 10 0 (0.398) ‡ |
| Resistance Method | ||
|---|---|---|
| RepNoise | 510 (0.459) | 26 5 (0.630 0.022) |
| RMU | 510 (0.573) | 23 5 (0.618 0.013) |
| TAR | 510 (0.302) | 70 45 (0.510 0.170) † |
| GradDiff | 510 (0.409 0.002) | 196 120 (0.609 0.010) |
| NPO-SAM | 510 (0.412 0.000) | 70 43 (0.610 0.008) |
| NPO | 510 (0.553) | 73 15 (0.616 0.016) |
| Muon | Sophia | AdaHessian | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | |||||||||
| Base Model | 765 (0.52 0.04) | 653 193 (0.54 0.05) | 190 62 (0.62 0.01) | 26 5 (0.61 0.01) | 20 (0.65 0.05) | 16 5 (0.63 0.04) | 146 25 (0.63 0.01) | 60 (0.61 0.01) | 56 5 (0.62 0.01) |
| NPO | 765 (0.29) | 765 (0.30) | 765 (0.55) | 60 (0.69) | 60 (0.54) ‡ | 40 (0.42) ‡ | 467 420 (0.60 0.02) | 140 70 (0.61 0.01) | 120 42 (0.60 0.00) |
| GradDiff | 765 (0.25 0.03) | 765 (0.24 0.03) | 765 (0.44 0.04) | 73 15 (0.63 0.03) | 93 5 (0.62 0.02) | 56 15 (0.42 0.01) ‡ | 553 366 (0.56 0.04) | 313 210 (0.60 0.00) | 183 90 (0.60 0.01) † |
| RMU | 765 (0.23 0.02) | 765 (0.30 0.03) | 633 228 (0.58 0.02) | 46 11 (0.65 0.04) | 50 43 (0.63 0.01) | 33 15 (0.54 0.12) † | 183 60 (0.61 0.01) | 76 11 (0.63 0.03) | 70 10 (0.62 0.02) |
| TAR | 765 (0.30 0.02) | 765 (0.30 0.03) | 435 285 (0.29 0.02) † | 86 5 (0.62 0.02) | 93 15 (0.58 0.06) † | 33 11 (0.34 0.04) ‡ | 110 26 (0.25 0.06) ‡ | 46 11 (0.28 0.05) ‡ | 33 5 (0.25 0.00) ‡ |
| Optimizer | Hyperparameter | Values |
|---|---|---|
| Adam | Learning rate | |
| KFAC | Learning rate | |
| Damping | ||
| Natural Gradient | Learning rate | |
| Damping | ||
| Newton | Learning rate |
| Optimizer | Before SpecDef | After SpecDef |
|---|---|---|
| Adam | ||
| KFAC | ||
| Natural Gradient | ||
| Newton | ||
| AdaHessian | ||
| Cubic Newton |
| Optimizer | Before SpecDef | After SpecDef |
|---|---|---|
| KFAC | ||
| Natural Gradient | ||
| Newton | ||
| AdaHessian | ||
| Cubic Newton | ||
| Adam |
Neural Network Optimization
Neural network optimization studies algorithms and training dynamics that help models learn efficiently, reliably, and generalize well.
See all 318 papers