Litcius/Paper detail

Reasoning and Planning with Large Language Models in Code Development

Hao Ding, Ziwei Fan, Ingo Guehring, G. P. Gupta, Wooseok Ha, Jun Huan, L.Q. Liu, Behrooz Omidvar-Tehrani, Shiqi Wang, Hao Zhou

202413 citationsDOIOpen Access PDF

Abstract

Large Language Models (LLMs) are revolutionizing the field of code development by leveraging their deep understanding of code patterns, syntax, and semantics to assist developers in various tasks, from code generation and testing to code understanding and documentation. In this survey, accompanying our proposed lecture-style tutorial for KDD 2024, we explore the multifaceted impact of LLMs on the code development, delving into techniques for generating a high-quality code, creating comprehensive test cases, automatically generating documentation, and engaging in an interactive code reasoning. Throughout the survey, we highlight some crucial components surrounding LLMs, including pre-training, fine-tuning, prompt engineering, iterative refinement, agent planning, and hallucination mitigation. We put forward that such ingredients are essential to harness the full potential of these powerful AI models in revolutionizing software engineering and paving the way for a more efficient, effective, and innovative future in code development.

Topics & Concepts

Computer scienceProgramming languageCode generationCode (set theory)Software engineeringNatural language processingComputer securitySet (abstract data type)Key (lock)Software Engineering ResearchModel-Driven Software Engineering TechniquesSoftware Testing and Debugging Techniques