Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

GPT-4 Technical Report

Researchers predict GPT-4's final loss from models trained with far less compute

  • Problem Very large training runs cannot be tuned model by model, so their final performance is hard to know beforehand. The final run had to be trusted before a large compute budget was spent on it.
  • Method The authors fit a power law with an irreducible loss term to smaller models trained with the same methodology. They then read GPT-4's final loss off that curve before the GPT-4 run finished.
  • Results The fitted curve, built from models using at most 10,000x less compute, accurately predicted GPT-4's final loss. The authors also found an approximate power law for HumanEval pass rate.

Why GPT-4's performance had to be predicted

GPT-4 could not be tuned model by model, because the final run was far too large for extensive model-specific tuning. The aim was to reliably predict aspects of GPT-4 from smaller models trained with 1,000× to 10,000× less compute. This matters because the final run had to be trusted before a large training budget was spent on it.

Performance on an individual HumanEval problem may occasionally worsen with scale, so the prediction targets a trend rather than each problem. Despite these challenges, the authors find an approximate power law relationship between expected log pass rate and compute.

Fitting a scaling law to smaller runs

The OpenAI team fits a power law with an irreducible loss term to smaller models, then reads GPT-4's final loss off that curve. The fitted form is L(C) = aC^b + c, where C is training compute and c is the irreducible loss term. The irreducible term c lets the curve flatten at a floor instead of falling forever toward zero. The smaller models were trained with the same methodology and used at most 10,000x less compute than GPT-4.

The target is GPT-4's final loss on an internal codebase dataset that was not part of the training set. The x-axis of the loss figure is training compute normalized so that GPT-4 is 1. The prediction was made shortly after the GPT-4 run started, without using any partial results from that run.

The loss curve drawn from the smaller models lands on GPT-4's final loss, as the dotted power law fit in Figure 1 shows. The fit excludes GPT-4, so GPT-4's point serves as a held-out check on the extrapolation. The authors describe this fit as accurately predicting GPT-4's final loss, which they used to verify their optimization infrastructure scales.

The same extrapolation idea carries over to HumanEval pass rates, which the authors predict in the next section.

Predicting HumanEval pass rates

Loss is an abstract number, so the authors also predicted pass rate on HumanEval, a metric that measures how well a model synthesizes Python functions. They successfully predicted the pass rate on a subset of HumanEval by extrapolating from models trained with at most 1,000x less compute. The authors note that for an individual problem, performance may occasionally worsen with scale.

Despite these challenges, they find an approximate power law relationship between the expected log pass rate and compute, with positive constants k and α.

The authors split all but the 15 hardest problems into 6 difficulty buckets, using the performance of smaller models. Figure 2 shows the 3rd easiest bucket, where the predictions were very accurate for the subset of problems with reliable log pass rate estimates.

The main exception was GPT-4 underperforming the predictions on the easiest bucket.

Not every capability is this predictable, because the Inverse Scaling Prize lists tasks where performance decreases with scale. On the Hindsight Neglect task, GPT-4 reverses that inverse-scaling trend, as shown in Figure 3.

Exam and benchmark results

GPT-4 was tested on simulated human exams, and the authors used the post-trained RLHF model for these runs. The authors did no specific training for these exams, but some exam questions appeared in training. For each exam, they ran a variant without those questions and reported the lower score of the two. Scores follow exam-specific rubrics, and the percentile reported is the share of test takers reaching that score.

On the Uniform Bar Exam, GPT-4 scored 298 out of 400, around the 90th percentile. GPT-3.5 scored 213 out of 400 on the same exam, around the 10th percentile. On a simulated bar exam, GPT-4 falls in the top 10% of test takers, while GPT-3.5 falls in the bottom 10%. The authors attribute these exam results mainly to pre-training, since the base and RLHF models score about equally on multiple-choice questions.

On traditional benchmarks, the authors ran the pre-trained base GPT-4 model with few-shot prompting. They used chain-of-thought prompting when evaluating on GSM-8K. On MMLU, GPT-4 reached 86.4% with 5-shot prompting, compared to 70.0% for GPT-3.5. On HellaSwag, GPT-4 scored 95.3% with 10-shot prompting, compared to 85.5% for GPT-3.5. The authors ran contamination checks on test data that appeared in the training set for each benchmark.

GPT-4 considerably outperforms existing language models and previous state-of-the-art systems, which often use benchmark-specific crafting or extra training.

Hallucination, TruthfulQA and calibration

Hallucination remains a limitation, but GPT-4 significantly reduces it relative to earlier GPT-3.5 models. The authors measured this on nine internal adversarially designed factuality evaluations, where accuracy is judged against human ideal responses. On these evaluations GPT-4 scored 19 percentage points above the latest GPT-3.5. The authors compare against three earlier ChatGPT versions based on GPT-3.5, and the gain appears across all topics.

The model still makes reasoning errors and can be confidently wrong, so the authors advise careful human review.

Those incorrect answers are statistically appealing, which makes the benchmark hard for language models. The base GPT-4 model is only slightly better than GPT-3.5 at this task. After RLHF post-training, GPT-4 shows large improvements over GPT-3.5. Under the evaluated settings, GPT-4 outperforms both GPT-3.5 and Anthropic-LM on TruthfulQA mc1, with zero-shot, few-shot and RLHF variants compared.

GPT-4 still resists common sayings but can miss subtle details, as in the Elvis Presley example.

Calibration is the second question, measured as the match between stated confidence and the chance of being correct. The pre-trained model is highly calibrated, so its predicted confidence generally matches the probability of being correct. On a subset of MMLU, the pre-trained GPT-4 model reaches an ECE of 0.007. The post-trained model reaches an ECE of 0.074, and the authors say post-training hurts calibration significantly.

Since a lower ECE means better calibration, post-training reduces calibration in this comparison.

Rule-based reward models for safety

After RLHF, GPT-4 can still be brittle on unsafe inputs and sometimes overly cautious on safe ones. The authors add rule-based reward models (RBRMs) to target these behaviours during fine-tuning. Each RBRM is a set of zero-shot GPT-4 classifiers, so it needs no fine-tuning of its own. An RBRM takes three inputs: the prompt (optional), the policy model's output, and a human-written rubric.

A rubric can ask the classifier to pick one of four labels for a response. The labels are a refusal in the desired style, a refusal in an undesired style such as evasive or rambling, disallowed content, and a safe non-refusal. The resulting classifications become an extra reward signal for the GPT-4 policy during RLHF fine-tuning. That signal pushes the policy toward refusing harmful content and away from refusing innocuous requests.

The authors also relied on more than 50 experts from domains such as cybersecurity, biorisk, and international security. Those experts tested the model adversarially in high-risk areas that need niche expertise to evaluate. Their recommendations and training data fed into the mitigations, for example additional data for refusing requests on synthesizing dangerous chemicals.

What GPT-4 leaves unreliable or unreported

GPT-4 isn't fully reliable, because it hallucinates facts and makes reasoning errors. The paper says great care should be taken with its outputs, especially in high-stakes contexts. Suitable safeguards such as human review or grounding with additional context depend on the specific application. GPT-4 significantly reduces hallucinations relative to previous GPT-3.5 models.

It scores 19 percentage points higher than the latest GPT-3.5 on internal adversarially-designed factuality evaluations.

Calibration is another weak point, and post-training is the reason. The pre-trained model is highly calibrated, so its predicted confidence generally matches the probability of being correct. After post-training, calibration is reduced, and the calibration plot shows the drop. The ECE moves from 0.007 for the pre-trained model to 0.074 for the ppo model.

The authors say post-training hurts calibration significantly.

The biases in GPT-4's outputs are still an open problem. The authors have made efforts to correct them, but they say full characterization and management will take time. The authors aim for reasonable default behaviors that reflect a wide range of users' values. They also want those behaviors to be customized within broad bounds, with public input on those bounds.

The report deliberately leaves out the architecture, including model size. It also omits hardware, training compute, dataset construction and training method. They don't publish these details in this report, so readers can't reproduce or audit those choices from it. The authors plan to share further technical details with third parties who can advise on the trade-off with transparency.

Paper info

