Frontier LLM Notes 馃憢

Advanced LLM Notes (Model-Arch, Infra, Data, Pre/Mid/Post-Training), always updating.

Above All

Advanced LLM Notes (Model-Arch, Infra, Data, Pre/Mid/Post-Training), always updating.

2026-10-12 路 1 min 路 80 words 路 Xiyuan Yang

Model Architecture

Base Model Architecture

2026-11-02 路 1 min 路 3 words 路 Xiyuan Yang

Pre-Training

Pretraining data, dynamics and optimizers.

2026-11-02 路 1 min 路 5 words 路 Xiyuan Yang

Mid-Training

Mid-training: papers and tech reports. (Continual pretraining, data recipe, retention)

2026-10-12 路 1 min 路 10 words 路 Xiyuan Yang

Post Training

Frontier LLM post-training: data mixture & post-training algorithms.

2026-11-02 路 1 min 路 8 words 路 Xiyuan Yang

LLM Infra

LLM Codebase & Infra

2026-10-08 路 1 min 路 91 words 路 Xiyuan Yang

Agentic RL

From PPO, GRPO to frontier agentic reinforcement learning

2026-11-02 路 1 min 路 8 words 路 Xiyuan Yang

PreTraining Basics

Pre-training math basics (autoregressive token modeling, MLE / NLL training objectives, training gradients, KL divergence)

2026-11-02 路 2 min 路 347 words 路 Xiyuan Yang

PreTraining Data Selection

Pre-training data recipes & paper list (data sampling selection, data filtering / de-duplication, model-based data scoring)

2026-11-02 路 1 min 路 109 words 路 Xiyuan Yang

Advanced LLMs 4: Mixture of Experts

MoE: Routing, balancing and training.

2026-11-02 路 6 min 路 1233 words 路 Xiyuan Yang

Agentic RL 2: RL for LLMs

RL Methods for LLM PostTraining (vanilla-ppo, RLHF-PPO, DPO, RLVR, DeepSeek-Math-GRPO)

2026-11-02 路 11 min 路 2180 words 路 Xiyuan Yang

Advanced LLMs 3: FLOPs and Decoding

FLOPs Analysis, Speculative Decoding, Multi-Token Prediction.

2026-10-19 路 4 min 路 768 words 路 Xiyuan Yang

Agentic RL 3: From Tokens to Trajectories, Long-Horizon Reinforcement Learning

What is after GRPO? Advanced long-horizon agentic reinforcement learning. (DAPO, GSPO, SAO, FlashREINFORCE, more advanced training recipes.)

2026-10-19 路 8 min 路 1604 words 路 Xiyuan Yang

Advanced LLMs 2: Normalizations, FFNs & RoPE

Pre-Norm / Post-Norm; RMSNorm; Activation function(SwiGLU FFN), Rope rotation and length-extrapolation (PI / NTK-aware / YaRN).

2026-10-14 路 5 min 路 878 words 路 Xiyuan Yang

Distributed Parallel Systems for LLM Pre-Training

LLM Pretraining Parallelism (GPU Communication, DP/DDP, ZeRO, FSDP, TP, SP, CP, PP, EP, Mixed Precision)

2026-10-14 路 6 min 路 1094 words 路 Xiyuan Yang

MidTraining Overview

Mid-training paper list & tech reports. (Continual pretraining, retention, RL scaling)

2026-10-12 路 1 min 路 76 words 路 Xiyuan Yang

Agentic RL 1: From Policy Gradient to PPO

From RL Basis to Policy Gradient (reward-to-go, advantage estimations), REINFORCE, Actor-Critic, PPO (Importance Sampling and Clipping)

2026-10-12 路 6 min 路 1195 words 路 Xiyuan Yang

Slime 101

THUDM Slime infra: bridging Megatron and SGLang for RL-scaling LLM post-training.

2026-10-08 路 1 min 路 11 words 路 Xiyuan Yang

Slime101: Slime Core Training Pipeline

Core Slime training pipeline analysis. (Ray, Megatron, SGLang)

2026-10-08 路 4 min 路 711 words 路 Xiyuan Yang

Frontier Post Training Pipelines

Post-training analysis & summaries from frontier base model tech reports (continuously updated).

2026-10-08 路 3 min 路 516 words 路 Xiyuan Yang

Advanced LLMs 1: Attentions

Frontier LLM's Attention (MQA, GQA, MLA, Linear Attention Family, Flash Attention Family, Sparse Attention Family, Advanced Attentions)

2026-09-30 路 9 min 路 1733 words 路 Xiyuan Yang

Optimizers

Classical optimizers for LLM pretraining. (SGD, Adam, MUON)

2026-09-30 路 1 min 路 2 words 路 Xiyuan Yang