techlist.io

OpenAI

274 posts

openai.com/news

Filter by tag

OpenAI2024-10-143 min readCurated summary

Evaluating fairness in ChatGPT

# Evaluating Fairness in ChatGPT OpenAI studied whether ChatGPT's responses change based on the name a user shares, and whether those changes reflect harmful stereotypes. Across millions of real conversations, the team found no meaningful difference in overall response quality tied to gender or racial connotations of names, and only about 0.1% of cases showed name-linked differences that a model judged as harmful stereotypes. The authors present the method as a new benchmark for tracking bias over time, while acknowledging that the study covers only English, binary gender associations, and four racial and ethnic groups. ## Why First-Person Fairness Matters - Prior fairness research mostly examined third-person cases, such as AI screening résumés or scoring credit, where institutions make decisions about others. - This study focuses on first-person fairness, meaning how a chatbot treats the user directly in everyday tasks like drafting emails, writing résumés, or suggesting entertainment. - Names carry cultural, gender, and racial associations, and users often share them, so they serve as a practical signal for detecting bias. - ChatGPT can retain names across conversations unless the user disables the Memory feature. ## Measuring Bias with a Language Model Research Assistant - Researchers used GPT-4o as a "Language Model Research Assistant" (LMRA) to analyze patterns across real ChatGPT transcripts. The LMRA shared only aggregate trends, not the underlying chats, to protect privacy. - The setup compared responses to identical prompts paired with different names, such as John and Amanda, without the LMRA knowing which name belonged to which group. - To validate the LMRA, both it and human raters evaluated the same public chats. The LMRA agreed with humans more than 90% of the time on gender, but agreement was lower for race and ethnicity, so the authors note that further work is needed. ## Findings - Response quality, including accuracy and hallucination rates, stayed consistent across gender and racial groups. - Name-linked differences rated as harmful stereotypes appeared in about 0.1% of cases overall, with some domains on older models reaching roughly 1%. - GPT-3.5 Turbo showed the highest bias among the models tested, while newer models all stayed below 1% across tasks. - Open-ended tasks with long responses were more likely to contain stereotypes. "Write a story" produced the most, for example, with responses to female-sounding names more often featuring female protagonists. - Differences also appeared in tone, language complexity, and level of detail. Some were clear stereotypes, while others might be welcomed by some users and unwelcomed by others. ## Limitations - The study covers only text interactions in English, binary gender associations based on common U.S. names, and four racial and ethnic groups (Black, Asian, Hispanic, and White). - Names are not the only factor that could influence first-person fairness, and not every user shares their name. - Defining a harmful stereotype remains difficult, and the authors acknowledge the need to improve the LMRA's accuracy, particularly for race and ethnicity. ## Conclusion OpenAI has added this evaluation method to its standard suite of model performance tests and plans to use it in future deployment decisions. The authors are also sharing the system messages used in the study so external researchers can replicate and extend the work.

OpenAI2024-10-092 min readCurated summary

MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering

MLE-bench is a benchmark for measuring how well AI agents perform machine learning engineering. It draws 75 ML engineering competitions from Kaggle, covering tasks such as training models, preparing datasets, and running experiments, and sets human baselines from Kaggle's public leaderboards. The best-performing setup tested, OpenAI's o1-preview with AIDE scaffolding, reached at least a Kaggle bronze medal in 16.9% of competitions. The benchmark code is open-sourced for further research. ## Benchmark Design - The benchmark uses 75 ML engineering competitions from Kaggle, selected to create a diverse and challenging set of tasks. - Each competition has a human baseline derived from Kaggle's publicly available leaderboards, which gives agent results a human reference point. ## Evaluation Results - The authors ran several frontier language models through open-source agent scaffolds. - The top configuration, o1-preview with AIDE scaffolding, achieved at least bronze-medal performance in 16.9% of competitions. ## Additional Investigations - The authors studied how resource scaling affects AI agent performance. - They also examined the impact of contamination from pre-training data, since competition content may overlap with training corpora. ## Availability - The benchmark code is open-sourced to support future research into the ML engineering capabilities of AI agents.

OpenAI2024-09-113 min readCurated summary

OpenAI o1-mini

