Neural Feature Learning

Neural Feature Learning methods open the black box of *how* a trained neural network discovers useful representations from data, by deriving the directions along which each layer's effective input geometry is reshaped during training. The unifying object is the Neural Feature Matrix (NFM) — for a fully-connected layer, the NFM is the weight matrix multiplied by its transpose, and acts as a metric on that layer's input space. Empirically, the NFM aligns at convergence with the Expected Gradient Outer Product (EGOP), defined as the average outer product of the network output's gradient with respect to the same layer's input. The NFM's top eigenvectors point in the directions the network has learned to use — turning feature learning into an analyzable, kernel-shaped object.

zjunlp d6b7912 2 files · 7.2 KB Updated

File contents

zjunlp/mechanist/tree/main/skills/mechanism-skills/neural-feature-learning commit d6b791281c

Frequently asked questions

npx skillmds@latest add zjunlp/neural-feature-learning