What is the gradient of a scalar function of a symmetric matrix ?

11/15/2019
by   Shriram Srinivasan, et al.
0

Perusal of research articles that deal with the topic of matrix calculus reveal two different approaches to calculation of the gradient of a real-valued function of a symmetric matrix leading to two different results. In the mechanics and physics communities, the gradient is calculated using the definition of a derivative, irrespective of whether the argument is symmetric or not. However, members of the statistics, economics, and electrical engineering communities use another notion of the gradient that explicitly takes into account the symmetry of the matrix, and this "symmetric gradient" G_s is reported to be related to the gradient G computed from the derivative with respect to a general matrix as G_s = G + G^T - G ∘ I, where ∘ denotes the elementwise Hadamard product of the two matrices. We demonstrate that this relation is incorrect, and reconcile both these viewpoints by proving that G_s = sym(G).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/22/2023

The Backpropagation algorithm for a math student

A Deep Neural Network (DNN) is a composite function of vector-valued fun...
research
12/04/2021

The symmetric Post Correspondence Problem, and errata for the freeness problem for matrix semigroups

We define the symmetric Post Correspondence Problem (PCP) and prove that...
research
07/10/2017

Backpropagation in matrix notation

In this note we calculate the gradient of the network function in matrix...
research
10/01/2019

Series Representation of Jointly SαS Distribution via A New Type of Symmetric Covariations

We introduce a new measure of dependency between coordinates of a symmet...
research
04/26/2021

Conforming Finite Elements for H(sym Curl) and H(dev sym Curl)

We construct conforming finite elements for the spaces H(sym Curl) and H...
research
09/26/2020

Adaptive Non-reversible Stochastic Gradient Langevin Dynamics

It is well known that adding any skew symmetric matrix to the gradient o...
research
10/28/2019

Stein Variational Gradient Descent With Matrix-Valued Kernels

Stein variational gradient descent (SVGD) is a particle-based inference ...

Please sign up or login with your details

Forgot password? Click here to reset