Over-parameterized Student Model via Tensor Decomposition Boosted Knowledge Distillation

Increased training parameters have enabled large pre-trained models to excel in various downstream tasks. Nevertheless, the extensive computational requirements associated with these models hinder their widespread adoption within the community. We focus on Knowledge Distillation (KD), where a compact student model is trained to mimic a larger teacher model, facilitating the transfer of knowledge of large models. In contrast to much of the previous work, we scale up the parameters of the student model during training, to benefit from overparameterization without increasing the inference latency. In particular, we propose a tensor decomposition strategy that effectively over-parameterizes the relatively small student model through an efficient and nearly lossless decomposition of its parameter matrices into higher-dimensional tensors. To ensure efficiency, we further introduce a tensor constraint loss to align the high-dimensional tensors between the student and teacher models. Comprehensive experiments validate the significant performance enhancement by our approach in various KD tasks, covering computer vision and natural language processing areas. Our code is available at https://github.com/intell-sci-comput/OPDF.

Paper

Similar papers

Peer review

Reviewer XV5e5/10 · confidence 4/52024-06-17

Summary

In this work, the authors focus on the knowledge distillation (KD) task, using tensor decomposition to enhance the performance of the student model. Leveraging the principle of overparameterization, the authors employ the Matrix Product Operator (MPO), also known as tensor train matrix, to reformulate the original weight matrix. Additionally, they propose a “distillation loss” to measure the distance between the student’s weights and the teacher’s weights. In the experiments, the proposed method is integrated with existing KD methods, and the results demonstrate a clear improvement in KD performance.

Strengths

The paper introduces an innovative application of tensor decomposition. Typically, tensor decomposition is used for dimension reduction, adhering to the low-rank principle. However, this paper utilizes tensor decomposition in a novel manner: employing MPO to construct overparameterized learning models. While I am not entirely convinced why the overparameterized MPO is superior to traditional matrix decomposition or other tensor networks, the numerical results indicate that this approach could be a promising new avenue for using tensor networks to solve more machine learning problems.

Weaknesses

The clarity of the paper needs improvement. For instance, Figure 1 is not fully comprehensible as the meaning of the arrows is not clearly explained. Additionally, the experiment settings do not clearly describe how the weights are reshaped into the higher-order tensor format.

Questions

1. Since the entire paper is based on the principle of overparameterization of the student model, it would be beneficial to explain in the preliminary section why the overparameterization principle is relevant to the KD problem. This addition would help non-experts follow the main idea of the paper more smoothly. 2. In lines 176-177, the phrase “losing its ability to think independently” is highlighted. I am confused by this statement. Could you provide more interpretation of this claim, supported with sufficient evidence? 3. Please offer more interpretation of the central and auxiliary tensors mentioned in lines 184-185, using formulas or figures, for example. I cannot clearly understand their differences from the current non-rigorous descriptions. 4. Why does using MPO provide better performance than SVD? Is it because the MPO forms more “linear layers” than SVD? Have you considered other tensor network formats such as tree tensor networks? 5. How does the selection of TT-ranks (e.g., d_k in Eq. 2) affect the performance?

Rating

5

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

The paper lacks a discussion on the limitations of the proposed method. I suggest that the authors address this aspect to provide a more balanced and comprehensive evaluation of their work.

Authorsrebuttal2024-08-11

Looking forward to your feedback

Dear Reviewer XV5e, We're keen to know if there are any remaining concerns that require attention or if there are additional discussions that should take place. Your insights are greatly appreciated as they contribute to the refinement of the paper. Looking forward to your feedback. Thank you. Best regards, The Authors

Authorsrebuttal2024-08-12

Request your feedback before the end of the discussion period

Dear Reviewer XV5e: As the author-reviewer discussion period will end soon, we would appreciate it if you could kindly review our responses at your earliest convenience. If there are any further questions or comments, we will do our best to address them before the discussion period ends. Thank you very much for your time and efforts! Sincerely, The Authors

Authorsrebuttal2024-08-13

Kindly request your feedback before the end of the discussion period

Dear Reviewer XV5e: As the author-reviewer discussion period is soon ending, we would appreciate it if you could review our responses and provide your feedback at your earliest convenience. If there are any further questions or comments, we will do our best to address them before the discussion period ends. Thank you very much for your time and efforts! Sincerely, The Authors

Reviewer XV5e2024-08-13

Sorry for the delayed reply. I appreciated the detailed and clear response from the side of authors. It answered most of my concern in the review. I would adjust the recommendation score from 4 to 5.

Authorsrebuttal2024-08-13

Thank you for raising the score

Dear XV5e: Thank you for your positive feedback. We will include the additional experiments and texts in the revised paper. Thank you for your time and efforts! Best regards, The Authors

