Why is safety alignment in LLMs shallow? We prove that gradient-based alignment inherently concentrates on positions where harm is decided and vanishes beyond. Using a martingale decomposition of sequence-level harm, we derive an exact characterization of alignment gradients. The gradient at position $t$ equals the covariance between the conditional expected harm and the score function. This implies that positions beyond the harm horizon where the output's harmfulness is already determined receive zero gradient signal during training. This explains empirical observations that KL divergence between aligned and base models concentrates on early tokens. Consequently, standard alignment objectives cannot produce deep alignment, regardless of optimization quality. We introduce the concept of harm information $I_t$, which quantifies each position's influence on harm, and prove that equilibrium KL divergence tracks this quantity. Finally, we derive an objective based on recovery penalties that creates gradient signal at all positions, providing theoretical grounding for empirically successful data augmentation techniques.
Shallow Preference Signals: Large Language Model Aligns Even Better with Truncated Data?
IIIS, Tsinghua University(清华大学信息学院);AI Lab, Princeton University(普林斯顿大学人工智能实验室);Department of Computer Science & Engineering, University of Michigan(密歇根大学计算机科学与工程系)
Why and When Can Deep -- but Not Shallow -- Networks Avoid the Curse of Dimensionality: a Review
Center for Brains, Minds, and Machines(大脑、心智与机器研究中心);McGovern Institute for Brain Research(麦戈文脑研究所);Massachusetts Institute of Technology(麻省理工学院);California Institute of Technology(加州理工学院);Institute of Mathematical Sciences, Claremont Graduate University(克莱蒙特研究大学数学科学研究所)
Why Shallow Networks Struggle to Approximate and Learn High Frequencies
Department of Applied Mathematics(应用数学系);Hong Kong Polytechnic University(香港理工大学);Department of Mathematics(数学系);Duke University(杜克大学);Department of Mathematics and Statistics(数学与统计学系);Auburn University(阿伯伯大学);School of Mathematics(数学学院)
Evaluation of Best-of-N Sampling Strategies for Language Model Alignment
Nara Institute of Science and Technology(奈良科学技术研究所);CyberAgent(CyberAgent公司);Advanced Telecommunications Research Institute International(国际电气通信基础技术研究所)
Why "classic" Transformers are shallow and how to make them go deep
School of Science and Engineering, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)理工学院);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院)
Why and When Deep is Better than Shallow: Implementation-Agnostic State-Transition Model of Deep Learning
RIKEN AIP(理化学研究所Advanced Institute for Photonics and Electronics);CyberAgent, Inc(CyberAgent公司);NTT, Inc(NTT公司);Kyoto University(京都大学);The University of Osaka(大阪大学)
From Sycophantic Consensus to Pluralistic Repair: Why AI Alignment Must Surface Disagreement
Department of Computer Science, University of Oxford(牛津大学计算机科学系);Institute for Ethics in AI, University of Oxford(牛津大学人工智能伦理研究所);Responsible Technology Institute, University of Oxford(牛津大学负责任技术研究所)
ASNI: Adaptive Structured Noise Injection for shallow and deep neural networks
MINES ParisTech, PSL Research University(巴黎高等矿业学院,PSL研究大学);Institut Curie, PSL Research University(居里研究所,PSL研究大学);INSERM(法国国家健康与医学研究院);Google Brain(谷歌大脑)