A vector program is a highly nonlinear learned mapping that transforms points within a latent embedding space. Transformer models can store millions of such programs, far beyond simple linear relationships learned by word2vec. section 15.5
From vector arithmetic to generated style
Word2vec supports mappings such as plural(cat) → cats and male_to_female(king) → queen. A large Transformer can instead apply a complex program such as write_this_in_style_of_Shakespeare("…your poem…") → "…new poem…". section 15.5
The model behaves like a continuous, interpolative database: tokens retrieve locations in a semantic vector space, while movement and interpolation can produce related or intermediate results. This supports generalization but can also produce inaccurate or meaningless outputs, including hallucinations. section 15.5
