arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05345cs.LG
收藏

PJ-RoPE:一种用于相对注意力的傅里叶-喷气-仿射位置空间

PJ-RoPE: A Fourier-Jet-Affine Position Space for Relative Attention

School of Physics, Ningxia University(宁夏大学物理学院)

Yaobo Zhang

AI总结:

本文提出PJ-RoPE,一种统一RoPE、Jordan-RoPE和ALiBi的傅里叶-喷气-仿射相对位置空间,通过可学习参数适应不同任务,并引入自适应扇区诊断和LC/快度坐标稳定高阶喷气。

摘要:

我们将RoPE的傅里叶相位、Jordan-RoPE的有限喷气和ALiBi的仿射近因统一到一个单一的可学习相对位置空间中,并研究不同任务选择该空间的哪些区域。PJ-RoPE是一种用于相对注意力的傅里叶-喷气-仿射公式,可选地具有庞加莱型解读,作为齐次傅里叶-喷气位置表示的仿射完备化。代数上,相同的基本元素构成一个有限常系数差分模:延迟移位算子的简单根给出傅里叶/RoPE特征,重复的非零根给出乔丹/傅里叶喷气,重复的单位根给出类似ALiBi的仿射近因。该框架将标量PJ偏置核与精确的PJ旋转特征变换分离,引入自适应扇区诊断,并使用LC/快度坐标稳定高阶喷气。受控探针验证了扇区包含和选择;小型语言运行暴露了仿射/近因边界;音乐令牌流提供了最清晰的情况,其中LC/仿射变体保持强劲,同时携带可测量的高阶修正;LC诊断显示尺度稳定性增益伴随相位分辨率损失。

英文摘要:

We organize relative-position mechanisms in attention as a learnable Fourier-Jet-Affine position space. The starting point is lag-shift dynamics: a relative-position kernel is a response function of the lag \(d=i-j\), and the one-step shift \((Ef)(d)=f(d+1)\) gives a compact classification of finite structured responses through constant-coefficient difference modules. In this view, RoPE supplies simple Fourier roots, Jordan-RoPE thickens these roots into finite Fourier jets, and ALiBi supplies the repeated unit-root affine direction. NTK-aware RoPE scaling fits the same structure as a spectral flow of simple Fourier roots: moving the frequency grid generates first Fourier-jet tangent directions, while higher Taylor directions generate higher jets. PJ-RoPE makes these jet directions explicit and learnable, and uses the resulting space to measure task-level sector selection. The framework separates scalar PJ-bias kernels from exact PJ-rotary feature transforms, introduces sector-gate, effective-mass, functional-energy, and leave-one-order-out diagnostics, and stabilizes high-order coordinates with LC/rapidity compactification. Controlled probes recover designed sectors; synthetic teachers show trainable use; small byte-level language runs favor NTK-aware RoPE plus affine recency; symbolic music-token streams keep LC/affine variants strong with measurable high-order corrections; and LC diagnostics quantify the stability-resolution tradeoff.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