About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Publication
NeurIPS 2022
Workshop paper
User and Technical Perspectives of Controllable Code Generation
Abstract
Large language models (LLM) such as OpenAI Codex are increasingly being applied to software engineering tasks to generate code for a variety of purposes including code authoring and code translation. Human-centered research in this domain has revealed that software engineers would like the ability to influence or control the properties of generated code so as to optimize output for their particular code base and application needs. In this work, we explore user requirements for controllable code generation and show that human-written code is more optimal than standard beam-search code outputs from a large language model.