A performant implementation of the principle of Maximum Coding Rate Reduction (MCR2).
Project description
Learning Diverse and Discriminative Representations via the Principle of Maximal Coding Rate Reduction
This repository is an unofficial implementation of the following paper,
ReduNet: A White-box Deep Network from the Principle of Maximizing Rate Reduction (2021)
by Kwan Ho Ryan Chan* (UC Berkeley), Yaodong Yu* (UC Berkeley), Chong You* (UC Berkeley), Haozhi Qi (UC Berkeley), John Wright (Columbia), and Yi Ma (UC Berkeley),
which includes the implementations of the Maximal Coding Rate Reduction (MCR2) objective function part (MCR2 paper link). This also serves as the host repository for the Pip package.
What is Maximal Coding Rate Reduction?
Our goal is to learn a mapping that maps the high-dimensional data that lies in a low-dimensional manifold to low-dimensional subspaces with the following three properties:
- Between-Class Discriminative: Features of samples from different classes/clusters should be highly uncorrelatedand belong to different low-dimensional linear subspaces
- Within-Class Compressible: Features of samples from the same class/cluster should be relatively correlated in a sense that they belong to a low-dimensional linear subspace
- Maximally Diverse Representation: Dimension (or variance) of features for each class/cluster should beas large as possibleas long as they stay uncorrelated from the other classes
To achieve this, we propose an objective function called Maximal Coding Rate Reduction (MCR2). In our paper, we provide not only theoretical guarantees to the desired properties upon convergence, but also practical properties such as robustness to label corruption and empirical results such as state-of-the-art unsupervised clustering performance. For more details on algorithm design, please refer to our paper.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mcr2-0.0.1.tar.gz
.
File metadata
- Download URL: mcr2-0.0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7aad569fd6b2d0101d93901a936c3a2034cfa42240cfe559c6c56cb272c7df |
|
MD5 | fdf5f0ac43365a3fa668e9f359ca211a |
|
BLAKE2b-256 | d086e3872868281fa1ac1534b846fa4de2456810f2576a0ad5fa13c9fd19958c |
File details
Details for the file mcr2-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mcr2-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c93d9db0465ab982cb7f0d93363ee676ef6c4684a94d6ec8cc652f82a5424c |
|
MD5 | db254b9d8b3051dde089ca80b8ac361b |
|
BLAKE2b-256 | cc62dadc0280a5436d04b18e9135b8547aad47b7d9b19938369ab58724b540b1 |