Readit News logoReadit News
LostBenjamin commented on Type-constrained code generation with language models   arxiv.org/abs/2504.09246... · Posted by u/tough
yewW0tm8 · 10 months ago
37% gain relative to what? What percent of generated functions were incorrect?
LostBenjamin · 10 months ago
compared to vanilla LLM decoding.
LostBenjamin commented on Type-constrained code generation with language models   arxiv.org/abs/2504.09246... · Posted by u/tough
LostBenjamin · 10 months ago
As an author of this paper, I am very excited see the great discussion here!

Several people mentioned the generation - compilation - fixing loop. Just want to remind you that our approach works for not only the generation step but also the fixing step. This is because fixing is essentially asking LLMs to generate a new version of the code. The paper actually has a "repair" experiment to demonstrate this and our approach achieves significant gain in this experiment, i.e., 37% relative improvement in functional correctness.

u/LostBenjamin

KarmaCake day6December 3, 2019View Original