OpenAI introduced o1-mini, a cost-efficient reasoning model that trades broad world knowledge for strength in STEM. It nearly matches o1 on math and coding benchmarks like AIME and Codeforces, at a much lower cost and with faster responses. Its weaker non-STEM factual knowledge is the main limitation. The post notes that o1-mini has since been retired from the API. ## Optimized for STEM Reasoning - o1-mini is a smaller model that was optimized for STEM reasoning during pretraining rather than trained on broad web-scale knowledge. - It was then trained with the same high-compute reinforcement learning pipeline as o1, which lets it match o1 on many reasoning tasks while being significantly cheaper. - At launch, it was available to tier 5 API users at a price 80% lower than o1-preview. ChatGPT Plus, Team, Enterprise, and Edu users could use it as an alternative to o1-preview, with higher rate limits and lower latency. ## Math and Coding Performance - **Mathematics:** On the AIME high school competition, o1-mini scored 70.0%, close to o1's 74.4% and well above o1-preview's 44.6%. This is about 11 of 15 questions, placing it roughly in the top 500 US high school students. - **Coding:** On Codeforces, o1-mini reached an Elo of 1650, compared with 1673 for o1 and 1258 for o1-preview. This is around the 86th percentile of competitive programmers on the platform. - It also performed well on the HumanEval coding benchmark and high-school-level cybersecurity capture-the-flag challenges. - On science and math benchmarks such as GPQA and MATH-500, o1-mini outperformed GPT-4o. It trailed GPT-4o on MMLU and fell behind o1-preview on GPQA because of weaker broad world knowledge. ## Human Preference and Speed - Human raters compared o1-mini with GPT-4o on open-ended prompts. Like o1-preview, o1-mini was preferred in reasoning-heavy domains but not in language-focused ones. - In a word reasoning example, GPT-4o answered incorrectly, while o1-mini and o1-preview both answered correctly. o1-mini reached its answer roughly 3-5x faster than o1-preview. ## Safety Results - o1-mini uses the same alignment and safety techniques as o1-preview, and it went through the same preparedness assessment, external red-teaming, and safety evaluations. - It showed 59% higher jailbreak robustness than GPT-4o on an internal version of the StrongREJECT dataset. - On challenging harmful prompts (jailbreaks and edge cases), safe completions rose from 0.714 for GPT-4o to 0.932. Goodness@0.1 on the StrongREJECT jailbreak evaluation rose from 0.22 to 0.83. - Over-refusal on benign edge cases stayed about the same (0.91 for GPT-4o vs. 0.923 for o1-mini). ## Limitations - Because of its STEM specialization, o1-mini's knowledge of non-STEM topics such as dates, biographies, and trivia is comparable to small models like GPT-4o mini. - OpenAI said it planned to address these gaps in future versions and to explore other modalities and non-STEM specialties.

OpenAI2024-09-114 min readCurated summary

Learning to reason with LLMs

# Learning to Reason with LLMs OpenAI introduces o1, a large language model trained with reinforcement learning to perform complex reasoning by producing a long internal chain of thought before it answers. The authors report that o1 substantially outperforms GPT-4o on reasoning-heavy exams and benchmarks, rivals or exceeds human experts on several of them, and improves predictably with both more training compute and more time spent thinking at inference. The post also argues that chain-of-thought reasoning helps safety and alignment, but that the raw reasoning will stay hidden from users. ## Reinforcement Learning and Chain of Thought - o1 is trained with a large-scale reinforcement learning algorithm that teaches it to think productively in its chain of thought. - Performance consistently rises with more train-time compute and with more test-time compute (time spent thinking). - Through training, the model learns to refine its strategies, recognize and correct mistakes, break hard steps into simpler ones, and try alternative approaches when one fails. ## Benchmark Results - **AIME 2024 (math):** GPT-4o averaged 12% (1.8/15). o1 averaged 74% with one sample per problem, 83% with consensus over 64 samples, and 93% when re-ranking 1,000 samples with a learned scoring function. The top score places it among the top 500 US high school students and above the USA Mathematical Olympiad cutoff. - **GPQA Diamond (physics, biology, chemistry):** o1 surpassed PhD-level experts recruited for the comparison, the first model to do so on this benchmark. The authors caution this does not mean o1 is more capable than a PhD in all respects. - **Other benchmarks:** o1 improved on the state of the art across several ML benchmarks. With vision enabled, it scored 78.2% on MMMU, the first model competitive with human experts there. It beat GPT-4o on 54 of 57 MMLU subcategories. - **Codeforces:** GPT-4o reached an Elo of 808 (11th percentile). o1 reached 1807, better than 93% of competitors. ## Competitive Programming at the 2024 IOI - A model initialized from o1 and further fine-tuned on programming competitions scored 213 points, ranking in the 49th percentile, under the same conditions as human contestants: ten hours, six problems, and 50 submissions per problem. - The system sampled many candidate solutions and selected 50 for submission using the public test cases, model-generated tests, and a learned scoring function. Random submission would have averaged 156 points, so this selection strategy was worth nearly 60 points. - With 10,000 submissions per problem allowed, the model scored 362.14, above the gold medal threshold, even without the selection strategy. ## Human Preference and Limitations - In blind comparisons on open-ended prompts, human trainers strongly preferred o1-preview over GPT-4o in data analysis, coding, and math. - o1-preview was not preferred on some natural language tasks, suggesting it is not suited to every use case. ## Safety and Alignment - Embedding safety policies into the chain of thought improved robustness. o1-preview performed substantially better on key jailbreak evaluations and on the hardest internal refusal-boundary benchmarks. - The authors argue that visible reasoning about safety rules is easier to observe and more robust to out-of-distribution scenarios. - Pre-deployment red-teaming under the Preparedness Framework found that chain of thought also contributed to capability gains. The team observed instances of reward hacking. ## Hidden Chains of Thought - A hidden, faithful chain of thought lets developers monitor the model's reasoning, for example to detect attempts to manipulate users. - For this to work, the reasoning must not be shaped by policy compliance or user-preference training, and it is not shown to users. - OpenAI acknowledges the trade-off. Instead, o1 shows a model-generated summary of its chain of thought, and it is trained to reproduce useful ideas from the reasoning in its final answer.

OpenAI2024-08-124 min readCurated summary

Introducing SWE-bench Verified

OpenAI found that SWE-bench, a popular benchmark for AI coding agents, underestimates model capabilities because many of its tasks are underspecified, have overly narrow unit tests, or have unreliable environments that reject valid solutions. To fix this, they worked with the benchmark's authors and 93 Python developers to manually screen samples and released SWE-bench Verified, a 500-sample subset. GPT-4o's best score more than doubled on the new benchmark, from 16% to 33.2%, which supports the view that the original scores were too low. ## How SWE-bench Works - Each sample comes from a resolved GitHub issue in one of 12 open-source Python repositories and is tied to a pull request. - FAIL_TO_PASS tests fail before the PR's code is added and pass after, confirming the issue is fixed. - PASS_TO_PASS tests pass both before and after, checking that unrelated functionality still works. - Agents see only the issue text and the codebase, not the tests, and must produce a patch that passes both sets. ## Three Sources of Underestimation - **Overly specific tests:** Unit tests sometimes check details unrelated to the issue, rejecting correct solutions. - **Underspecified issues:** Some issue descriptions leave the problem or the expected fix ambiguous. - **Unreliable environments:** Some development setups cause tests to fail regardless of the solution. - **Example (scikit-learn-14520):** The issue reports that the `copy` parameter in `TfidfVectorizer` is ignored. The test requires a specific `DeprecationWarning` with an exact message that was agreed on in PR discussion and never appears in the issue, so the task is nearly impossible to solve. ## Building SWE-bench Verified - Annotators labeled 1,699 random test samples on two criteria: whether the issue description is underspecified and whether the FAIL_TO_PASS tests unfairly reject valid solutions. - Each criterion uses a 0–3 severity scale. Scores of 2 or 3 mean the sample should be discarded. - Each sample was labeled by three annotators, and the highest severity was kept. This is conservative and removes some valid samples, but it raises confidence in the remaining ones. - Annotators also estimated fix difficulty and could flag other major problems in free text. - Samples were removed if they had a severe label or any flagged issue. About 38.3% were flagged for underspecification, 61.1% for unfair tests, and 68.3% were filtered out overall. - The final 500 samples favor longer tasks (1–4 hours and over 4 hours), and the rest were sampled randomly. - The release includes all annotations, which allow slicing by difficulty: 196 "easy" tasks under 15 minutes and 45 "hard" tasks over an hour. - A new Docker-based evaluation harness makes runs more reproducible. ## Performance Results - GPT-4o (gpt-4o-2024-05-13) with the best open-source scaffold, Agentless, scored 33.2% on SWE-bench Verified, versus 16% on the original. - Scores rose within each difficulty bucket, not just because the dataset shifted toward easier tasks. This suggests impossible samples were removed while genuinely hard ones stayed. The effect was clearest in the two easiest buckets, which hold the most samples. - The gain from SWE-bench Lite was smaller because Lite was already subsampled to be easier. ## Implications for Preparedness Evaluations - **Scrutinize benchmarks:** Evaluations used for risk tracking must be validated, since SWE-bench underestimated capability. - **Account for scaffolding:** GPT-4's score on SWE-bench Lite ranged from 2.7% with an early RAG scaffold to 28.3% with CodeR. Evaluations should run continually, including after training and when models are connected to external systems. - **Recognize limits:** The benchmark is a static dataset built from public GitHub scrapes, so pre-trained models may have seen the tasks. It also covers only a narrow part of the Medium autonomy risk level and needs supplementing with other evaluations.

OpenAI2024-07-234 min readCurated summary

Improving Model Safety Behavior with Rule-Based Rewards

