위치가 중요한 곳: 트랜스포머에서 프로파일링 기반 레이어별 RoPE 할당
Where Position Matters: Profiling-Guided Layer-Wise RoPE Allocation in Transformers
한국어 초록
회전 위치 임베딩(RoPE)은 트랜스포머 레이어마다 위치 정보에 대한 요구가 이질적임에도 일반적으로 모든 레이어에 균일한 커버리지를 사용한다. 위상 제거 개입은 비균일하고 모델마다 다른 회전 위상 의존성을 드러내며, 커버리지 개입은 이를 커버리지 상향의 이점과 연관시킨다. 본 논문은 초기 커버리지-이점 프로파일을 이용해 고정된 예산 하에서 높은/낮은 커버리지를 할당하는 프로파일링 기반 레이어별 RoPE 할당을 제안한다. 이 프레임워크는 고정 폭의 쿼리/키 표현과 다중 헤드 잠재 어텐션(MLA)에서의 물리적 회전 차원 할당을 지원한다. 정규화된 깊이 매핑은 모델 계열 내에서 프로파일을 전이하여, 사전 학습 이전에 소형 모델의 측정으로 대형 모델의 할당을 안내할 수 있게 한다. 간략한 분석은 선택과 전이를 점수 보정 및 레이어 간 상호작용과 연결한다. 처음부터 학습하는 실험에서 사용 가능한 예산 일치 기준선 대비 검증 손실이 개선됨을 보였으며, 분석적 자원 계산은 물리적 MLA에서 품질--저장 공간--연산 사이의 유리한 절충을 확인한다. 이러한 결과는 위치 요구를 전이 가능하고 효율적인 아키텍처 설계와 연결한다.
원문 초록
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.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
28 pages