Feeds:
Posts
Comments

A field map of LLM milestones · current as of June 2026

The people behind the models — and where they went

The breakthroughs that built large language models trace back to a small set of papers — the Transformer, BERT, the GPT line, scaling laws, RLHF, chain-of-thought, the open-weight wave, and the Chinese labs now reshaping the cost curve. Almost none of these people are still where they did the work. Each card shows what someone is best known for and the migration that scattered them, color-coded by where they are today.

Where they are nowAnthropicOpenAIGoogle (Brain · DeepMind · Research)MetaFounded / leads a startup or independent labAcademia, nonprofits & governmentChinese AI labs

Foundations/ 1986–2017

The Godfathers

Three researchers kept neural networks alive through the decades the field had written them off, and shared the 2018 Turing Award for it. Today they sit on different sides of the safety debate they helped start.

GHGeoffrey Hinton

Geoffrey Hinton

Academia
Emeritus professor, University of Toronto; a leading voice on AI risk
Turing Award 2018 · Nobel Prize in Physics 2024
  • Popularized backpropagation; Boltzmann machines and deep belief nets
  • Co-created AlexNet (2012) and dropout — the spark of the deep-learning boom
  • Mentored a generation, including Ilya Sutskever

Then → now

U. Toronto→Google Brain (2013)→Left Google to warn on AI risk (2023)→U. Toronto emeritus
YBYoshua Bengio

Yoshua Bengio

Academia
Professor, Université de Montréal / Mila; founder & scientific director, LawZero
Turing Award 2018 · most-cited living scientist
  • Neural probabilistic language model (2003) — first neural LM with word embeddings
  • Bahdanau attention (2014), the direct precursor the Transformer built on
  • Co-authored the standard Deep Learning textbook

Then → now

Mila / U. Montréal→Pivot to AI safety (2023)→Launched LawZero (2025)
YLYann LeCun

Yann LeCun

Own venture
Founder & executive chairman, AMI Labs; professor, NYU
Turing Award 2018 · vocal LLM skeptic
  • Convolutional neural networks / LeNet (Bell Labs, 1980s–90s)
  • Founded Meta’s FAIR lab; helped seed PyTorch and early LLaMA
  • Champions ‘world models’ over text-prediction as the path to real intelligence

Then → now

Bell Labs→NYU + Meta FAIR chief AI scientist (2013)→Left Meta (2025)→AMI Labs — $1B+ seed

Attention Is All You Need/ 2017

The Transformer Eight

Eight Google researchers replaced recurrence with pure attention in an eight-page paper. Every one has since left Google; their destinations trace nearly the entire industry.

AVAshish Vaswani

Ashish Vaswani

Own venture
Co-founder & CEO, Essential AI (reportedly acqui-hired by Nvidia, 2026)
Attention Is All You Need — first author
  • Led the Transformer paper underlying essentially every modern LLM
  • Early work applying self-attention to images, music and DNA
  • Argues for architectural innovation beyond pure scaling

Then → now

Google Brain→Adept AI (2021)→Essential AI (CEO)
NSNoam Shazeer

Noam Shazeer

OpenAI
Joining OpenAI (2026); was Google VP of Engineering & Gemini co-lead
Attention Is All You Need + much of the MoE canon
  • Sparsely-gated Mixture-of-Experts (2017) and Switch Transformer
  • Adafactor, multi-query attention, T5, SwiGLU/GLU variants
  • Built Meena/LaMDA, then co-founded Character.AI

Then → now

Google→Character.AI (2021)→Back to Google / Gemini (2024)→OpenAI (2026)
NPNiki Parmar

Niki Parmar

Anthropic
Member of technical staff, Anthropic (reinforcement-learning research)
Attention Is All You Need — core author
  • Co-invented the Transformer; extended attention to vision and generation
  • Image Transformer (2018); Stand-Alone Self-Attention in Vision (2019)
  • Now works on hard-exploration RL and test-time scaling

Then → now

Google Brain→Adept AI (CTO)→Essential AI→Anthropic (2025)
JUJakob Uszkoreit

Jakob Uszkoreit

Own venture
Co-founder, Inceptive (deep learning for mRNA & biology)
Attention Is All You Need — named the architecture
  • Decomposable attention (2016) seeded the ‘attention is enough’ hunch
  • Picked the name ‘Transformer’
  • Now designs RNA molecules with neural networks

Then → now

Google Brain→Inceptive
LJLlion Jones

Llion Jones

Own venture
Co-founder & CTO, Sakana AI (Tokyo)
Attention Is All You Need
  • Co-author of the Transformer; submitted the original paper to arXiv
  • Builds nature- and evolution-inspired model systems at Sakana
  • Among the most-cited of the original eight

Then → now

Google→Sakana AI
AGAidan Gomez

Aidan Gomez

Own venture
Co-founder & CEO, Cohere
Attention Is All You Need — as an intern
  • Contributed to the Transformer while a Google Brain intern
  • Founded Cohere, an enterprise-focused LLM company
  • Co-founded the Cohere For AI research nonprofit

Then → now

Google Brain (intern)→Cohere (CEO)
LKŁukasz Kaiser

Łukasz Kaiser

OpenAI
Researcher, OpenAI (and CNRS)
Attention Is All You Need
  • Co-author of the Transformer; built Tensor2Tensor and Universal Transformers
  • A co-creator of OpenAI’s o1 reasoning models
  • Bridges symbolic and neural sequence modeling

Then → now

Google Brain→OpenAI
IPIllia Polosukhin

Illia Polosukhin

Own venture
Co-founder, NEAR Protocol
Attention Is All You Need
  • Co-author of the Transformer paper
  • Left to build NEAR, a blockchain now positioned around user-owned AI
  • Frequent advocate for decentralized AI

Then → now

Google→NEAR Protocol

Seq2Seq & word embeddings/ 2013–2015

Teaching Machines to Read

Before the Transformer, the field learned to turn words into vectors and sequences into sequences — the groundwork the whole edifice sits on.

ISIlya Sutskever

Ilya Sutskever

Own venture
Co-founder & CEO, Safe Superintelligence (SSI)
AlexNet · Seq2Seq · the scaling ethos behind GPT
  • Co-created AlexNet (2012) and Sequence-to-Sequence learning (2014)
  • Co-authored word2vec; co-founded OpenAI and led the research behind ChatGPT and o1
  • Now runs a lab with one stated product: safe superintelligence

Then → now

OpenAI (co-founder, chief scientist)→Left OpenAI (2024)→SSI (CEO, 2025)
TMTomáš Mikolov

Tomáš Mikolov

Own venture
Co-founder & chief scientist, BottleCap AI; researcher, CIIRC Prague
word2vec — distributed word representations
  • Created word2vec (2013), the embeddings that reshaped NLP
  • Pioneered RNN language models; later fastText and paragraph vectors
  • Now chasing ~100× more efficient language models

Then → now

Google→Facebook AI Research→CIIRC, Prague→BottleCap AI (2025)
OVOriol Vinyals

Oriol Vinyals

Google
VP of Research & a Gemini co-lead, Google DeepMind
Seq2Seq · Pointer Networks · AlphaStar
  • Co-author of Sequence-to-Sequence learning and Pointer Networks
  • Led AlphaStar (StarCraft) and ‘Show and Tell’ captioning
  • A technical lead on the Gemini model line

Then → now

Google Brain→Google DeepMind (Gemini)
QLQuoc V. Le

Quoc V. Le

Google
Distinguished Scientist, Google DeepMind
Seq2Seq · MoE · AutoML · chain-of-thought (senior author)
  • Co-author of Seq2Seq, doc2vec and the 2017 sparsely-gated MoE paper
  • Drove AutoML / Neural Architecture Search and the Meena chatbot
  • Senior author on much of Google’s reasoning research

Then → now

Google Brain→Google DeepMind

Optimizers, normalization & position/ 2015–2021

The Plumbing

Some of the most-used lines in deep learning aren’t models at all — they’re the optimizer, normalization, residual and position tricks that quietly make training work. Two of these four were born in Chinese labs.

DKDiederik Kingma

Diederik Kingma

Anthropic
Research on large-scale ML, Anthropic
Adam optimizer · Variational Autoencoder
  • Co-invented Adam (2015), the default optimizer for training neural nets
  • Co-invented the Variational Autoencoder (2014) and Glow
  • Was on the founding team of OpenAI

Then → now

OpenAI (founding team)→Google Brain / DeepMind→Anthropic (2024)
JBJimmy Ba

Jimmy Ba

Own venture
Professor, University of Toronto; a founding member of xAI
Adam · Layer Normalization
  • Co-author of the Adam optimizer (2015)
  • Co-created Layer Normalization (2016), used in virtually every Transformer
  • Joined Elon Musk’s xAI as a founding member (2023)

Then → now

U. Toronto→Co-founded xAI (2023)
KHKaiming He (何恺明)

Kaiming He (何恺明)

Academia
Associate professor, MIT (EECS)
ResNet — residual / skip connections
  • Created ResNet (2015): residual connections that let nets go truly deep — now inside every Transformer
  • Also Mask R-CNN, MoCo and Masked Autoencoders
  • Built ResNet at Microsoft Research Asia; among the most-cited scientists alive

Then → now

Microsoft Research Asia→Meta FAIR→MIT (2024)
JSJianlin Su (苏剑林)

Jianlin Su (苏剑林)

China
NLP researcher; creator of RoPE
Rotary Position Embedding (RoPE)
  • Invented RoPE — the position encoding now used by LLaMA, Qwen, DeepSeek and most modern LLMs
  • Prolific independent researcher via his blog ‘Scientific Spaces’
  • Developed RoPE while at Zhuiyi Technology

Then → now

Sun Yat-sen University→Zhuiyi Technology

ULMFiT · BERT/ 2018

The Pretraining Turn

The recipe that made everything else possible: pretrain a language model on raw text, then fine-tune it. ULMFiT proved it; BERT, reading in both directions, made it the default.

JHJeremy Howard

Jeremy Howard

Own venture
Co-founder, Answer.AI; founder, fast.ai
ULMFiT — pretraining + fine-tuning for NLP
  • Co-created ULMFiT (2018), proving LM pretraining could transform NLP just before BERT
  • Built fast.ai, the influential practical-deep-learning courses
  • Now runs Answer.AI, an applied-AI R&D lab

Then → now

Kaggle / fast.ai→Answer.AI (2023)
SRSebastian Ruder

Sebastian Ruder

Own venture
NLP researcher, Cohere
ULMFiT · transfer-learning surveys
  • Co-author of ULMFiT; widely-read surveys and newsletter on NLP transfer learning
  • Work on multilingual models and model adaptation
  • Research roles across DeepMind and Cohere

Then → now

Insight Centre→DeepMind→Cohere
JDJacob Devlin

Jacob Devlin

Google
Engineer, Google (TPU / JAX inference)
BERT — first author
  • Led BERT (2018), the bidirectional encoder that reset NLP benchmarks
  • Earlier work on fast neural machine translation
  • Left for OpenAI in 2023, then returned to Google

Then → now

Google→OpenAI (2023)→Back to Google
MCMing-Wei Chang

Ming-Wei Chang

Google
Research scientist, Google DeepMind
BERT — co-author
  • BERT co-author and submitting author
  • Work on retrieval-augmented QA (REALM) and language understanding
  • Longtime Google NLP researcher

Then → now

Google AI Language→Google DeepMind
KLKenton Lee

Kenton Lee

Google
Research scientist, Google DeepMind
BERT — co-author
  • BERT co-author; influential coreference and long-context work
  • Co-created the Pix2Struct screenshot-parsing line
  • On the representation-learning side of the story

Then → now

Google AI Language→Google DeepMind

T5 · Switch · PaLM/ 2020–2022

Unify and Scale

Google turned the Transformer into families: a text-to-text framework that unified every task, sparse routing that reached a trillion parameters, and a 540B dense model that showed scale unlocks new behavior.

CRColin Raffel

Colin Raffel

Academia
Associate professor, U. Toronto / Vector Institute; Hugging Face
T5 — text-to-text transfer learning
  • First author of T5, which unified NLP tasks as text-to-text, paired with the C4 corpus
  • A leading academic voice for open, reproducible, community-built models
  • Bridges large-scale pretraining and the open ecosystem

Then → now

Google Brain→UNC faculty→U. Toronto + Hugging Face
SNSharan Narang

Sharan Narang

Google
Research engineer, Google DeepMind
T5 · PaLM · UL2
  • Recurring force across T5, PaLM and UL2
  • Translates pretraining recipes into scalable model families
  • On the systems-and-scaling side of Google’s LLM stack

Then → now

Google Brain→Google DeepMind
WFWilliam Fedus

William Fedus

Own venture
Co-founder, Periodic Labs
Switch Transformer — first trillion-parameter model
  • First author of Switch Transformer (sparse MoE); also GLaM and ST-MoE
  • Helped create ChatGPT and ran OpenAI’s post-training team
  • Left to build AI that runs real-world science experiments

Then → now

Google Brain→OpenAI (VP Research)→Periodic Labs (2025)
BZBarret Zoph

Barret Zoph

OpenAI
Research leader, OpenAI
Switch · GLaM · Neural Architecture Search
  • Switch Transformer, GLaM, ST-MoE and Neural Architecture Search
  • Co-founded Mira Murati’s Thinking Machines Lab as CTO…
  • …then returned to OpenAI in early 2026

Then → now

Google Brain→OpenAI→Thinking Machines (CTO)→Back to OpenAI (2026)
ACAakanksha Chowdhery

Aakanksha Chowdhery

Own venture
Researcher, Reflection AI
PaLM — first author
  • Technical lead / first author of PaLM (540B) and the Pathways training system
  • The ‘boring but vital’ infrastructure that makes giant models trainable
  • Also PaLM-E, an embodied multimodal model

Then → now

Google Research / DeepMind→Reflection AI

GPT · scaling laws/ 2018–2022

The OpenAI → Anthropic Exodus

The team that scaled GPT-2 and GPT-3 and worked out the laws of scale mostly walked out together in 2021 to build Anthropic — a near-perfect echo of the Transformer diaspora. (Alec Radford, who wrote the original GPT papers, instead struck out on his own.)

ARAlec Radford

Alec Radford

Own venture
Independent researcher; advisor, Thinking Machines Lab
GPT-1 & GPT-2 — lead author
  • Wrote the original GPT papers that defined generative pre-training
  • Lead author on CLIP and Whisper; key work on DALL·E and DCGAN
  • Left OpenAI for independent research; released ‘Talkie’ (2026)

Then → now

OpenAI (2016–2024)→Independent / Thinking Machines advisor
DADario Amodei

Dario Amodei

Anthropic
Co-founder & CEO, Anthropic
Led GPT-2/GPT-3 · scaling + safety thesis
  • Ran research at OpenAI through the GPT-2 and GPT-3 era
  • Co-authored Concrete Problems in AI Safety and early RLHF work
  • Built Anthropic on the bet that scaling and safety are entangled

Then → now

OpenAI (VP Research)→Anthropic (2021)
TBTom Brown

Tom Brown

Anthropic
Chief Compute Officer, Anthropic
GPT-3 — first author
  • Lead author on ‘Language Models are Few-Shot Learners’ (GPT-3)
  • Specialist in large-scale training systems
  • Helps shape Anthropic’s frontier ‘Labs’ work

Then → now

OpenAI→Anthropic
JKJared Kaplan

Jared Kaplan

Anthropic
Chief Science Officer, Anthropic
Neural scaling laws — first author
  • A physicist who derived the scaling laws predicting capability from compute
  • Helped pioneer Constitutional AI
  • Sets how Anthropic spends its compute budget

Then → now

OpenAI→Anthropic
SMSam McCandlish

Sam McCandlish

Anthropic
Chief Architect, Anthropic
Scaling laws — co-author
  • Co-authored the scaling-laws work that anticipated GPT-3’s gains
  • Another physicist-turned-AI-researcher on the founding team
  • Drives core model architecture decisions

Then → now

OpenAI→Anthropic

RLHF · InstructGPT/ 2017–2022

The Recipe That Scattered

Reinforcement learning from human feedback is what turned raw GPT-3 into a model that follows instructions — the breakthrough behind ChatGPT. Unlike the scaling team, RLHF’s architects didn’t regroup at one lab: they fanned out to a government standards body, a startup, OpenAI, and Anthropic.

PCPaul Christiano

Paul Christiano

NIST
Technical advisor, Center for AI Standards & Innovation (NIST)
RLHF — a principal architect
  • Co-authored Deep RL from Human Preferences (2017), the root of RLHF
  • Developed AI-safety-via-debate and iterated amplification
  • Founded the Alignment Research Center before joining NIST

Then → now

OpenAI→Founded ARC (2021)→NIST / CAISI (2024)
JSJohn Schulman

John Schulman

Own venture
Chief Scientist, Thinking Machines Lab
PPO / TRPO — the RL behind RLHF
  • Invented PPO and TRPO, the RL workhorses behind RLHF; co-built OpenAI Gym
  • An OpenAI co-founder, central to ChatGPT’s RLHF
  • Left for Anthropic, then co-founded Thinking Machines Lab

Then → now

OpenAI (co-founder)→Anthropic (2024)→Thinking Machines Lab
LOLong Ouyang (欧阳龙)

Long Ouyang (欧阳龙)

OpenAI
Researcher, OpenAI
InstructGPT — first author
  • First author of InstructGPT: instruction tuning + RLHF, the direct precursor to ChatGPT
  • Showed a tuned 1.3B model could beat raw 175B GPT-3 at following intent
  • Cognitive-science background

Then → now

OpenAI→OpenAI (model behavior)
JLJan Leike

Jan Leike

Anthropic
Alignment lead, Anthropic
InstructGPT · superalignment
  • Central to RLHF and the InstructGPT line
  • Co-led OpenAI’s Superalignment team with Sutskever
  • Resigned over safety priorities and moved to Anthropic

Then → now

DeepMind→OpenAI→Anthropic (2024)

Chain-of-Thought/ 2022

Making Models Reason

Two ideas — prompting models to think step by step, and tuning them to follow instructions — turned raw scale into something that felt like reasoning, and set up the o1 era.

JWJason Wei

Jason Wei

Meta
Researcher, Meta Superintelligence Labs
Chain-of-thought prompting — first author
  • Popularized chain-of-thought, instruction tuning (FLAN) and ’emergent abilities’
  • Co-creator of OpenAI’s o1 and its deep-research work
  • A self-described reinforcement-learning ‘diehard’

Then → now

Google Brain→OpenAI→Meta Superintelligence Labs (2025)
DZDenny Zhou

Denny Zhou

Google
Reasoning research lead, Google DeepMind
Chain-of-thought — senior author
  • Senior author on the chain-of-thought paper
  • Created self-consistency and least-to-most prompting
  • Leads reasoning research at Google DeepMind

Then → now

Google→Google DeepMind

LLaMA/ 2023

Open Weights, French Accent

Meta’s open LLaMA models seeded an exodus of their own: the architects left to build Mistral, Europe’s answer to the US labs — and France’s first AI billionaires.

HTHugo Touvron

Hugo Touvron

Meta
Research scientist, Meta (FAIR)
LLaMA — first author
  • First author of LLaMA, which showed open models could rival closed giants — igniting the open-weight era
  • Also led DeiT and contributed to DINOv2 in vision
  • One of Meta’s most influential model researchers

Then → now

Meta FAIR (Paris)
GLGuillaume Lample

Guillaume Lample

Own venture
Co-founder & Chief Scientist, Mistral AI
LLaMA — a key architect
  • Helped build Meta’s LLaMA family of open models
  • Created XLM / XLM-R multilingual models and unsupervised machine translation
  • Mistral’s multilingual edge is largely his

Then → now

Meta FAIR→Mistral AI (2023)
TLTimothée Lacroix

Timothée Lacroix

Own venture
Co-founder & CTO, Mistral AI
LLaMA · efficient training
  • Contributed to LLaMA and to efficient large-model training
  • Earlier work on knowledge-graph embeddings
  • Leads Mistral’s research and engineering direction

Then → now

Meta FAIR→Mistral AI (2023)
AJArmand Joulin

Armand Joulin

Google
Research scientist, Google DeepMind
fastText · LLaMA
  • LLaMA co-author; earlier created fastText (fast, cheap text embeddings)
  • Moved from Meta FAIR to Google DeepMind (Gemini)
  • Bridges the efficient-NLP era and frontier models

Then → now

Meta FAIR→Google DeepMind
GIGautier Izacard

Gautier Izacard

Meta
Research scientist, Meta
LLaMA · Fusion-in-Decoder (RAG)
  • LLaMA co-author; created Fusion-in-Decoder and Atlas for retrieval-augmented QA
  • Connects open models to retrieval-heavy factuality
  • Last firmly placed at Meta FAIR

Then → now

Meta FAIR→Inflection AI→Microsoft AI→Meta (2026)
AMArthur Mensch

Arthur Mensch

Own venture
Co-founder & CEO, Mistral AI
Mistral · ex-DeepMind (Chinchilla / Flamingo era)
  • Worked at DeepMind on efficient large models before Mistral
  • The public face of European frontier AI and ‘AI sovereignty’
  • Co-founded Mistral with two former Meta researchers

Then → now

Google DeepMind→Mistral AI (2023)

Efficient attention · state-space models/ 2022–2024

Beyond the Transformer

As context windows ballooned, a new generation rewrote attention from the hardware up — and floated whether the Transformer needs replacing at all with state-space models.

TDTri Dao

Tri Dao

Own venture
Professor, Princeton; Chief Scientist, Together AI
FlashAttention · Mamba
  • Created FlashAttention (2022) and its successors — now standard in LLM training
  • Co-created the Mamba state-space architecture with Albert Gu
  • Works at the seam of machine learning and GPU systems

Then → now

Stanford (PhD)→Princeton + Together AI
AGuAlbert Gu

Albert Gu

Own venture
Professor, CMU; co-founder & Chief Scientist, Cartesia
S4 · Mamba
  • Built the structured state-space (S4) line and HiPPO
  • Co-created Mamba (2023), a leading sub-quadratic alternative to attention
  • Now builds real-time foundation models at Cartesia

Then → now

Stanford→CMU + Cartesia

DeepSeek/ 2024–2025

The Efficiency Shock

A Chinese hedge-fund spinout matched frontier reasoning at a fraction of the cost, wiped roughly $600B off Nvidia in a single day, and reset assumptions about what scale requires.

LWLiang Wenfeng (梁文锋)

Liang Wenfeng (梁文锋)

China
Founder & CEO, DeepSeek; co-founder, High-Flyer
DeepSeek-V3 & R1 — efficient MoE + RL reasoning
  • Built V3/R1 with MoE, multi-head latent attention, and large-scale RL (GRPO) for reasoning
  • Matched frontier reasoning at a fraction of the cost — AI’s ‘Sputnik moment’
  • Runs DeepSeek like a research lab, funded by his quant fund; holds ~1%

Then → now

High-Flyer (quant fund)→DeepSeek — CEO (2023)

The ‘AI Tigers’ + agents/ 2021–2026

China’s Frontier

Beyond DeepSeek, a cohort of well-funded Chinese labs — many spun from Tsinghua or led by ex-OpenAI/Microsoft researchers — now ship some of the strongest open-weight models in the world, plus the agent ideas behind them.

YZYang Zhilin (杨植麟)

Yang Zhilin (杨植麟)

China
Co-founder & CEO, Moonshot AI (Kimi)
Transformer-XL · XLNet · Kimi
  • Co-first author of Transformer-XL and XLNet — landmark sequence-modeling papers
  • Founded Moonshot; the Kimi models lead on long context and open-weight agentic coding
  • CMU PhD; worked at Google Brain and Meta during his studies

Then → now

CMU PhD / Google Brain / Meta→Moonshot AI (2023)
KLKai-Fu Lee (李开复)

Kai-Fu Lee (李开复)

China
Founder & CEO, 01.AI (Yi); chair, Sinovation Ventures
Yi open models · AI statesman
  • Founded 01.AI, maker of the open-weight Yi models
  • Ran Google China, founded Microsoft Research Asia; wrote ‘AI Superpowers’
  • Champions China’s strength in scaling and applying AI

Then → now

Apple → Microsoft (founded MSRA) → Google China→Sinovation Ventures→01.AI (2023)
TJTang Jie (唐杰)

Tang Jie (唐杰)

China
Chief Scientist, Zhipu / Z.ai; professor, Tsinghua
GLM · ChatGLM
  • Architect of the GLM (General Language Model) family and ChatGLM
  • Spun Zhipu out of Tsinghua’s KEG lab; first Chinese LLM company to IPO (2026)
  • Earlier led the Wu Dao mega-model and the AMiner platform

Then → now

Tsinghua KEG→Zhipu / Z.ai (2019)
JuLJunyang Lin (林俊旸)

Junyang Lin (林俊旸)

China
Led Alibaba’s Qwen; departed Alibaba in 2026
Qwen (Tongyi Qianwen)
  • Technical lead of Qwen — the most-forked open-weight model family
  • 200,000+ Qwen derivatives on Hugging Face; the default open base for fine-tuners
  • Stepped down from the Qwen division in March 2026

Then → now

Alibaba — Qwen lead→Departed Alibaba (2026)
WXWang Xiaochuan (王小川)

Wang Xiaochuan (王小川)

China
Founder & CEO, Baichuan AI
Baichuan open models
  • Founded Baichuan, one of China’s ‘six AI tigers’
  • Earlier founded and ran the search engine Sogou
  • Refocused Baichuan on AI for healthcare

Then → now

Sogou (founder/CEO)→Baichuan AI (2023)
YJYan Junjie (闫俊杰)

Yan Junjie (闫俊杰)

China
Founder & CEO, MiniMax
MiniMax-01 · Hailuo · Talkie
  • Founded MiniMax; the Hailuo video model and Talkie companion app
  • MiniMax-01 brought lightning (linear) attention to scale, open-weighted
  • Ex-SenseTime executive; PhD from the Chinese Academy of Sciences

Then → now

SenseTime→MiniMax (2021)
SYShunyu Yao (姚顺宇)

Shunyu Yao (姚顺宇)

China
Chief AI Scientist, Tencent
ReAct · Tree of Thoughts · SWE-bench
  • Authored ReAct and Tree of Thoughts — foundations of LLM agents
  • Co-built the SWE-bench coding benchmark; wrote the essay ‘The Second Half’
  • Built OpenAI’s Computer-Using Agent before Tencent recruited him

Then → now

Princeton PhD→OpenAI (agents, 2024)→Tencent — Chief AI Scientist (2025)

Google · infrastructure & leadership/ 1999–today

Holding the Center

Not everyone left. These two have anchored Google for the long haul — Brain, DeepMind and Research are all one company — where much of this lineage began and still ships. (The ⚓ marker on cards elsewhere flags everyone who likewise never switched employers; tap “Stayed put” above to see them all.)

DHDemis Hassabis

Demis Hassabis

Google
Co-founder & CEO, Google DeepMind; CEO, Isomorphic Labs
DeepMind · AlphaGo · AlphaFold (Nobel 2024) · Gemini
  • Founded DeepMind (2010); built AlphaGo and the RL playbook
  • Shared the 2024 Nobel Prize in Chemistry for AlphaFold
  • Now runs all of Google’s AI, including Gemini

Then → now

Founded DeepMind (2010)→Acquired by Google (2014)→Leads Google DeepMind
JDJeff Dean

Jeff Dean

Google
Chief Scientist, Google DeepMind & Google Research
The infrastructure under modern ML
  • Built MapReduce, Bigtable, TensorFlow and the Pathways system
  • Co-author of the 2017 sparsely-gated MoE paper and word2vec
  • Among the most influential systems engineers in computing

Then → now

Google (1999)→Google DeepMind

Neural network based on the Transformer architecture has become the de facto standard in Natural Language Processing. The usual explanation on transformer block involves many diagrams. After going through these diagrams, here’s the succinct description of the Transformer block I found in Yun’s (2020) paper from ICLR 2020:

X \in \mathbb{R}^{d\times n} is the input: d is the embedding dimension, n is the length of the input sequence. A Transformer block is a mapping from \mathbb{R}^{d\times n} to \mathbb{R}^{d\times n}. \sigma[\cdot] is the softmax operator, which takes a matrix as input and applies softmax operation to each column of the matrix. Dimension of other matrices are
W_O^i \in \mathbb{R}^{d \times m}
W_V^i, W_K^i, W_Q^i \in \mathbb{R}^{m \times d}
W_2 \in \mathbb{R}^{d \times r}
W_1 \in \mathbb{R}^{r \times d}
b_2 \in \mathbb{R}^{d \times 1}
b_1 \in \mathbb{R}^{r \times 1}
\bold{1}_n^T \in \mathbb{R}^{1 \times n}

The challenge of matrix factorization in building recommendation system often comes from the scale. With large scale of data (millions of users or items), it becomes difficult to run matrix factorization on a single machine. In this case, alternating least square (ALS) is often used as a scalable algorithm. Here I benchmark some existing packages/systems on small and large scale data.

Data in use

MovieLens 25M Dataset: 25 million ratings and one million tag applications applied to 62,000 movies by 162,000 users.

Amazon review data (2018): 233 millions reviews (44 millions users, 15 million items, extremely sparse)

Packages/Systems under test

Python package: implicit, has CUDA acceleration

Sklearn TruncatedSVD

Spark MLlib: ALS

Result

Hidden dimension is set to 64; maximum iteration is set to 10

DataPackageHardwareTime
MovieLensimpliciti7-7700k70.2s
MovieLensimplicitNvidia 10809.94s
MovieLenssklearn (algorithm=randomized)i7-7700k27.2s
MovieLensscipy.sparse.linalg.svds (arpack=arpack)i7-7700k16.8s
MovieLensSpark MLlib*6 executors 15 cores (D13 v2)74.6s
MovieLensSpark MLlib9 executors 64 cores52s
Amazon reviewSpark MLlib11 executors 80 cores2h for 64 dim
20 min for 16 dim
Time spent for different packages on different hardwares
* Spark MLlib includes IO time

Challenges with Spark MLlib ALS on large data

Even with Spark cluster, working with tens of millions of users and items is still challenging. There are a few pitfalls I encountered:

StringIndexer fail due to OOM: some method is need to convert user/item ids into continuous indices. Using StringIndexer is the most straight forward way, however, it turns out to not scale well. This is solved by using zipWithIndex instead.

randomSplit does something expected: solved by calling persist before feed data into it

After solving these two issues, and tuning the memory limits, I was finally able to run ALS on such large dataset. I evaluated the result by using 1% of data to create a test set, and treat user rating >= 3 as positive label. In this way, I evaluated the predicted rating as a classification task. The baseline model is simply using the average rating as the prediction. The code is here: https://github.com/mathsam/MachineLearning/blob/master/RecommendationSys/spark_als.py.

Comparison of baseline and ALS.

Language model (LM) focuses on estimating the following conditional probability
P(w_{m}|w_{1}^{m-1})
for an m-gram LM. This can be easily estimated from maximum likelihood as

\frac{c(w_{1}^{m})}{c(w_{1}^{m-1})},

where c(w_{1}^{m}) means the count of m-gram (w1, w2, …, wm). This is a good estimate when there is enough number of count. However, it become a problem if the m-gram is never seen in the training data (corpus). In this case, the maximum likelihood estimate sets the probability to 0, which is often too strict to be true as language is quite versatile.

To overcome this issue, a straight forward idea is that, if an m-gram does not exists, why not backing off and use (m-1)-gram instead, and recursively so on and so forth until ending at unigram. This is the basic idea of Katz backoff, but there is one issue here. Take a tri-gram LM for example. Let’s say that the particular tri-gram (“I”, “am”, “I”) never exist in our training data, which indicates that the probability for “I” to follow “I am” is very small and agrees with our intuition. However, if we back off to bi-gram, the probability of “I” to follow “am” becomes quite larger than it should be. In general, as eventually the back-off ends at unigram, even though P(w_{m}|w_{1}^{m-1}) is indeed 0, backing off guarantees it to be greater than 0.

On the one hand, a naïve back off makes the total probability does not add up to 1. On the other hand, an m-gram does not exist means it is not likely, and you need to respect this information instead of just tossing it away.

Good-Turning provides a method to estimate the probability of something that is never seen in the training data: the probability of something never seen is estimated by the probability of something that appears only once in the training data. This makes sense as the probability of something that appears only once provides an upper bound for something that is never seen yet. And then Good-Turning adjust the probability of something that appears once, twice, three-time, … so that they add up to 1.

Imaging a thought experiment. There is a box of balls with different colors. In order to know the distribution of colors in the box, we randomly pick a ball from box and then put it back, and repeat this for N times. The color we observe is denoted as l1, l2, …, lk. The number of frequency we observe for each color is c(l1), c(l2), … c(lk). And c(l1) + c(l2) + … + c(lk) = N. However, there is a chance that we never pick any ball with a rare color. As introduced above, Good-Turning methods estimate the probability of a ball with an unseen color to be the number of balls whose color is observed only once. Adjusting probability for seen color is more involved. First you need to build a frequency of frequency from c(l1), c(l2), … c(lk). Denote this as n(r), which means that there is n(r) number of c(li) equals r. The smoothed probability for color li is

P_s(l_i) = \frac{c^*(l_i)}{N},
where the adjusted count is
c^*(l_i) = (c(l_i) + 1)\frac{n(c(l_i)+1)}{n(c(l_i))}

Let’s walk through an example. Suppose the sequence of color we observe is
seq

We can then count number of times each color observed as
count

Then get the count of count as
count of count

Finally, we can calculate the smoothed count as
smoothing calculation

Notice that the smoothed count for black color becomes 0. This is undesirable and in Katz method, smoothing is only done for items observed 1 to k times. For a frequent observed item (count > k), the probability is set to equal to the maximum likelihood estimate.

Imaging the following highly simplified broker-client market: at each time step, a client ask the broker for quotes; the broker provides a two-way quote — a bid price and an ask price for which the broker is willing to buy and sell respectively; the client can then choose to accept or reject.

To model the client, we assume a client is either a buyer or seller (excluding hedge funds that could flip between buy and sell after seeing the quote). Each time step, only a unit number of security could be transacted. Each buyer or seller has an opinion on the true price of the security. We can use two random variables \xi_b for buyer and and \xi_s for seller to collectively describe the distribution of true price they think. The buyer should on average expect a lower price than the seller (E(\xi_b) < E(\xi_s)), otherwise the market is not in equilibrium as the buyers will immediately buy as much as they can since the market mid is lower than the true price they think and then market will quickly reach equilibrium again. For now, assume the bid-ask spread is zero — that the broker is willing to both buy and sell at the same price X. In one time step, the probability that the dealer get a buy order is P(buyer) \cdot P(X \leq \xi_b), and getting a sell order is P(seller \cdot P(X \geq \xi_s), where P(buyer) and P(seller) is the probability of a random client being a buyer or seller respectively. An example is shown below in Fig. 1.

trueprob_vs_EMinferred

At the price where the blue and red cdfs intercept, it is the true mid price where
P(buyer) \cdot P(X_{mid} \leq \xi_b) = P(seller) \cdot P(X_{mid} \geq \xi_s).

This true mid X_{mid} is the most efficient price that facilitates the maximum transaction. Assume a different market in which at each time step, there is a grand auction to let buyers and seller to write down orders and the prices they are willing to transact. Then matching the orders will yield this mid X_{mid}.

It is also advantageous for the broker to quote this true mid for his own benefit as on average, the buy and sell flows will match. Otherwise, the broker’s inventory will grow linearly with time. In this idealized model, there are two challenges for being the broker:

a) How does the broker know the true mid?

Broker is not running a grand auction which gives him a full picture on the distrubitions of \xi_b and \xi_s. What he can do is to make quote and then see whether it gets accepted or rejected. In theory, he can make a series random quotes based on some prior distribution he thinks and then infer out the distributions from the results of the quotes. Dashed lines in Fig. 1 are the inferred distributions by running an expectation maximization algorithm on a Logistic mixture model. They do converge to the true distributions. However, the convergence is only reached until the quotes sample large enough range and in huge numbers. To most efficiently use the data, the broker has to use an algorithm to update the quote online.

b) How to keep inventory size down?

Even if the broker knows the true mid and therefore on average the buy and sell flows cancel, the random nature of the orders make the fluctuation–or standard deviation–of the inventory size grow proportional to the square root of time. To keep inventory size under a limit, the broker has to skew the mid. For example, skew the mid below the true mid so it is more likely for a buyer to accept to get rid of a positive inventory. However, as on average the security is transacted at the true mid, the broker will lose some money due to the skew. He will have to charge some bid-ask to compensate the skew.

Optimal strategy for the broker

We can come up with an optimal strategy for the broker by breaking the problem into two parts according to the two questions above. The first problem is an online measurement problem. The second is a stochastic optimal control problem. As a first attempt, we do not try to optimize the bid-ask spread but assume the broker charge a small fixed bid-ask spread. Optimizing the bid-ask spread has to take into consideration the competition with other brokers for market share, which is not captured in this model anyway.

a) Online measurement

The true mid X_{mid,t} is not directly observable. We make the usual assumption that it follows a martingale process as
X_{mid,t} = X_{mid,t-1} + \sigma_{mkt}\epsilon_{mid,t}, (Eq. 1)
where \epsilon_{mid,t} follows a standard normal distribution N(0,1) and \sigma_{mkt} is the volatility from market moves. Given an estimate of mid price at time t-1, the expectation of mid price does not change
E(X_{mid,t}|X_{mid,t-1}) = E(X_{mid,t-1}),
but the expectation of variance increases with time
E(var(X_{mid,t})|var(X_{mid,t-1})) = E(var(X_{mid,t-1})) + \sigma_{mkt}^2.

At time step t, after making a quote with mid price Q_t to the client, the broker receives response from the client. Denote the response as a random variable R_t \in \{-1,0,1\}, where -1, 0, 1 means the client will buy, do away, and sell respectively. Denote the skew as the difference between quote and true mid as s_t = Q_t - X_{mid, t}. The robust relationship that the broker relies on to get an idea on the true mid is that there is a positive correlation between s_t and R_t, which we can approximate by a linear regression relationship

s_t = \beta R_t + \epsilon_{obs,t}, (Eq. 2)

where \epsilon_{obs,t} is a random variable independent of s_t and with mean 0, variance \sigma_{obs}^2. Conditioned on the response at time R_t, we have
E(X_{mid,t}|s_t) = Q_t - \beta R_t
var(X_{mid,t}|s_t) = \sigma_{obs}^2
These can be used to update our estimate for mid at time t. In practice, the parameters \beta, \sigma_m and be estimated from a number of recent past quotes. We get the equations to update our estimates from t-1 to t:

\mu_t = \mu_{t-1} + K(Q_t - \beta R_t),
var_t = (1-K)(var_{t-1}+\sigma_{mkt}^2 ),

where \mu_t, var_t denote the estimates for mean and variance of X_{mid,t}, and
K=\frac{var_{t-1}+\sigma_{mkt}^{2}}{var_{t-1}+\sigma_{mkt}^{2}+\sigma_{obs}^{2}}
is the Kalman gain. Essentially, Eq. (1) is the state-transition model and Eq. (2) is the observation model. We use a Kalman filter to update our estimate for mid price online.

b) Stochastic optimal control

To make the problem analytically solvable, we approximate the our discrete model with a continuous one.
dI_t = ks_tdt + \sigma_I dW_t,
where I_t is the size of inventory, k is a coefficient related to 1/\beta in Eq. (2), W_t is a Brownian motion.
Suppose the cost function to optimize is
V(I_t, t) = \underset{s}{\min}\left\{ \intop_{t}^{T}(s_{t}^{2} + (rI_{t})^{2})dt\right\}
As the rate of accumulating inventory is linearly proportional to skew and the amount of money paid to offload the accumulated inventory is also proportional to skew, the s_t^2 is a probably a decent estimate of cost for skew being away from zero. The other cost on inventory I_t^2 is more hand-waving. It is just meant to be monotonically increasing with the magnitude of inventory.

Using Hamilton–Jacobi–Bellman equation, we get the optimal control
s_t = - r I_t,
and the associated cost function
V(I_t, t) = (I_t^2 - \sigma_I^2 t)r/k.
The results mean we simply skew the quote proportional to the size of the inventory. Under this optimal control, the cost is accumulating at a speed of \sigma_I^2 r/k.

Simulation results

We can simulate the client behavior and the broker’s strategy as described above. In this simulation, the buyer and sellers have equal population. The standard deviations for \xi_s, \xi_b are fixed to be 2; and on average buyer expects price to be lower than that of seller by 4: E(\xi_s-\xi_b) = 4. The true mid follows a Brownian motion. The broker quote, true mid and broker estimated mid are shown in Fig. 2. After an initial period (t<1e4) when the quote oscillates widely, the quote tracks the true mid price closely.

simulation quote

Inventory and PnL the broker makes are shown below. The inventory is usually below 10. During the time near t~8e4 when there is a stochastic trend going down, the inventory shoots to ~40, which also reflects as a drawdown in the PnL. The bid-ask spread is fixed at 0.75, at which the broker consistently makes a profit.

A zoom-in look at the quote below (Fig. 4 and 5) shows that the quote (estimated mid plus skew) actually tracks the true mid much better than the estimated mid. This is probably because in Eq. 2, s_t is the difference between the quote and the true mid. However in our simulation, the true mid is replaced by the estimated mid. This introduces an inconsistency. The skew proportional to the inventory size somehow corrects this inconsistency.

quote_zoomin_stable1

Fig. 4: Zoom-in of Fig. 2.

quote_zoomin_stable

Fig. 5: Zoom-in of Fig. 2.

CPU/GPU benchmark on MNIST

Just want to give a try to the GPU after setting up Tensorflow. I took the convolutional neural network example from here, and run the benchmark using both CPU and GPU. The training time is compared here:

i7-7700K on all 4 cores: 1557 seconds = 26 min

GTX 1080: 80 seconds = 1.3 min

That is 19 times speed up!

1. CPU: i7-7700K $305

The first choice is between Xeon and i7. If you want to go multi CPUs, then the first choice is Xeon (There is the other option Ryzen but I don’t dare dive into). But then the whole budget will significantly increase as you get into the space of business computing. Building a higher end machine in the space marketed for gaming is more cost friendly.

The other choice that took me some time to make is between 7700K and 7800K. The latter has 6 cores whereas the former has 4. I could use more cores to tune parameters in parallel together. However, I chose to go with 7700K based on this key consideration: 7700K has integrated graphics whereas 7800K does not. As I plan to use the graphics card to train neural networks, and the display will freeze if the video is from the graphics card while it is doing heavy computing. This is highly undesired. Instead, I want to use the integrated graphics on CPU to output the video. This will save me some money buying a secondary graphics card solely for video display as well as PCI lane. This is another reason I choose i7 over Xeon as the latter does not have integrated graphics.

Update 2017-10-12: Now that i7-8700K comes out and you probably should consider this one instead.

2. Motherboard: ASUS PRIME Z270-P $106

The 7700K uses the Z270 chipset so it took me little time to pick the ASUS Z270 series. The only choice I made is between Z270-P and Z270-A, and the latter is about $50 more expensive. The only difference between them seems to be the Z270-A is designed to do over-clocking, which I don’t need.

3. CPU fan: Cooler Master Hyper 212 EVO $30

It is definitely powerful and makes very little noise. But I might go with the more compact one for the easier installation. Also, my very cheap case cannot close when I finished the build as this cooling tower is too tall LOL!

4. RAM: G.SKILL 16GB 288-Pin DDR4 3200 $130

RAM price has been increasing like crazy in 2017. I wish I had bought two of them.

5. SSD: Samsung 850 EVO 250GB $90

I had a 3T external drive so I only need a minimum SSD.

6. Power supply: Corsair CX Series 650 Watt 80 Plus

A 650W power supply should be enough for this build.

7. Ethernet cable: Amazon basics $5

Few motherboard comes with wifi on it. So I need an ethernet cable.

8.Phanteks Eclipse P400 ATX Tempered Glass” Edition $70

I got a cheap ($40) case in the first time and got millions of problem with it: the side lid cannot close because my CPU cooler is too tall and the case is too narrow; there is not a good place to mount SSD so I had to try some innovative way… Eventually, I gave up and bought a new one. I am really happy with this Phanteks case. The lesson is: don’t think the case is not important and try to save $20 on it.

9. GPU: MSI GTX 1080 AERO 8G OC $460

Waited for a few weeks and found a deal. One article explaining why there are so many different makes of Nvidia cards is here.

A list of website I found useful:

PCPARTPICKER: you can pick of list of components there; helps you compare price and roughly check compatibility

Tomshardware: Lots of lots of information on specific parts.

No video output problem checklist after finishing the build: Very useful especially for ones building the machine for the first time. My screen didn’t show anything in the first time because the RAM is not plugged in firm enough.

Last time I talked about how to understand overfitting from Haussler’s (1988) theorem. In the introduction, I used the figure from Wiki that is often used to explain overfitting. Why does this figure explain overfitting? There is more behind.

Overfitted_Data_wiki

Fig. 1: Wiki’s illustration of over-fitting

The idea behind this figure is the frequentists’ view for model complexity: the more complex the model you have, the bigger variance is in your prediction. A big variance in prediction means that your model is very sensitive to the data. Let’s consider a regression problem similar to what this figure shows. Suppose that there is an underlying process that generates x and y, and you can keep sampling from the process. For example, the true model is y=0.1x^{2}+2x+1+\epsilon, where \epsilon is a random noise. After obtaining 50 samples (x,y), you move on to build a model. The sample looks like Fig. 2.

sample

Fig. 2: samples

A simple model that is not likely to overfit is chosen to be y=ax+b. The result is shown in Fig 3. A complex model that is likely to overfit is chosen as =\sum_{i=0}^{15}c_{i}x^{i}. The result is shown in Fig. 4. Similar to the Wiki example, there is spurious oscillation, though not as wide as the wiki example as we are not matching every sample points exactly.

linear_regression

Fig. 3: Simple linear regression model

complex_model

Fig. 4: More complex (but still linear) regression model.

As we can continue to sample the process, we can get multiple batches of samples that each contains 50 data points. Repeat the process again and again, the parameters (a,\ b,\ c_{i}) in our model will be generally different each time. How robust our predictions are? Figure 5 and 6 below show predictions from the simple model and that from complex model. We can see that there are more variations in the complex model.

linear_regression_multiple_batches

Fig. 5: Simple linear regression results from multiple batches of samples.

comple_model_multiple_batches

Fig. 6: More complex regression results from multiple batches of samples.

To quantify this, we plot the standard deviation for predictions in the two models calculated from 500 batches. It is now clear from Fig. 7 that the complex model is less robust and has higher variance in prediction. The take away is that you can use the variance in prediction to quantify how complex a model is, given that the sample size is fixed. The bias-variance trade-off is the situation that a (possibly less complex) model often has more bias but also lower variance. The average of the predictions from the 500 batches for the simple and complex models are shown in Fig. 8. As expected, the ensemble mean prediction of the more complex model is less biased compared to the simpler model. Actually, it is very close to the true underlying model. This is not surprising as giving infinite data, our estimation for the more complex model should converge to the true model. However, the simple model would alway be biased because it does not have the quadratic term.

variance

Fig. 7: Standard deviation in prediction for simple and complex models.

ensemble_mean

Fig. 8: Mean prediction of the 500 batches from the simple and complex models, as well as the true model.

The following figure is usually used to explain overfitting (By Ghiles from wiki).

Overfitted_Data_wiki

In this figure, the points are training data. Two hypotheses, a linear model and a polynomial model, are fitted to the data. Although the polynomial model, being more complex, perfectly matches training data at every point, it is pretty obvious that the wild oscillations are spurious. It is much more likely that the simpler linear model describes the underlying “true” model better. The more complex polynomial model overfits the training data by picking up the random errors in the data. When a model is too complex, it often tends to overfit the training data. Why is that?

The Wikipedia page explains overfitting as a violation of Occam’s razor, which states that “among competing hypotheses, the one with the fewest assumptions should be selected”. This is rather a heuristic principle but perhaps has a profound philosophical reason. The pursuit of aesthetic hypothesis probably guides many discoveries in theoretical physics. In machine learning, however, the true model may not be aesthetic but may still be awfully complicated. Here is another way to understand why the simpler model is still preferred given similar performance on training data from Haussler’s (1988) theorem, which states that:

Consider the case that trained model has no error on the training
data of size m. The probability that this model has error rate
larger than \epsilon on unobserved data at most |H|e^{-\epsilon m},
where |H| is the number of hypothesis in the hypothesis space.
This can be written in formula as

P\left[\left(\exists h\in H\right)\ s.t.\ \left(error_{train}\left(h\right)=0\right)\wedge\left(error_{true}\left(h\right)>\epsilon\right)\right]\leq|H|e^{-\epsilon m}

To understand the meaning of hypothesis space and its size |H|,
let’s use an example. Consider the binary classification problem.
The input is \mathbf{X}=(x_{1},x_{2}) and x_{1},\ x_{2} are
integers from 1 to 10. The output to predict Y is 0 or 1. A hypothesis
is a mapping from \mathbf{X} to Y. A hypothesis space is a set
of these possible mappings. For example, a decision tree hypothesis
space H_{tree} can be shown in figure below. The parameters in
the models are C_{1}, C_{2}, C_{3} which takes values from
1 to 10, and D_{1}, D_{2}, D_{3}, D_{4}, which takes values
0 or 1. The number of hypothesis in |H_{tree}| is the number of
possible combinations of the parameters, therefore |H_{tree}|=10^{3}\times2^{4}.

Decision_Tree

Consider the most exhaustive hypothesis space H_{exh} that is all
the possible mappings from \mathbf{X} to Y. In this case, |H_{exh}|=2^{100},
which is much much much larger than |H_{tree}|.

If a learning algorithm selects a hypothesis from H_{tree} that
achieves zero error in training samples, and let’s put some numbers
in, say the sample size is 1000, the probability of true error larger
than 5\% is less than 3e-18 given by Haussler’s (1988) theorem. However,
if the learning algorithm selects a hypothesis from H_{exh}, the
theorem gives a bound of 2.4e8, which is useless. The reason is that
it is too easy to come up with a hypothesis from H_{exh} that achieves
zero training error: just remember all the training samples. Therefore from Haussler’s (1988) theorem, we see why a more complex hypothesis space (a more complex model) tends to have a higher generalization error — overfitting!

The GARCH model here is:
r_t = \mu + \epsilon_t
\epsilon_t = \sigma_t e_t
\sigma^2_t = \omega + \alpha \epsilon_t^2 + \beta \sigma^2_{t-1}

This says that the variance of the return follows an AR(1) process. I think this model as a prism to understand volatility. The volatility itself is not observable. You may calculate “historical volatility” from the standard deviation of return in a period of time in the past. But how long the period to choose is rather arbitrary: should it be a month or 3 months? If this period is too long, your calculated “historical volatility” may not show a spike although the market has already crashed. Whereas for the GARCH model, the hyperparameters can be hopefully obtained by some sort of cross-validation. In addition, I would expect a large deviation between r_t with its mean \mu to be more quickly translates into an increase in volatility in the GARCH model. So the volatility inferred from GARCH model could be more instantaneous and thus closer to my intuition.

With a few lines of code, I can calibrate a GARCH model to SPX return and get the conditional volatility from it.

import datetime as dt
import pandas_datareader.data as web
from arch import arch_model
start = dt.datetime(2000, 1, 1)
sp500 = web.DataReader('^GSPC', 'yahoo', start=start)
returns = 100 * sp500['Adj Close'].pct_change().dropna()
am = arch.arch_model(y=returns, mean='Constant', vol='GARCH', p=1, q=1, hold_back=10)
res = am.fit()
cond_vol = sqrt(250.)*res.conditional_volatility

Notice that I annualize the daily volatility into annualized volatility by multiplying sqrt(250). The conditional volatility obtained from GARCH model, along with 20 days (trading day) historical vol and VIX are shown below. All three are very similar in the first look:

VIX_vs_condvol

If we zoom into some volatility spikes, for example, between Aug and Sep 2015,

VIX_2015

VIX spikes before both conditional volatility from GARCH and the historical volatility. However, the conditional volatility seems to be more responsive than historical volatility. This can be more clearly seen from the lagged correlation between these volatilities:

vix_corr

On average, VIX moves about 2~3 days ahead of conditional volatility, and ~5 days ahead of historical volatility.

Create your own website, free on WordPress.com.Create your own website.
Start free