RoPE Transformer功能分化研究提出两条自回归语言建模原则
Two Principles for Autoregressive Language Modeling
研究通过RFIS与RPD两项干预指标,在Qwen3和Llama3.1中区分检索与位置建模功能,并发现中低频Global Positional Band(GPBand)与训练序列长度相关。据此提出功能组织与位置依赖两条原则,380M和1.4B参数下的从头预训练与架构消融实验均予支持。
arXiv:2609.02986v4 Announce Type: replace Abstract: We investigate the functional differentiation learned by RoPE Transformers to derive principles for autoregressive language modeling. We introduce two intervention-based metrics: RoPE Frequency Importance Score (RFIS) measures how removing a frequency contribution changes a head's full attention distribution, and RoPE Positional Dependence (RPD) isolates the effect of rotary modulation. In Qwen3 and Llama3.1, these metrics distinguish retrieval from positional modeling, while individual heads can exhibit both functions. A mid-low-frequency Global Positional Band (GPBand) separates their frequency dependencies and tracks the training sequence length in controlled experiments, suggesting that global positional fitting can hinder zero-shot length extrapolation. These findings motivate two principles. (1) Functional Organization: retrieval and positional functions should be assigned separately and mixed within layers with layer-specific allocation; and (2) Positional Dependence: positional modeling should operate only locally, while global access should rely on position-independent retrieval. Matched pretraining from scratch and targeted architectural ablations at 380M and 1.4B parameters support both principles and highlight the importance of mechanism choice in realizing each function. Together, these findings suggest a promising route toward architectural innovation grounded in the functional requirements of autoregressive language modeling.
来源:arXiv (AI + Vision + Imaging) · arxiv.org