[Paper Review] Knowledge Transfer via Distillation of Activation Boundaries Formed by Hidden Neurons
The paper introduces activation boundary distillation by transferring whether neurons are activated, using an activation transfer loss and a differentiable hinge-like alternative, to improve knowledge transfer and transfer learning over prior methods.
An activation boundary for a neuron refers to a separating hyperplane that determines whether the neuron is activated or deactivated. It has been long considered in neural networks that the activations of neurons, rather than their exact output values, play the most important role in forming classification friendly partitions of the hidden feature space. However, as far as we know, this aspect of neural networks has not been considered in the literature of knowledge transfer. In this paper, we propose a knowledge transfer method via distillation of activation boundaries formed by hidden neurons. For the distillation, we propose an activation transfer loss that has the minimum value when the boundaries generated by the student coincide with those by the teacher. Since the activation transfer loss is not differentiable, we design a piecewise differentiable loss approximating the activation transfer loss. By the proposed method, the student learns a separating boundary between activation region and deactivation region formed by each neuron in the teacher. Through the experiments in various aspects of knowledge transfer, it is verified that the proposed method outperforms the current state-of-the-art.
Motivation & Objective
- Motivate improved knowledge transfer by focusing on neuron activation boundaries rather than activation magnitudes.
- Propose an activation transfer loss that minimizes differences in neuron activation states between teacher and student.
- Develop a differentiable surrogate loss that approximates the non-differentiable activation transfer loss for gradient-based optimization.
- Extend the method to handle differing network sizes via a connector function and to convolutional networks with spatially shared transfer.
- Demonstrate superiority over state-of-the-art methods across various transfer learning scenarios.
Proposed method
- Define teacher and student as T(I) and S(I) with activations before nonlinearity.
- Introduce activation transfer loss L(I) = ||rho(T(I)) - rho(S(I))||1 that targets activation boundaries.
- Provide a differentiable surrogate loss (analogous to hinge loss) to approximate the activation transfer loss and enable gradient-based optimization.
- Introduce a margin parameter mu to stabilize training and derive gradient behavior.
- Allow a connector function r to map student outputs to teacher-sized representations when network sizes differ.
- Extend the framework to convolutional nets by summing the loss over spatial locations with a shared 1x1 connector.
Experimental results
Research questions
- RQ1Can transferring activation boundaries between teacher and student improve knowledge transfer beyond magnitude-based transfers?
- RQ2Does an activation-focused distillation method outperform existing KD-based and related transfer methods across various architectures and data regimes?
- RQ3How does the proposed method perform in transfer learning scenarios with limited training data and with network compression (size/dimensionality differences)?
- RQ4Can the approach be extended effectively to convolutional networks and spatial feature maps?
Key findings
- The proposed activation-boundary distillation method consistently outperforms state-of-the-art transfer methods across multiple experimental settings.
- The method accelerates learning (learning-speed) and improves generalization, especially with small training data.
- In transfer learning tasks, the approach often surpasses traditional ImageNet pre-training baselines.
- A connector function enables knowledge transfer when teacher and student have different sizes, enabling effective compression scenarios.
- Averaged results across experiments show robust activation-boundary transfer, with ablations indicating the method closely approximates the non-differentiable activation transfer loss.
- Analyses indicate the proposed approach achieves higher activation similarity between teacher and student than Lp-based losses while delivering better classification performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.