Knowledge Distillation (KD), aiming to train a better student model by mimicking the teacher model, plays an important role in model compression. One typical way is to align the output logits. However, we find a common issue named mis-instruction, that the student would be misled when the predictions based on teacher logits do not follow the labels. Meanwhile, there is other useful dark knowledge in the logits such as the class discriminability, which is vital for distillation. In this paper, we propose a simple yet effective Logit Calibration (LoCa) method, which calibrates the logits from the teacher model based on the ground-truth labels. The key insight is to correct the prediction (to address the mis-instruction issue) and maintain useful dark knowledge simultaneously. Our proposed LoCa does not require any additional parameters. Empirical results on image classification and text generation tasks demonstrate that LoCa can effectively improve the performance of baselines.


    Access

    Download


    Export, share and cite



    Title :

    LoCa: Logit Calibration for Knowledge Distillation


    Contributors:
    Yang, Runming (author) / Wu, Taiqiang (author) / Yang, Yujiu (author)

    Publication date :

    2024


    Remarks:

    Accepted by ECAI 2024


    Type of media :

    Preprint


    Type of material :

    Electronic Resource


    Language :

    English




    Logit Standardization in Knowledge Distillation

    Sun, Shangquan / Ren, Wenqi / Li, Jingzhi et al. | ArXiv | 2024

    Free access

    Multi-perspective Contrastive Logit Distillation

    Wang, Qi / Zhou, Jinjia | ArXiv | 2024

    Free access

    Decoupling Dark Knowledge via Block-wise Logit Distillation for Feature-level Alignment

    Yu, Chengting / Zhang, Fengzhao / Chen, Ruizhe et al. | ArXiv | 2024

    Free access

    Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs

    Boizard, Nicolas / Haddad, Kevin El / Hudelot, Céline et al. | ArXiv | 2024

    Free access

    Logit Poisoning Attack in Distillation-based Federated Learning and its Countermeasures

    Yu, Yonghao / Zhu, Shunan / Hu, Jinglu | ArXiv | 2024

    Free access