paper-with-me

홈 › Papers

An Effective Gram Matrix Characterizes Generalization in Deep Networks

2025-04-23 · Rubing Yang, Pratik Chaudhari

We derive a differential equation that governs the evolution of the generalization gap when a deep network is trained by gradient descent. This differential equation is controlled by two quantities, a contraction factor that brings together trajectories corresponding to slightly different datasets, and a perturbation factor that accounts for them training on different datasets. We analyze this differential equation to compute an `effective Gram matrix'' that characterizes the generalization gap after training in terms of the alignment between this Gram matrix and a certain initial `residual''. Empirical evaluations on image classification datasets indicate that this analysis can predict the test loss accurately. Further, at any point during training, the residual predominantly lies in the subspace of the effective Gram matrix with the smallest eigenvalues. This indicates that the training process is benign, i.e., it does not lead to significant deterioration of the generalization gap (which is zero at initialization). The alignment between the effective Gram matrix and the residual is different for different datasets and architectures. The match/mismatch of the data and the architecture is primarily responsible for good/bad generalization.

📄 PDF Abstract BibTeX arXiv:2504.16450

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classification

Similar Papers 제목 키워드 기반

KCES: Training-Free Defense for Robust Graph Neural Networks via Kernel Complexity

2025-06-13 · Yaning Jia, Shenyang Deng, Chiyu Ma, Yaoqing Yang 외

Graph Neural Networks (GNNs) have achieved impressive success across a wide range of graph-based tasks, yet they remain highly vulnerable to small, imperceptible perturbations and adversarial attacks. Although numerous d…

Dataflow Matrix Machines as a Generalization of Recurrent Neural Networks

2016-03-29 · Michael Bukatin, Steve Matthews, Andrey Radul

Dataflow matrix machines are a powerful generalization of recurrent neural networks. They work with multiple types of arbitrary linear streams, multiple types of powerful neurons, and allow to incorporate higher-order co…

BIG-bench Machine LearningProbabilistic Programming

On the Explicit Role of Initialization on the Convergence and Generalization Properties of Overparametrized Linear Networks

2021-01-01 · Hancheng Min, Salma Tarmoun, Rene Vidal, Enrique Mallada

Neural networks trained via gradient descent with random initialization and without any regularization enjoy good generalization performance in practice despite being highly overparametrized. A promising direction to exp…

The Weight Gram Matrix Captures Sequential Feature Linearization in Deep Networks

2026-05-07 · Taehun Cha, Daniel Beaglehole, Adityanarayanan Radhakrishnan, Donghun Lee arxiv

Understanding how deep neural networks learn representations remains a central challenge in machine learning theory. In this work, we propose a feature-centric framework for analyzing neural network training by relating …

Programming Patterns in Dataflow Matrix Machines and Generalized Recurrent Neural Nets

2016-06-30 · Michael Bukatin, Steve Matthews, Andrey Radul

Dataflow matrix machines arise naturally in the context of synchronous dataflow programming with linear streams. They can be viewed as a rather powerful generalization of recurrent neural networks. Similarly to recurrent…