atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Exploring and Leveraging Class Vectors for Classifier Editing

NeurIPS 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Group-robust classification · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Class Vectors, per-class latent representation shifts between pretrained and fine-tuned encoders, used for training-free latent steering or weight-space mapping to edit classifiers (unlearning, snow adaptation, typographic-attack defense, backdoor trigger optimization).

Problem

Post hoc classifier editing (forgetting specific classes, adapting to distribution shifts) is costly or limited to correcting image-wise errors; existing methods need retraining or auxiliary masks and are underexplored in image classification.

Approach

Define a Class Vector as the difference between fine-tuned and pretrained penultimate-layer class centroids; justify its linearity via cross-task linearity and its independence via neural collapse, then use it to steer latents or map it into encoder weights for class-level edits and arithmetic.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Class Vector steering instead of retraining for class unlearningViT-B/16 classifier · MNISTACC_f: 99.9{ $\pm$0.1} -> 0.0{ $\pm$0.0}Helped
use Class Vector steering instead of retraining for class unlearningViT-B/16 classifier · MNISTACC_r: 76.4{ $\pm$0.0} -> 99.7{ $\pm$0.0}Helped
map the editing vector into weight space rather than using latent-space steeringClass Vector on ViT-B/16 · EuroSATACC_r: 99.5{ $\pm$0.2} -> 99.7{ $\pm$0.0}Helped
map the editing vector into weight space rather than using latent-space steeringClass Vector on ViT-B/16 · GTSRBACC_r: 98.6{ $\pm$0.0} -> 93.4{ $\pm$0.0}Hurt
use Class Vector editing instead of the pretrained classifierViT-B/16 classifier · Snowy ImageNetAverage accuracy: 55.2{ $\pm$24.6} -> 69.7{ $\pm$2.6}Helped
use mapped Class Vector editing instead of DirMatchViT-B/32 classifier · Snowy ImageNetAverage accuracy: 73.9{ $\pm$23.5} -> 76.2{ $\pm$21.2}Helped
use mapped Class Vector editing instead of DirMatchViT-B/16 classifier · Typo AttackAverage accuracy: 97.7{ $\pm$3.1} -> 98.9{ $\pm$2.5}Helped
use Class Vector steering instead of DirMatchViT-B/32 classifier · Typo AttackAverage accuracy: 91.1{ $\pm$8.3} -> 98.9{ $\pm$2.5}Helped
use Class Vector steering instead of random-vector editingViT-B/16 classifier · EuroSAT unlearningACC_r: 80.9{ $\pm$26.1} -> 99.5{ $\pm$0.2}Helped
use Class Vector steering instead of retraining with limited samplesclassifier editor · Snowy ImageNetAverage accuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: MNIST EuroSAT SVHN GTSRB RESISC45 DTD CIFAR-10 CIFAR-100 ImageNet Snowy ImageNet web-sourced typographic attack images AG-NEWS

Benchmarks: MNIST EuroSAT GTSRB RESISC45 DTD Snowy ImageNet typographic attack images MNIST (ResNet/ConvNeXt) AG-NEWS DBPedia-14 20-Newsgroups SVHN

Metrics: accuracy on forget class (ACC_f) accuracy on retained classes (ACC_r) average accuracy attack success rate clean accuracy

Baselines: Retrained NegGrad Random Vector DirMatch BadNet Task Vector

Builds on: task vectors cross-task linearity neural collapse DirMatch linear mode connectivity

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy