Unraveling Feature Extraction Mechanisms in Neural Networks
Not on the map. Why?
Abstract (arXiv)
The underlying mechanism of neural networks in capturing precise knowledge has been the subject of consistent research efforts. In this work, we propose a theoretical approach based on Neural Tangent Kernels (NTKs) to investigate such mechanisms. Specifically, considering the infinite network width, we hypothesize the learning dynamics of target models may intuitively unravel the features they acquire from training data, deepening our insights into their internal mechanisms. We apply our approach to several fundamental models and reveal how these models leverage statistical features during gradient descent and how they are integrated into final decisions. We also discovered that the choice of activation function can affect feature extraction. For instance, the use of the textitReLU activation function could potentially introduce a bias in features, providing a plausible explanation for its replacement with alternative functions in recent pre-trained language models. Additionally, we find that while self-attention and CNN models may exhibit limitations in learning n-grams, multiplication-based models seem to excel in this area. We verify these theoretical findings through experiments and find that they can be applied to analyze language modeling tasks, which can be regarded as a special variant of classification. Our contributions offer insights into the roles and capacities of fundamental components within large language models, thereby aiding the broader understanding of these complex systems.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 45 references that are in the map. First posted on arXiv 25 Oct 2023.
Builds on
30 of 45 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
- 2019Attention is not not Explanationcited by 636
- 2017Deep Neural Networks as Gaussian Processescited by 622
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 573
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
18 more
- 2020Generating Radiology Reports via Memory-driven Transformercited by 368
- 2021Pay Attention to MLPscited by 368
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 284
- 2021Dataset Distillation with Infinitely Wide Convolutional Networkscited by 218
- 2015Visualizing and Understanding Neural Models in NLPcited by 200
- 2019On the Inductive Bias of Neural Tangent Kernelscited by 177
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
- 2020Low-Rank Bottleneck in Multi-head Attention Modelscited by 89
- 2020The Recurrent Neural Tangent Kernelcited by 67
- 2020A Formal Hierarchy of RNN Architecturescited by 62
- 2021Tensor Programs IIb: Architectural Universality of Neural Tangent Kernel Training Dynamicscited by 57
- 2018Understanding Convolutional Neural Networks for Text Classificationcited by 36
- 2021Implicit Bias of Linear RNNscited by 11
Built on by
Not cited yet.