paper-with-me

Papers

Initialization is Critical to Whether Transformers Fit Composite Functions by Reasoning or Memorizing

2024-05-08 · Zhongwang Zhang, Pengxiao Lin, Zhiwei Wang, Yaoyu Zhang, Zhi-Qin John Xu

Transformers have shown impressive capabilities across various tasks, but their performance on compositional problems remains a topic of debate. In this work, we investigate the mechanisms of how transformers behave on unseen compositional tasks. We discover that the parameter initialization scale plays a critical role in determining whether the model learns inferential (reasoning-based) solutions, which capture the underlying compositional primitives, or symmetric (memory-based) solutions, which simply memorize mappings without understanding the compositional structure. By analyzing the information flow and vector representations within the model, we reveal the distinct mechanisms underlying these solution types. We further find that inferential (reasoning-based) solutions exhibit low complexity bias, which we hypothesize is a key factor enabling them to learn individual mappings for single anchors. We validate our conclusions on various real-world datasets. Our findings provide valuable insights into the role of initialization scale in tuning the reasoning and memorizing ability and we propose the initialization rate $\gamma$ to be a convenient tunable hyper-parameter in common deep learning frameworks, where $1/d_{\mathrm{in}}^\gamma$ is the standard deviation of parameters of the layer with $d_{\mathrm{in}}$ input neurons.

📄 PDF Abstract BibTeX arXiv:2405.05409

Code (1)

sjtuzzw/complexity_control 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Kolmogorov-Arnold Transformer

2024-09-16 · Xingyi Yang, Xinchao Wang

Transformers stand as the cornerstone of mordern deep learning. Traditionally, these models rely on multi-layer perceptron (MLP) layers to mix the information between channels. In this paper, we introduce the Kolmogorov-…

Image Classification

Subcritical Signal Propagation at Initialization in Normalization-Free Transformers

2026-04-13 · Sergey Alekseev arxiv

We study signal propagation at initialization in transformers through the averaged partial Jacobian norm (APJN), a measure of gradient amplification across layers. We extend APJN analysis to transformers with bidirection…

Sinusoidal Initialization, Time for a New Start

2025-05-19 · Alberto Fernández-Hernández, Jose I. Mestre, Manuel F. Dolz, Jose Duato 외

Initialization plays a critical role in Deep Neural Network training, directly influencing convergence, stability, and generalization. Common approaches such as Glorot and He initializations rely on randomness, which can…

Understanding the Parameter Space Geometry of Transformers Encoding Boolean Functions

2026-06-07 · Blanka Köver, Alexandra Butoi, Anej Svete, Michael Hahn 외 arxiv

Transformers consistently fail to learn certain simple functions that are provably expressible with specific parameter settings. This gap between learnability and expressivity is particularly prominent for sensitive func…

On weight initialization in deep neural networks

2017-04-28 · Siddharth Krishna Kumar

A proper initialization of the weights in a neural network is critical to its convergence. Current insights into weight initialization come primarily from linear activation functions. In this paper, I develop a theory fo…