Challenge: Existing deep-learning approaches model code generation as text generation, but few of them account for compilability of the generated programs.
Approach: They propose a three-stage pipeline utilizing compiler feedback for compilable code generation to improve compilability.
Outcome: The proposed pipeline improves compilability of generated programs by combining compiler feedback, language model fine-tuning, and compilable discrimination.

Similar Papers

Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedback (2024.findings-acl)

Copied to clipboard

Challenge: Large Language Models (LLMs) generate code for given contexts, such as incomplete code, class, data structure, or project-specific information.
Approach: They propose a compiler feedback-based code generation approach that leverages static analysis to identify mismatches between the generated code and the project's context.
Outcome: The proposed model outperforms retrieval-based code generation baselines and significantly outperfies the existing large language models.
StepCoder: Improving Code Generation with Reinforcement Learning from Compiler Feedback (2024.acl-long)

Copied to clipboard

Challenge: Existing work integrates reinforcement learning with compiler feedback to enhance code generation quality but the long code generated by LLMs makes RL exploration ineffective.
Approach: They propose a framework that integrates reinforcement learning and compiler feedback to enhance code generation quality.
Outcome: The proposed framework outperforms state-of-the-art approaches in corresponding benchmarks and integrates reinforcement learning with compiler feedback to improve code generation quality.
RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation Framework (2024.emnlp-main)

Copied to clipboard

Challenge: RSA-Control is a training-free controllable text generation framework . existing studies rely on fine-tuning pre-trained language models . external components could hurt coherence and accuracy of the model .
Approach: They propose a training-free controllable text generation framework grounded in pragmatics that directs the generation process by recursively reasoning between imaginary speakers and listeners.
Outcome: The proposed framework achieves strong attribute control while maintaining fluency and content consistency.
Controllable Natural Language Generation with Contrastive Prefixes (2022.findings-acl)

Copied to clipboard

Challenge: Existing work on controllable natural language generation has focused on fine-tuning existing models or using attribute discriminators.
Approach: They propose a lightweight framework for controllable GPT2 generation that utilizes attribute-specific vectors to steer natural language generation.
Outcome: The proposed framework can guide generation towards desired attributes while keeping high linguistic quality.
FrontCoder: Scaling Visual Fidelity in Front-End Code Generation (2026.findings-acl)

Copied to clipboard

Challenge: Existing work on front-end code generation fails to provide visual fidelity and rendering quality for front- end developers.
Approach: They propose a three-stage pipeline to enhance front-end code generation capabilities in LLMs . they use synthetic data, quality-controlled supervised fine-tuning, and reinforcement learning .
Outcome: The proposed model achieves competitive performance with frontier models while maintaining generation efficiency.
HintPilot: LLM-based Compiler Hint Synthesis for Code Optimization (2026.findings-acl)

Copied to clipboard

Challenge: Existing methods to optimize source code rely on invasive transformations that can introduce semantic errors and miss fine-grained compiler-level optimization opportunities.
Approach: They propose a method that bridges LLM-based reasoning with traditional compilers by synthesizing compiler hints.
Outcome: HintPilot achieves 6.88x speedup over -Ofast while preserving program correctness.
CodeFusion: A Pre-trained Diffusion Model for Code Generation (2023.emnlp-main)

Copied to clipboard

Challenge: Existing models for code generation from natural language do not allow reconsidering earlier tokens . prior work has explored grouped beam search or nucleus sampling to generate diverse text.
Approach: They propose a diffusion code generation model that iteratively denoises a program conditioned on the encoded natural language.
Outcome: The proposed model outperforms state-of-the-art models in accuracy and diversity compared to existing models.
Exploring Controllable Text Generation Techniques (2020.coling-main)

Copied to clipboard

Challenge: Neural controllable text generation has a plethora of applications but there is no unifying theme.
Approach: They propose a new schema for the control of attributes in the generation process by classifying it into five modules and providing an analysis on the advantages and disadvantages of these techniques.
Outcome: The proposed frameworks can be used to control the attributes of natural sentences and to modulate the formality and politeness of emails.
DocCGen: Document-based Controlled Code Generation (2024.emnlp-main)

Copied to clipboard

Challenge: Large language models (LLMs) produce state-of-the-art performance on natural language to code generation for resource-rich general-purpose languages like C++, Java, and Python.
Approach: They propose a framework that breaks the NL-to-Code generation task into two steps . they use library documentation to detect the correct libraries and schema rules extracted from the documentation to constrain the decoding .
Outcome: The proposed framework improves different sized language models across all six evaluation metrics, reducing syntactic and semantic errors in structured code.
Extracting the Essence and Discarding the Dross: Enhancing Code Generation with Contrastive Execution Feedback (2025.coling-main)

Copied to clipboard

Challenge: erroneous code generation methods amalgamate feedback and correct code as target sentences . a new approach to code generation with feedback is needed to improve model performance .
Approach: They propose a learning-based code generation model with execution feedback that integrates feedback and correct code as target sentences.
Outcome: a new model with execution feedback shows improvements in generating accurate code and understanding error correction.

What is GenGO?

GenGO is an NLP powered publication search system. It currenctly indexes 30k+ papers from ACL Anthology, and implements multi-aspect summarization, semantic search, and more!

Information

About
Limitations