Authors
OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgum, Irwan Bello, Jake Berdine, Gabriel Bernadett-Shapiro, Christopher Berner, Lenny Bogdonoff, Oleg Boiko, Madelaine Boyd, Anna-Luisa Brakman, Greg Brockman, Tim Brooks, Miles Brundage, Kevin Button, Trevor Cai, Rosie Campbell, Andrew Cann, Brittany Carey, Chelsea Carlson, Rory Carmichael, Brooke Chan, Che Chang, Fotis Chantzis, Derek Chen, Sully Chen, Ruby Chen, Jason Chen, Mark Chen, Ben Chess, Chester Cho, Casey Chu, Hyung Won Chung, Dave Cummings, Jeremiah Currier, Yunxing Dai, Cory Decareaux, Thomas Degry, Noah Deutsch, Damien Deville, Arka Dhar, David Dohan, Steve Dowling, Sheila Dunning, Adrien Ecoffet, Atty Eleti, Tyna Eloundou, David Farhi, Liam Fedus, Niko Felix, Simón Posada Fishman, Juston Forte, Isabella Fulford, Leo Gao, Elie Georges, Christian Gibson, Vik Goel, Tarun Gogineni, Gabriel Goh, Rapha Gontijo-Lopes, Jonathan Gordon, Morgan Grafstein, Scott Gray, Ryan Greene, Joshua Gross, Shixiang Shane Gu, Yufei Guo, Chris Hallacy, Jesse Han, Jeff Harris, Yuchen He, Mike Heaton, Johannes Heidecke, Chris Hesse, Alan Hickey, Wade Hickey, Peter Hoeschele, Brandon Houghton, Kenny Hsu, Shengli Hu, Xin Hu, Joost Huizinga, Shantanu Jain, Shawn Jain, Joanne Jang, Angela Jiang, Roger Jiang, Haozhun Jin, Denny Jin, Shino Jomoto, Billie Jonn, Heewoo Jun, Tomer Kaftan, Łukasz Kaiser, Ali Kamali, Ingmar Kanitscheider, Nitish Shirish Keskar, Tabarak Khan, Logan Kilpatrick, Jong Wook Kim, Christina Kim, Yongjik Kim, Jan Hendrik Kirchner, Jamie Kiros, Matt Knight, Daniel Kokotajlo, Łukasz Kondraciuk, Andrew Kondrich, Aris Konstantinidis, Kyle Kosic, Gretchen Krueger, Vishal Kuo, Michael Lampe, Ikai Lan, Teddy Lee, Jan Leike, Jade Leung, Daniel Levy, Chak Ming Li, Rachel Lim, Molly Lin, Stephanie Lin, Mateusz Litwin, Theresa Lopez, Ryan Lowe, Patricia Lue, Anna Makanju, Kim Malfacini, Sam Manning, Todor Markov, Yaniv Markovski, Bianca Martin, Katie Mayer, Andrew Mayne, Bob McGrew, Scott Mayer McKinney, Christine McLeavey, Paul McMillan, Jake McNeil, David Medina, Aalok Mehta, Jacob Menick, Luke Metz, Andrey Mishchenko, Pamela Mishkin, Vinnie Monaco, Evan Morikawa, Daniel Mossing, Tong Mu, Mira Murati, Oleg Murk, David Mély, Ashvin Nair, Reiichiro Nakano, Rajeev Nayak, Arvind Neelakantan, Richard Ngo, Hyeonwoo Noh, Long Ouyang, Cullen O'Keefe, Jakub Pachocki, Alex Paino, Joe Palermo, Ashley Pantuliano, Giambattista Parascandolo, Joel Parish, Emy Parparita, Alex Passos, Mikhail Pavlov, Andrew Peng, Adam Perelman, Filipe de Avila Belbute Peres, Michael Petrov, Henrique Ponde de Oliveira Pinto, Michael, Pokorny, Michelle Pokrass, Vitchyr H. Pong, Tolly Powell, Alethea Power, Boris Power, Elizabeth Proehl, Raul Puri, Alec Radford, Jack Rae, Aditya Ramesh, Cameron Raymond, Francis Real, Kendra Rimbach, Carl Ross, Bob Rotsted, Henri Roussez, Nick Ryder, Mario Saltarelli, Ted Sanders, Shibani Santurkar, Girish Sastry, Heather Schmidt, David Schnurr, John Schulman, Daniel Selsam, Kyla Sheppard, Toki Sherbakov, Jessica Shieh, Sarah Shoker, Pranav Shyam, Szymon Sidor, Eric Sigler, Maddie Simens, Jordan Sitkin, Katarina Slama, Ian Sohl, Benjamin Sokolowsky, Yang Song, Natalie Staudacher, Felipe Petroski Such, Natalie Summers, Ilya Sutskever, Jie Tang, Nikolas Tezak, Madeleine B. Thompson, Phil Tillet, Amin Tootoonchian, Elizabeth Tseng, Preston Tuggle, Nick Turley, Jerry Tworek, Juan Felipe Cerón Uribe, Andrea Vallone, Arun Vijayvergiya, Chelsea Voss, Carroll Wainwright, Justin Jay Wang, Alvin Wang, Ben Wang, Jonathan Ward, Jason Wei, CJ Weinmann, Akila Welihinda, Peter Welinder, Jiayi Weng, Lilian Weng, Matt Wiethoff, Dave Willner, Clemens Winter, Samuel Wolrich, Hannah Wong, Lauren Workman, Sherwin Wu, Jeff Wu, Michael Wu, Kai Xiao, Tao Xu, Sarah Yoo, Kevin Yu, Qiming Yuan, Wojciech Zaremba, Rowan Zellers, Chong Zhang, Marvin Zhang, Shengjia Zhao, Tianhao Zheng, Juntang Zhuang, William Zhuk, Barret Zoph
Venue
arXiv · Preprint
First published
2023-3-15
Added
2026-10-20
Updated
2024-3-4
Version
v6
arXiv
2303.08774
Category
cs.CL · cs.AI
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgum, Irwan Bello et al. (2023). GPT-4 Technical Report. arXiv:2303.08774v6. https://arxiv.org/abs/2303.08774v6

