Skip to main content
QUICK REVIEW

[Paper Review] Linear Algebra and Duality of Neural Networks

Galin Georgiev|arXiv (Cornell University)|Sep 12, 2018
Neural Networks and ApplicationsComputer Science25 references3 citations
TL;DR

This paper introduces a linear algebraic framework for neural networks by formalizing duality between observables (e.g., pixels) and observations (e.g., training samples), using bases, projections, metrics, and variational calculus. It derives back-propagation and Restricted Boltzmann Machine weight updates from variational principles, establishing a physics-inspired, mathematically rigorous foundation for training dynamics and dimensionality reduction.

ABSTRACT

Bases, mappings, projections and metrics, natural for Neural network training, are introduced. Graph-theoretical interpretation is offered. Non-Gaussianity naturally emerges, even in relatively simple datasets. Training statistics, hierarchies and energies are analyzed, from physics point of view. Duality between observables (for example, pixels) and observations is established. Relationship between exact and numerical solutions is studied. Physics and financial mathematics interpretations of a key problem are offered. Examples support all new concepts.

Motivation & Objective

  • To establish a formal duality between observables (e.g., pixel intensities) and observations (e.g., training samples) in neural networks using linear algebra.
  • To model neural network training as a variational problem minimizing reconstruction error via action functionals.
  • To derive standard back-propagation and RBM weight updates from first principles using partial derivatives of a Lagrangian action.
  • To analyze training statistics, non-Gaussianity, and hierarchical structures from a physics and financial mathematics perspective.
  • To provide exact linear algebraic solutions for dimension reduction using SVD and dual architectures, including autoencoders and RBMs.

Proposed method

  • Formalizes training data as a P×N matrix X, with observables as columns and observations as rows, introducing dual spaces for observables and observations.
  • Introduces training mappings T and T′, conjugate observables, projections P and P′, and metrics in both observable and observation spaces.
  • Applies variational calculus to an action functional S, minimizing reconstruction error via partial derivatives with respect to X, Y, W^(1), W^(2), and Lagrange multipliers Z and Ẑ.
  • Derives the back-propagation update rules by setting partial derivatives of the action to zero, yielding ΔW^(2) = -δY^T ΔX and ΔW^(1) = -δX(0)^T Z.
  • For tied weights, derives the RBM update rule ΔW^(1) ≈ -δ(ΔX^T Y + X(0)^T ΔY), simplifying to ΔW^(1) ≈ -δΔG(m)W^(1) using the Gram matrix G(m).
  • Introduces a graph-theoretical interpretation of network layers and training dynamics, linking to physical concepts like equilibrium, noise, and fermionization.

Experimental results

Research questions

  • RQ1How can observables and observations in neural networks be formally dualized using linear algebraic structures?
  • RQ2What is the variational principle underlying standard back-propagation and how does it emerge from a Lagrangian action?
  • RQ3How do the derived weight update rules for autoencoders and RBMs relate to exact linear algebraic solutions like SVD?
  • RQ4In what way does non-Gaussianity naturally emerge from the training dynamics of simple datasets?
  • RQ5How can the concepts of equilibrium, hierarchy, and statistical mechanics be applied to understand neural network training?

Key findings

  • The paper derives the standard back-propagation update rules from a variational principle, showing that weight updates correspond to zeroing partial derivatives of a Lagrangian action functional.
  • For tied weights, the derived update rule matches the RBM learning rule, with ΔW^(1) ≈ -δΔG(m)W^(1), where ΔG(m) is the change in the Gram matrix.
  • The reconstruction error vector -ΔX(m) = Ẑ(m) is identified as the negative Lagrange multiplier, and the back-propagated error Z(m) is computed via Z(m) = Ẑ(m)W^(2)^T.
  • The framework establishes a duality between observables and observations, with conjugate and inverse mappings enabling symmetric treatment of input and output spaces.
  • Non-Gaussianity emerges naturally in training distributions, even in simple datasets, due to the structure of the training mappings and projections.
  • The exact linear algebraic solution for dimension reduction is shown to be equivalent to singular value decomposition, with the dual autoencoder architecture preserving this structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.