hiyenwong/ai_collection/analyzing-transformer-dynamics-as-movement-through-embedding-space
Claude Code and agent skill by hiyenwong/ai_collection
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install hiyenwong/ai_collection/analyzing-transformer-dynamics-as-movement-through-embedding-spaceSKILL.md
The same SKILL.md was published earlier as hiyenwong/ai_collection/analyzing-transformer-dynamics-as-movement-through-embedding-space.
Analyzing Transformer Dynamics as Movement through Embedding Space
arXiv ID: 2308.10874 Authors: Sumeet S. Singh Published: 2023-08-21T17:21:23Z Abstract: Transformer based language models exhibit intelligent behaviors such as understanding natural language, recognizing patterns, acquiring knowledge, reasoning, planning, reflecting and using tools. This paper explores how their underlying mechanics give rise to intelligent behaviors. Towards that end, we propose framing Transformer dynamics as movement through embedding space. Examining Transformers through this perspective reveals key insights, establishing a Theory of Transformers: 1) Intelligent behaviours map to paths in Embedding Space which, the Transformer random-walks through during inferencing. 2) LM training learns a probability distribution over all possible paths. Intelligence' is learnt by assigning higher probabilities to paths representing intelligent behaviors. No learning can take place in-context; context only narrows the subset of paths sampled during decoding. 5) The Transformer is a self-mapping composition function, folding a context sequence into a context-vector such that it's proximity to a token-vector reflects its co-occurrence and conditioned probability. Thus, the physical arrangement of vectors in Embedding Space determines path probabilities. 6) Context vectors are composed by aggregating features of the sequence's tokens via a process we call the encoding walk. Attention contributes a - potentially redundant - association-bias to this process. 7) This process is comprised of two principal operation types: filtering (data independent) and aggregation (data dependent). This generalization unifies Transformers with other sequence models. Building upon this foundation, we formalize a popular semantic interpretation of embeddings into a `concept-space theory'' and find some evidence of it's validity.
Skill Description
This skill is generated from the arXiv paper: Analyzing Transformer Dynamics as Movement through Embedding Space (2308.10874).
How to Use
[To be filled in by the user or by future automation]
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcollection/skills/neuroscience/analyzing-transformer-dynamics-as-movement-through-embedding-space/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hiyenwong/ai_collection/analyzing-transformer-dynamics-as-movement-through-embedding-space)