techlist.io

Gpt 4

5 posts

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-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-01-305 min readCurated summary

Building an early warning system for LLM-aided biological threat creation

# OpenAI's Early Warning System for LLM-Aided Biological Threat Creation OpenAI tested whether GPT-4 could help someone create a biological threat by running a human study with 100 participants, split between biology experts and students, each randomly given either internet access alone or internet plus GPT-4. The study found at most a mild uplift in accuracy and completeness, which was not statistically significant, so the authors present it as a starting point for further research and community discussion rather than a conclusive result. ## Background and Motivation - Policymakers and researchers have raised concern that capable AI systems could help malicious actors write step-by-step protocols, troubleshoot wet-lab procedures, or even direct cloud labs. - Existing evaluations were too limited to judge these scenarios, so OpenAI developed an empirical test as a "tripwire" that signals when more caution and testing are needed. - The test was built under OpenAI's Preparedness Framework and aims to measure whether models meaningfully increase access to dangerous information beyond what the internet already provides. ## Study Design The authors describe three design principles: - **Human participants are required.** Language models give better answers when a human can refine prompts, correct errors, and follow up, so automated benchmarks would understate the risk. - **Capabilities must be fully elicited.** Participants received training on prompting practices and failure modes. Expert participants used a custom research-only GPT-4 variant that answers biologically risky questions without refusals. - **Risk is measured as uplift over existing resources.** The control group used only the internet and their prior knowledge, so results show what the model adds beyond what is already accessible. ## Methodology - **Participants:** 50 experts (PhD holders with wet-lab experience) and 50 students (at least one university biology course), with half of each group in the control condition. - **Tasks:** Biosecurity specialists at Gryphon Scientific wrote five tasks, one for each stage of threat creation: ideation, acquisition, magnification, formulation, and release. Each participant did all five in random order, and each task used a different agent and process to limit information hazards. - **Scoring:** Accuracy and completeness were scored 1–10 against detailed rubrics, and innovation was scored 1–10 as well. Time taken and self-rated difficulty were also recorded. Expert graders were blinded to whether a response came from the model or from search, and an autograder served as a final check. - **Security:** Participants were US persons who passed background checks and signed NDAs. Sessions were five-hour, proctored, and in-person for experts, with cell phones confiscated. Models were accessed through encrypted, firewalled endpoints. ## Results - **Accuracy:** Mean uplift was 0.88 out of 10 for experts and 0.25 for students. Neither was statistically significant (Barnard's exact tests). For magnification and formulation, model-assisted students reached the expert baseline. - **Completeness:** Mean uplift was 0.82 for experts and 0.41 for students, also not significant. Model responses were longer and contained more details, though the authors note this may reflect differences in how people record information rather than actual completeness. - **Innovation:** Scores were low across the board, with no clear trend. - **Time taken:** No reduction was observed. Tasks took roughly 20–30 minutes on average. - **Self-rated difficulty:** No significant change. Query histories suggested that finding protocols for dangerous agents was easier than the researchers expected. - **Interpretation:** The authors cautiously suggest that research-only GPT-4 may increase experts' access to threat information, particularly for accuracy and completeness, and that this could explain why their conclusions differ from Mouton et al. (2024). ## Limitations - **Student sample:** The students were more educated and experienced than planned (median age 25), so they are not representative of undergraduate-level knowledge. - **Statistical power:** With only 100 participants, only very large effects could be detected. - **Constraints:** Sessions were capped at five hours and no GPT-4 tools such as browsing or data analysis were enabled. Real actors may face fewer constraints. - **Scope:** The study tested information access, not physical implementation, and did not address novel threat design or group work. - **Guardrails:** Students using the standard GPT-4 spent considerable time trying to bypass its safety mechanisms. ## Key Learnings - **Information is already easy to find.** Step-by-step methods and troubleshooting advice for dangerous agents are only a quick search away, so physical lab access and expertise are likely the real bottlenecks. Changes such as wider availability of cloud labs could alter this picture. - **Human evaluations are costly.** Security requirements and the need for many participants drive up expenses. - **Thresholds are unresolved.** It is unclear what level of uplift would be dangerous, and the authors call for agreed-upon tripwire heuristics. - **Statistical methods need rethinking.** Standard methods minimize false positives, but for risk evaluations false negatives are more costly because they weaken the tripwire. ## Conclusion The study found no statistically significant uplift from GPT-4 for either group, but the trends in accuracy and completeness, especially among experts, indicate that more capable future models could pose greater risk. The authors conclude that building rigorous biorisk evaluations, defining what counts as meaningful risk, and developing mitigation strategies are urgent priorities.

OpenAI2023-03-132 min readCurated summary

GPT-4

