Balancing Knowledge Distillation for Imbalance Learning with Bilevel Optimization

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Nguyen, Anh B. H., Phan, Ba Tho, Ta, Viet Cuong
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914620216705024
author Nguyen, Anh B. H.
Phan, Ba Tho
Ta, Viet Cuong
author_facet Nguyen, Anh B. H.
Phan, Ba Tho
Ta, Viet Cuong
contents Knowledge distillation transfers knowledge from a high capacity teacher to a compact student using a mixture of hard and soft losses. On imbalanced data, a fixed weighting between hard and soft losses becomes brittle the learning process. Recent studies try to reweight these components in long-tailed settings. However, most of these methods do not adapt weights at the sample-wise level and do not take into account the students behavior during training. To address this, we propose BiKD -- a bilevel framework that dynamically balances hard and soft losses for each sample. We employ a weight generation network that produces adaptive per-sample weights, guided by a small balanced validation set. The student is now trained with an unconstrained combination of weighted hard and soft losses, allowing the student to relax both terms. We further propose a multi-step SGD strategy to optimize the weight model more accurately and efficiently. Experiments on long-tailed CIFAR-10/100 show that our approach surpasses recent balanced distillation methods across imbalance factors.
format Preprint
id arxiv_https___arxiv_org_abs_2605_17839
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Balancing Knowledge Distillation for Imbalance Learning with Bilevel Optimization
Nguyen, Anh B. H.
Phan, Ba Tho
Ta, Viet Cuong
Machine Learning
Artificial Intelligence
Knowledge distillation transfers knowledge from a high capacity teacher to a compact student using a mixture of hard and soft losses. On imbalanced data, a fixed weighting between hard and soft losses becomes brittle the learning process. Recent studies try to reweight these components in long-tailed settings. However, most of these methods do not adapt weights at the sample-wise level and do not take into account the students behavior during training. To address this, we propose BiKD -- a bilevel framework that dynamically balances hard and soft losses for each sample. We employ a weight generation network that produces adaptive per-sample weights, guided by a small balanced validation set. The student is now trained with an unconstrained combination of weighted hard and soft losses, allowing the student to relax both terms. We further propose a multi-step SGD strategy to optimize the weight model more accurately and efficiently. Experiments on long-tailed CIFAR-10/100 show that our approach surpasses recent balanced distillation methods across imbalance factors.
title Balancing Knowledge Distillation for Imbalance Learning with Bilevel Optimization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.17839