יום ראשון, 4 באוקטובר 2026 LIVE
AI־INFO

כתבה arXiv cs.LG ·

שינויי מנגנונים: כיצד בחירת קודיפיקציה מיקומית משפיעה על חיפוש במסר

Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval
בחירת קודיפיקציה מיקומית משפיעה על חיפוש במסר בדגמי שפה. נמצא כי דגמי RoPE מסתמכים בעיקר על חיפוש מיקומי, וכי דגמי PE hybrids עוברים לחיפוש סמנטי.
תקציר מקורי באנגליתarXiv:2609.38530v1 Announce Type: cross Abstract: Language models increasingly use architectures that vary attention span and positional encoding across layers, such as applying RoPE with sliding-window attention and NoPE with global attention (SWA NoPE). However, how these choices shape in-context retrieval remains unclear. To study this question, we take a mechanistic view, tracing how positional encoding (PE) choice shapes the internal mechanisms models use for in-context retrieval. Across 22 open-weight models spanning eight families, we find that standard RoPE models rely primarily on positional retrieval, while PE hybrids shift toward semantic retrieval. We further show on a controlled pre-training ablation that confining positional encoding to local layers produces this semantic shi
קרא במקור המקורי