[Paper Review] Investigating the Benefits of Projection Head for Representation Learning
This paper provides a theoretical analysis of why projection heads improve representation learning in contrastive learning, showing that they mitigate feature specialization in deeper layers and enhance robustness under distribution shift. It reveals that pre-projection representations are more generalized due to implicit layer-wise feature weighting, and demonstrates that a fixed reweighting head can match projection head performance, offering a more interpretable alternative.
An effective technique for obtaining high-quality representations is adding a projection head on top of the encoder during training, then discarding it and using the pre-projection representations. Despite its proven practical effectiveness, the reason behind the success of this technique is poorly understood. The pre-projection representations are not directly optimized by the loss function, raising the question: what makes them better? In this work, we provide a rigorous theoretical answer to this question. We start by examining linear models trained with self-supervised contrastive loss. We reveal that the implicit bias of training algorithms leads to layer-wise progressive feature weighting, where features become increasingly unequal as we go deeper into the layers. Consequently, lower layers tend to have more normalized and less specialized representations. We theoretically characterize scenarios where such representations are more beneficial, highlighting the intricate interplay between data augmentation and input features. Additionally, we demonstrate that introducing non-linearity into the network allows lower layers to learn features that are completely absent in higher layers. Finally, we show how this mechanism improves the robustness in supervised contrastive learning and supervised learning. We empirically validate our results through various experiments on CIFAR-10/100, UrbanCars and shifted versions of ImageNet. We also introduce a potential alternative to projection head, which offers a more interpretable and controllable design.
Motivation & Objective
- To understand the theoretical mechanism behind the empirical success of projection heads in contrastive self-supervised learning.
- To investigate why pre-projection representations—despite not being directly optimized—achieve better downstream performance.
- To analyze how data augmentation and network non-linearity affect feature distribution and generalization.
- To extend findings to supervised contrastive learning and supervised learning, demonstrating improved robustness and reduced class collapse.
- To propose and validate a more interpretable alternative to the standard projection head: a fixed reweighting head.
Proposed method
- Theoretical analysis of linear models trained with contrastive loss, revealing layer-wise progressive feature weighting due to optimization bias.
- Derivation of conditions under which pre-projection representations are more beneficial, particularly when data augmentation distorts useful features.
- Extension of analysis to non-linear networks, showing that lower layers learn features absent in higher layers or the projection head output.
- Empirical validation on CIFAR-10/100, UrbanCars, and shifted ImageNet variants, comparing pre- and post-projection representations.
- Introduction and evaluation of a fixed reweighting head as an alternative to the learnable projection head, with comparable performance.
- Use of semi-synthetic datasets (MNIST on CIFAR-10) and fine-tuning on ImageNet with OOD benchmarks to test robustness.

Experimental results
Research questions
- RQ1Why do representations before the projection head generalize better than those after, despite not being directly optimized?
- RQ2How does the implicit bias of optimization lead to progressive feature weighting across layers in contrastive learning?
- RQ3In what scenarios does the projection head improve robustness when data augmentation harms useful features or when features are too strong/weak?
- RQ4Can lower layers learn features not present in the projection head output, and how does this affect generalization?
- RQ5Does a fixed reweighting head achieve comparable performance to a learnable projection head, and can it serve as a more interpretable alternative?
Key findings
- Pre-projection representations are more robust and generalize better than post-projection representations, especially when data augmentation distorts useful features or when features are too strong or too weak during pretraining.
- The implicit bias of optimization leads to layer-wise progressive feature weighting, causing deeper layers to specialize more toward the pretraining objective, making lower layers more normalized and less specialized.
- Non-linear activations amplify feature specialization, enabling lower layers to learn features entirely absent in the projection head output, contributing to improved generalization.
- On shifted ImageNet benchmarks, pre-projection representations achieve superior out-of-distribution accuracy compared to post-projection and original models, demonstrating enhanced robustness against background bias.
- A fixed reweighting head achieves performance comparable to the standard projection head, validating the theoretical insight that feature reweighting is the key mechanism, and suggesting a more interpretable design alternative.
- In supervised contrastive learning and supervised learning, pre-projection representations reduce class collapse and improve few-shot adaptation to distribution shift, particularly on UrbanCars and ImageNet.

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.