S P, Pawanraj and P K, Udayaprasad and P, Amulya and V Hunashikatti, Sanjana (2025) Natural Language to Code: Improving Semantic Reasoning in Code Generation Models. International Journal of Innovative Science and Research Technology, 10 (7): 25jul573. pp. 825-834. ISSN 2456-2165
Creating code from human-readable instructions is becoming a major area of research as artificial intelligence is used more and more into software engineering procedures. This paper explores techniques to enhance semantic understanding in AI-based code generation models to improve their ability to interpret human intent and produce accurate, executable code. We investigate the performance of state-of-the-art models such as CodeT5 and PLBART, and propose strategies including prompt engineering, domain-specific fine-tuning and execution-aware evaluation metrics. Our experiments are conducted on datasets like MBPP and APPS, where we evaluate both syntactic correctness and functional accuracy of generated code. Results show that incorporating contextual awareness and structured prompting significantly improves code quality and reduces semantic misinterpretation errors. The findings contribute to the ongoing effort to build more intelligent, reliable and context-aware coding assistants.
Altmetric Metrics
Dimensions Matrics
Downloads
Downloads per month over past year
![]() |