When Robustness Vanishes after Averaging: Discrete Pullback of Overshooting Modules for Adversarially Fine-Tuned CLIP
Abstract
A common recipe for building a CLIP model that is both accurate under distribution shift and resistant to attack in a real-world setting is to merge two separately fine-tuned checkpoints—one tuned for out-of-distribution generalization, the other for adversarial robustness—via task arithmetic, TIES, or similar weight-space combinations. We show that this recipe is lopsided: the OOD benefits of merging carry over almost intact, whereas the adversarial robustness of the robust checkpoint is largely destroyed by even a mild adversarial perturbation, in several cases dropping to within a few points of the non-robust model. Tracing this loss layer by layer, we find it is highly concentrated. A handful of attention projections and early patch-embedding weights account for the bulk of the increased input sensitivity, while the remaining parameters can be moved freely along the merged direction with little effect. Based on this observation, we introduce a training-free post-hoc repair step that requires neither gradient updates nor any images. For each parameter block we estimate how far the merged weights can travel away from the robust checkpoint before its perturbation sensitivity exceeds a tolerance derived from the robust model itself, and we pull back only those blocks that overshoot. Because the admissible displacements form a single connected segment on the line between the robust model and the merged model, the correction is unique and we take the minimum correction. On ImageNet and its four standard shifted variants, the repaired merges recover most of the robust accuracy that plain merging had thrown away, at a cost of under one point of clean and OOD accuracy, and the same procedure transfers to zero-shot classification and to the vision encoder inside LLaVA without changing multi-task merging results.
BibTeX
@misc{luo2026when,
author = {Bingjun Luo},
title = {{When Robustness Vanishes after Averaging: Discrete Pullback of Overshooting Modules for Adversarially Fine-Tuned CLIP}},
year = {2026},
url = {https://openreview.net/forum?id=dDY7KnYBT1},
howpublished = {OpenReview},
}Ask Althea to put this paper to the test.
Loading related content...