Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M8299

Transformer Model

Transformer Model
TechnicalHigh supportNeuroscience
Included
account_tree

Updated 2026-08-11

Loading revision record…

INTRODUCTION

English translation pending.

CORE DEFINITION

The transformer was introduced by Vaswani and colleagues in the paper Attention Is All You Need. Its core proposition is that self-attention alone, without recurrence, can capture relationships between any two positions in a sequence, which allows computation to be parallelized and long-range dependencies to be modeled directly. The key qualification is cost: attention scales quadratically with sequence length, so the architecture requires substantial data and compute, and larger models do not automatically suit every task.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

- Use task framing: cast the problem as sequence-to-sequence or representation learning. - Use pretrained features: start from a model such as BERT or GPT rather than training from scratch. - Use attention reading: inspect attention weights for clues, while treating them as correlation not cause.

anchor

Anchor fast decisions

Recurrent networks pass information step by step, so the signal from a distant word must survive many intermediate steps and computation cannot be parallelized. Self-attention computes a weighted relationship between every pair of positions directly, which shortens the path between distant elements and lets the whole sequence be processed at once. Stacking multiple attention heads with a feed-forward network and positional encoding lets each token combine information from several representation subspaces. The result is that training scales with the hardware, which is why the architecture enabled the large pretrained models.

MINIMUM ACTION

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Transformer_(deep_learningZH · Explicit
    verified

RELATED MODELS