# Improving Model Safety Behavior with Rule-Based Rewards OpenAI introduces Rule-Based Rewards (RBRs), a method that aligns models to behave safely without collecting large amounts of human feedback. RBRs use clear, step-by-step rules scored by a fixed grader model and feed those scores into the standard RLHF pipeline as an additional reward signal. The authors report that RBR-trained models match the safety of human-feedback-trained models, overrefuse less, and keep capability benchmark scores intact, while remaining cheap to update when safety policies change. ## Why Human Feedback Falls Short for Safety - Standard RLHF relies on human feedback to train a reward model that signals desirable behavior. - Collecting human feedback for routine, repetitive safety cases is inefficient. - When safety policies change, previously collected feedback can become outdated and require new data collection. ## How Rule-Based Rewards Work - Developers define **propositions**, simple true/false statements about a response, such as "Response is judgmental towards the user," "Response contains a short apology and inability to comply," "Response answers the user's request in a non-refusing manner," and "Response is maximally helpful for the user." - Propositions are combined into **rules** that encode what an ideal response looks like for a given scenario. For example, a refusal should contain a brief apology and state an inability to comply. - A fixed grader language model scores each response against these rules. - A linear model, with weights learned from a small dataset of prompts labeled with ideal response types and desired and undesired completions, converts the rule scores into a reward. - This RBR reward is combined with a helpful-only reward model and used as an additional signal in PPO to train the model. ## Three Response Categories - **Hard refusals** apply to requests such as criminal hate speech, advice for violent crimes, and extremism. The ideal response is a brief apology and a statement of inability to comply, without verbosity or judgmental language. - **Soft refusals** apply to requests involving self-harm. The ideal response is a more empathetic apology that acknowledges the user's emotional state while still declining. - **Comply** applies to benign requests, where the model should answer helpfully. ## Results - RBR-trained models reach safety performance comparable to models trained with human feedback. - They reduce overrefusal of safe requests without degrading common capability benchmarks. - They require far less human data, making training faster and cheaper. - Rules can be updated by editing or adding them, without extensive retraining. - Evaluation tracks a trade-off curve: usefulness (share of safe prompts correctly complied with) against safety (share of unsafe prompts correctly refused). Helpfulness-only baselines are more useful but less safe, while human-feedback baselines are very safe but less useful. RBR aims for the top-right corner, where both are high. ## Limitations and Ethical Considerations - RBRs work best for tasks with clear, straightforward rules and are harder to apply to subjective qualities such as essay quality. - The authors suggest combining RBRs with human feedback. RBRs enforce specific guidelines, such as avoiding slang or following the Model Spec, while human feedback handles nuanced aspects like coherence and writing style. - The RBR term is designed to enforce safety without dominating the overall reward more than necessary. - Shifting safety checks from humans to AI can reduce human oversight and may amplify biases if the grader model is biased. Careful rule design and a mix of RBRs and human feedback are recommended to mitigate these risks. ## Future Directions The authors see RBRs as applicable beyond safety, for example to shaping a model's personality or response format for a specific application. Planned work includes ablation studies of RBR components, using synthetic data for rule development, and human evaluations across more domains.

OpenAI2024-07-173 min readCurated summary

GPT-4o mini: advancing cost-efficient intelligence

GPT-4o mini is OpenAI's most cost-efficient small model, designed to make AI intelligence far more affordable for building applications. It scores 82% on MMLU, outperforms GPT-3.5 Turbo and other small models on reasoning, math, coding, and multimodal benchmarks, and costs 15 cents per million input tokens and 60 cents per million output tokens. OpenAI also says it is the first model to apply its instruction hierarchy method, which improves resistance to jailbreaks and prompt injections. ## Pricing and Availability - Priced at $0.15 per 1M input tokens and $0.60 per 1M output tokens, over 60% cheaper than GPT-3.5 Turbo and an order of magnitude cheaper than previous frontier models - Available as a text and vision model through the Assistants API, Chat Completions API, and Batch API, with fine-tuning planned in the coming days - Context window of 128K tokens, up to 16K output tokens per request, and knowledge up to October 2023 - Replaces GPT-3.5 in ChatGPT for Free, Plus, and Team users, with Enterprise access the following week - Improved tokenizer shared with GPT-4o makes non-English text more cost-effective ## Benchmark Performance - **Reasoning:** 82.0% on MMLU, compared with 77.9% for Gemini Flash and 73.8% for Claude Haiku - **Math:** 87.0% on MGSM, compared with 75.5% for Gemini Flash and 71.7% for Claude Haiku - **Coding:** 87.2% on HumanEval, compared with 71.5% for Gemini Flash and 75.9% for Claude Haiku - **Multimodal reasoning:** 59.4% on MMMU, compared with 56.1% for Gemini Flash and 50.2% for Claude Haiku - Strong function calling and improved long-context performance over GPT-3.5 Turbo - An early version reportedly outperforms GPT-4T (01-25) on chat preferences in the LMSYS leaderboard ## Real-World Use Cases - Partners Ramp and Superhuman found it significantly better than GPT-3.5 Turbo at extracting structured data from receipts and generating high-quality email replies from thread history - Its low cost and latency suit workflows that chain or parallelize many model calls, process large contexts such as full codebases or long conversation histories, and power real-time customer support chatbots ## Safety Measures - Pre-training filters out hate speech, adult content, sites that mainly aggregate personal information, and spam - Post-training uses RLHF to align behavior with OpenAI's policies - Shares the same safety mitigations as GPT-4o, assessed through automated and human evaluations under OpenAI's Preparedness Framework - Over 70 external experts in areas such as social psychology and misinformation tested GPT-4o for risks, and their insights informed improvements to both models ## Cost Trajectory The cost per token of GPT-4o mini has dropped 99% since text-davinci-003, released in 2022. OpenAI says it intends to keep reducing costs while improving capabilities, with the goal of embedding models in more apps and websites.

