Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Gradient Descent-Induced Drift of Representation in a Two-Layer Neural Network

Farhad Pashakhanloo, Alexei A. Koulakov|arXiv (Cornell University)|Feb 6, 2023
Neural dynamics and brain functionNeuroscience6 citations
TL;DR

This paper investigates how stochastic gradient descent (SGD) induces representational drift in a two-layer linear neural network during continual online learning. By decomposing parameter space dynamics into normal and tangent components of the minimum-loss manifold, the authors analytically derive diffusion coefficients for hidden-layer representations, showing that drift is slower for more frequently presented stimuli—consistent with experimental observations in the piriform cortex.

ABSTRACT

Representational drift refers to over-time changes in neural activation accompanied by a stable task performance. Despite being observed in the brain and in artificial networks, the mechanisms of drift and its implications are not fully understood. Motivated by recent experimental findings of stimulus-dependent drift in the piriform cortex, we use theory and simulations to study this phenomenon in a two-layer linear feedforward network. Specifically, in a continual online learning scenario, we study the drift induced by the noise inherent in the Stochastic Gradient Descent (SGD). By decomposing the learning dynamics into the normal and tangent spaces of the minimum-loss manifold, we show the former corresponds to a finite variance fluctuation, while the latter could be considered as an effective diffusion process on the manifold. We analytically compute the fluctuation and the diffusion coefficients for the stimuli representations in the hidden layer as functions of network parameters and input distribution. Further, consistent with experiments, we show that the drift rate is slower for a more frequently presented stimulus. Overall, our analysis yields a theoretical framework for better understanding of the drift phenomenon in biological and artificial neural networks.

Motivation & Objective

  • To understand the mechanisms behind representational drift in biological and artificial neural networks, particularly in the context of continual learning.
  • To investigate whether stochastic gradient descent (SGD) noise alone can induce stimulus-dependent drift, as observed in the piriform cortex.
  • To develop a theoretical framework for quantifying drift rates in terms of network parameters and input statistics.
  • To validate the model with numerical simulations and compare results to experimental data on odor representation drift.

Proposed method

  • Models a two-layer linear feedforward network with L2-regularized mean squared error loss for online continual learning.
  • Decomposes the parameter space into normal and tangent subspaces relative to the minimum-loss manifold.
  • Derives an effective diffusion process on the manifold by analyzing the stochastic dynamics of SGD in the tangent space.
  • Computes analytical expressions for fluctuation and diffusion coefficients of hidden-layer representations as functions of input distribution and network hyperparameters.
  • Uses geometric analysis of the loss landscape to separate finite-variance fluctuations (normal) from drift-like evolution (tangential).
  • Applies asymptotic approximations under low regularization and high input diversity to simplify and interpret the diffusion coefficients.
Figure 1: (left) Neural network model. (right) Manifold of minimum-loss ( $\mathcal{M}$ ) in the parameter space.
Figure 1: (left) Neural network model. (right) Manifold of minimum-loss ( $\mathcal{M}$ ) in the parameter space.

Experimental results

Research questions

  • RQ1Can SGD-induced noise alone explain stimulus-dependent representational drift in neural networks?
  • RQ2How does the frequency of stimulus presentation affect the rate of representational drift?
  • RQ3What is the analytical relationship between network parameters, input statistics, and drift dynamics?
  • RQ4How do normal and tangent space dynamics contribute differently to the overall drift process?

Key findings

  • The drift rate in the hidden-layer representation is slower for more frequently presented stimuli, consistent with experimental findings in the piriform cortex.
  • The diffusion coefficient for a stimulus representation scales inversely with the square of its input signal strength when regularization is small.
  • For a frequently presented stimulus, the drift rate is approximately proportional to $ \frac{\eta \gamma^2}{s_a^2 s_d} $, where $ s_a $ is the signal variance of the stimulus.
  • The model predicts that the drift is dominated by tangential movements on the minimum-loss manifold, while normal fluctuations remain bounded.
  • The analytical expressions for diffusion coefficients match numerical simulations very closely across varying input statistics and stimulus frequencies.
  • The framework explains how stable task performance can be maintained despite ongoing representational drift through effective diffusion on the solution manifold.
Figure 2: Schematics showing (left) the probability distribution of the fluctuations outside the manifold, (middle) the gradient vectors on and near the manifold, and (right) the tangential component of the gradient.
Figure 2: Schematics showing (left) the probability distribution of the fluctuations outside the manifold, (middle) the gradient vectors on and near the manifold, and (right) the tangential component of the gradient.

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.