Class unlearning removes a set of classes from a trained model, with retraining on the remaining classes as the reference. When features are released, a linear probe trained on them still recognizes the forget classes in retrained models, more so for more accurate models. This implies that deleting the data of a class does not delete the class from the features. An accurate model already knows where the features of its remaining classes lie. ERAsure by SElf Knowledge (ERASE) therefore predicts the location and shape of each remaining class from the frozen model, without remaining-class samples, and moves each forget class onto them by Gaussian optimal transport. ERASE with class Moments (ERASE-M) instead takes them from moments stored for every class before deletion, which also keeps detectors near chance. Across classification, segmentation, and detection with diverse networks and backbones, new classifiers rarely recognize the forget classes, and both methods outperform baselines on most benchmarks.
翻译:暂无翻译