[Paper Review] Understanding intermediate layers using linear classifier probes
The paper introduces linear classifier probes to measure the linear separability of features at every layer of a neural network, showing monotonic improvements with depth and demonstrating diagnostic use on ResNet-50 and Inception v3.
Neural network models have a reputation for being black boxes. We propose to monitor the features at every layer of a model and measure how suitable they are for classification. We use linear classifiers, which we refer to as "probes", trained entirely independently of the model itself. This helps us better understand the roles and dynamics of the intermediate layers. We demonstrate how this can be used to develop a better intuition about models and to diagnose potential problems. We apply this technique to the popular models Inception v3 and Resnet-50. Among other things, we observe experimentally that the linear separability of features increase monotonically along the depth of the model.
Motivation & Objective
- Propose probes—trainable linear classifiers—that assess layer-wise linear separability without affecting model training.
- Analyze how probe performance changes across layers to understand intermediate representations.
- Demonstrate the approach on popular CNNs to diagnose training dynamics and potential problems.
- Show empirical evidence that deeper layers tend to yield better linear separability for classification.
Proposed method
- Define probes as linear classifiers f_k that map layer features H_k to class probabilities via softmax(Wh_k + b).
- Train probes independently of the model while keeping the model parameters fixed (no backprop through probes).
- Evaluate L_k^train, L_k^valid, or error rates to monitor how separability evolves with depth.
- Address practical issues like dimensionality reduction of high-dimensional features to fit probes.
- Use convex optimization for training probes to ensure a global minimum.
- Compare probe performance across layers and over training time to build intuition about representations.
Experimental results
Research questions
- RQ1Do intermediate layer features exhibit increasing linear separability as depth increases?
- RQ2Can probe measurements diagnose training dynamics and identify problematic model behavior beyond final loss?
- RQ3How do probes behave in well-known architectures (ResNet-50, Inception v3) during training and after convergence?
- RQ4What practical strategies help manage high feature dimensionality when fitting probes?
- RQ5Are probe-induced measurements robust across different datasets and label objectives?
Key findings
- Probe errors tend to decrease monotonically with deeper layers, indicating increasing linear separability of features.
- Deeper features generally predict target classes better with probes, suggesting a greedy, progressively abstract representation.
- Probes can diagnose failing or pathological training dynamics that may not be evident from end-task performance alone.
- In ResNet-50, validation prediction error by layer shows a nearly monotonic drop with depth, supporting the monotonic separability claim.
- In Inception v3, probe-based layer predictions show a smooth, almost monotonic increase in linear separability across layers after substantial training.
- Projections/feature-reduction strategies are important to feasibly fit probes on very high-dimensional layers.
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.