[논문 리뷰] NORM: Knowledge Distillation via N-to-One Representation Matching
NORM은 학생 네트워크의 마지막 합성곱 계층 뒤에 가볍고 선형적인 특징 변환을 삽입하여 다대일 표현 매칭 메커니즘을 도입합니다. 이는 학생의 특징을 채널을 N배 확장하고, 이를 N개의 구간으로 분할한 뒤 교사의 표현과 공동으로 매칭하여 추론 시 오버헤드 없이 더 많은 전이 경로를 가능하게 합니다.
Existing feature distillation methods commonly adopt the One-to-one Representation Matching between any pre-selected teacher-student layer pair. In this paper, we present N-to-One Representation (NORM), a new two-stage knowledge distillation method, which relies on a simple Feature Transform (FT) module consisting of two linear layers. In view of preserving the intact information learnt by the teacher network, during training, our FT module is merely inserted after the last convolutional layer of the student network. The first linear layer projects the student representation to a feature space having N times feature channels than the teacher representation from the last convolutional layer, and the second linear layer contracts the expanded output back to the original feature space. By sequentially splitting the expanded student representation into N non-overlapping feature segments having the same number of feature channels as the teacher's, they can be readily forced to approximate the intact teacher representation simultaneously, formulating a novel many-to-one representation matching mechanism conditioned on a single teacher-student layer pair. After training, such an FT module will be naturally merged into the subsequent fully connected layer thanks to its linear property, introducing no extra parameters or architectural modifications to the student network at inference. Extensive experiments on different visual recognition benchmarks demonstrate the leading performance of our method. For instance, the ResNet18|MobileNet|ResNet50-1/4 model trained by NORM reaches 72.14%|74.26%|68.03% top-1 accuracy on the ImageNet dataset when using a pre-trained ResNet34|ResNet50|ResNet50 model as the teacher, achieving an absolute improvement of 2.01%|4.63%|3.03% against the individually trained counterpart. Code is available at https://github.com/OSVAI/NORM
연구 동기 및 목표
- ORM(One-to-One Representation Matching)을 넘어서는 방식으로 향상된 두 단계 지식 증류를 고안하는 것을 촉진한다.
- 학생의 마지막 합성곱 계층 뒤에 최소한의 흡수 가능한 특징 변환을 삽입하여 교사 정보를 보존한다.
- 특징 확장과 분할을 통해 다대일 지식 전이 가능성을 열어 추론 시 매개변수를 추가하지 않고도 전이 경로를 늘린다.
- CIFAR-100 및 ImageNet에서 최첨단 KD 성능을 입증하고, logits 기반 KD 및 대조 KD와의 호환성을 보여준다.
제안 방법
- Insert a two-linear-layer feature transform (FT) after the last convolutional layer of the student network.
- First FT layer uses a 1x1 convolution to expand channels to N×C_t, producing F_se; second FT layer contracts back to C_s with another 1x1 convolution, producing F_sc.
- Split F_se into N non-overlapping segments F_se^i each with C_t channels to perform N parallel DISTILLATION routes against F_t; minimize L_norm = (1/N) Σ_i ||F_se^i − F_t||_2^2.
- Keep FT linear with no activations; merge FT into the following fully connected layer at inference via W_fc ← W_fc (W_sc W_se + I).
- Total training loss: L_total = L_ce + α L_norm (α defaults to 10 on CIFAR-100, 8 on ImageNet); optionally add L_kd and/or L_crd to further boost performance.
- Ablations include residual connection (linear) to stabilize training; N is typically set to 8; FT module placed after the last conv layer to minimize architecture changes.
실험 결과
연구 질문
- RQ1Can many-to-one representation matching outperform traditional one-to-one feature distillation in two-stage KD?
- RQ2How does the expansion factor N and the weighting α in L_norm affect performance and training stability?
- RQ3Does the NORM approach generalize across same-type and different-type teacher-student pairs, and how does it interact with logits-based KD and contrastive KD?
- RQ4What is the inference-time impact of NORM, and can the FT be absorbed into the classifier without extra parameters?
주요 결과
- On CIFAR-100 with same-type teacher-student pairs, NORM yields an average gain of 2.88% top-1 accuracy over baselines.
- On CIFAR-100 with different-type teacher-student pairs, NORM yields an average gain of 5.81% top-1 accuracy, with a maximum of 6.92%.
- On ImageNet, ResNet18 with ResNet34 teacher reaches 72.14% top-1 (from 70.13%), an absolute gain of 2.01%.
- On ImageNet, MobileNet with ResNet50 teacher reaches 74.26% top-1 (from 69.63%), an absolute gain of 4.63%.
- NORM often achieves the best or competitive results against mainstream KD methods on ImageNet, and can further improve when combined with vanilla KD or contrastive KD (e.g., NORM+KD and NORM+CRD).
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.