Reviewer Dajm7/10 · confidence 4/52024-06-30

Summary

This paper introduces the Over-Parameterization Distillation Framework (OPDF), which addresses performance degradation in limited-parameter student networks after knowledge distillation (KD). OPDF proposes an overparameterized student model that utilizes the tensor-decomposition technique known as matrix product operator (MPO), allowing for a significant increase in parameters during student training time without imposing additional inference time burden. Experimental validation is performed across multiple KD tasks to assess the effectiveness of the proposed technique.

Strengths

+ The proposed technique appears to be quite novel. The use of MPO to expand parameters in the student model during the KD process, along with the tensor alignment loss function to improve student model performance, introduces innovative approaches that could offer significant advantages, particularly on low-computational devices. + The proposed methodology is easy to understand, even though it includes some abstract concepts. The authors have effectively structured their methodology by first providing a high-level overview of their technique with an illustrative figure, followed by detailed explanations of their important components. + Extensive experiments are conducted across both NLP and CV tasks. Multiple knowledge distillation (KD) techniques are employed to demonstrate how their contributions is orthogonal to existing methods. Also, parameters introduced in training as well as inference process are clearly shown. + The study extensively examines the impact of overparameterization scale, learning rate, and other components of ODPF through ablation experiments. This study helps to justify the effectiveness of their technique.

Weaknesses

- The paper does not provide information on the time required for the student network's overparameterization using MPO and the contraction of decomposed matrices into the original matrix. Having this information would be important for understanding the practical implications of the technique. - The experiments are conducted on a relatively smaller model. I am curious about the feasibility of applying this technique to LLM/VLMs with billions of parameters. A significant concern is whether their approach, which involves decomposing the teacher network, can scale effectively to such large models. A deeper discussion on this topic would provide valuable insights.

Questions

Please refer to Weaknesses section

Rating

7

Confidence

4

Soundness

4

Presentation

4

Contribution

3

Limitations

NA

Authorsrebuttal2024-08-13

Thank you for your feedback

Dear Reviewer Dajm, Thank you for your positive feedback. We will include the new experiments and texts in our revised paper. Thank you very much for your time and effort! Best regards, The Authors

Reviewer fkms7/10 · confidence 4/52024-07-09

Summary

The authors propose to start with an over-parameterised student model. This is realised using high-order tensors that can reconstruct the original parameter matrices. The idea is that this over-parameterised model will benefit more from knowledge distillation.

Strengths

The ideas is quite interesting/novel for over-parameterising the student during training but preserving the inference parameters (since the higher-order tensors can just be contracted to reconstruct the original weights).

Weaknesses

TinyViT-5M⚗ achieves 80.7% top-1 with 5.4M parameters using a just a distillation token and a logit distillation loss. Comparing this with TinyViT-5M+OPDF 80.0% top-1 and 9.9M/5.4M inference parameters, it is hard to see the benefit? if anything the additional SVD operations and reconstruction losses, make OPDF much more difficult to adopt. What is worse it that this difference is even more significant when going to the larger TinyViT models. It is understandable that transformers have been the main focus of this work, however it would be good to see some experiments with CNNs. Matrix decomposition for the transformer linear layers is easy (with SVD), but when going to higher-order tensors it will be NP-hard. All the theory presented in this paper is for generalising to arbitrary dimensions, yet all the experiments are done on 2-dimensional weights. The paper would be a lot easier to follow without the pre-mature generalisation. i.e. showing equation (4) in 2-dimensions with SVD and I am not sure if the introduction of the MPO framework is needed. L177: I am not sure what you mean by "think independantly?". Besides the point that models don't think, if the student can match the teacher fully then that is perfectly fine. The only goal is preserve the performance of the teacher for a much smaller model. L595: 160 days to pre-train TinyViT is very significant! I understand this is because ImageNet-21K is very large, but why was this chosen benchmark chosen over, for example, a more standard KD benchmark, such as that in DeIT [1] or CRD [2]. Is 160 days an expected scale of time for the number of GPUs used here? [1] Training data-efficient image transformers & distillation through attention ICML 2021 [2] Contrastive Representation Distillation ICLR 2020 Small points/spelling: Fig 1a "Batchs -> Batches"

Questions

What is this normalization step in figure 1 and Alg S.1 L9? and its importance? If it is just to preserve the scale and stop exploding values after reconstruction, this could be explained in the text a bit.

Rating

7

Confidence

4

Soundness

3

Presentation

2

Contribution

3

Limitations

The authors have adequately addressed these limitations in the checklist.

Authorsrebuttal2024-08-10

Looking forward to your feedback

