Paper Reading AI Learner

KPFlow: An Operator Perspective on Dynamic Collapse Under Gradient Descent Training of Recurrent Networks

2025-07-08 20:33:15
James Hazelden, Laura Driscoll, Eli Shlizerman, Eric Shea-Brown

Abstract

Gradient Descent (GD) and its variants are the primary tool for enabling efficient training of recurrent dynamical systems such as Recurrent Neural Networks (RNNs), Neural ODEs and Gated Recurrent units (GRUs). The dynamics that are formed in these models exhibit features such as neural collapse and emergence of latent representations that may support the remarkable generalization properties of networks. In neuroscience, qualitative features of these representations are used to compare learning in biological and artificial systems. Despite recent progress, there remains a need for theoretical tools to rigorously understand the mechanisms shaping learned representations, especially in finite, non-linear models. Here, we show that the gradient flow, which describes how the model's dynamics evolve over GD, can be decomposed into a product that involves two operators: a Parameter Operator, K, and a Linearized Flow Propagator, P. K mirrors the Neural Tangent Kernel in feed-forward neural networks, while P appears in Lyapunov stability and optimal control theory. We demonstrate two applications of our decomposition. First, we show how their interplay gives rise to low-dimensional latent dynamics under GD, and, specifically, how the collapse is a result of the network structure, over and above the nature of the underlying task. Second, for multi-task training, we show that the operators can be used to measure how objectives relevant to individual sub-tasks align. We experimentally and theoretically validate these findings, providing an efficient Pytorch package, \emph{KPFlow}, implementing robust analysis tools for general recurrent architectures. Taken together, our work moves towards building a next stage of understanding of GD learning in non-linear recurrent models.

Abstract (translated)

梯度下降(GD)及其变体是使递归动力系统(如循环神经网络(RNN)、神经ODE和门控循环单元(GRU))高效训练的主要工具。这些模型中形成的动态特性,例如神经坍缩和潜在表示的出现,可能支持网络显著的泛化能力。在神经科学领域,人们使用这些表示的定性特征来比较生物系统与人工系统的学习过程。尽管近年来取得了一些进展,但仍需要理论工具来严格理解塑造所学表示机制的过程,尤其是在有限且非线性的模型中。 本文展示了梯度流(描述GD过程中模型动态演变的方式)可以分解为一个涉及两个操作符的乘积:参数操作符K和线性化流动传播器P。其中,K在前馈神经网络中类似于神经切片核(Neural Tangent Kernel),而P出现在李雅普诺夫稳定性(Lyapunov stability)和最优控制理论(optimal control theory)中。 我们展示了这种分解的两个应用:首先,展示了它们之间的交互如何在GD过程中产生低维潜在动态,并且具体地说明了坍缩是如何由网络结构决定的,而不仅仅是任务的本质。其次,在多任务训练的情况下,展示这些操作符可以用来衡量与各个子任务相关的目标的一致性。 我们通过实验和理论验证了这些发现,并提供了一个高效实用的Pytorch包*KPFlow*,用于实现对通用递归架构进行稳健分析的工具。总的来说,我们的工作朝着建立理解非线性递归模型中GD学习的新阶段迈进了一步。

URL

https://arxiv.org/abs/2507.06381

PDF

https://arxiv.org/pdf/2507.06381.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot