The choice of positional encoding determines how a model extrapolates beyond its trained context window, which directly affects long-context fine-tuning decisions and inference cost trade-offs. Engineers fine-tuning open-source models like Llama, Qwen or DeepSeek can use the included code examples to verify RoPE and YaRN configurations against their own context-length requirements. Those comparing ALiBi-based architectures will find the extrapolation analysis concrete enough to guide model selection.
#positional encoding
10 stories · 1 in 7 days · 3 in 30 days
Stories, products and papers tagged "positional encoding", newest first.
Nov 15
Positional Embeddings in LLMs Explained by Sebastian Raschka
Nov 2
Papers10:18
Chinese content单头注意力位置实现性理论:解释长度泛化为何依赖位置编码解释了为什么绝对位置编码难做长度泛化、相对的却行,还给出训练前就能算出来的判据 α_L,做理论的人都该看看推导。
Oct 26
Chinese contentLoCA:让地理位置编码器支持多模态输入
arXiv 上这篇讲地理位置编码怎么接入 Sentinel-1/2 双模态的论文,17 个任务里赢了 68.8%,做地理空间模型的可以看看。
Sep 30
Aug 14
Models01:25
Chinese contentSCoPE:用于视频扩散Transformer的视线坐标位置编码腾讯ARC开源了SCoPE,一种视频扩散Transformer的位置编码,搞视频生成可以试试。
Aug 5
Papers11:08
Chinese contentMDLMPE:面向掩码扩散语言模型的分布感知位置编码掩码扩散模型的位置编码一直照搬自回归那套,MDLMPE 第一个把遮盖状态算进去,在 LLaDA 和 DREAM 上效果更好。
Jul 9
Jun 17
Chinese content注意力的函数等价性:位置编码如何改变Transformer对称性
这篇论文解释了为啥RoPE比Sinusoidal位置编码更受青睐——它减少了参数空间的对称性,让Transformer表达力更强。如果你好奇背后的理论,值得一看。
Papers09:41
Chinese content相似性位置编码simPE在旋转下的鲁棒性:理论分析与实验验证这篇论文证明了simPE在图像旋转下比标准位置编码更稳,用四个数据集给出了理论界和实验验证,做视觉Transformer的值得看。
Jun 11
Chinese contentnD-RoPE:将旋转位置编码推广到任意维度
nD-RoPE 解决了高维位置编码缺乏统一理论框架的问题,做视觉、视频或点云 Transformer 的开发者可以直接用,能显著提升模型对空间结构的理解能力。