OpenAI2024-07-163 min readCurated summary

Prover-Verifier Games improve legibility of language model outputs

# Prover-Verifier Games for Legible Language Model Outputs OpenAI's research shows that training strong language models to produce text that weaker models can easily verify also makes that text easier for humans to evaluate. Optimizing solely for correct answers yields solutions that are harder for people to check, and human evaluators made nearly twice as many errors on those solutions. The proposed method, inspired by prover-verifier games, recovers part of the accuracy gain while keeping the outputs legible. ## Why Correctness Alone Is Not Enough - Optimizing the problem-solving process of strong models only for correct answers makes the solutions harder to understand. - When human evaluators with limited time assessed these highly optimized solutions, they made nearly twice as many errors as on less optimized solutions. - The authors argue that AI-generated text needs clarity and ease of verification, not just correctness. ## The Prover-Verifier Game Setup - The method is evaluated on grade-school math problems, using chain-of-thought solutions. - A "prover" model generates a solution, and a "verifier" model checks it for accuracy. - The prover is a large GPT-4-family model and the verifier is a much smaller one, with roughly three orders of magnitude difference in pretraining compute. - Both models receive only a small amount of supervised training on human-written math derivations, with no extensive post-training. ## Training Procedure - Multiple solutions are generated from the prover, some of them incorrect due to natural prover mistakes. - Training alternates between two phases over several rounds: - **Verifier training:** The weak verifier learns to predict whether the prover's solutions are correct. - **Prover training:** The strong prover plays either a "helpful" role, where correct solutions that the verifier scores highly are rewarded, or a "sneaky" role, where incorrect solutions that the verifier scores highly are rewarded. - Early on, the sneaky prover easily fools the verifier. Because those incorrect solutions are added to the next verifier training round, the same exploit stops working, and the prover must find new strategies each round. - Training ends when the sneaky prover can no longer produce incorrect solutions that convince the verifier. ## Key Findings - **Performance vs. legibility trade-off:** A model with only supervised finetuning on human derivations was highly legible but inaccurate. Optimizing only for correctness gave high accuracy but poor legibility. The checkability game balanced the two, retaining high legibility with moderate accuracy, achieving about half the performance boost of correctness-only optimization. - **Robust verifier:** Distinguishes correct from incorrect solutions even when a solution is designed to mislead. - **Helpful prover:** Produces solutions that stay legible to humans and reduce evaluator errors. - **Sneaky prover:** Produces subtle incorrect solutions that initially confuse human evaluators, which helps identify areas for further improvement. ## Implications for Alignment The approach reduces reliance on human demonstrations or judgments about legibility, which the authors see as relevant to aligning future superintelligent systems without direct human oversight. The study covers only one dataset and still requires ground-truth labels, but the authors expect this kind of methodology to help build AI systems whose outputs are both correct and transparently verifiable.

OpenAI2024-07-093 min readCurated summary

OpenAI and Los Alamos National Laboratory announce bioscience research partnership

OpenAI and Los Alamos National Laboratory (LANL) are developing an evaluation study to determine whether multimodal AI models like GPT-4o can safely help scientists perform hands-on laboratory work. The partnership builds on the U.S. public sector's tradition of working with private companies to advance research in health care and bioscience, and it responds to a White House Executive Order that tasks national labs with evaluating frontier AI capabilities, including biological ones. The goal is to advance scientific research while understanding and mitigating biosecurity risks. ### Background and Motivation - OpenAI sees AI as a way to multiply the speed and impact of science. Moderna is using OpenAI technology to build a data-analysis assistant for clinical trials, and Color Health built a GPT-4o copilot to support cancer screening and treatment decisions. - The White House Executive Order on Safe, Secure, and Trustworthy AI directs the U.S. Department of Energy's national labs to help assess frontier models' biological capabilities. - LANL's new AI Risks Technical Assessment Group will lead the laboratory's part of the work. ### The Evaluation Study - The Bioscience Division at LANL and OpenAI are assessing how frontier models such as GPT-4o can help people perform tasks in a physical lab through vision and voice. - The study covers GPT-4o and OpenAI's unreleased real-time voice systems. - It is designed as a controlled experiment in which both experts (PhDs and professionals) and novices perform and troubleshoot a safe protocol of standard lab tasks. These include transformation (introducing foreign genetic material into a host organism), cell culture (maintaining and propagating cells in vitro), and cell separation (such as centrifugation). - These tasks serve as proxies for more complex work that carries dual-use concerns. Researchers will measure how much GPT-4o improves task completion and accuracy, quantifying how much it can upskill both experts and beginners. - The work follows OpenAI's Preparedness Framework for tracking and protecting against model risks, and it aligns with commitments made at the 2024 AI Seoul Summit. ### How This Extends Previous Work - **Wet lab skills:** Earlier evaluations relied on written tasks, which don't capture the practical skill needed for benchwork. Knowing that mass spectrometry is required is much easier than running it correctly on real samples. - **Multiple modalities:** Earlier work centered on GPT-4's text outputs. GPT-4o can take voice and visual input, so a user could show their setup to the model, ask questions aloud, and troubleshoot problems through a camera rather than describing them in writing. ### Looking Ahead The authors describe the study as a first-of-its-kind test of multimodal frontier models in a lab setting. They hope the results will set new standards for AI safety and effectiveness in science, and they emphasize that collaboration between the private and public sectors is needed both to build useful innovations and to keep them safe.

OpenAI2024-06-192 min readCurated summary

A Holistic Approach to Undesired Content Detection in the Real World

This post presents a holistic approach to building natural language classifiers for real-world content moderation. The authors argue that a working system depends on a chain of carefully executed steps, from taxonomy and labeling design to data quality control, active learning, and methods that guard against overfitting. Their moderation system detects a broad range of undesired content, and they report that the approach generalizes to different taxonomies and outperforms off-the-shelf models. ## Components of the Pipeline - Content taxonomy design, which defines the categories of undesired content - Labeling instructions, which keep annotators consistent with those categories - Data quality control to keep the labeled training data reliable - An active learning pipeline that targets rare events, which are often the hardest for classifiers to catch - Techniques that make the model robust and reduce overfitting ## Detected Content Categories - Sexual content - Hateful content - Violence - Self-harm - Harassment ## Generalization and Results - The approach is not tied to one specific taxonomy and can be adapted to other content policies - The resulting classifiers are reported to outperform off-the-shelf models on this task ## Practical Takeaway For teams building moderation tools, the post suggests that model choice matters less than the surrounding process. Careful taxonomy design, labeling guidelines, data quality control, and targeted collection of rare examples are the steps that determine whether a classifier works in production.

OpenAI2024-06-192 min readCurated summary

Consistency Models

Consistency models address the slow sampling of diffusion models by mapping noise directly to data, which allows high-quality generation in one step. They also allow multistep sampling for better quality and support zero-shot editing tasks without task-specific training. The authors report state-of-the-art one-step results and show that the models can work as standalone generative models that outperform existing one-step, non-adversarial methods. ## The Bottleneck in Diffusion Models - Diffusion models produce strong results in image, audio, and video generation. - Their iterative sampling process makes generation slow. ## Direct Noise-to-Data Mapping - Consistency models generate samples by mapping noise directly to data. - One-step generation is built into the design. - Multistep sampling remains possible, letting users trade compute for sample quality. ## Zero-Shot Data Editing - The models handle tasks such as image inpainting, colorization, and super-resolution. - They do not need explicit training on these tasks. ## Training Approaches - They can be trained by distilling a pre-trained diffusion model. - They can also be trained as standalone generative models. ## Benchmark Results - In one- and few-step sampling, they outperform existing diffusion distillation techniques. - One-step generation reaches a new state-of-the-art FID of 3.55 on CIFAR-10 and 6.20 on ImageNet 64x64. - As standalone models, they outperform existing one-step, non-adversarial generative models on CIFAR-10, ImageNet 64x64, and LSUN 256x256.

OpenAI2024-06-192 min readCurated summary

Improved Techniques for Training Consistency Models

