Lilian Weng (翁丽莲)
@lilianwengThinking Machines Lab 联合创始人 / 前 OpenAI 安全负责人
Lil'Log 技术博客作者,公认的大模型 Agent、扩散模型、幻觉与对齐领域百科级综述。
代表作与编年史大事记
2020 年至今 · 24 个节点- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Harness Engineering for Self-Improvement
The concept of recursive self-improvement (RSI) dates back to I. J. Good (1965) , where he defined an “ultraintelligent machine” as a system that can surpass humans in all intellectual activities and design better machines to improve itself. Yudkowsky (2008) used the phrase “recursive self-improvement” for a specific feedback loop: an AI uses its current int
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Scaling Laws, Carefully
Scaling laws are one of the most critical empirical findings in deep learning. The observation is simple in form: the training loss $L$ decreases predictably as we scale up model size $N$, dataset size $D$, and compute $C$, following a power-law curve, which appears as a straight line on a log-log plot. We can view scaling laws as a framework for describing
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Why We Think
Special thanks to John Schulman for a lot of super valuable feedback and direct edits on this post. Test time compute ( Graves et al. 2016 , Ling, et al. 2017 , Cobbe et al. 2021 ) and Chain-of-thought (CoT) ( Wei et al. 2022 , Nye et al. 2021 ), have led to significant improvements in model performance, while raising many research questions. This post aims
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Reward Hacking in Reinforcement Learning
Reward hacking occurs when a reinforcement learning (RL) agent exploits flaws or ambiguities in the reward function to achieve high rewards, without genuinely learning or completing the intended task. Reward hacking exists because RL environments are often imperfect, and it is fundamentally challenging to accurately specify a reward function. With the rise o
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Extrinsic Hallucinations in LLMs
Hallucination in large language models usually refers to the model generating unfaithful, fabricated, inconsistent, or nonsensical content. As a term, hallucination has been somewhat generalized to cases when the model makes mistakes. Here, I would like to narrow down the problem of hallucination to cases where the model output is fabricated and not grounded
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Diffusion Models for Video Generation
Diffusion models have demonstrated strong results on image synthesis in past years. Now the research community has started working on a harder task—using it for video generation. The task itself is a superset of the image case, since an image is a video of 1 frame, and it is much more challenging because: It has extra requirements on temporal consistency acr
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Thinking about High-Quality Human Data
[Special thank you to Ian Kivlichan for many useful pointers (E.g. the 100+ year old Nature paper “Vox populi”) and nice feedback. 🙏 ] High-quality data is the fuel for modern data deep learning model training. Most of the task-specific labeled data comes from human annotation, such as classification task or RLHF labeling (which can be constructed as classi
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Adversarial Attacks on LLMs
The use of large language models in the real world has strongly accelerated by the launch of ChatGPT. We (including my team at OpenAI, shoutout to them) have invested a lot of effort to build default safe behavior into the model during the alignment process (e.g. via RLHF ). However, adversarial attacks or jailbreak prompts could potentially trigger the mode
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
LLM Powered Autonomous Agents
Building agents with LLM (large language model) as its core controller is a cool concept. Several proof-of-concepts demos, such as AutoGPT , GPT-Engineer and BabyAGI , serve as inspiring examples. The potentiality of LLM extends beyond generating well-written copies, stories, essays and programs; it can be framed as a powerful general problem solver. Agent S
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog实战教程来源:Lilian Weng · Lil'Loglilianweng.github.io
Prompt Engineering
Prompt Engineering , also known as In-Context Prompting , refers to methods for how to communicate with LLM to steer its behavior for desired outcomes without updating the model weights. It is an empirical science and the effect of prompt engineering methods can vary a lot among models, thus requiring heavy experimentation and heuristics. This post only focu
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
The Transformer Family Version 2.0
Many new Transformer architecture improvements have been proposed since my last post on “The Transformer Family” about three years ago. Here I did a big refactoring and enrichment of that 2020 post — restructure the hierarchy of sections and improve many sections with more recent papers. Version 2.0 is a superset of the old version, about twice the length. N
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 01:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Large Transformer Model Inference Optimization
[Updated on 2023-01-24: add a small section on Distillation .] Large transformer models are mainstream nowadays, creating SoTA results for a variety of tasks. They are powerful but very expensive to train and use. The extremely high inference cost, in both time and memory, is a big bottleneck for adopting a powerful transformer for solving real-world tasks a
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 01:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Some Math behind Neural Tangent Kernel
Neural networks are well known to be over-parameterized and can often easily fit data with near-zero training loss with decent generalization performance on test dataset. Although all these parameters are initialized at random, the optimization process can consistently lead to similarly good outcomes. And this is true even when the number of model parameters
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 06:10Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Generalized Visual Language Models
Processing images to generate text, such as image captioning and visual question-answering, has been studied for years. Traditionally such systems rely on an object detection network as a vision encoder to capture visual features and then produce text via a text decoder. Given a large amount of existing literature, in this post, I would like to only focus on
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 06:10Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Learning with not Enough Data Part 3: Data Generation
Here comes the Part 3 on learning with not enough data (Previous: Part 1 and Part 2 ). Let’s consider two approaches for generating synthetic data for training. Augmented data . Given a set of existing training samples, we can apply a variety of augmentation, distortion and transformation to derive new data points without losing the key attributes. We have c
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Learning with not Enough Data Part 2: Active Learning
This is part 2 of what to do when facing a limited amount of labeled data for supervised learning tasks. This time we will get some amount of human labeling work involved, but within a budget limit, and therefore we need to be smart when selecting which samples to label.
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Learning with not Enough Data Part 1: Semi-Supervised Learning
When facing a limited amount of labeled data for supervised learning tasks, four approaches are commonly discussed.
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog实战教程来源:Lilian Weng · Lil'Loglilianweng.github.io
How to Train Really Large Models on Many GPUs?
[Updated on 2022-03-13: add expert choice routing .] [Updated on 2022-06-10]: Greg and I wrote a shorted and upgraded version of this post, published on OpenAI Blog: “Techniques for Training Large Neural Networks”
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
What are Diffusion Models?
[Updated on 2021-09-19: Highly recommend this blog post on score-based generative modeling by Yang Song (author of several key papers in the references)]. [Updated on 2022-08-27: Added classifier-free guidance , GLIDE , unCLIP and Imagen . [Updated on 2022-08-31: Added latent diffusion model . [Updated on 2024-04-13: Added progressive distillation , consiste
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程
- 08:00Blog深度文章来源:Lilian Weng · Lil'Loglilianweng.github.io
Contrastive Representation Learning
The goal of contrastive representation learning is to learn such an embedding space in which similar sample pairs stay close to each other while dissimilar ones are far apart. Contrastive learning can be applied to both supervised and unsupervised settings. When working with unsupervised data, contrastive learning is one of the most powerful approaches in se
作者:Lilian Weng (翁丽莲)#Agent 架构#综述教程