CLAILGSEFeb 26, 2025

Code to Think, Think to Code: A Survey on Code-Enhanced Reasoning and Reasoning-Driven Code Intelligence in LLMs

arXiv:2502.19411v149 citationsh-index: 11EMNLP
Originality Synthesis-oriented
AI Analysis

It addresses the synergy between code and reasoning in LLMs, which is incremental as it synthesizes existing research to propose future directions.

This survey examines how code enhances reasoning in large language models (LLMs) by providing structured, verifiable execution paths, and how reasoning improvements enable advanced code intelligence for complex software engineering tasks.

In large language models (LLMs), code and reasoning reinforce each other: code offers an abstract, modular, and logic-driven structure that supports reasoning, while reasoning translates high-level goals into smaller, executable steps that drive more advanced code intelligence. In this study, we examine how code serves as a structured medium for enhancing reasoning: it provides verifiable execution paths, enforces logical decomposition, and enables runtime validation. We also explore how improvements in reasoning have transformed code intelligence from basic completion to advanced capabilities, enabling models to address complex software engineering tasks through planning and debugging. Finally, we identify key challenges and propose future research directions to strengthen this synergy, ultimately improving LLM's performance in both areas.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes