CoHalLo: Fine-Grained Code Hallucination Localization
Analysis
Key Takeaways
- •CoHalLo is a novel method for line-level code hallucination localization.
- •It uses a probe network and AST comparison to identify hallucinating code lines.
- •The method outperforms baseline methods based on the reported metrics.
- •This work contributes to improving the reliability of AI-generated code.
“CoHalLo achieves a Top-1 accuracy of 0.4253, Top-3 accuracy of 0.6149, Top-5 accuracy of 0.7356, Top-10 accuracy of 0.8333, IFA of 5.73, Recall@1% Effort of 0.052721, and Effort@20% Recall of 0.155269, which outperforms the baseline methods.”