Abstract
Large Language Models have demonstrated remarkable capabilities in automated code generation, yet their statistical nature and black-box characteristics create significant semantic gaps manifested through syntax errors, semantic hallucinations, and reliability concerns. This position paper argues that principled integration of Programming Language (PL) techniques is essential for bridging these gaps. Through structured program representations, formal correctness guarantees, and robust verification mechanisms, PL techniques can elevate LLM-generated code from statistical pattern matching to truly reliable and trustworthy levels. This integration is crucial for developing systems that generate code that is not only functionally correct but also interpretable, verifiable, and ultimately trustworthy.
Author supplied keywords
Cite
CITATION STYLE
Du, Y., Wang, C., & Wang, H. (2025). Programming Language Techniques for Bridging LLM Code Generation Semantic Gaps. In LMPL 2025 - Proceedings of the 1st ACM SIGPLAN International Workshop on Language Models and Programming Languages, Co-located with ICFP/SPLASH 2025 (pp. 40–45). Association for Computing Machinery, Inc. https://doi.org/10.1145/3759425.3763383
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.