How Word Vectors Can Encode Relationships

A brief introduction to embeddings and the geometric analogies they can exhibit.

チャンネル
3Blue1Brown
公開日
2024年4月11日
動画
1:00
読了時間
1 分
原文
英語
YouTube で開く
スクロールすると動画は右下に小さくなって再生を続けます。字幕は閲覧言語に合わせて切り替わります。
閲覧言語2 言語で読めます
この記事はまだ日本語に翻訳されていないため、英語の原文を表示しています。
要約

30 秒でわかる

3Blue1Brown explains how text tokens are associated with vectors and illustrates relationships through vector arithmetic, while such analogies depend on the particular embedding.

  1. 1EmbeddingA token is associated with a vector in a high-dimensional space.
  2. 2Vector relationshipsSome word relationships appear as differences between vectors.
  3. 3An illustration, not a ruleThe arithmetic depends on the embedding and does not always work.

ポイント

  1. Tokens can be represented by high-dimensional vectors.
  2. Learned vector geometry can reflect relationships between words.
  3. Analogy arithmetic is illustrative and does not universally hold.
全文

チャプターごとに整えた全文を読む

文字起こしのみ
01

Tokens and vectors

A short 3Blue1Brown explanation asks how word vectors can reflect relationships between concepts. It is an excerpt from a longer video about language models.

A short 3Blue1Brown explanation asks how word vectors can reflect relationships between concepts. It is an excerpt from a longer video about language models.

A language model divides text into pieces called tokens and associates them with vectors: long lists of numbers. An embedding can be imagined as a direction or position in a high-dimensional space.

02

Relationships in space

Some learned embeddings encode relationships in their geometry. The example in the video says that a difference between gender-related word vectors can move the vector for “uncle” near that for “aunt.”

Some learned embeddings encode relationships in their geometry. The example in the video says that a difference between gender-related word vectors can move the vector for “uncle” near that for “aunt.”

03

Limits of analogy

The narrator gives another historical analogy involving Italy, Germany, Hitler and Mussolini. Such arithmetic illustrates a pattern in a particular embedding space; it is not a reliable rule for every model or pair of words.

The narrator gives another historical analogy involving Italy, Germany, Hitler and Mussolini. Such arithmetic illustrates a pattern in a particular embedding space; it is not a reliable rule for every model or pair of words.

同じチャンネルの記事

スライド 20 枚40:44EN
3Blue1Brown· 2026年10月16日Grant Sanderson: There's never been a better time to go into mathGrant Sanderson, Constantin Kogler · 3Blue1BrownStudents fear AI has solved mathematics. Grant Sanderson argues the opposite: even if machines prove theorems better than we do, the institution of math stays valuable—and this is a rare moment when newcomers can reshape it.MathematicsAI for scienceHuman-AI Collaboration+2
スライド 29 枚51:55EN
3Blue1Brown· 2026年9月18日The last IMO problem AI could not solveGrant Sanderson · 3Blue1BrownGrant Sanderson walks through IMO 2025 Problem 6 — a tiling puzzle that frontier models missed — and the visual patience it takes to prove a construction is optimal.MathematicsAI researchReasoning & test-time compute+2
0:55EN
3Blue1Brown· 2026年7月24日The 64 Sugar Cubes Puzzle: Six Equal DistancesA 4×4×4 block has three colors; prove that six same-colored pairs share a distance.MathematicsEducation
33:51EN
3Blue1Brown· 2026年7月16日What Cross-Entropy Connects: Compression, Language Models and KL DivergenceGrant Sanderson · 3Blue1BrownGrant Sanderson builds cross-entropy from code lengths and uses it to explain next-token training and distillation.MathematicsMachine LearningFoundation Models+1
スライド2:25EN
3Blue1Brown· 2026年6月12日How Shannon Measured the Entropy of EnglishA guessing game helped Claude Shannon estimate how much information English text contains, and why prediction is central to compression.MathematicsAI History
スライド1:02EN
3Blue1Brown· 2026年6月10日A Robot Walk and the Puzzle of Optimal Binary EncodingHow few bits does it take to send directions that occur with unequal frequencies?MathematicsScience Communication