Task Abstention for Large Language Models in Code Generation
📰 ArXiv cs.AI
arXiv:2605.17029v1 Announce Type: cross Abstract: Large language models (LLMs) have revolutionized automated code generation. One serious concern, however, is the so-called ``hallucination'', i.e., LLMs may generate seemingly plausible but functionally incorrect code. In this paper, we study the task abstention problem, i.e., determining whether a given LLM should abstain from performing a specific code generation task to avoid likely hallucination. Our approach features a calibrated abstention
DeepCamp AI