Andrew Rober Fouad Samy
BytesGlue · United Arab Emirates

Andrew Rober Fouad Samy

Machine Learning & High-Performance Systems Researcher
Designing mathematically grounded LLM pretraining & tokenization architectures, mechanistic interpretability probes, non-asymptotic high-dimensional statistical estimators (RMT, MDL, Kurtosis Shrinkage), and bare-metal PyTorch/CUDA & .NET SIMD engines.

Interactive Findings Explorer: What Earns a Phrase Its Own Token?

Unsupervised Idiom Discovery via Foldable Residuals (||ΔP||2)

Opaque English idioms require strong residuals ΔP (orange), while compositional names/compounds stay near constituent average (green):
"over the course"
1.438
"Control and Prevention"
1.383
"is a type"
1.326
"not be able"
1.326
"in the midst"
1.324
"Disease Control and"
1.313
"he or"
1.307
"his or"
1.253

"North Carolina"
0.388
"carbon dioxide"
0.405
"New Jersey"
0.409
"Supreme Court"
0.411
"New York"
0.434
"United Nations"
0.442
"could be"
0.444
"has been"
0.449

Single-Checkpoint Test-Time Compute Gearshifting (149.6M LLM)

Click a tokenization gear on the exact same frozen 150M_BT3_FullSynthesis weights (zero Chain-of-Thought tokens):

22.24%
Exact Discourse Next-Word Accuracy · 32,880 prompt tokens executed (+5.8% faster inference vs. Byte-BPE)
Zero-Shot 30M → 150M Highlights:
• 86.81% Fertility-Matched BLiMP (#1 across all 34 models; 3-seed 30M p = 0.0137)
• 39.20% Zero-Shot ARC-Easy (#1) & -51.2% Layer-2 token-stitching attention
• 0.0 float folding error into standard vLLM / llama.cpp [16384, d] table

Published Research Monographs & Open-Source Libraries

LLM Pretraining · Tokenization · Mechanistic Interpretability

MechanisticPhraseTokenization

34-model controlled study curing Superword Vote-Splitting (Prefix-Cone decoding), Swiss-Cheese embeddings (Foldable Residuals), and relational query bottlenecks (Dbind).

HF Weights → GitHub →
Empirical Bayes · RLHF/GRPO · PyTorch CUDA + .NET 8

KurtosisScaleCorrection

Beyond Bessel's Correction: Power-scale concavity–convexity Jensen duality, Kurtosis-Optimal Scale Shrinkage (KPS), and Empirical-Bayes GRPO LLM advantage normalization.

GitHub v1.0.0 →
Random Matrix Theory · MDL · Embeddings

IntrinsicDimKMeans (SID-KMeans)

Zero-hyperparameter cluster count (K*) selection via Marchenko–Pastur spectral bulk edge & MDL—overcoming high-D Transformer embedding collapse.

GitHub v1.0.0 →
Stochastic Optimization · AdaTCAdamW · SIMD

HigherDimensionalEWMABiasCorrection

Non-stationary drift elimination in high-D exponential moving averages, O(1/d) variance bounds, PyTorch AdaTCAdamW optimizer, and C#/.NET SIMD engine.

GitHub v1.0.0 →