Skip to main content
QUICK REVIEW

[논문 리뷰] Where to Attend: A Principled Vision-Centric Position Encoding with Parabolas

Christoffer Koo Øhrstrøm, Rafael I. Cabral Muchacho|arXiv (Cornell University)|2026. 02. 01.
Advanced Image and Video Retrieval TechniquesComputer Science인용 수 0
한 줄 요약

논문은 Parabolic Position Encoding (PaPE)와 PaPE-RI를 도입하여 비전 트랜스포머를 위한 포물선 기반 주의 편향을 제시하고 8개 데이터셋의 4개 모달리티에서 강력한 성능과 ImageNet-1K에서의 탁월한 일반화를 보여준다.

ABSTRACT

We propose Parabolic Position Encoding (PaPE), a parabola-based position encoding for vision modalities in attention-based architectures. Given a set of vision tokens-such as images, point clouds, videos, or event camera streams-our objective is to encode their positions while accounting for the characteristics of vision modalities. Prior works have largely extended position encodings from 1D-sequences in language to nD-structures in vision, but only with partial account of vision characteristics. We address this gap by designing PaPE from principles distilled from prior work: translation invariance, rotation invariance (PaPE-RI), distance decay, directionality, and context awareness. We evaluate PaPE on 8 datasets that span 4 modalities. We find that either PaPE or PaPE-RI achieves the top performance on 7 out of 8 datasets. Extrapolation experiments on ImageNet-1K show that PaPE extrapolates remarkably well, improving in absolute terms by up to 10.5% over the next-best position encoding. Code is available at https://github.com/DTU-PAS/parabolic-position-encoding.

연구 동기 및 목표

  • 이전 연구의 원칙에 guided된 비전 특화 위치 인코딩 개발(이동 불변성, 회전 불변성, 거리 감소, 방향성, 맥락 인식).
  • PaPE를 설계하여 토큰 상대 위치를 포물선의 합으로 인코딩하고, 효율적인 어텐션과 호환 가능한 질의/키 변환을 가능하게 함.
  • PaPE와 PaPE-RI를 이미지, 포인트 클라우드, 비디오, 이벤트 카메라 등 여러 비전 모달리티와 대규모 데이터셋에서 평가.
  • PaPE의 일반성 및 학습 해상도 너머의 강한 extrapolation 능력을 보여줌.

제안 방법

  • 학습 가능한 프로젝션 W_p를 사용하여 상대 위치 Delta r_ij를 정의한다.
  • Q와 K 변환과 함께 PaPE 방정식을 보존하면서 위치를 임베드하는 변환을 통해 토큰 표현으로부터 포물선 계수 a_i와 b_i를 계산하며, concavity를 위해 a_i는 음수로 제약.
  • S_ij를 포물선 항의 합과 시맨틱 항으로 구성: S_ij = sum_l (a_i,ℓ * Δr_ij,ℓ^2) + (b_i,ℓ * Δr_ij,ℓ) + (q_i · k_j)/m.
  • b_i = 0으로 설정하고 W_p 및 a_i를 제약하여 PaPE-RI를 회전 불변 변형으로 제공.
  • PaPE 방정식(식 9)을 보존하면서 쿼리/키 변환을 통해 효율적 어텐션 커널과의 호환성을 보장하고 위치를 쿼리/키에 임베드하는 f_q 및 f_k 변환을 도입.
  • 8개 데이터셋에 걸친 4가지 비전 모달리티(이미지, 포인트 클라우드, 시공-시간 데이터, 다중 모달) 전반에 걸친 광범위한 평가를 수행하고, 차등 실험(ablation), extrapolation 테스트, 효율성 분석을 수행.
Figure 2 : Overview of Parabolic Position Encoding (PaPE). PaPE decomposes attention (a) into distance (b), direction (c), and semantics (d). Using the dog’s eye as the query, PaPE learns to look in a bottom-right direction, while decaying attention with distance. The attention (a) is compatible wit
Figure 2 : Overview of Parabolic Position Encoding (PaPE). PaPE decomposes attention (a) into distance (b), direction (c), and semantics (d). Using the dog’s eye as the query, PaPE learns to look in a bottom-right direction, while decaying attention with distance. The attention (a) is compatible wit

실험 결과

연구 질문

  • RQ1이전 연구의 원칙에 기반한 위치 인코딩을 어떻게 설계하면 비전 모달리티에 대해 이동 불변성, 회전 불변성(적용 가능한 경우), 거리 감소, 방향성, 맥락 인식을 효과적으로 포착할 수 있을까?
  • RQ2포물선 기반 인코딩(PaPE)이 기존 인코딩에 비해 다양한 비전 작업 및 모달리티에서 일반화 및 외삽(extrapolation)을 우수하게 제공하는가?
  • RQ3PaPE가 성능을 해치지 않으면서 효율적 어텐션 커널과 호환 가능하게 구현될 수 있는가?
  • RQ4 PaPE와 PaPE-RI가 대규모 데이터셋 및 다중 모달 설정에 미치는 영향은 무엇인가?

주요 결과

  • PaPE 또는 PaPE-RI가 4가지 비전 모달리티에 걸쳐 평가 데이터셋 8개 중 7개에서 최상위 성능을 달성한다.
  • PaPE가 8개 데이터셋에서 평균 점수 66.3으로 최상위를 기록하며, RoPE보다 평균 1포인트 앞선다.
  • PaPE는 강력한 외삽을 보이며 해상도 최대 512^2까지 ImageNet-1K 정확도를 최대 1% 향상시키고 더 높은 해상도에서도 로버스트함을 유지한다.
  • 차등 실험은 모든 구성요소(거리 감소, 방향성, 맥락 인식, W_p)가 정확도에 기여하며, 어느 하나를 제거해도 성능이 저하됨을 보여준다.
  • PaPE는 질의/키 변환을 통해 효율적인 주의 커널과의 호환성을 유지하며 매개변수 및 런타임에서의 오버헤드는 미미하다.
  • nuScenes(다중 모달)에서 PaPE-PREMIER 변형이 최상위 또는 거의 최상위 성능을 달성하여 다중 모달 설정에서의 회전 불변성 이점을 강조한다.
Figure 3 : Model analysis on ImageNet-1K. Red ( $z>0$ ) highlights heads that lean heavily on positional information, while blue ( $z<0$ ) marks heads that prioritize semantic content in deciding what to attend to. Positions are used most strongly in early layers.
Figure 3 : Model analysis on ImageNet-1K. Red ( $z>0$ ) highlights heads that lean heavily on positional information, while blue ( $z<0$ ) marks heads that prioritize semantic content in deciding what to attend to. Positions are used most strongly in early layers.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.