Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysis

📰 ArXiv cs.AI

arXiv:2604.24703v1 Announce Type: cross Abstract: Large language models are widely used for code generation, yet they rely on an implicit assumption that the task descriptions are sufficiently detailed and well-formed. However, in practice, users may provide defective descriptions, which can have a strong effect on code correctness. To address this issue, we develop SpecValidator, a lightweight classifier based on a small model that has been parameter-efficiently finetuned, to automatically dete

Published 28 Apr 2026
Read full paper → ← Back to Reads