arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.14157cs.SEcs.AI
收藏

一种面向代码综合的大语言模型风险分析框架

A Hazard Analysis Framework for Code Synthesis Large Language Models

OpenAI(开放人工智能研究中心)

Heidy Khlaaf, Pamela Mishkin, Joshua Achiam, Gretchen Krueger, Miles Brundage

摘要:

Codex是一个在各种代码库上训练的大语言模型(LLM),它在合成和生成代码的能力上超过了以前的最先进水平。虽然Codex提供了大量的好处,但可能生成如此规模代码的模型具有重大的局限性,存在对齐问题,可能被滥用,以及可能增加技术领域的进步速度,这些技术领域本身可能具有不稳定的影响或具有滥用潜力。然而,这种安全影响尚不清楚,或仍有待探索。在本文中,我们概述了在OpenAI构建的危害分析框架,以发现Codex等模型的部署可能在技术上,社会上,政治上和经济上带来的危害或安全风险。该分析是由一个新的评估框架,确定先进的代码生成技术的复杂性和表现力的规范提示,他们的能力,理解和执行他们相对于人类的能力的能力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