NobleBlocks
Public

Type-Constrained Code Generation with Language Models

Published in Repository for Publications and Research Data (ETH Zurich) • Jun 1, 2025
NobleIDNI3P19W02R21S71
Authors:
Niels Mündler
,
Jingxuan He
,
Hao Wang

Abstract

Large language models (LLMs) have achieved notable success in code generation. However, they still frequently produce uncompilable output because their next-token inference procedure does not model formal aspects of code. Although constrained decoding is a promising approach to alleviate this issue,...

Finding related papers...

Discussions

(0)

No comments yet

Be the first to share your thoughts!