Comparison

Comparison of Learned vs. Heuristic-Based Relative Positional Biases

Relative positional biases, which are added to the query-key product, can be implemented in two primary ways: they can be learned as parameters during training on a specific dataset, or they can be assigned fixed values based on pre-defined heuristics. The main trade-off is between the data-driven adaptability of learned biases and the training-free, direct applicability of heuristic-based biases.

0

1

Updated 2026-04-24

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences