Andrew Rober Fouad Samy
Dubai, United Arab Emirates · Open to Global & UAE Frontier AI Roles

Andrew Rober Fouad Samy

ML & High-Performance Systems Researcher · CTO @ BytesGlue
I design mathematically grounded machine learning algorithms and bare-metal GPU / SIMD systems—spanning from-scratch LLM pretraining & tokenization, mechanistic interpretability, RLVR / GRPO post-training, random matrix theory, and production SaaS & API/EDI platforms.
Hire / Collaborate: Available for Senior Research Engineer / Member of Technical Staff roles (Pretraining, Tokenization, Post-Training RLVR, Inference & Systems) and mission-critical engineering consulting — andrew.rober@bytesglue.com · +971-50-531-9937

Featured Empirical Result: 30.4M → 149.6M Zero-Shot Superword Scale-Up

Research Monographs (Google Scholar Indexed Full-Text PDFs & Code)

Mixed-Precision GPU Systems · Diffusion & Flow Matching · CUDA PTX

Breaking the 7-Bit BF16 Mantissa Ceiling: O(ε2/3) Residual-Rescaled Spectral Volterra–Newton Refinement and High-Noise Desingularization for Continuous-Time Generative Flows

Recovers strict 24-bit IEEE-FP32 trajectory accuracy on unmodified 7-bit BF16 Tensor Cores (NVIDIA GB10 Grace Blackwell & RTX 5060) via antipodal residual rescaling (9.37e-8 L2 error & 44.2x speedup vs. CUDAGraph FP32 RK4 on 46.9M SwiGLU DiTs) and z=sqrt(tau) diffusion desingularization (+23.7 dB to 69.69 dB on ddpm-cifar10-32; +24.5 dB to 50.10 dB on 113.7M 256x256 ddpm-celebahq-256, beating FP32 DPM-Solver-2-100).

LLM Pretraining · Tokenization · Mechanistic Interpretability

What Earns a Phrase Its Own Token? Mechanistic Multi-Word Vocabulary Allocation, Compositional-Residual Folding, and Test-Time Compute Gearshifting

Controlled 34-model empirical and mechanistic Transformer pretraining study (30.4M parameters across 11 tokenizers and 3 paired seeds on 300M unique FineWeb-Edu tokens, scaling zero-shot 5x to 149.6M parameters) holding total vocabulary size (V=16,384), shared base subwords (14,336), deterministic segmentation, and bias-corrected evaluati...

LLM RLVR / GRPO · Block Quantization · Non-Asymptotic Statistics

Beyond Bessel's Correction: Power-Scale Concavity-Convexity Duality, Kurtosis-Optimal Shrinkage (KPS), and Empirical-Bayes GRPO

Proves symbolically and empirically (on NVIDIA GB10 Grace Blackwell across Qwen2.5-1.5B-Instruct, BGE-Large, and multi-task GRPO RLVR) that Bessel's n-1 divisor is strictly biased for every nonlinear power sigma^p (p != 2) and inadmissible in MSE on heavy-tailed neural activations. Derives the exact Kurtosis-Optimal Minimum-MSE Variance D...

Random Matrix Theory · MDL · High-D Transformer Embeddings

Overcoming High-Dimensional Collapse and Voronoi Overfitting in K-Means: Spectral Intrinsic-Dimension Minimum Description Length (SID-KMeans)

Introduces Spectral Intrinsic-Dimension Minimum Description Length (SID-KMeans), a zero-hyperparameter automatic cluster-count (K*) selection method combining exact marginal LogSumExp mixture likelihood (eliminating hard Voronoi truncation bias), Gavish-Donoho Marchenko-Pastur random-matrix bulk denoising, and Satterthwaite-Welch effectiv...

Stochastic Optimization · Mixture-of-Experts · PyTorch CUDA & SIMD

Generalized Higher-Dimensional EWMA Bias Correction: Non-Stationary Drift Elimination, the Blessing of Dimensionality, and Adaptive Deep Learning Optimization

Lifts Exponentially Weighted Moving Average (EWMA) bias correction from scalar stationarity to arbitrary higher-dimensional contraction operators B in R^(d x d). Proves affine-invariant cumulative-mean duality, O(1)-time exact non-stationary drift elimination (ExactTC-EWMA), Hanson-Wright O(1/d) oracle shrinkage convergence (+0.02% excess...

AI Safety & Production Systems Engineering

Model Context Protocol (MCP) · AI Agent Sandboxing

CodexCli-GuardRails

Deterministic action-risk classification, workspace containment, secret redaction, and tamper-evident payload approval gates for autonomous coding agents.

Multi-Product SaaS & Senior Systems Delivery

BytesGlue Product Ecosystem

Creator & lead architect of CreekPOS (UAE VAT POS), PosMasr, Kluvan (connected AI ERP/CRM/HR workspace), UnitVO, StayReplied, LeaseExact, JobRov, and LicenseSeal.