AI RESEARCH
Defective Task Descriptions in LLM-Based Code Generation: Detection and Analysis
arXiv CS.AI
•
ArXi:2604.24703v1 Announce Type: cross 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 detect task description defects.