Positional Encoding¶
Definition
AI-generated
Positional encoding injects information about token order into transformer inputs because self-attention itself is permutation-invariant over positions.
Synonyms
Why it matters in GWAS¶
Sequence models over DNA, RNA, or protein must represent genomic distance and strand context; the choice of absolute versus relative encoding affects extrapolation to longer contexts and alignment with biological spacing. Comparing architectures across papers requires noting whether positions are learned, rotary, or ALiBi-style.
Example usage¶
"We replaced learned absolute positional embeddings with rotary positional encoding so the regulatory model could score variable-length windows without retraining the position table."
Related terms¶
References¶
- Vaswani A, et al. (2017). Attention is all you need. NeurIPS.
Last updated (UTC · Git history)