Dear Reviewer fkms, We're keen to know if there are any remaining concerns that require attention or if there are additional discussions that should take place. Your insights are greatly appreciated as they contribute to the refinement of the paper. Looking forward to your feedback. Thank you. Best regards, The Authors

Reviewer fkms2024-08-11

Thank you for your thorough response and additional experiments. Most of my concerns have been addressed and in light of the other reviewers remarks I am happy to raise my score. However, I am still unsure about 2 main parts. Firstly, although I do understand and appreciate that the authors only report the linear probe performance and thus a comparison to TinyViT, DeiT etc is unfair, I would like to know why this is done? The authors don't seem to do this for the NLP related tasks. Are there other KD works that train models and evaluate in this fashion? (specifically for vision-tasks). Vision KD is a lot more more mature than NLP KD, especially for feature distillation, and so I believe a comparison here is important. Secondly, the experiments on CNN models is greatly appreciated and does strengthen this submission. It is important to show that the generalisation has practical utility rather than just for the sake of generality. The authors have addressed my concern over this point theoretically too. These CIFAR100 results are fully fine-tuned which is nice to see and partly addresses my previous concern. OFD is argueably quite an old paper. Is there any chance for a comparison to some other architecture pairs provided in the CRD [1] benchmark? and using some more recent KD methods. There are some simple methods with code here [2]. Hope the authors can address my concerns. [1] "Contrastive Representation Distillation" ICLR 2020 [2] https://paperswithcode.com/sota/knowledge-distillation-on-cifar-100

Authorsrebuttal2024-08-12

Additional vision KD results (part 1)

We greatly appreciate your feedback along with two additional questions. Please see our reply to your *first question* as follows. **Q1. The application of linear probe performance metrics; distillation results affter fine-tuining.** **Reply:** Thanks for your question. In fact, Table 5 in original TinyVit paper [1] has already utilized linear probe performance to assess the efficacy of TinyVit. Hence, we opted it for comparison to effectively demonstrate the validity of OPDF. Moreover, we have fine-tuned models previously distilled following the tasks set in TinyViT (where TinyViT-5M⚗ achieves 80.7% top-1 accuracy with 5.4M parameters), and the results are showed in **Table A** below to show the efficiency of our proposed OPDF. The experiments results show that even when employing the same experimental setup in TinyVit, OPDF consistently yields a significant enhancement in the performance of TinyVit. We will include these results in the revised paper. **Table A.** Models are pretrained on ImageNet-21k and then finetuned on ImageNet-1k, Imagenet-Real and Imagenet-V2 (top-1/top-5). | Datasets | Imagenet-1k | Imagenet-Real | Imagenet-V2 | # Train Params | # Inference Params | | --------- | :--------: | :--------:| :--------:| :--------: | :-----------: | | TinyVit-5M | 80.7/95.6 | 87.5/97.8 | 68.3/89.7 | 5.4 | 5.4 | | TinyVit-5M+OPDF |**81.8/96.9** | **87.9/98.4** | **69.5/90.4** | 9.9 | 5.4 | | TinyVit-11M | 83.2/96.5 | 88.3/98.1 | 72.9/91.4 | 11 | 11 | | TinyVit-11M+OPDF| **85.1/97.1** | **89.0/98.5** | **74.1/93.3** | 23 | 11 | | TinyVit-21M | 84.8/97.3 | 88.9/98.5 | 75.1/93.5 | 21 | 21 | | TinyVit-21M+OPDF| **86.5/97.9** | **89.7/98.9** | **76.2/94.7** | 38 | 21 | BTW, the code of applying OPDF to other recent CNN KD methods (e.g., CRD) is currently executing. We will supplement the corresponding results as soon as the model training is completed. Hence, we will respond to your *second question* soon. Thank you for your patience. **References:** [1] Wu, et al. TinyViT: Fast Pretraining Distillation for Small Vision Transformers. ECCV 2022, pages 68–85.

Reviewer Qtmi6/10 · confidence 4/52024-07-12

Summary

This paper proposes a novel over-parameterization framework designed to enhance the effectiveness of knowledge distillation. This framework employs MPO as a tensor decomposition technique to expand small models into larger ones to give the student model more capacity. Moreover, to enhance the effectiveness of knowledge distillation, a tensor constraint loss is introduced to align the teacher and student model. Extensive experiments verify the superiority of the method.

Strengths

1. Enhancing the capacity of the student model through tensor decomposition is novel and it does not incur additional inference overhead. 2. The loss constraint for aligning the auxiliary tensors between the student and teacher models is also quite different from the conventional logit or feature matching, representing a new approach of matching in KD. 3. The experiments are comprehensive; the authors test the method on many benchmarks in both CV and NLP, proving the effectiveness of the method.

Weaknesses

