Classification-Head Bias in Class-Level Machine Unlearning: Diagnosis, Mitigation, and Evaluation

Weidong Zheng, Kongyang Chen, Yuanwei Guo, Yatie Xiao
5/9/2026
cs.LGcs.CR

Official code: zwd2024/Beyond-the-Shadow-of-Bias-From-Classification-Head-Bias-to-Parameter-Redistribution (1 star, Python, last commit 2026-05-12).

Abstract

Class-level machine unlearning aims to remove the influence of specified classes while preserving model utility on retained classes. Existing methods are commonly evaluated by retain-set accuracy, forget-set accuracy, and unlearning time, but these metrics provide limited insight into how forgetting is achieved internally.

Show full abstract

In this paper, we reveal a bias-dominated shortcut in class-level unlearning: the prediction of forgotten classes can be suppressed by decreasing the corresponding bias terms in the final classification head. We first analyze the gradient dynamics of classification-head biases under softmax cross-entropy training, explaining why retain-set-only optimization tends to reduce the biases of absent classes. Based on this observation, we introduce BiasShift as a diagnostic baseline, showing that simple bias manipulation can satisfy conventional unlearning metrics while leaving abnormal bias patterns that reveal forgotten labels. To mitigate excessive forgotten-class bias suppression, we propose two bias-aware mechanisms, namely Two-Stage Bias Gradient Reversal Mechanism (TS-BGRM) and Lower-Bound Hinge Regularization (LB-HR). We further introduce three bias-oriented metrics, including Bias Stability Coefficient (BSC), Median Bias Gap (MBG), and Minimal Bias Score (MBS), to quantify bias dependence and potential leakage. Experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet demonstrate that the proposed methods maintain competitive unlearning performance while producing more stable bias distributions. We have released our code at {https://github.com/zwd2024/Beyond-the-Shadow-of-Bias-From-Classification-Head-Bias-to-Parameter-Redistribution}.

View on arXivView PDF

Code Implementations(1)

This work focuses on class level machine unlearning. We systematically analyze how gradient based unlearning affects classification head bias and demonstrate that most existing methods over rely on the bias term of the forget class. We propose BiasShift, TS-BGRM, LB-HR, and FGLU unlearning frameworks, as well as BSC, MBS, and MBG evaluation metrics

10PythonMay 5, 20266 months ago

Similar Papers

Cite this paper

@article{zheng2026classificationhead,
  title  = {Classification-Head Bias in Class-Level Machine Unlearning: Diagnosis, Mitigation, and Evaluation},
  author = {Weidong Zheng and Kongyang Chen and Yuanwei Guo and Yatie Xiao},
  year   = {2026},
  eprint = {2605.08730},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.08730v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.08730.svg)](https://codeofpaper.com/paper/2605.08730)

Discussion