Mitigating Negative Flips via Margin Preserving Training

Authors

  • Simone Ricci DINFO (Department of Information Engineering), University of Florence, Italy MICC (Media Integration and Communication Center
  • Niccolò Biondi DINFO (Department of Information Engineering), University of Florence, Italy MICC (Media Integration and Communication Center
  • Federico Pernici DINFO (Department of Information Engineering), University of Florence, Italy MICC (Media Integration and Communication Center
  • Alberto Del Bimbo DINFO (Department of Information Engineering), University of Florence, Italy MICC (Media Integration and Communication Center

DOI:

https://doi.org/10.1609/aaai.v40i11.37825

Abstract

Minimizing inconsistencies across successive versions of an AI system is as crucial as reducing the overall error. In image classification, such inconsistencies manifest as negative flips, where an updated model misclassifies test samples that were previously classified correctly. This issue becomes increasingly pronounced as the number of training classes grows over time, since adding new categories reduces the margin of each class and may introduce conflicting patterns that undermine their learning process, thereby degrading performance on the original subset. To mitigate negative flips, we propose a novel approach that preserves the margins of the original model while learning an improved one. Our method encourages a larger relative margin between the previously learned and newly introduced classes by introducing an explicit margin-calibration term on the logits. However, overly constraining the logit margin for the new classes can significantly degrade their accuracy compared to a new independently trained model. To address this, we integrate a double-source focal distillation loss with the previous model and a new independently trained model, learning an appropriate decision margin from both old and new data, even under a logit margin calibration. Extensive experiments on image classification benchmarks demonstrate that our approach consistently reduces the negative flip rate with high overall accuracy.

Published

2026-03-14

How to Cite

Ricci, S., Biondi, N., Pernici, F., & Del Bimbo, A. (2026). Mitigating Negative Flips via Margin Preserving Training. Proceedings of the AAAI Conference on Artificial Intelligence, 40(11), 8721–8730. https://doi.org/10.1609/aaai.v40i11.37825

Issue

Section

AAAI Technical Track on Computer Vision VIII