1. I would like to know how much additional distillation cost (memory and time cost) will be incurred by introducing such tensor decomposition technique and loss constraint for aligning the auxiliary tensors between the student and teacher models. 2. Especially in the era of LLM, the high cost of distillation often limits its application. Methods like LoRA have been proposed to reduce the trainable model parameters. I am concerned that if this approach goes against the current mainstream research directions? 3. Can the authors provide some distillation results on larger models to further validate the applicability of the approach on large models?

Questions

Please refer to weaknesses.

Rating

6

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

N/A

Authorsrebuttal2024-08-10

Looking forward to your feedback

Dear Reviewer Qtmi, We're keen to know if there are any remaining concerns that require attention or if there are additional discussions that should take place. Your insights are greatly appreciated as they contribute to the refinement of the paper. Looking forward to your feedback. Thank you. Best regards, The Authors

Authorsrebuttal2024-08-12

Thank you for raising the score

Thank you for your positive response. We would like to clarify that during the inference with LoRA, the parameters that need to be computed are $W+\Delta W$, where $W$ represents the weights of the pre-trained model (PLM) and $\Delta W$ the additional parameters introduced by LoRA. This is why we mentioned in our reply that applying the LoRA method during inference increases the number of parameters, thereby increasing the inference time. Lightweight fine-tuning (LoRA) and model compression (KD) represent two different tracks for deploying large PLM. While LoRA is cost-effective, it slightly increases the inference time due to the added $\Delta W$ parameters. On the other hand, KD results in a compressed model that reduces both inference time and computational overhead while increasing the training cost. Moreover, compressed models obtained through KD may have diverse applications on the edge. For instance, they are particularly suitable for deployment in resource-constrained environments, such as mobile devices and embedded systems. Again, thank you very much for increasing the rating of our paper!

Reviewer Qtmi2024-08-12

I am confused about why the authors claimed that the inference parameters of adding LoRA will increase. What I mean is that performing KD on LLMs is expensive. Reducing the number of trainable parameters might be a way to lower the cost of performing KD. However, since the authors have presented the time and memory cost of the proposed method and it seems to be acceptable, I would like to raise my score by 1.

Authorsrebuttal2024-08-13

Additional vision KD results (part 2)

The following response reports the additional KD results for more recent vision models. **Q2.The Performance of OPDF on some architecture pairs provided in CRD and several recent CNN KD methods.** **Reply:** Thanks for your great question. We have applied OPDF to several architecture pairs in CRD and recent KD methods to show the capability of our method in enhancing the performance of CNN distillation models. The new results are reported in **Table B**. It can be seen that our proposed OPDF can enhance student model performance in several architecture pairs provided in the CRD benchmark using more recent KD methods. We will include these results in the revised paper. **Table B.** Distillation results of various CNN architectures on CIFAR-100. | Teacher to Student | ResNet110 to ResNet20 | ResNet110 to ResNet32 | ResNet32x4 to ResNet8x4 | | --------- | :--------: | :--------:| :--------:| | Teacher | 74.31 | 74.31 | 79.42 | | CRD | 71.46 | 73.48 | 75.51 | | CRD+OPDF | **72.35** | **74.57** | **75.83** | | NST | 69.53 | 71.96 | 73.30 | | NST+OPDF | **70.98** | **72.34** | **74.00** | | ITRD [1] | 71.99 | 74.26 | 76.19 | | ITRD+OPDF | **72.48** | **75.92** | **77.73** | | KD+LSKD [2] | 71.99 | 74.26 | 76.19 | | KD+LSKD+OPDF | **72.33** | **74.93** |**76.89** | Since the discussion period is soon ending, this is the best result we could supply at this moment after nightless working on the new experiments. Thank you very much for your time and efforts. Your consideration of further improving the rating of our paper will be much appreciated! **Reference:** [1] Miles, et al. Information theoretic representation distillation. In British Machine Vision Conference (BMVC), 2022. [2] Sun, et al. Logit standardization in knowledge distillation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 15731–15740, 2024.

Reviewer fkms2024-08-13

These results look really great and it would be good to see them in the updated manuscript. I will happily raise my score. The authors have done a great job at addressing all my concerns and it is very clear that their proposed method is complimentary and easy to integrate into many KD pipelines.

Authorsrebuttal2024-08-13

Thank you for your positive feedback

Dear Reviewer fkms, We greatly appreciate your positive feedback. The discussion with you has been quite productive and fruitful. Thank you very much for raising the score. We will include all the new experiment results and discussions in the revised paper. Thank you for your time and effort! Best regards, The Authors

Reviewer Dajm2024-08-13

Thanks for the Rebuttal

Dear Authors, Thank you for your effort toward addressing my concerns. My concerns have been addressed and therefore, I would like to maintain my original score.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC