Guide-linked quiz · Medium Level
ALiBi Position Bias Quiz
Check how ALiBi adds distance-based attention biases and supports longer inference sequences without learned absolute-position tables.
Question 1 of 8
What does ALiBi stand for?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What does ALiBi stand for?
- Attention with Linear Biases
- Adaptive Linear Bias
- Aligned Bidirectional Encoding
- Absolute Linear Indexing
- How does ALiBi penalize distant tokens?
- By zeroing out embeddings beyond a fixed window
- By adding a penalty proportional to the distance between query and key positions
- By learning a separate embedding for every position
- By rotating the query and key vectors
- What is ALiBi's most celebrated practical advantage?
- It eliminates the need for a softmax
- It makes attention run in constant memory
- It extrapolates well to sequences longer than those seen in training
- It removes the need for multiple attention heads
- What is different about the linear bias across attention heads?
- Each head shares the exact same slope
- The slopes are learned during training
- Only the first head receives a bias
- Each head gets its own fixed slope, forming a geometric sequence
- Compared to traditional positional embeddings, ALiBi adds how many learned parameters?
- None — the bias slopes are fixed, not learned
- One per position
- One per token
- Two per attention head
- Which well-known large model used ALiBi for position information?
- GPT-2
- BLOOM
- BERT
- Word2Vec
- At what stage does ALiBi apply its distance-based bias?
- To token IDs before they enter the embedding table
- To the final vocabulary probabilities after decoding
- To query-key attention scores before the softmax
- To the training labels after loss calculation
- Why can ALiBi support inference on sequences longer than those used in training?
- It removes the need for attention at longer lengths
- It automatically retrains the model while generating
- It stores a complete answer for every possible sequence length
- Its distance-based bias does not require a separately learned embedding for every absolute position
Keep testing yourself
More quizzes picked for your level.