AI 摘要The article traces the concept of recursive self-improvement (RSI) from I. J. Good's 1965 idea of an 'ultraintelligent machine' to Yudkowsky's 2008 formulation of a feedback loop in which an AI improves the cognitive machinery that produces its intelligence. In modern AI, this feedback loop may involve a model directly rewriting its own weights or, more broadly, improving the training pipeline and deployment system to enable better successor models with improved performance on economically valuable tasks. The article also notes that the pace of AI research has drastically accelerated at frontier labs such as Anthropic and OpenAI.
AI 摘要Scaling laws are a key empirical finding in deep learning, showing that training loss decreases predictably as model size, dataset size, and compute are scaled up, following a power-law curve that appears as a straight line on a log-log plot. The article frames scaling laws as a framework for describing the relationship between compute, loss, model size, and data. At its core, this framework addresses how to optimally allocate scarce compute between model size and dataset size.
AI 摘要This post reviews recent developments in how language models can effectively use test-time compute—effectively 'thinking time'—techniques such as chain-of-thought reasoning, and examines why these approaches improve model performance. It builds on prior work showing that giving models more time and steps to reason at inference has led to significant capability gains, while raising many open research questions.
AI 摘要Reward hacking occurs when a reinforcement learning agent exploits flaws or ambiguities in the reward function to obtain high rewards without genuinely completing the intended task, arising from the difficulty of accurately specifying rewards in imperfect environments. As RLHF has become the standard method for aligning language models that generalize across many tasks, reward hacking—such as models modifying unit tests to pass coding tasks or mimicking user biases—has emerged as a critical practical challenge. These concerning behaviors are likely a major blocker for real-world deployment of more autonomous AI use cases.
AI 摘要This article examines extrinsic hallucinations in large language models, where generated content is fabricated and not grounded in either the provided context or world knowledge. It distinguishes extrinsic hallucination from in-context hallucination, noting that extrinsic hallucination requires verifying model output against the pre-training dataset, which serves as a proxy for world knowledge. To avoid hallucination, LLMs must be both factual and willing to acknowledge when they do not know an answer.
AI 摘要Diffusion models, which have achieved strong results in image synthesis, are now being applied to the harder task of video generation. Video generation is more challenging because it requires temporal consistency across frames, demands encoding more world knowledge into the model, and relies on large amounts of high-quality video data and text-video pairs that are difficult to collect. The article builds on a previous blog explaining diffusion models for image generation.
AI 摘要The article discusses how high-quality human-annotated data serves as the fuel for modern deep learning, including classification tasks and RLHF labeling for LLM alignment. While ML techniques can help improve data quality, human data collection fundamentally requires attention to detail and careful execution. Despite the community's awareness of the value of quality data, there remains a subtle tendency to prioritize model work over data work.
AI 摘要Despite significant investment in alignment techniques like RLHF to build safe default behavior into large language models, adversarial attacks and jailbreak prompts can still trigger undesired outputs. While most foundational adversarial attack research targets images in a continuous, high-dimensional space, attacks on discrete data like text are more challenging due to the lack of direct gradient signals. The author notes that attacking LLMs is essentially a form of controllable text generation, steering the model toward specific (unsafe) content.
AI 摘要The article introduces LLM-powered autonomous agents, where a large language model acts as the agent's core controller or brain, with proof-of-concept demos like AutoGPT, GPT-Engineer, and BabyAGI as examples. The agent system consists of key components: planning (breaking tasks into subgoals and self-reflection), memory (short-term in-context learning and long-term external vector stores), and tool use (calling external APIs for information beyond model weights). It begins to explore the planning component, which enables agents to handle complicated tasks by identifying and executing necessary steps.
AI 摘要Prompt Engineering, also known as In-Context Prompting, refers to methods for communicating with LLMs to steer their behavior toward desired outcomes without updating model weights. Since it is an empirical science, the effectiveness of these methods varies considerably across models, requiring heavy experimentation and heuristics. The article focuses on prompt engineering for autoregressive language models, with the core goals being alignment and model steerability.
AI 摘要This article presents a significantly revised and expanded version (2.0) of the author's 2020 overview post on Transformer architecture improvements, incorporating many new developments proposed over the past three years and roughly doubling in length. It begins by defining the mathematical notations used throughout, such as query, key, and value weight matrices, attention scores, and positional encodings. It then reviews Transformer basics, covering the vanilla encoder-decoder architecture from Vaswani et al. (2017) and simplified encoder-only (BERT) and decoder-only (GPT) variants used for language modeling.
AI 摘要The article discusses the challenges of running inference on large transformer models, which, despite achieving state-of-the-art results across many tasks, are extremely expensive to use in terms of both time and memory. This high inference cost is a major bottleneck for deploying powerful transformers on real-world tasks at scale. Beyond the growing size of these models, two main factors (per Pope et al. 2022) contribute to the inference difficulty, and the article was also updated to include a section on distillation.
AI 摘要This article introduces the neural tangent kernel (NTK), a kernel that explains how neural networks evolve during training via gradient descent and provides insights into why over-parameterized networks with sufficient width consistently converge to a global minimum despite random initialization. The post presents a deep dive into the motivation and definition of NTK, and proves deterministic convergence at different initializations for infinitely wide neural networks by characterizing NTK in that setting.
AI 摘要Vision-language tasks such as image captioning and visual question-answering have traditionally relied on object detection networks to extract visual features, which a text decoder then converts into text. Rather than covering the broad literature on this topic, the article focuses on one specific approach: extending pre-trained generalized language models so they can directly consume and process visual signals.
AI 摘要This article, Part 3 of a series on learning with not enough data, explores two approaches for synthetic training data generation: data augmentation and new data creation. Data augmentation applies modifications like distortions and transformations to existing samples to derive new data points while preserving their key attributes and semantic meaning. Alternatively, new data can be generated using powerful pretrained language models, where few-shot prompting has proven effective for in-context learning without additional training.
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 se
[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”
AI 摘要This article is an in-depth tutorial on diffusion models, a class of generative models in machine learning. It has been periodically updated from 2021 to 2024 to incorporate recent advances, including score-based generative modeling, classifier-free guidance, text-to-image systems like GLIDE, unCLIP and Imagen, latent diffusion models, progressive distillation, consistency models, and model architecture details. The piece is grounded in key research papers from the field, referencing works by prominent authors such as Yang Song.
AI 摘要Contrastive representation learning aims to build an embedding space where similar sample pairs stay close together while dissimilar pairs are far apart. It can be applied in both supervised and unsupervised settings. In unsupervised scenarios, it is one of the most powerful approaches within self-supervised learning.