Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated just now
PreprintCC BY 4.0arXiv

Where Position Matters: Profiling-Guided Layer-Wise RoPE Allocation in Transformers

Abstract

Rotary Position Embedding (RoPE) typically uses uniform coverage across Transformer layers despite heterogeneous positional requirements. Phase-off interventions reveal non-uniform, model-specific rotary-phase dependence, while coverage interventions relate it to coverage-upgrade benefits. We propose profiling-guided layer-wise RoPE allocation, assigning high/low coverage under a fixed budget using early coverage-benefit profiles. The framework supports fixed-width query/key representations and physical rotary-dimension allocation in Multi-head Latent Attention (MLA). Normalized-depth mapping transfers profiles within model families, enabling small-model measurements to guide larger-model allocations before pretraining. A brief analysis relates selection and transfer to score calibration and inter-layer interactions. From-scratch experiments demonstrate validation-loss improvements over available budget-matched baselines, while analytical resource accounting identifies favorable quality--storage--compute trade-offs for physical MLA. These results connect positional demand to transferable, efficient architecture design.

Related

  1. CRB-Guided Sensing and Resource Allocation for Human Pose Prediction in Integrated Sensing, Communication, and Computation Systems
    Zhonghao Liu, Yahao Ding, Jiaxiang Wang +3
    arXivPreprintarXiv licenceFull textGeneral mathematicsarXiv
  2. DiffLyap-MEC: Diffusion-Guided Lyapunov Optimization for Joint Offloading, Semantic Compression, and Resource Allocation in ISAC-Enabled 6G Edge Computing
    Abrar S. Alhazmi, Mohammed M. Alenazi
    MathematicsPeer-reviewedCC BY 4.0General mathematicsCrossref
  3. Asymptotic Behavior of Transformers
    Katy Blumer, Da-Cheng Juan, Jon Kleinberg +3
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  4. Kinetic theory for Transformers and the lost-in-the-middle phenomenon
    Mitia Duerinckx, Borjan Geshkovski, Stefano Rossi
    arXivPreprintarXiv licenceFull textAnalysis & PDEsProbabilityarXiv
  5. Adversarially Trained Linear Transformers Are Optimal Robust In-Context Learners for Gaussian Mixtures
    Soichiro Kumano
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{liu2026where,
  title = {{Where Position Matters: Profiling-Guided Layer-Wise RoPE Allocation in Transformers}},
  author = {Zhiwei Liu and Boao Kong and Bing Liu},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.39223},
  eprint = {2610.39223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.39223},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Where Position Matters: Profiling-Guided Layer-Wise RoPE Allocation in Transformers
AU  - Zhiwei Liu
AU  - Boao Kong
AU  - Bing Liu
PY  - 2026
DA  - 2026/10/29
PB  - arXiv
DO  - 10.48550/arxiv.2610.39223
UR  - https://arxiv.org/abs/2610.39223
AB  - Rotary Position Embedding (RoPE) typically uses uniform coverage across Transformer layers despite heterogeneous positional requirements. Phase-off interventions reveal non-uniform, model-specific rotary-phase dependence, while coverage interventions relate it to coverage-upgrade benefits. We propose profiling-guided layer-wise RoPE allocation, assigning high/low coverage under a fixed budget using early coverage-benefit profiles. The framework supports fixed-width query/key representations and physical rotary-dimension allocation in Multi-head Latent Attention (MLA). Normalized-depth mapping transfers profiles within model families, enabling small-model measurements to guide larger-model allocations before pretraining. A brief analysis relates selection and transfer to score calibration and inter-layer interactions. From-scratch experiments demonstrate validation-loss improvements over available budget-matched baselines, while analytical resource accounting identifies favorable quality--storage--compute trade-offs for physical MLA. These results connect positional demand to transferable, efficient architecture design.
ER  -