Fusing Vision, Language, and Joint State: Projection Heads, Type/Presence Embeddings, and Directed Cross-Attention

Part two of the transformer study notes: projection heads into a shared embedding space, type and presence embeddings, attention masking for missing modalities, directed (not always bidirectional) cross-modal attention, encoder depth trade-offs, and text-token vs. classification output heads — grounded in ACT, OpenVLA, and π0-style vision-language-action policies.

In this article

  • The problem: modalities don't arrive the same shape
  • Projection heads
  • Shared embedding space
  • Type embeddings
  • Presence embeddings & masking
  • Where fusion happens: early, late, or native
  • Cross-modal attention as a directed graph
  • What attention heads end up specializing in
  • Stacking encoder layers
  • From CLS output to an actual output: text tokens or classification, not more
  • Mistakes I made learning this
  • Glossary