Consistency models can generate high-quality samples in a single step without adversarial training, but current versions rely on distillation from pre-trained diffusion models and on learned metrics like LPIPS, which limit their quality and bias evaluation. This work presents improved techniques for consistency training, in which models learn directly from data without distillation. With these changes, the models reach FID scores that beat distillation-based results in both one-step and two-step sampling. ### Limits of Distillation and LPIPS - Distillation caps a consistency model's quality at that of the pre-trained diffusion model it learns from. - LPIPS, a learned perceptual metric, introduces undesirable bias into evaluation. ### Improved Consistency Training - The authors analyze the theory of consistency training and find a previously overlooked flaw. They fix it by removing the Exponential Moving Average from the teacher consistency model. - Pseudo-Huber losses from robust statistics replace learned metrics such as LPIPS. - A lognormal noise schedule is introduced for the consistency training objective. - The total number of discretization steps doubles every set number of training iterations. - Better hyperparameter tuning is applied alongside these modifications. ### Results on CIFAR-10 and ImageNet 64×64 - One-step sampling achieves FID scores of 2.51 on CIFAR-10 and 3.25 on ImageNet 64×64. - These one-step scores are 3.5× and 4× better than prior consistency training approaches. - Two-step sampling lowers the FID scores to 2.24 on CIFAR-10 and 2.77 on ImageNet 64×64. - The two-step results surpass distillation-based results in both one-step and two-step settings. - The gap between consistency models and other state-of-the-art generative models narrows.

OpenAI2024-06-053 min readCurated summary

Extracting Concepts from GPT-4

# Extracting Concepts from GPT-4 with Sparse Autoencoders OpenAI introduces improved methods for decomposing GPT-4's internal activations into roughly 16 million features that are often interpretable to humans. The authors argue that neural networks are poorly understood compared to engineered systems, and that interpretability tools are needed before safety can be reasoned about with similar confidence. Their scaling techniques for sparse autoencoders show smoother and better-behaved returns than prior work, though the results remain early, with many features still hard to interpret and the approach capturing only part of the model's behavior. ## Why Neural Networks Are Hard to Interpret - Engineers can design and assess cars from component specifications, but neural networks are shaped by training algorithms rather than designed directly. - The resulting networks cannot easily be decomposed into identifiable parts, which makes safety reasoning far harder than in traditional engineering. - Individual neurons activate in unpredictable patterns, often representing many concepts at once, and they fire densely on every input. - Real-world concepts are sparse: in any given context, only a small fraction is relevant. ## Sparse Autoencoders as a Path Forward - Sparse autoencoders identify a small set of "features" that matter for a given output, similar to the handful of concepts a person considers when reasoning about a situation. - These features show sparse activation patterns that often align with human-understandable concepts, even though interpretability was not directly optimized for. - The difficulty is scale: frontier models represent a huge number of concepts, so autoencoders may need to be very large to cover them, and prior methods did not scale well. ## Scaling Autoencoder Training - The team developed a training methodology that scales sparse autoencoders to tens of millions of features on frontier models. - Performance improves smoothly and predictably with scale, with better returns than earlier techniques. - They introduced new metrics for evaluating feature quality. - They trained autoencoders on GPT-2 small and GPT-4 activations, including a 16-million-feature autoencoder for GPT-4. - Interpretability is checked by visualizing each feature through the documents where it activates. ## Limitations - Many features remain hard to interpret, activating without a clear pattern or firing spuriously on unrelated content, and there is no reliable way to validate interpretations. - Passing GPT-4's activations through the autoencoder yields performance equivalent to a model trained with roughly 10x less compute, so the reconstruction is incomplete. - Fully mapping frontier models may require billions or trillions of features, which remains challenging even with the improved techniques. - Finding features at one point in the model is only a first step. Understanding how the model computes those features and uses them downstream requires much further work. ## Next Steps and Open Release - The near-term goal is to test whether the features are practically useful for monitoring and steering model behavior in frontier models. - The longer-term goal is to give researchers new ways to reason about safety and robustness, and to strengthen trust in powerful models. - OpenAI released a paper detailing its methods, a full suite of autoencoders for GPT-2 small, code for using them, and a feature visualizer for exploring GPT-2 and GPT-4 features.

OpenAI2024-05-293 min readCurated summary

Disrupting deceptive uses of AI by covert influence operations

