Two Stones Hit One Bird: Bilevel Positional Encoding for Better Length Extrapolation
원문 초록
In this work, we leverage the intrinsic segmentation of language sequences and design a new positional encoding method called Bilevel Positional Encoding (BiPE). For each position, our BiPE blends an intra-segment encoding and an inter-segment encoding. The intra-segment encoding identifies the locations within a segment and helps the model capture the semantic information therein via absolute positional encoding. The inter-segment encoding specifies the segment index, models the relationships between segments, and aims to improve extrapolation capabilities via relative positional encoding. Theoretical analysis shows this disentanglement of positional information makes learning more effective. The empirical results also show that our BiPE has superior length extrapolation capabilities across a wide range of tasks in diverse text modalities.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework
SeqPE: Transformer with Sequential Position Encoding
Adversarial Disentanglement by Backpropagation with Physics-Informed Variational Autoencoder
We Should Identify and Mitigate Third-Party Safety Risks in MCP-Powered Agent Systems
Dual-View Disentangled Multi-Intent Learning for Enhanced Collaborative Filtering
JoFormer (Journey-based Transformer): Theory and Empirical Analysis on the Tiny Shakespeare Dataset
토론
이 논문과 연결된 포럼 글이 아직 없습니다.