Explore the research collection
3 entries · Follow this search
- Paper
Enabling Frontier-Scale Training for the GLM-5.3 Family
Field report on the training infrastructure that made GLM-5.3 and GLM-5.3 Flash trainable with RL. Two camps of the 'expedition': (1) silent numerical mismatches — the Megatron trainer and vLLM sampler can drift into different policies without crashing (flat reward curve hours later). A 5-minute numerical regression test compares trainer/sampler logprobs token-by-token, deliberately perturbs only the trainer's adapter to confirm the stale sampler disagrees, then resyncs and confirms agreement — ~28x faster than a ~150-minute training cycle. It caught two real bugs (shared-expert scaling, cached prefill), fixed upstream in SkyRL. (2) slow handoffs — LoRA adapter sync took >6.5 minutes on full GLM-5.3 because the shared-expert adapter was duplicated per expert and written to disk. An in-memory path dedupes tensors and uses NCCL/CUDA IPC, cutting sync from ~390s to ~13s (~29.4x). Validation trek: trained both models on DAPO-math with a tight 8,192-token response limit; over 20 steps AIME 2024 accuracy rose 57%->81% (GLM-5.3) and 54%->83% (Flash), while Flash's share of capped responses fell 46%->6% and average length 5,217->2,424 tokens.
- Paper
How Likely Do LLMs with CoT Mimic Human Reasoning?
Causal analysis of instruction Z, CoT X, and answer Y yields four SCM types (chain / common-cause / full-connection / isolation). GPT-3.5-Turbo is type I on GSM8K/FOLIO but type II on Addition (CoT explains rather than reasons). Across Llama2-7B/70B, GPT-3.5, and GPT-4, type III is most common (10/24 LLM-tasks); larger models do not reliably approach type I. ICL (2–8 shot) strengthens CoT→answer and weakens instruction→answer; SFT and DPO on Mistral-7B weaken the structure. Addition consistency errors 64.8% GPT-3.5 / 74.4% GPT-4 (incorrect CoT, correct answer). COLING 2025. Code https://github.com/StevenZHB/CoT_Causal_Analysis.
- Paper
Diffusion Reward Models
Recasts reward modeling as conditional density estimation over p(r|x,y): a lightweight Diffusion Transformer conditioned on a frozen LLM encoder denoises Gaussian noise into a reward vector, making no parametric assumption on the output distribution. A single architecture handles multi-attribute regression and pairwise preference data; N samples at inference form an empirical reward distribution aggregated as scalar, variance, or quantiles.