TL;DR
This paper introduces a novel self-supervised learning (SSL) framework for deep networks that is more biologically plausible than standard backpropagation. It proposes a simplified contrastive hinge loss and integrates it with biologically inspired learning rules like Difference Target Propagation (DTP) and layer-wise learning, achieving comparable performance to backpropagation on downstream tasks.
What Problem Does This Paper Address?
The paper tackles the significant gap between how artificial neural networks (ANNs) learn and how biological brains are thought to learn. Modern ANNs heavily rely on backpropagation (BP), a learning algorithm that is biologically implausible due to its requirement for symmetric synaptic weights (the same weights used for forward and backward passes) and complex computations. Furthermore, ANNs typically require vast amounts of labeled data, whereas humans learn effectively with minimal supervision. Self-supervised learning (SSL) offers a promising avenue for unsupervised learning, but existing SSL methods often still employ biologically implausible components or complex loss functions. This work aims to bridge this gap by developing SSL methods that are more aligned with biological constraints, such as local computations, asymmetric connections, and unsupervised learning.
Methods
The authors propose a biologically plausible SSL framework with several key components:
- Contrastive Hinge Loss: A novel loss function designed to be simpler than standard contrastive losses. It avoids complex computations like normalization, inner products, and divisions, relying instead on local computations and a hinge mechanism to focus on "problematic" examples. This loss is inspired by biologically plausible supervised losses.
- Biologically Plausible Learning Rules: The framework integrates the SSL loss with two alternatives to backpropagation:
- Difference Target Propagation (DTP): This method uses target-based local losses and a Hebbian learning rule, addressing the symmetric weight problem of BP. The authors demonstrate that DTP can be successfully incorporated with pooling layers in CNNs, overcoming previous limitations.
- Layer-wise Learning: This approach involves connecting each layer directly to the loss computation layer. It can be performed sequentially (Greedy Layer-wise Learning - GLL) or in a random order (Randomized Layer-wise Learning - RLL). For the backward pass in these layer-wise networks, they explore two biologically plausible alternatives to BP:
- Random Feedback (RF): Uses fixed random feedback weights.
- Updated Random Feedback (URF): Updates the random feedback weights.
- Global Views for SSL: The SSL approach uses global views of an object, generated through random deformations like cropping, flipping, and color jittering. This is presented as a more general way to create positive pairs compared to methods focusing on local patches, better mimicking how animals perceive objects in 3D.
- Temporal Locality: The SSL loss is designed to ensure temporal locality by blocking the gradient through the first image of a positive pair, ensuring that the learning signal primarily depends on the current observation.
Datasets
The following datasets were used for training and/or evaluation:
- CIFAR100: Used for training the base encoder.
- CIFAR10: Used for linear evaluation of learned embeddings.
- STL10: Used for experiments to compare with previous works.
- EMNIST: Used for training base encoders.
- MNIST: Used for evaluating robustness to transformations.
The paper also mentions using "normal" CIFAR10 and transformed CIFAR10 images for robustness experiments, and transformed MNIST digits for evaluating the framework's generalization capabilities.
Key Insights and Ideas
- Simplifying Contrastive Learning: The contrastive hinge loss demonstrates that complex computations are not always necessary for effective SSL, paving the way for more biologically feasible implementations.
- DTP with Pooling Layers: The successful integration of DTP with pooling layers in CNNs is a significant finding, suggesting that biologically plausible learning rules can be adapted to modern network architectures.
- Layer-wise Learning as a Viable Alternative: Both greedy and randomized layer-wise learning, when combined with biologically plausible update rules (RF/URF), show comparable performance to end-to-end BP, suggesting that sequential layer updates might not be strictly necessary for biological learning.
- Robustness through Unsupervised Learning: The SSL framework, even without explicit data augmentation on the downstream task, produces embeddings that are more robust to image deformations than those from supervised networks, highlighting the inherent representational power of unsupervised learning.
- Temporal Locality in SSL: The proposed method for ensuring temporal locality in SSL is a step towards modeling how biological systems process sequential information.
Key Results
- The proposed contrastive hinge loss achieves comparable linear evaluation performance to the standard SIMCLR loss on CIFAR10.
- Biologically plausible learning rules (DTP, GLL, RLL with RF/URF) achieve comparable linear evaluation performance to end-to-end backpropagation.
- Layer-wise learning (GLL and RLL) shows similar or better accuracy compared to traditional end-to-end learning.
- Randomized Layer-wise Learning (RLL) demonstrates that sequential layer updates are not strictly necessary, achieving competitive results.
- The framework shows robustness to image perturbations, with SSL-trained embeddings leading to better linear classifier performance on deformed CIFAR10 and transformed MNIST compared to supervised methods.
- DTP with pooling layers achieved a linear evaluation accuracy of 71.29% on CIFAR10, significantly outperforming DTP with strided convolutional layers (39.42%).
- On STL10, the contrastive hinge loss with end-to-end BP achieved 70.13% accuracy, while GLL with BP/URF achieved 68.80%.
Limitations and Future Work
- Complexity of Biological Realism: The authors acknowledge that while their framework is more biologically plausible, aspects like continuous values in ANNs vs. discrete spikes in neurons, and the lack of recurrent connections in current CNN models, still present challenges for full biological realism.
- Exploration of Other SSL Losses: The paper mentions that they are still exploring biologically plausible implementations of other SSL losses, such as Barlow Twins.
- Continuous Video Processing: A future direction suggested is training on continuous videos of moving objects, potentially with smaller buffers for negative images, to further explore temporal dynamics.
- Further Investigation of Perturbation Robustness: The authors suggest exploring the robustness of SSL combined with biologically plausible learning rules on other datasets and transformations.
- Addressing Negative Example Requirements: The paper notes that their method does not require a large number of negative examples, which is a step towards more efficient learning, and suggests further exploration in this area.
Summary updated