ML Engineer

Lilian Weng Portfolio

Former OpenAI VP of Research whose 'Lil'Log' blog is one of the most cited technical references in machine learning, with deep-dive surveys on LLM agents, diffusion models, and AI safety.

Machine LearningLLM ResearchAI SafetyTechnical Writing

Location

Somewhere on planet Earth, most likely near a laptop.

Companies

OpenAI

Skills

Machine LearningLLM ResearchAI SafetyTechnical Writing

What makes it work

A breakdown of the choices that make this portfolio stand out.

1

Long-form technical surveys instead of short posts

Each entry runs 20-40 minutes and functions as a literature review of a subfield, turning a personal blog into a citation-worthy reference other researchers link to.

2

Reading time and author stated as metadata on every single post

Every entry in the feed carries the same three-part footer — Date, Estimated Reading Time, Author: Lilian Weng — visible before the reader even opens the post. Stating the time cost upfront, consistently, across an archive going back to 2017 is a small formatting choice that compounds into a recognizable, trustworthy signature.

3

No self-promotion, all substance

There's no 'hire me' framing anywhere on the site — no bio paragraph, no CTA buttons, just the blog name, a one-line welcome, social icons, and the post feed. The writing's quality does the positioning work.

4

Consistent publishing cadence since 2017, stated explicitly

The welcome line reads "Hi, this is Lilian. I'm documenting my learning notes in this blog since 2017" — naming the exact start year turns the archive itself into evidence of a near-decade-long, visible paper trail of expertise compounding over an entire career arc.

What ML Engineers can take from this

Specific, actionable tips to apply to your own portfolio — no generic advice.

  • A handful of exhaustive, well-researched long-form posts on hard topics outperforms dozens of short takes.

  • Put a consistent metadata footer (date, reading time, author) on every post — it costs nothing and makes years of writing feel like one coherent, trustworthy body of work rather than a scattered feed.

  • Skip personal-branding language — let the density and accuracy of the writing signal seniority.

  • State the year you started publishing directly on your homepage. A stated multi-year streak is a stronger credibility signal than an unlabeled archive of the same length.

Projects

Lilian Weng's portfolio is Lil'Log, and each post is a literature review. The cards sample nine years of it, from a 2017 TensorFlow RNN tutorial with a 2k-star repo to the survey essays on agents, diffusion and test-time compute that practitioners now cite.

ResearchadvancedPublished June 23, 2023

LLM Powered Autonomous Agents

LLMsChain-of-thoughtTree of ThoughtsVector storesTool use

A survey that frames an LLM agent as a model 'brain' plus three components: planning (task decomposition, reflection), memory (in-context short-term, vector-store long-term) and tool use. It walks through the research behind each component, with examples such as AutoGPT, GPT-Engineer and BabyAGI.

It condenses a fast-moving research area into a clear system design that engineering teams can build from. That's a research-to-practice skill.

  • Agent = LLM + planning + memory + tool use

  • Covers chain-of-thought, Tree of Thoughts, self-reflection and retrieval-backed memory

  • 31-minute read with an overview diagram of the full system

ResearchadvancedPublished July 11, 2021; updated through April 2024

What are Diffusion Models?

Diffusion modelsDDPMScore-based modelsLatent diffusionClassifier-free guidance

A mathematical walkthrough of diffusion generative models. It covers the forward noising Markov chain, the learned reverse process and how that relates to score-based models, set against GANs, VAEs and flow models.

It explains the math of a major generative-model family end to end, and she keeps revising it as the field moves. That's deep technical fluency plus editorial discipline.

  • Full derivation of the forward and reverse diffusion processes

  • Four dated update notes from 2021 to 2024

  • Places diffusion against GAN, VAE and flow-based models

ResearchadvancedPublished May 1, 2025

Why We Think

Test-time computeChain-of-thoughtReasoning modelsReinforcement learning

A review of test-time compute ('thinking time') and chain-of-thought: why letting models think longer helps, and how to use that compute well. It builds the argument from dual-process psychology (System 1 vs System 2) and from treating computation as a resource.

It's a current, rigorous synthesis of the reasoning-model research behind today's frontier systems, written for other researchers.

  • Links test-time compute to dual-process theory and compute-as-resource

  • Reviewed and edited by John Schulman, per the post

  • 40-minute survey with the literature cited inline

Open SourceintermediatePublished July 2017, with a two-part blog tutorial

stock-rnn

PythonTensorFlowLSTMRNNEmbeddings

A TensorFlow RNN with multilayer LSTM cells and optional multi-stock embeddings that predicts S&P 500 prices. It comes with data-fetching scripts and a two-part tutorial on the blog. The README says it's meant to show how to build and train an RNN, not to beat the market.

Code and a matching long-form tutorial, with its limits stated honestly. That's how to publish an ML demo that others can learn from and reuse.

  • Multilayer LSTM with optional per-stock embeddings

  • Paired with a two-part blog tutorial

  • 2k stars, 674 forks

Ready to build your portfolio?

Follow the ML Engineer roadmap — skills, projects, and timeline to get hired.

ML Engineer Roadmap