OpenAI introduced GPT-4 in March 2023 as its most capable model to date, following the GPT, GPT-2, and GPT-3 line of scaling deep learning with more data and compute. The company says six months of work on safety and alignment made it substantially more reliable than GPT-3.5 on its internal evaluations: 82% less likely to respond to requests for disallowed content and 40% more likely to produce factual responses. The post presents these gains alongside early customer deployments and acknowledges remaining limitations. ### Safety and Alignment Work - **Human feedback:** OpenAI incorporated more human feedback, including feedback submitted by ChatGPT users, and consulted over 50 experts in areas such as AI safety and security before release. - **Lessons from earlier models:** Insights from real-world use of previous models informed GPT-4's safety research and monitoring systems. - **GPT-4 aiding its own safety work:** GPT-4's reasoning and instruction-following helped generate training data for fine-tuning and iterate on classifiers used in training, evaluation, and monitoring. - **Ongoing updates:** As with ChatGPT, OpenAI plans to update and improve GPT-4 at a regular cadence as usage grows. ### Early Customer Applications - **Duolingo** used GPT-4 to deepen its language-learning conversations. - **Be My Eyes** applied it to visual accessibility. - **Stripe** used it to streamline user experience and combat fraud. - **Morgan Stanley** deployed it to organize its wealth management knowledge base. ### Infrastructure, Availability, and Limitations - **Training:** GPT-4 was trained on Microsoft Azure AI supercomputers, which also support delivering the model to users worldwide. - **Availability:** It is accessible through ChatGPT Plus and as an API for developers building applications and services. - **Known limitations:** Social biases, hallucinations, and vulnerability to adversarial prompts remain open problems. OpenAI emphasizes transparency, user education, and broader AI literacy, and says it aims to expand how people can shape its models. OpenAI frames GPT-4 as a step toward technologies that empower everyone, and says it is eager to see how people use it.

OpenAI2023-03-134 min readCurated summary

GPT-4

# GPT-4: Scaling Up Multimodal Capability with Predictable Training and Stronger Safety OpenAI introduces GPT-4, a large multimodal model that accepts image and text inputs and produces text outputs. While less capable than humans in many real-world settings, it reaches human-level performance on many professional and academic benchmarks, such as scoring around the top 10% on a simulated bar exam. The post argues that GPT-4 is a meaningful step forward in reliability, factuality, and steerability, while acknowledging that hallucinations and other limitations remain. ## Capabilities and Benchmarks - GPT-4 is noticeably more reliable, creative, and able to follow nuanced instructions than GPT-3.5, with the gap becoming clearer as task complexity rises. - Exam results were measured on recent public tests and 2022–2023 practice exams, with no exam-specific training, though a minority of problems may have appeared in training data. - On traditional ML benchmarks, GPT-4 outperforms existing large language models and most state-of-the-art systems. - On the MMLU benchmark translated into 26 languages via Azure Translate, GPT-4 beats GPT-3.5's English performance in 24 of them, including low-resource languages like Latvian, Welsh, and Swahili. - Internally, GPT-4 is used for support, sales, content moderation, and programming, and to help humans evaluate AI outputs. ### Visual Inputs - GPT-4 accepts interleaved text and images and generates text output, supporting tasks on documents, diagrams, and screenshots. - Text-only techniques such as few-shot and chain-of-thought prompting carry over to image inputs. - Image input was a limited research preview at launch, working first with a single partner. ### Steerability - Developers can define tone, style, verbosity, and task through a "system" message instead of relying on a fixed ChatGPT persona. - Adherence to these boundaries is imperfect, and system messages are the easiest route to jailbreaking the model. ## Limitations and Factuality - GPT-4 still hallucinates facts and makes reasoning errors, so high-stakes uses need human review, grounding in context, or avoidance altogether. - It scores 40% higher than GPT-3.5 on OpenAI's internal adversarial factuality evaluations. - On TruthfulQA, the base model barely improves on GPT-3.5, but after RLHF post-training a large gap emerges, though subtle errors still occur. - Knowledge ends around September 2021, the model does not learn from experience, and it can be overly gullible or introduce security vulnerabilities in code. - The pre-trained base model is well calibrated, but post-training reduces that calibration. ## Risks and Mitigations - Over 50 experts in areas such as AI alignment, cybersecurity, biorisk, and international security adversarially tested the model. - An additional safety reward signal during RLHF, provided by a GPT-4 zero-shot classifier, trains the model to refuse harmful requests while still allowing valid ones. - Compared with GPT-3.5, GPT-4 is 82% less likely to respond to disallowed content and 29% more likely to respond to sensitive requests in line with policy. - Jailbreaks remain possible, so the post stresses deployment-time safeguards such as abuse monitoring. ## Training and Predictable Scaling - The base model is trained to predict the next word on a web-scale corpus that includes both correct and incorrect reasoning, then fine-tuned with RLHF to match user intent. - Capabilities mostly come from pre-training, while RLHF mainly steers behavior and can slightly degrade exam performance. - OpenAI built infrastructure whose behavior is predictable across scales, forecasting GPT-4's final loss using models trained with 10,000x less compute. - Pass rates on a subset of HumanEval were predicted using models trained with 1,000x less compute. - Some capabilities remain hard to predict, such as tasks from the Inverse Scaling Prize, where GPT-4 reverses the negative trend. ## OpenAI Evals - Evals is an open-source framework for building benchmarks and inspecting model performance sample by sample, letting anyone report shortcomings. - It includes templates for common benchmark patterns and a "model-graded" template, since GPT-4 is surprisingly good at checking its own work. - Stripe uses Evals to measure the accuracy of a GPT-powered documentation tool. ## Access and Pricing - ChatGPT Plus subscribers get GPT-4 with a usage cap that may be adjusted based on demand. - The API is available through a waitlist, using the same ChatCompletions API as gpt-3.5-turbo. - The 8K-context model costs $0.03 per 1K prompt tokens and $0.06 per 1K completion tokens. The 32K-context model costs $0.06 and $0.12 respectively. - Default rate limits are 40k tokens per minute and 200 requests per minute, and researchers studying societal impact or alignment can apply for subsidized access.