ProCURE: Addressing the Programming Concept Understanding Gap for Code Generation in LLMs via Concept-Aware Consistency Learning
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 4750-4758.
https://doi.org/10.24963/ijcai.2026/529
Keywords
- Machine Learning: Applications
- Natural Language Processing: Applications
Abstract
Although Large Language Models (LLMs) excel at code generation, recent research reveals that they exhibit an insufficient grasp of core programming concepts, such as data flow and control flow. This limitation undermines their robustness when encountering variations in these concepts in practice; however, effective solutions that explicitly target this gap remain limited.
To address this challenge, we propose ProCURE, a concept-aware consistency learning framework designed to enhance LLMs’ understanding of programming concepts. Specifically, ProCURE first performs automated concept-oriented code augmentation to construct a concept-aligned dataset covering representative programming concepts. It then conducts concept-aware fine-tuning, encouraging the model to capture fine-grained concept variations and learn appropriate generation behaviors under such variations via a novel concept-sensitive consistency loss.
To quantify programming concept understanding, we introduce the Concept Consistency Score (CCScore), defined as the proportion of correct generations preserved under concept variations. A higher CCScore indicates a more profound understanding of programming concepts.
We evaluate ProCURE on four open-source LLMs across three widely used code generation benchmarks. Experimental results show that ProCURE improves CCScore by an average of 17.9 points, demonstrating its effectiveness in addressing the programming concept understanding gap.
@inproceedings{ijcai2026p529,
title = {ProCURE: Addressing the Programming Concept Understanding Gap for Code Generation in LLMs via Concept-Aware Consistency Learning},
author = {Ren, Xiaoning and Hu, Qiang and Ma, Wei and Liu, Chongyang and Li, Yan and Zhang, Yao and Jiang, Lingxiao and Lyu, Yongqiang and Xue, Yinxing},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {4750--4758},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/529},
url = {https://doi.org/10.24963/ijcai.2026/529},
}
TY - CPAPER TI - ProCURE: Addressing the Programming Concept Understanding Gap for Code Generation in LLMs via Concept-Aware Consistency Learning AU - Ren, Xiaoning AU - Hu, Qiang AU - Ma, Wei AU - Liu, Chongyang AU - Li, Yan AU - Zhang, Yao AU - Jiang, Lingxiao AU - Lyu, Yongqiang AU - Xue, Yinxing T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 4750 EP - 4758 DO - 10.24963/ijcai.2026/529 UR - https://doi.org/10.24963/ijcai.2026/529 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: