Kaili Huang

Alum of Stanford Computer Science and Tsinghua Engineering

kaili [at] cs.stanford.edu

LLM post-training & reinforcement learning

I work on post-training and reinforcement learning for large language models. The parts I care about most are the ones that decide whether a model actually got better or only looks like it did: the reward that says what good means, the data the policy learns from, the evaluation that would catch it lying, and the training loop that holds the three together. At Apple I do this for LLM retrieval agents, from SFT through GRPO; I recently co-developed CoGR, which trains two LLMs to co-evolve against a single shared retrieval reward (10.9–36.1% F1 over the strongest baseline). I also build agents that run the experiment loop themselves, inside rules a person sets.

I got here by way of dialogue. As an undergrad at Tsinghua I helped build large-scale, cleaned Chinese dialogue datasets that are widely used for benchmarking and pretraining (CrossWOZ, KdConv, LCCC); at Stanford I built retrieval systems and tried model-based RL on dialogue policy; at ByteDance AI Lab I built and deployed fake-news and harmful-content detectors, from the annotation guidelines behind 2M+ human labels to automated retraining; at Microsoft AI I built the evaluation and alignment loop behind a retrieval-augmented Copilot. Each stop was a different piece of the same loop: the data a model learns from, the reward and training that make it better, and the check that it actually did.

forward pass, backward pass, repeat.
Stanford · Oct 2026

news

Dec 01, 2026 New blog post: RoPE, Visualized, an interactive, step-by-step explainer of Rotary Position Embedding (also in 中⁠文).
Sep 02, 2026 Excited to share our latest work, It Takes Two to Match: Co-Evolving Generative Retriever with Reinforcement Learning. We introduce CoGR, a generative retrieval framework in which LLMs generate matching keywords for both queries and items, and the two sides co-evolve through reinforcement learning. Check out my posts on LinkedIn and X.
May 02, 2026 I’m happy to share that I joined Apple as a Senior Machine Learning Engineer this January, working on LLM post-training and RL policy optimization for large-scale retrieval. I look forward to pushing the boundaries of reasoning-driven retrieval. Read more on LinkedIn.

ideas I keep returning to

An agent proposes, trains, evaluates, and decides what to try next, inside rules a person sets.
what it taught me about agency

Today's agents are good at pushing forward. What I want from the next generation is the judgment to stop: to step back and ask whether the whole approach is right, to change the architecture rather than the next line, and to reason from first principles: the goal is not to solve every problem it is handed, nor to grind on a particular one, but to keep the capacity to ask which problem is the right one. Most of my rule‑setting in the experiment loop is an attempt to supply that judgment from the outside.

A second brain for everyone
AI moves from a chatbot you visit to something you carry. It takes the tedious work off your mind, so you have the headspace to think and decide better.
the longer bet

This is a long bet, measured in decades rather than product cycles. The hard parts are three: model capability, latency low enough that the system feels like part of you rather than a tool you wait on, and the interaction itself, how such a thing is built and wired into a life. It does the arithmetic, looks things up seamlessly as the conversation happens, remembers what you would otherwise have to memorize, helps you plan your life without the overhead, and clears away the tedious work that fills a day. You still do the thinking and make the decisions. It just makes sure nothing trivial is in the way. The measure of such a system is not how smart it sounds but how much clearer the person thinks, and how much better they decide, with it than without it. Underneath all of it is a simple belief: AI should serve people. Being free to do what you love and create what you want to create is one of the most valuable things a person could have. A system like this is worth building if it gives more people more of that freedom.

experience

  1. Tsinghua
    2016 – 2020
  2. Stanford
    2019 · 2021 – 2023
  3. ByteDance AI Lab
    2020 – 2021
    • Fake‑news and harmful‑content detection at scale, with Hang Li
    • 2M+ human labels with guidelines I iterated alongside the labeling team; automated retraining and rollout
  4. Microsoft AI
    2023 – 2026
  5. Apple
    2026 –
    • LLM post‑training and RL: reward design and policy optimization
    • CoGR: query- and item‑side LLMs that co‑evolve through SFT and alternating GRPO against a shared retrieval reward