A Hazard Analysis Framework for Code Synthesis Large Language Models
Not on the map. Why?
Abstract (arXiv)
Codex, a large language model (LLM) trained on a variety of codebases, exceeds the previous state of the art in its capacity to synthesize and generate code. Although Codex provides a plethora of benefits, models that may generate code on such scale have significant limitations, alignment problems, the potential to be misused, and the possibility to increase the rate of progress in technical fields that may themselves have destabilizing impacts or have misuse potential. Yet such safety impacts are not yet known or remain to be explored. In this paper, we outline a hazard analysis framework constructed at OpenAI to uncover hazards or safety risks that the deployment of models like Codex may impose technically, socially, politically, and economically. The analysis is informed by a novel evaluation framework that determines the capacity of advanced code generation techniques against the complexity and expressivity of specification prompts, and their capability to understand and execute them relative to human ability.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 15 of its 42 references that are in the map. First posted on arXiv 25 Jul 2022.
Builds on
15 of 42 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2018Model Cards for Model Reportingcited by 1,068
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2018Scalable agent alignment via reward modeling: a research directioncited by 438
- 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
- 2021Process for Adapting Language Models to Society (PALMS) with Values-Targeted Datasetscited by 179
- 2020Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claimscited by 163
- 2018Generative Code Modeling with Graphscited by 59
- 2021In-IDE Code Generation from Natural Language: Promise and Challengescited by 41
3 more
- 2019Program Synthesis and Semantic Parsing with Learned Code Idiomscited by 34
- 2014Temporal Logics for Hyperpropertiescited by 19
- 2019Efficient Synthesis with Probabilistic Constraintscited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 10; 2024: 2; 2025: 8.
22 papers.
Sort:
By area:
- 2023StarCoder: may the source be with you!cited by 790
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
- 2023Model evaluation for extreme riskscited by 167
- 2023Sociotechnical Safety Evaluation of Generative AI Systemscited by 154
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 94
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Societycited by 91
- 2023The Gradient of Generative AI Release: Methods and Considerationscited by 63
- 2023Welfare Diplomacy: Benchmarking Language Model Cooperationcited by 43
- 2023Open-Sourcing Highly Capable Foundation Models: An evaluation of risks, benefits, and alternative methods for pursuing open-source objectivescited by 31
- 2025OpenAI's Approach to External Red Teaming for AI Models and Systemscited by 26
10 more
- 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Modelscited by 24
- 2024Mapping the Ethics of Generative AI: A Comprehensive Scoping Reviewcited by 19
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Codecited by 10
- 2025From Hazard Identification to Controller Design: Proactive and LLM-Supported Safety Engineering for ML-Powered Systemscited by 7
- 2025In-House Evaluation Is Not Enough: Towards Robust Third-Party Flaw Disclosure for General-Purpose AIcited by 7
- 2025Understanding and Mitigating Risks of Generative AI in Financial Servicescited by 4
- 2023The BigCode Project Governance Cardcited by 3
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddingscited by 3
- 2025What Is AI Safety? What Do We Want It to Be?cited by 2
- 2025Assessing LLM code generation quality through path planning taskscited by 1
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddings8 Aug 2025
- 2025What Is AI Safety? What Do We Want It to Be?5 May 2025
- 2025Assessing LLM code generation quality through path planning tasks30 Apr 2025
- 2025Understanding and Mitigating Risks of Generative AI in Financial Services25 Apr 2025
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Code27 Mar 2025
- 2025In-House Evaluation Is Not Enough: Towards Robust Third-Party Flaw Disclosure for General-Purpose AI21 Mar 2025
- 2025From Hazard Identification to Controller Design: Proactive and LLM-Supported Safety Engineering for ML-Powered Systems11 Feb 2025
- 2025OpenAI's Approach to External Red Teaming for AI Models and Systems24 Jan 2025
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systems10 May 2024
- 2024Mapping the Ethics of Generative AI: A Comprehensive Scoping Review13 Feb 2024
- 2023The BigCode Project Governance Card6 Dec 2023
- 2023Sociotechnical Safety Evaluation of Generative AI Systems18 Oct 2023
10 more
- 2023Welfare Diplomacy: Benchmarking Language Model Cooperation13 Oct 2023
- 2023Open-Sourcing Highly Capable Foundation Models: An evaluation of risks, benefits, and alternative methods for pursuing open-source objectives29 Sep 2023
- 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Models31 Aug 2023
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Society9 Jun 2023
- 2023Model evaluation for extreme risks24 May 2023
- 2023StarCoder: may the source be with you!9 May 2023
- 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Models17 Mar 2023
- 2023The Gradient of Generative AI Release: Methods and Considerations5 Feb 2023
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generation2 Dec 2022
- 2022The Stack: 3 TB of permissively licensed source code20 Nov 2022
- 2023StarCoder: may the source be with you!cited by 790
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2023GPTs are GPTs: An Early Look at the Labor Market Impact Potential of Large Language Modelscited by 174
- 2023Model evaluation for extreme riskscited by 167
- 2023Sociotechnical Safety Evaluation of Generative AI Systemscited by 154
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 97
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Societycited by 91
- 2023The Gradient of Generative AI Release: Methods and Considerationscited by 63
- 2023Welfare Diplomacy: Benchmarking Language Model Cooperationcited by 43
- 2023Open-Sourcing Highly Capable Foundation Models: An evaluation of risks, benefits, and alternative methods for pursuing open-source objectivescited by 31
- 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Modelscited by 24
- 2024Mapping the Ethics of Generative AI: A Comprehensive Scoping Reviewcited by 19
12 most cited of 19 All 19 (JSON)
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddings8 Aug 2025
- 2025What Is AI Safety? What Do We Want It to Be?5 May 2025
- 2025Assessing LLM code generation quality through path planning tasks30 Apr 2025
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Code27 Mar 2025
- 2025In-House Evaluation Is Not Enough: Towards Robust Third-Party Flaw Disclosure for General-Purpose AI21 Mar 2025
- 2025From Hazard Identification to Controller Design: Proactive and LLM-Supported Safety Engineering for ML-Powered Systems11 Feb 2025
- 2024Mapping the Ethics of Generative AI: A Comprehensive Scoping Review13 Feb 2024
- 2023The BigCode Project Governance Card6 Dec 2023
- 2023Sociotechnical Safety Evaluation of Generative AI Systems18 Oct 2023
- 2023Welfare Diplomacy: Benchmarking Language Model Cooperation13 Oct 2023
- 2023Open-Sourcing Highly Capable Foundation Models: An evaluation of risks, benefits, and alternative methods for pursuing open-source objectives29 Sep 2023
- 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Models31 Aug 2023
12 newest of 19 All 19 (JSON)