On the Versatile Uses of Partial Distance Correlation in Deep Learning

Xingjian Zhen, Zihang Meng, Rudrasis Chakraborty, Vikas Singh
7/20/2022
cs.CV

Official code: zhenxingjian/Partial_Distance_Correlation (176 stars, Jupyter Notebook, MIT, last commit 2023-06-04).

Abstract

Comparing the functional behavior of neural network models, whether it is a single network over time or two (or more networks) during or post-training, is an essential step in understanding what they are learning (and what they are not), and for identifying strategies for regularization or efficiency improvements. Despite recent progress, e.g., comparing vision transformers to CNNs, systematic comparison of function, especially across different networks, remains difficult and is often carried out layer by layer.

Show full abstract

Approaches such as canonical correlation analysis (CCA) are applicable in principle, but have been sparingly used so far. In this paper, we revisit a (less widely known) from statistics, called distance correlation (and its partial variant), designed to evaluate correlation between feature spaces of different dimensions. We describe the steps necessary to carry out its deployment for large scale models -- this opens the door to a surprising array of applications ranging from conditioning one deep model w.r.t. another, learning disentangled representations as well as optimizing diverse models that would directly be more robust to adversarial attacks. Our experiments suggest a versatile regularizer (or constraint) with many advantages, which avoids some of the common difficulties one faces in such analyses. Code is at https://github.com/zhenxingjian/Partial_Distance_Correlation.

View on arXivView PDF

Code Implementations(1)

MIT

This is the official GitHub for paper: On the Versatile Uses of Partial Distance Correlation in Deep Learning, in ECCV 2022

17616Jupyter Notebook, PythonJul 9, 20223 years agoMIT

Similar Papers

Cite this paper

@article{zhen2022versatile,
  title  = {On the Versatile Uses of Partial Distance Correlation in Deep Learning},
  author = {Xingjian Zhen and Zihang Meng and Rudrasis Chakraborty and Vikas Singh},
  year   = {2022},
  eprint = {2207.09684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.09684}
}

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/2207.09684.svg)](https://codeofpaper.com/paper/2207.09684)

Discussion