# OpenAI Disrupts Five Covert Influence Operations Without Meaningful Audience Gains OpenAI has terminated accounts linked to five covert influence operations (IO) that used its models to generate deceptive content across the internet over the past three months. None of the campaigns appear to have meaningfully grown their audiences through OpenAI's services, and the post argues that AI safety design, AI-assisted investigation, and industry information sharing are all useful in countering such abuse. ## The Disrupted Operations - **Bad Grammar (Russia):** A previously unreported operation focused on Telegram and targeting Ukraine, Moldova, the Baltic States, and the United States. It used the models to debug code for a Telegram bot and to write short political comments in Russian and English. - **Doppelganger (Russia):** Generated comments in five European and English-language languages for X and 9GAG, translated and edited articles for linked websites, and converted news articles into Facebook posts. - **Spamouflage (China):** Researched public social media activity, generated text in Chinese, English, Japanese, and Korean for X, Medium, and Blogspot, and debugged code for managing databases and websites, including a previously unreported domain. - **International Union of Virtual Media (Iran):** Generated and translated long-form articles, headlines, and website tags for a site linked to the actor. - **Zero Zeno (Israel):** Activity tied to STOIC, a commercial company. The models produced articles and comments posted on Instagram, Facebook, X, and associated websites. OpenAI disrupted the activity rather than the company itself. The content covered Russia's invasion of Ukraine, the Gaza conflict, Indian elections, European and U.S. politics, and criticism of the Chinese government. ## Limited Impact Using the Brookings Breakout Scale, which rates IO impact from 1 to 6, none of the five operations scored above 2. That means they were active on multiple platforms but did not break out into authentic communities. ## Attacker Trends - **Content generation:** All actors used the models to produce text, and occasionally images, in greater volume and with fewer language errors than human operators alone could manage. - **Mixing old and new:** No operation relied solely on AI. They combined generated material with manually written texts and memes copied from elsewhere. - **Faking engagement:** Some networks generated replies to their own posts to create an appearance of activity, though none attracted real engagement. - **Productivity gains:** Many actors used the tools for everyday tasks such as summarizing social media posts and debugging code. ## Defensive Trends - **Defensive design:** Safety systems added friction, and the models repeatedly refused requests to generate certain text or images. - **AI-enhanced investigation:** OpenAI's own AI-powered tools cut investigation time from weeks or months to days. - **Distribution matters:** AI-generated content still needs distribution to reach people, and these operations spread across many platforms without building a substantial audience. - **Industry sharing:** OpenAI shared detailed threat indicators with peers and built on years of open-source research. - **The human element:** The operators made human mistakes, such as posting model refusal messages publicly, showing that AI changes the tools but not the human limitations behind them. OpenAI concludes that detecting multi-platform abuse is difficult because it often cannot see how its generated content is distributed. Its stated response is to keep designing models with safety in mind, intervene proactively, and use generative AI to find and mitigate abuse at scale.

OpenAI2024-05-123 min readCurated summary

Hello GPT-4o

GPT-4o ("o" for "omni") is OpenAI's flagship model, announced in May 2024, that reasons across text, audio, vision, and video in real time. It matches GPT-4 Turbo on English text and code, improves on non-English text and on vision and audio understanding, and is faster and cheaper to run. Its main advance is a single network that handles every modality, which removes the information loss of the earlier voice pipeline. ## A Single End-to-End Model - The earlier Voice Mode chained three models: one transcribed audio to text, GPT-3.5 or GPT-4 generated a text reply, and another converted that text back to speech. - That pipeline discarded tone, multiple speakers, background noise, laughter, singing, and emotion before the main model saw the input. - GPT-4o is trained end-to-end across text, vision, and audio, so one neural network processes all inputs and outputs. - It accepts any combination of text, audio, image, and video, and generates any combination of text, audio, and image outputs. - Audio responses take as little as 232 ms (average 320 ms), close to typical human conversational response time. ## Latency and Interaction Demos - Voice Mode latency before GPT-4o averaged 2.8 seconds with GPT-3.5 and 5.4 seconds with GPT-4. - The post showcases demos including real-time translation, interview prep, math tutoring, rock-paper-scissors, sarcasm, singing, harmonizing between two GPT-4o instances, and a customer service proof of concept. ## Multilingual Tokenization - A new tokenizer compresses text in many non-English languages into far fewer tokens than before. - Gujarati sees the largest reduction at 4.4x fewer tokens (145 down to 33), followed by Telugu at 3.5x and Tamil at 3.3x. - Common languages such as Spanish, French, and German see only about 1.1x to 1.2x reductions, and English sees 1.1x (27 down to 24 tokens). ## Benchmark Performance - On traditional benchmarks, GPT-4o matches GPT-4 Turbo on text, reasoning, and coding. - It sets new highs on multilingual, audio, and vision tasks. ## Safety and Risk Assessment - Safety is built in through filtering training data and refining behavior in post-training, plus new guardrails specifically for voice outputs. - Under OpenAI's Preparedness Framework, cybersecurity, CBRN, persuasion, and model autonomy evaluations all rate GPT-4o at no higher than Medium risk. - More than 70 external experts red-teamed the model in areas such as social psychology, bias, fairness, and misinformation, focusing on risks that the new modalities introduce or amplify. - At launch, only text and image inputs and text outputs are public. Audio outputs are limited to a set of preset voices that follow existing safety policies, with other modalities to follow. ## Rollout and Pricing - Text and image capabilities launched in ChatGPT on the free tier, with up to 5x higher message limits for Plus users. - A new alpha Voice Mode was planned for ChatGPT Plus in the following weeks. - In the API, GPT-4o is 2x faster, half the price, and has 5x higher rate limits than GPT-4 Turbo, available for text and vision. Audio and video API access was planned for a small group of trusted partners.