HRoPE: Homography Relative Positional Encoding
Huachen Gao, Yang Yang, Xiaoqian Liang, Xingyu Chen, Youjia Zhang, Qi Zhang, Baorui Ma, Anpei Chen, Wei Yang
Abstract
Geometric Relative Positional Encoding has become the primary mechanism for injecting spatial inductive biases into multi-view transformers. Existing designs condition attention on camera-level frustums or ray-marched depth, associating cross-view tokens through the sensor geometry. Such sensor-centric formulations, however, describe only where a token is observed from, leaving the rich surface geometry of the scene region depicted by the token. In this paper, we advocate a shift toward surface-aware positional encoding that explicitly grounds patch tokens in the geometry of physical surfaces. We introduce HRoPE, which represents the local geometry of each patch as a slanted 3D plane, following the slanted support-window assumption of classical multi-view stereo. We inject token-level, plane-induced homographies into attention as relative transformations. This equips the transformer with a geometric prior for rectifying perspective distortions and aligning patch features across viewpoints. Our encoding requires no ground-truth geometry: the plane parameters can be predicted end-to-end under a view-synthesis objective alone, or derived from foundation models. Extensive experiments on RealEstate10K, CO3Dv2, and DL3DV show that our best variant of HRoPE consistently outperforms the evaluated geometric positional encodings for novel view synthesis. Extensive ablations and analysis show the effectiveness of the proposed encoding. Please refer to our project page at: https://gaohchen.github.io/HRoPE
Create a lesson
Metadata
- Comments
- 26 pages, 10 figures
Related papers
What Makes a Gavagai? Learning Visual Concepts from One Positive and Few Negatives
Shared title terminologycs.CVKatsuya Ogata, Kazuya Nishimura, Yuta Nakashima
When Position Favors the Wrong Part: Evaluating Left-Right Discrimination in Semantic Correspondence
Shared title terminologycs.CVPingan Wang
FoMNet: Adaptive Kernels Meet Contextual Matching for Cross-Modal Homography Estimation
Shared title terminologycs.CVZhuoran Yang, Zhenyu Yi, Runmin Zhang et al.
Rethinking Unsupervised Cross-Modal Homography Estimation:Spatially Aware Representations and Geometric Consistency Learning
Shared title terminologycs.CVZhuoran Yang, Junchen Yu, Runmin Zhang et al.
RelPRM: Grounding Visual Process Reward Models in Relational Evidence
Shared title terminologycs.CVZhaoxing Zhang, Ziqiu Gui, Cheng Chen
Concept Generalization in Visual Brain Decoding via Encoder-Generated fMRI
Shared title terminologycs.CVPeter Yongho Kim, Juhyeon Park, Dongsheng Li et al.