techlist.io

Openai Evals

1 posts

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.