Barlow Twins
Barlow Twins: Self-Supervised Learning via Redundancy Reduction
Jure Zbontar, Li Jing, Ishan Misra, Yann LeCun, Stephane Deny · ICML 2021
Bring cross-view correlation toward the identity to align representations and reduce feature redundancy.
What you will implement
Implement batchwise feature standardization, cross-correlation, and redundancy reduction with gradients to both views.
- 178. Barlow Twins Cross-Correlation and Redundancy Reduction
Standardize each feature over the batch, compute cross-view correlation, and combine diagonal alignment with off-diagonal redundancy reduction.
Implement two core functions; a supplied CPU experiment optimizes two 16-by-3 embedding tables using the official single-batch BN normalization convention.