Matrix Information Theory for Self-Supervised Learning

Yifan Zhang, Zhi-Hao Tan, Jingqin Yang, Weiran Huang, Yang Yuan
2/12/2026

No official code found. Best implementation: yifanzhang-pro/Matrix-SSL (34 stars, last commit 2025-09-21). 1 more below.

Abstract

The maximum entropy encoding framework provides a unified perspective for many non-contrastive learning methods like SimSiam, Barlow Twins, and MEC. Inspired by this framework, we introduce Matrix-SSL, a novel approach that leverages matrix information theory to interpret the maximum entropy encoding loss as matrix uniformity loss. Furthermore, Matrix-SSL enhances the maximum entropy encoding method by seamlessly incorporating matrix alignment loss, directly aligning covariance matrices in different branches. Experimental results reveal that Matrix-SSL outperforms state-of-the-art methods on the ImageNet dataset under linear evaluation settings and on MS-COCO for transfer learning tasks. Specifically, when performing transfer learning tasks on MS-COCO, our method outperforms previous SOTA methods such as MoCo v2 and BYOL up to 3.3% with only 400 epochs compared to 800 epochs pre-training. We also try to introduce representation learning into the language modeling regime by fine-tuning a 7B model using matrix cross-entropy loss, with a margin of 3.1% on the GSM8K dataset over the standard cross-entropy loss. Code available at https://github.com/yifanzhang-pro/Matrix-SSL.

View on arXivView PDF

Code Implementations(2)

[ICML 2024] Matrix Information Theory for Self-supervised Learning (https://arxiv.org/abs/2305.17326)

346Shell, PythonApr 17, 20231 years ago
contrastive-learningfoundation-modelsnon-contrastive-learningpretrainingself-supervised-learning

Official Implementation of ICML 2024 paper 'Matrix Cross-Entropy for Large Language Models' (https://arxiv.org/abs/2305.17326)

41Feb 5, 20242 years ago

Similar Papers

Cite this paper

@article{zhang2026matrix,
  title  = {Matrix Information Theory for Self-Supervised Learning},
  author = {Yifan Zhang and Zhi-Hao Tan and Jingqin Yang and Weiran Huang and Yang Yuan},
  year   = {2026},
  eprint = {2305.17326},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2305.17326},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17326.svg)](https://codeofpaper.com/paper/2305.17326)

Discussion