Superscript (power or label)
Usually a power (x² = x·x), but a capital or a word up there is often just a label (W^Q).
In ML papers
A superscript is normally a power: , is multiplied by itself times, is the exponential. On a vector it is usually applied elementwise: squares each entry.
But a superscript is also used as a label: , , in the Transformer paper name three different matrices, and words like are tags. Special superscripts have their own pages: (Transpose), (Inverse), (Star (optimal)), (Superscript in parentheses).
How to type it
| LaTeX | Shows |
|---|---|
x^2 | |
x^{10} braces for more than one character |
A worked example
The second is elementwise, as in Adam's .
Equations that use it
- Adam update
- RMSNorm
- GELU
- Batch normalization
- Rotary position embedding (RoPE)
- Multi-head attention
- PPO clipped objective
- DDPM simplified loss