mlsanityData to 7 Oct 2026

Chain of Grounded Objectives: Bridging Process and Goal-oriented Prompting for Code Generation

arXiv 2501.13978 ↗First posted 23 Jan 2025cs.CL cs.AI cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

The use of Large Language Models (LLMs) for code generation has gained significant attention in recent years. Existing methods often aim to improve the quality of generated code by incorporating additional contextual information or guidance into input prompts. Many of these approaches adopt sequential reasoning strategies, mimicking human-like step-by-step thinking. However, such strategies may constrain flexibility, as they do not always align with the structured characteristics of programming languages. This paper introduces the Chain of Grounded Objectives (CGO), a method that embeds functional objectives into input prompts to enhance code generation. By leveraging appropriately structured objectives as input and avoiding explicit sequential procedures, CGO adapts effectively to the structured nature of programming tasks. Empirical evaluations demonstrate that CGO effectively enhances code generation, addressing limitations of existing approaches.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 29 references that are in the map. First posted on arXiv 23 Jan 2025.

Builds on

23 of 29 references.

References · 23

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  8. 2024A Survey on LLM-as-a-Judgecited by 1,384
  9. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  10. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  11. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  12. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
11 more
  1. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  2. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  3. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  4. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  5. 2023Structured Chain-of-Thought Prompting for Code Generationcited by 136
  6. 2023Self-planning Code Generation with Large Language Modelscited by 121
  7. 2023Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Modelscited by 61
  8. 2024Test-Driven Development for Code Generationcited by 32
  9. 2024PromptWizard: Task-Aware Prompt Optimization Frameworkcited by 32
  10. 2025Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignmentcited by 16
  11. 2024ArchCode: Incorporating Software Requirements in Code Generation with Large Language Modelscited by 8

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.