GPT-S2-5M is the latest entry in our GPT-S small-model family, now based on the T-X4 architecture with the all new XSA refresh gate.
trained from scratch.
The model takes the #1 spot on the Open SLM Leaderboard, dethroning SLM-10M while being almost 1/2 the parameters.
It combines RoPE + RMSNorm + SwiGLU + exclusive grouped-query attention, and the
refresh gate re-injects the original token embedding back into the residual stream
conditioned on the (detached) attention output to conunteract diluted token identities common in deep XSA models.
The keystone of the T-X4 architecture is the injection layers, after the attention residual add, the block applies:
text
1a = RMSNorm(attn_out.detach()) # read attention as a signal
2e = RMSNorm(e0) # original token embedding
3gate = gate_proj(a) + causal_depthwise_conv(a) # kernel-9, depthwise
4value = value_proj(e)
5z = RMSNorm(out_proj(SiLU(gate) * value))
6x = x + alpha * z # alpha is a learned scalar
e0 is the token embedding from the input layer, re-injected at every gate.
The depthwise conv is strictly causal, so the gate is compatible with KV-cache
generation (the conv state is carried alongside the attention cache).
Benchmarks
Zero-shot, evaluated in bf16 with an internal harness modeled on
EleutherAI/lm-eval-harness; normalized accuracy where available.
Hellaswag
ARC-Easy
ARC-Challenge
PIQA
Arithmark-2
27.87%
33.92%
22.87%
57.56%
28.04%
Comparison
GPT-S2-5M against other small base models on the same evaluation suite. Achieving the highest avg score in the sub 10M category on the Open SLM Leaderboard