Repository navigation
Research Related Papers
Sudharsan Selvaraj edited this page Jul 20, 2026
·
1 revision
TokenPrint's architecture and visualizations are based on several foundational papers in the deep learning space.
-
Attention Is All You Need (Vaswani et al., 2017)
- The seminal paper introducing the Transformer, Multi-Head Attention, and the foundational encoder-decoder structure.
-
TokenPrint Relevance: The basis for the entire
TransformerStackscene.
-
Llama: Open and Efficient Foundation Language Models (Touvron et al., 2023)
- Details the structural shifts from GPT-2 to modern open weights (RMSNorm, SwiGLU, RoPE).
-
TokenPrint Relevance: Guided the
detectArch("llama")geometric rules.
-
RoPE (Rotary Position Embedding) (Su et al., 2021)
- Replaces additive position encodings with a rotation matrix applied to Q and K.
- TokenPrint Relevance: Visualized directly in the 3D scene as a helical twist applied before the attention blades.
-
GLU Variants Improve Transformer (Shazeer, 2020)
- Introduces SwiGLU and GeGLU, proving them superior to standard GELU MLPs.
- TokenPrint Relevance: Dictates the split "gate" and "up" prongs in TokenPrint's MLP funnel geometry.
-
GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints (Ainslie et al., 2023)
- Introduces Grouped Query Attention.
-
TokenPrint Relevance: TokenPrint clusters Q blades around shared KV blades when
num_kv_heads < num_heads.
-
A Mathematical Framework for Transformer Circuits (Elhage et al., Anthropic, 2021)
- Treats attention heads as independent read/write circuits.
-
TokenPrint Relevance: Inspired the "Residual Stream as a central spine" geometric approach, where attention blocks are branches adding
$\Delta$ , rather than sequential pipes.
| Previous | Home | Next |
|---|---|---|
| Research | Home | Existing Visualization Tools |
TokenPrint Wiki | Home | Getting Started | User Guide | Concepts | Architecture | API | GitHub
TokenPrint is an interactive 3D visualization platform for exploring transformer architectures, tensors, and real-time LLM inference.
- User Guide
- Architecture Explorer
- Live Inference
- Tensor Inspector
- Camera Controls
- HUD
- Timeline
- Scene Navigation
- Transformer Concepts
- Tokenization
- Embeddings
- Positional Encoding
- RoPE
- Multi-Head Attention
- KV Cache
- LayerNorm
- Feed Forward Network
- Residual Connections
- Logits
- Softmax
- Sampling
- Autoregressive Generation
- Visualization System
- Scene Graph
- Geometry
- Materials
- Animation System
- Color Mapping
- Camera System
- Interaction Model
- Architecture
- Overall Architecture
- Frontend
- Backend
- WebSocket Protocol
- Data Pipeline
- Renderer
- Event System