BibTeX
@misc{openai2023technical,
  title = {{GPT-4 Technical Report}},
  author = {OpenAI and Josh Achiam and Steven Adler and Sandhini Agarwal and Lama Ahmad and Ilge Akkaya and Florencia Leoni Aleman and Diogo Almeida and Janko Altenschmidt and Sam Altman and Shyamal Anadkat and Red Avila and Igor Babuschkin and Suchir Balaji and Valerie Balcom and Paul Baltescu and Haiming Bao and Mohammad Bavarian and Jeff Belgum and Irwan Bello and Jake Berdine and Gabriel Bernadett-Shapiro and Christopher Berner and Lenny Bogdonoff and Oleg Boiko and Madelaine Boyd and Anna-Luisa Brakman and Greg Brockman and Tim Brooks and Miles Brundage and Kevin Button and Trevor Cai and Rosie Campbell and Andrew Cann and Brittany Carey and Chelsea Carlson and Rory Carmichael and Brooke Chan and Che Chang and Fotis Chantzis and Derek Chen and Sully Chen and Ruby Chen and Jason Chen and Mark Chen and Ben Chess and Chester Cho and Casey Chu and Hyung Won Chung and Dave Cummings and Jeremiah Currier and Yunxing Dai and Cory Decareaux and Thomas Degry and Noah Deutsch and Damien Deville and Arka Dhar and David Dohan and Steve Dowling and Sheila Dunning and Adrien Ecoffet and Atty Eleti and Tyna Eloundou and David Farhi and Liam Fedus and Niko Felix and Simón Posada Fishman and Juston Forte and Isabella Fulford and Leo Gao and Elie Georges and Christian Gibson and Vik Goel and Tarun Gogineni and Gabriel Goh and Rapha Gontijo-Lopes and Jonathan Gordon and Morgan Grafstein and Scott Gray and Ryan Greene and Joshua Gross and Shixiang Shane Gu and Yufei Guo and Chris Hallacy and Jesse Han and Jeff Harris and Yuchen He and Mike Heaton and Johannes Heidecke and Chris Hesse and Alan Hickey and Wade Hickey and Peter Hoeschele and Brandon Houghton and Kenny Hsu and Shengli Hu and Xin Hu and Joost Huizinga and Shantanu Jain and Shawn Jain and Joanne Jang and Angela Jiang and Roger Jiang and Haozhun Jin and Denny Jin and Shino Jomoto and Billie Jonn and Heewoo Jun and Tomer Kaftan and Łukasz Kaiser and Ali Kamali and Ingmar Kanitscheider and Nitish Shirish Keskar and Tabarak Khan and Logan Kilpatrick and Jong Wook Kim and Christina Kim and Yongjik Kim and Jan Hendrik Kirchner and Jamie Kiros and Matt Knight and Daniel Kokotajlo and Łukasz Kondraciuk and Andrew Kondrich and Aris Konstantinidis and Kyle Kosic and Gretchen Krueger and Vishal Kuo and Michael Lampe and Ikai Lan and Teddy Lee and Jan Leike and Jade Leung and Daniel Levy and Chak Ming Li and Rachel Lim and Molly Lin and Stephanie Lin and Mateusz Litwin and Theresa Lopez and Ryan Lowe and Patricia Lue and Anna Makanju and Kim Malfacini and Sam Manning and Todor Markov and Yaniv Markovski and Bianca Martin and Katie Mayer and Andrew Mayne and Bob McGrew and Scott Mayer McKinney and Christine McLeavey and Paul McMillan and Jake McNeil and David Medina and Aalok Mehta and Jacob Menick and Luke Metz and Andrey Mishchenko and Pamela Mishkin and Vinnie Monaco and Evan Morikawa and Daniel Mossing and Tong Mu and Mira Murati and Oleg Murk and David Mély and Ashvin Nair and Reiichiro Nakano and Rajeev Nayak and Arvind Neelakantan and Richard Ngo and Hyeonwoo Noh and Long Ouyang and Cullen O'Keefe and Jakub Pachocki and Alex Paino and Joe Palermo and Ashley Pantuliano and Giambattista Parascandolo and Joel Parish and Emy Parparita and Alex Passos and Mikhail Pavlov and Andrew Peng and Adam Perelman and Filipe de Avila Belbute Peres and Michael Petrov and Henrique Ponde de Oliveira Pinto and Michael and Pokorny and Michelle Pokrass and Vitchyr H. Pong and Tolly Powell and Alethea Power and Boris Power and Elizabeth Proehl and Raul Puri and Alec Radford and Jack Rae and Aditya Ramesh and Cameron Raymond and Francis Real and Kendra Rimbach and Carl Ross and Bob Rotsted and Henri Roussez and Nick Ryder and Mario Saltarelli and Ted Sanders and Shibani Santurkar and Girish Sastry and Heather Schmidt and David Schnurr and John Schulman and Daniel Selsam and Kyla Sheppard and Toki Sherbakov and Jessica Shieh and Sarah Shoker and Pranav Shyam and Szymon Sidor and Eric Sigler and Maddie Simens and Jordan Sitkin and Katarina Slama and Ian Sohl and Benjamin Sokolowsky and Yang Song and Natalie Staudacher and Felipe Petroski Such and Natalie Summers and Ilya Sutskever and Jie Tang and Nikolas Tezak and Madeleine B. Thompson and Phil Tillet and Amin Tootoonchian and Elizabeth Tseng and Preston Tuggle and Nick Turley and Jerry Tworek and Juan Felipe Cerón Uribe and Andrea Vallone and Arun Vijayvergiya and Chelsea Voss and Carroll Wainwright and Justin Jay Wang and Alvin Wang and Ben Wang and Jonathan Ward and Jason Wei and CJ Weinmann and Akila Welihinda and Peter Welinder and Jiayi Weng and Lilian Weng and Matt Wiethoff and Dave Willner and Clemens Winter and Samuel Wolrich and Hannah Wong and Lauren Workman and Sherwin Wu and Jeff Wu and Michael Wu and Kai Xiao and Tao Xu and Sarah Yoo and Kevin Yu and Qiming Yuan and Wojciech Zaremba and Rowan Zellers and Chong Zhang and Marvin Zhang and Shengjia Zhao and Tianhao Zheng and Juntang Zhuang and William Zhuk and Barret Zoph},
  year = {2023},
  eprint = {2303.08774},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.08774v6}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up