Repurposing Obsolete Representations for Post-Deployment Adaptation
Organizations: Department of Computer Science, University of York, UK · Department of Elect. Eng., and Computer Science and Eng., Cyprus University of Technology, Cyprus
Abstract
Deep neural networks are increasingly deployed in long-lived systems, where task requirements may change after training. In such settings, part of the original output space may become obsolete: a class, prediction region, or learned behaviour may no longer be valid. Existing approaches either leave the obsolete behaviour intact or require fine-tuning, which can be expensive. We propose Deep Repurposing (DR), a post-hoc framework for adapting models under task obsolescence. DR estimates the latent geometry of obsolete and retained regions, removes obsolete-supporting components, and reallocates retained-compatible evidence through an analytic repair map without gradient updates. This yields repaired predictions and representations in which obsolete regions no longer act as valid outputs, while useful obsolete structure can support the retained task. Across multiple task settings, DR removes obsolete behaviour while preserving retained utility. More importantly, across classification benchmarks, DR matches or exceeds competing unlearning and editing baselines in retained accuracy, eliminates obsolete predictions, and adapts up to faster than competing unlearning methods.
Figures & tables
| Method | MAE | Obs. Rate | Time (s) |
|---|---|---|---|
| Base Model | – | ||
| Finetune | |||
| Retrain | |||
| DR |
| Predictive performance | Semantic-region performance | |||||
|---|---|---|---|---|---|---|
| Method | Split | MAE | RMSE | Obs. win | ||
| Base | ||||||
| Base | ||||||
| DR | ||||||
| DR | ||||||
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric | Base Model | DR | |
|---|---|---|---|
| accuracy | 0.803 0.001 | 0.884 0.001 | +0.081 |
| macro-F1 | 0.759 0.002 | 0.856 0.002 | +0.097 |
| NLL | 0.887 0.002 | 0.579 0.002 | -0.308 |
| ECE | 0.157 0.001 | 0.186 0.001 | +0.029 |
| obs prediction rate | 0.001 0.000 | 0.000 0.000 | -0.001 |
| raw obs probability | 0.021 0.000 | 0.000 0.000 | -0.021 |
| Nearest retained class | Before DR | After DR |
|---|---|---|
| Portion box | 71 / 143 (49.7%) | 54 / 143 (37.8%) |
| Ground | 42 / 143 (29.4%) | 20 / 143 (14.0%) |
| Wheel | 27 / 143 (18.9%) | 34 / 143 (23.8%) |
| Scoop | 1 / 143 (0.7%) | 27 / 143 (18.9%) |
| Drill | 0 / 143 (0.0%) | 6 / 143 (4.2%) |
| MAHLI calibration target | 2 / 143 (1.4%) | 2 / 143 (1.4%) |
| Metric | Base Model | DR | |
|---|---|---|---|
| accuracy | 0.784 0.001 | 0.884 0.001 | +0.100 |
| macro-F1 | 0.739 0.002 | 0.834 0.002 | +0.095 |
| NLL | 0.933 0.002 | 0.658 0.002 | -0.274 |
| ECE | 0.151 0.000 | 0.211 0.001 | +0.060 |
| obs prediction rate | 0.063 0.001 | 0.000 0.000 | -0.063 |
| raw obs probability | 0.029 0.000 | 0.000 0.000 | -0.029 |
| Metric | Base Model | DR | |
|---|---|---|---|
| accuracy | 0.687 0.000 | 0.696 0.000 | +0.009 |
| macro-F1 | 0.579 0.000 | 0.586 0.002 | +0.007 |
| NLL | 1.169 0.0020 | 1.121 0.000 | -0.048 |
| ECE | 0.074 0.000 | 0.082 0.000 | +0.008 |
| obs prediction rate | 0.026 0.000 | 0.000 0.000 | -0.026 |
| raw obs probability | 0.039 0.000 | 0.000 0.000 | -0.039 |
| Time | |||||||||
| Method | Acc. | F1 | Obs. Rate | Obs. Prob. | Acc. | F1 | Obs. Rate | Obs. Prob. | Unlearn (s) |
| CIFAR10 | |||||||||
| Base Model | 0.90 0.00 | 0.82 0.01 | 0.01 0.00 | 0.01 0.00 | 0.90 0.04 | 0.12 0.03 | 0.90 0.04 | 0.88 0.05 | – |
| SSD | 0.88 0.01 | 0.82 0.01 | 0.00 0.00 | 0.01 0.00 | 0.36 0.15 | 0.05 0.02 | 0.36 0.15 | 0.33 0.13 | 2.32 0.49 |
| LFSSD | 0.88 0.01 | 0.83 0.02 | 0.00 0.00 | 0.01 0.00 | 0.40 0.20 | 0.05 0.02 | 0.40 0.20 | 0.36 0.19 | 4.30 1.34 |
| Boundary Shrink | 0.79 0.03 | 0.76 0.03 | 0.00 0.00 | 0.00 0.00 | 0.07 0.01 | 0.01 0.00 | 0.07 0.01 | 0.07 0.01 | 13.12 0.31 |
| CIFAR10 | CIFAR100 | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | NLL | ECE | NLL | ECE | NLL | ECE | NLL | ECE |
| Base Model | 0.30 0.01 | 0.03 0.00 | 0.30 0.13 | 0.04 0.02 | 0.80 0.01 | 0.03 0.01 | 0.83 0.64 | 0.14 0.06 |
| SSD | 0.36 0.04 | 0.02 0.00 | 2.07 0.62 | 0.32 0.10 | 1.51 0.82 | 0.21 0.07 | 5.73 0.62 | 0.16 0.05 |
| LFSSD | 0.36 0.04 | 0.03 0.00 | 2.25 0.92 | 0.32 0.14 | 0.86 0.04 | 0.07 0.03 | 4.61 0.39 | 0.35 0.10 |
| Boundary Shrink | 0.72 0.13 | 0.08 0.03 | 4.82 0.23 | 0.60 0.02 | 2.12 0.25 | 0.35 0.05 | 4.78 0.07 | 0.10 0.04 |
| Boundary Expand | 0.67 0.06 | 0.02 0.00 | 3.59 0.16 | 0.43 0.01 | 1.81 0.29 | 0.19 0.03 | 4.98 0.05 | 0.16 0.03 |
| CIFAR10 | CIFAR100 | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Conf. | Ent. | Conf. | Ent. | Conf. | Ent. | Conf. | Ent. |
| Base Model | 0.93 0.00 | 0.19 0.01 | 0.93 0.02 | 0.19 0.07 | 0.79 0.01 | 1.11 0.00 | 0.78 0.09 | 1.09 0.22 |
| SSD | 0.90 0.02 | 0.31 0.05 | 0.64 0.07 | 1.05 0.22 | 0.48 0.21 | 2.60 0.85 | 0.16 0.04 | 3.92 0.19 |
| LFSSD | 0.91 0.01 | 0.26 0.03 | 0.70 0.08 | 0.86 0.22 | 0.73 0.03 | 1.42 0.17 | 0.36 0.10 | 2.90 0.55 |
| Boundary Shrink | 0.86 0.01 | 0.40 0.03 | 0.67 0.01 | 0.97 0.04 | 0.27 0.03 | 3.65 0.11 | 0.14 0.02 | 4.05 0.06 |
| Boundary Expand | 0.80 0.02 | 0.63 0.05 | 0.55 0.01 | 1.31 0.02 | 0.43 0.04 | 2.87 0.16 | 0.20 0.01 | 3.70 0.06 |
| AUC | ||||||
| Method | MIA | Probe | Near Obs. Centroid Rate | Obs. Direction | Near Obs. Centroid Rate | Obs. Direction |
| CIFAR10 | ||||||
| Base Model | – | – | – | – | – | – |
| SSD | 0.52 0.02 | 0.98 0.01 | 0.00 0.00 | -0.01 0.01 | 0.40 0.15 | 0.26 0.05 |
| LFSSD | 0.51 0.02 | 0.98 0.01 | 0.00 0.01 | -0.03 0.02 | 0.44 0.22 | 0.28 0.11 |
| Boundary Shrink | 0.52 0.02 | 0.96 0.01 | 0.00 0.00 | -0.07 0.01 | 0.10 0.03 | 0.08 0.02 |
| Accuracy | F1 | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Q1 | Q2 | Q3 | Q4 | Q1 | Q2 | Q3 | Q4 |
| CIFAR10 | ||||||||
| Base Model | 1.00 0.00 | 1.00 0.00 | 1.00 0.00 | 0.61 0.02 | 1.00 0.00 | 1.00 0.00 | 1.00 0.00 | 0.56 0.02 |
| SSD | 0.99 0.00 | 0.99 0.01 | 0.96 0.02 | 0.58 0.03 | 0.99 0.00 | 0.98 0.01 | 0.95 0.02 | 0.53 0.03 |
| LFSSD | 0.99 0.00 | 0.99 0.01 | 0.96 0.02 | 0.57 0.03 | 0.99 0.00 | 0.99 0.01 | 0.95 0.01 | 0.26 0.22 |
| Boundary Shrink | 0.98 0.01 | 0.93 0.03 | 0.81 0.06 | 0.44 0.05 | 0.97 0.01 | 0.92 0.03 | 0.80 0.05 | 0.43 0.04 |
| Method | Split | MAE | RMSE | Within 5 | Within 10 | Obs. rate | Repair (s) |
|---|---|---|---|---|---|---|---|
| Base model | – | ||||||
| Fine-tuning | |||||||
| Retraining | |||||||
| Method | Split | Pixel Acc. | Ret. Pixel Acc. | Ret. mIoU | NLL | ECE | Obs. Pred. | Eff. Obs. Prob. |
|---|---|---|---|---|---|---|---|---|
| Base | ||||||||
| DR | ||||||||
| Base | ||||||||
| DR | – |
| utility | obsolete-output behaviour | ||||
|---|---|---|---|---|---|
| Method | Acc. | F1 | Obs. Rate | Raw Obs. Prob. | Unlearn (s) |
| Logit Suppression | |||||
| Deep Repurposing | |||||
| Method | Acc. | F1 | NLL | ECE | Conf. | Ent. | Obs. Rate | Obs. Prob. |
|---|---|---|---|---|---|---|---|---|
| Base | ||||||||
| DR (w/o ref) | ||||||||
| DR |
| Method | Centroid | Direction | Q4 Acc. | Q4 F1 |
|---|---|---|---|---|
| Base | – | – | ||
| DR (w/o ref.) | ||||
| DR |
| Dataset | Group | Class | Rank | ID | Acc. | NLL | ECE | |
|---|---|---|---|---|---|---|---|---|
| CIFAR-100 | Easy | tractor | 1 | 89 | 0.970 | 0.269 | 0.107 | -4.959 |
| CIFAR-100 | Easy | orange | 2 | 53 | 0.960 | 0.262 | 0.095 | -4.922 |
| CIFAR-100 | Medium | table | 50 | 84 | 0.860 | 0.637 | 0.111 | -0.880 |
| CIFAR-100 | Medium | worm | 51 | 99 | 0.820 | 0.611 | 0.104 | -0.861 |
| CIFAR-100 | Hard | boy | 99 | 11 | 0.530 | 1.519 | 0.200 | 8.952 |
| CIFAR-100 | Hard | girl | 100 | 35 | 0.530 | 1.651 | 0.229 | 9.981 |
| Date | Season | Hour | Working day | Weather | Temp. | Humidity | cnt | |
|---|---|---|---|---|---|---|---|---|
| 2011-01-01 | 1 | 0 | 0 | 1 | 0.24 | 0.81 | 16 | |
| 2011-01-01 | 1 | 1 | 0 | 1 | 0.22 | 0.80 | 40 | |
| 2011-01-01 | 1 | 2 | 0 | 1 | 0.22 | 0.80 | 32 |